亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? content.cs

?? Magic Library 1.7,有說明文檔
?? CS
?? 第 1 頁 / 共 2 頁
字號:
// *****************************************************************************
// 
//  (c) Crownwood Consulting Limited 2002 
//  All rights reserved. The software and associated documentation 
//  supplied hereunder are the proprietary information of Crownwood Consulting 
//	Limited, Haxey, North Lincolnshire, England and are supplied subject to 
//	licence terms.
// 
//  Magic Version 1.7 	www.dotnetmagic.com
// *****************************************************************************

using System;
using System.Xml;
using System.Drawing;
using System.Windows.Forms;
using Crownwood.Magic.Common;
using Crownwood.Magic.Docking;

namespace Crownwood.Magic.Docking
{
    public class Content
    {
        // Enumeration of property change events
        public enum Property
        {
            Control,
            Title,
            FullTitle,
            ImageList,
            ImageIndex,
            CaptionBar,
            CloseButton,
            HideButton,
            DisplaySize,
            AutoHideSize,
            FloatingSize,
            DisplayLocation
        }

        // Declare the property change event signature
        public delegate void PropChangeHandler(Content obj, Property prop);

        // Class constant
        protected static int _defaultDisplaySize = 150;
        protected static int _defaultAutoHideSize = 150;
        protected static int _defaultFloatingSize = 150;
        protected static int _defaultLocation = 150;
		protected static int _counter = 0;

        // Instance fields
        protected Control _control;
        protected string _title;
        protected string _fullTitle;
        protected ImageList _imageList;
        protected int _imageIndex;
        protected Size _displaySize;
        protected Size _autoHideSize;
        protected Size _floatingSize;
		protected Point _displayLocation;
		protected int _order;
        protected DockingManager _manager;
        protected bool _docked;
        protected bool _autoHidden;
        protected bool _visible;
        protected bool _captionBar;
        protected bool _closeButton;
        protected bool _hideButton;
        protected AutoHidePanel _autoHidePanel;
        protected WindowContent _parentWindowContent;
		protected Restore _defaultRestore;
		protected Restore _autoHideRestore;
		protected Restore _dockingRestore;
		protected Restore _floatingRestore;

        // Instance events
        public event PropChangeHandler PropertyChanging;
        public event PropChangeHandler PropertyChanged;

        public Content(XmlTextReader xmlIn, int formatVersion)
        {
            // Define the initial object state
            _control = null;
            _title = "";
            _fullTitle = "";
            _imageList = null;
            _imageIndex = -1;
            _manager = null;
            _parentWindowContent = null;
            _displaySize = new Size(_defaultDisplaySize, _defaultDisplaySize);
            _autoHideSize = new Size(_defaultAutoHideSize, _defaultAutoHideSize);
            _floatingSize = new Size(_defaultFloatingSize, _defaultFloatingSize);
            _displayLocation = new Point(_defaultLocation, _defaultLocation);
			_order = _counter++;
			_visible = false;
			_defaultRestore = null;
			_autoHideRestore = null;
			_floatingRestore = null;
			_dockingRestore = null;
			_autoHidePanel = null;
			_docked = true;
			_captionBar = true;
			_closeButton = true;
            _hideButton = true;
            _autoHidden = false;

			// Overwrite default with values read in
			LoadFromXml(xmlIn, formatVersion);
        }

        public Content(DockingManager manager)
        {
            InternalConstruct(manager, null, "", null, -1);
        }

        public Content(DockingManager manager, Control control)
        {
            InternalConstruct(manager, control, "", null, -1);
        }

        public Content(DockingManager manager, Control control, string title)
        {
            InternalConstruct(manager, control, title, null, -1);
        }

        public Content(DockingManager manager, Control control, string title, ImageList imageList, int imageIndex)
        {
            InternalConstruct(manager, control, title, imageList, imageIndex);
        }

        protected void InternalConstruct(DockingManager manager, 
                                         Control control, 
                                         string title, 
                                         ImageList imageList, 
                                         int imageIndex)
        {
            // Must provide a valid manager instance
            if (manager == null)
                throw new ArgumentNullException("DockingManager");

            // Define the initial object state
            _control = control;
            _title = title;
            _imageList = imageList;
            _imageIndex = imageIndex;
            _manager = manager;
            _parentWindowContent = null;
            _order = _counter++;
            _visible = false;
            _displaySize = new Size(_defaultDisplaySize, _defaultDisplaySize);
            _autoHideSize = new Size(_defaultAutoHideSize, _defaultAutoHideSize);
            _floatingSize = new Size(_defaultFloatingSize, _defaultFloatingSize);
            _displayLocation = new Point(_defaultLocation, _defaultLocation);
			_defaultRestore = new RestoreContentState(State.DockLeft, this);
			_floatingRestore = new RestoreContentState(State.Floating, this);
            _autoHideRestore = new RestoreAutoHideState(State.DockLeft, this);
            _dockingRestore = _defaultRestore;
            _autoHidePanel = null;
			_docked = true;
            _captionBar = true;
            _closeButton = true;
            _hideButton = true;
            _autoHidden = false;
            _fullTitle = title;
        }

        public DockingManager DockingManager
        {
            get { return _manager; }
			set { _manager = value; }
        }

        public Control Control
        {
            get { return _control; }
			
            set 
            {
                if (_control != value)
                {
                    OnPropertyChanging(Property.Control);
                    _control = value;
                    OnPropertyChanged(Property.Control);
                }
            }
        }

        public string Title
        {
            get { return _title; }

            set 
            {
                if (_title != value)
                {
                    OnPropertyChanging(Property.Title);
                    _title = value;
                    OnPropertyChanged(Property.Title);
                }
            }
        }
        
        public string FullTitle
        {
            get { return _fullTitle; }
            
            set
            {
                if (_fullTitle != value)
                {
                    OnPropertyChanging(Property.FullTitle);
                    _fullTitle = value;
                    OnPropertyChanged(Property.FullTitle);
                }
            }
        }

        public ImageList ImageList
        {
            get { return _imageList; }

            set 
            {
                if(_imageList != value) 
                {
                    OnPropertyChanging(Property.ImageList);
                    _imageList = value; 
                    OnPropertyChanged(Property.ImageList);
                }
            }
        }

        public int ImageIndex
        {
            get { return _imageIndex; }

            set 
            {
                if (_imageIndex != value)
                {
                    OnPropertyChanging(Property.ImageIndex);
                    _imageIndex = value;
                    OnPropertyChanged(Property.ImageIndex);
                }
            }
        }

        public bool CaptionBar
        {
            get { return _captionBar; }
            
            set
            {
                if (_captionBar != value)
                {
                    OnPropertyChanging(Property.CaptionBar);
                    _captionBar = value;
                    OnPropertyChanged(Property.CaptionBar);
                }
            }
        }

        public bool CloseButton
        {
            get { return _closeButton; }
            
            set
            {
                if (_closeButton != value)
                {
                    OnPropertyChanging(Property.CloseButton);
                    _closeButton = value;
                    OnPropertyChanged(Property.CloseButton);
                }
            }
        }

        public bool HideButton
        {
            get { return _hideButton; }
            
            set
            {
                if (_hideButton != value)
                {
                    OnPropertyChanging(Property.HideButton);
                    _hideButton = value;
                    OnPropertyChanged(Property.HideButton);
                }
            }
        }

        public Size DisplaySize
        {
            get { return _displaySize; }

            set 
            {
                if (_displaySize != value)
                {
                    OnPropertyChanging(Property.DisplaySize);
                    _displaySize = value;
                    OnPropertyChanged(Property.DisplaySize);
                }
            }
        }
        
        public Size AutoHideSize
        {
            get { return _autoHideSize; }
            
            set
            {
                if (_autoHideSize != value)
                {
                    OnPropertyChanging(Property.AutoHideSize);
                    _autoHideSize = value;
                    OnPropertyChanged(Property.AutoHideSize);
                }
            }
        }

        public Size FloatingSize
        {
            get { return _floatingSize; }

            set 
            {
                if (_floatingSize != value)
                {
                    OnPropertyChanging(Property.FloatingSize);
                    _floatingSize = value;
                    OnPropertyChanged(Property.FloatingSize);
                }
            }
        }

        public Point DisplayLocation
        {
            get { return _displayLocation; }

            set 
            {
                if (_displayLocation != value)
                {
                    OnPropertyChanging(Property.DisplayLocation);
                    _displayLocation = value;
                    OnPropertyChanged(Property.DisplayLocation);
                }
            }
        }
        
		public int Order
		{
			get { return _order; }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
777久久久精品| 欧美色综合久久| 久久婷婷色综合| 亚洲男人天堂av网| 不卡一区二区中文字幕| 精品粉嫩aⅴ一区二区三区四区| 亚洲高清视频在线| 91国在线观看| 18涩涩午夜精品.www| 麻豆精品在线观看| 欧美日韩电影一区| 一区二区三区四区国产精品| 成人高清视频在线观看| 久久精品视频一区二区| 久久99精品久久久久久国产越南 | 黄网站免费久久| 国产高清不卡二三区| 欧美日韩在线播| 夜夜嗨av一区二区三区四季av| av中文字幕不卡| 欧美国产综合一区二区| 国产福利电影一区二区三区| 久久久久久久久久久久久女国产乱 | 色综合激情五月| 国产免费成人在线视频| 国产精品一区二区三区乱码| 欧美大尺度电影在线| 老司机免费视频一区二区三区| 懂色一区二区三区免费观看| 精品国产不卡一区二区三区| 天堂在线一区二区| 91精品国产免费久久综合| 亚洲欧美另类久久久精品| 91一区二区三区在线播放| 最新国产成人在线观看| 色av成人天堂桃色av| 国产亚洲精品久| 高清久久久久久| 自拍偷自拍亚洲精品播放| 91污在线观看| 亚洲在线观看免费视频| 在线视频国内自拍亚洲视频| 亚洲自拍都市欧美小说| 欧美日韩国产一级片| 免费观看一级欧美片| 久久久精品国产免大香伊 | 欧美日韩国产经典色站一区二区三区 | gogo大胆日本视频一区| 国产精品久久久爽爽爽麻豆色哟哟| 国产精品亚洲综合一区在线观看| 中文字幕乱码日本亚洲一区二区 | 日本三级亚洲精品| 精品少妇一区二区| 成人激情小说乱人伦| 亚洲免费资源在线播放| 欧美日韩国产片| 亚洲午夜久久久久| 日韩视频在线你懂得| 国产精品一区在线| 亚洲日本护士毛茸茸| 欧美日韩情趣电影| 日本aⅴ精品一区二区三区| 精品国产精品一区二区夜夜嗨| 成人激情av网| 亚洲欧美色图小说| 555www色欧美视频| 岛国精品在线播放| 亚洲欧美一区二区三区久本道91| 欧美日产国产精品| 天天操天天综合网| 日韩欧美国产麻豆| 成人av电影在线| 亚洲不卡一区二区三区| 久久久亚洲欧洲日产国码αv| 91在线精品一区二区三区| 一区二区三区欧美日| 日韩欧美的一区二区| 97se亚洲国产综合自在线不卡| 亚洲国产精品自拍| 久久这里都是精品| 欧美亚一区二区| 国产一区二区在线观看视频| 亚洲精品成人精品456| 日韩三级视频中文字幕| 成人精品在线视频观看| 日韩和的一区二区| 国产精品家庭影院| 日韩一区二区三区视频| 91麻豆自制传媒国产之光| 午夜精品福利在线| 国产精品精品国产色婷婷| 欧美日韩日日夜夜| 国产精品一级片在线观看| 天天综合色天天综合| 国产精品色在线| 91精品国产综合久久久久| 99精品视频一区二区| 青娱乐精品视频在线| 国产精品不卡一区| 日韩一区二区视频在线观看| 色婷婷综合激情| 久久激情五月激情| 亚洲成a人片在线不卡一二三区 | 日韩欧美一二三四区| 一道本成人在线| 国产精品正在播放| 男人的天堂久久精品| 亚洲天堂网中文字| 久久综合色8888| 正在播放亚洲一区| 色婷婷久久久综合中文字幕| 国产高清不卡二三区| 麻豆中文一区二区| ㊣最新国产の精品bt伙计久久| 91精品国产91热久久久做人人| 一本久久精品一区二区| 成人一区在线看| 狠狠狠色丁香婷婷综合激情| 日日骚欧美日韩| 一区二区三区欧美日| 亚洲视频狠狠干| 亚洲国产精品传媒在线观看| 精品国产乱码久久久久久闺蜜 | 欧美日韩一区不卡| 色婷婷综合久久久中文字幕| 成人的网站免费观看| 国产老肥熟一区二区三区| 美女性感视频久久| 亚洲大片免费看| ...xxx性欧美| 中文字幕欧美日本乱码一线二线| 久久综合色鬼综合色| 精品精品国产高清一毛片一天堂| 91麻豆精品国产91久久久更新时间 | 男男gaygay亚洲| 肉肉av福利一精品导航| 午夜精品福利久久久| 亚洲18色成人| 99久久伊人久久99| 国内精品伊人久久久久av一坑 | 一区二区在线观看av| 中文字幕电影一区| 中文av一区二区| 国产欧美日韩三区| 国产精品视频一二三| 欧美激情一区二区三区不卡 | 久久久精品国产免费观看同学| 精品1区2区在线观看| 久久这里只有精品6| 久久久国产午夜精品| 精品国产乱码久久久久久1区2区| 日韩一区二区在线看| 91精品国产色综合久久不卡蜜臀| 欧美视频自拍偷拍| 99久久99精品久久久久久| 色综合色狠狠天天综合色| 一本久道久久综合中文字幕| 欧美性色综合网| 欧美日韩午夜在线视频| 欧美日韩mp4| 欧美一区二区三区在线| 欧美xxxxxxxx| 欧美国产日本韩| 亚洲欧洲无码一区二区三区| 亚洲色图视频网站| 亚洲综合在线观看视频| 天天综合色天天| 久热成人在线视频| 国产乱码精品一区二区三区忘忧草 | 不卡的av电影| 欧洲精品一区二区三区在线观看| 欧美亚洲综合网| 91精品免费观看| 久久色在线视频| 国产亚洲1区2区3区| 国产精品久久久99| 一区二区三区.www| 五月婷婷色综合| 久久国产日韩欧美精品| 国产一区二区三区高清播放| 国产一区二区毛片| 成人免费av资源| 日本韩国一区二区三区| 精品久久久久久久久久久院品网 | 久久精品一区二区三区四区| 中文字幕一区二区日韩精品绯色| 亚洲午夜久久久久| 精品在线亚洲视频| 91在线视频免费91| 欧美日韩午夜在线| 久久毛片高清国产| 亚洲精品国产第一综合99久久| 天堂一区二区在线免费观看| 国产精品99久久久久| 91蝌蚪porny| 日韩免费高清av| 亚洲色图一区二区| 视频一区中文字幕国产| 国产二区国产一区在线观看| 色婷婷精品久久二区二区蜜臀av|