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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? dockingmanager.cs

?? Magic Library 1.7,有說明文檔
?? CS
?? 第 1 頁 / 共 5 頁
字號:
                }
            }
        }

        public void ResetColors()
        {
            _backColor = SystemColors.Control;
            _inactiveTextColor = SystemColors.ControlText;
            _activeColor = SystemColors.ActiveCaption;
            _activeTextColor = SystemColors.ActiveCaptionText;
            _resizeBarColor = SystemColors.Control;
            _defaultBackColor = true;
            _defaultActiveColor = true;
            _defaultActiveTextColor = true;
            _defaultInactiveTextColor = true;
            _defaultResizeBarColor = true;

            PropogateNameValue(PropogateName.BackColor, (object)_backColor);
            PropogateNameValue(PropogateName.ActiveColor, (object)_activeColor);
            PropogateNameValue(PropogateName.ActiveTextColor, (object)_activeTextColor);
            PropogateNameValue(PropogateName.InactiveTextColor, (object)_inactiveTextColor);
            PropogateNameValue(PropogateName.ResizeBarColor, (object)_resizeBarColor);
        }

        public void UpdateInsideFill()
		{
			// Is inside fill ability enabled?
			if (_insideFill)
			{
				// Reduce flicker
				_container.SuspendLayout();
				
				// Ensure correct zone has the Fill style
				RemoveAnyFillStyle();
				AddInnerFillStyle();

				_container.ResumeLayout();
			}
		}

		public virtual bool ShowContent(Content c)
		{
            // Validate the incoming Content instance is a valid reference
            // and is a current instance within our internal collection
            if ((c == null) || !_contents.Contains(c))
                return false;
		
			// Remove it from view by removing from current WindowContent container
            if (!c.Visible)
			{
                // Do not generate hiding/hidden/shown events
                _surpressVisibleEvents++;

                // Manageing Zones should remove display AutoHide windows
                RemoveShowingAutoHideWindows();
                               
                // Use the assigned restore object to position the Content appropriately
				if (c.Docked)
				{
				    if (c.AutoHidden)
				        c.AutoHideRestore.PerformRestore(this);
				    else
					    c.DockingRestore.PerformRestore(this);
			    }
				else
					c.FloatingRestore.PerformRestore(this);

                // Enable generation hiding/hidden/shown events
                _surpressVisibleEvents--;

                // Generate event
				OnContentShown(c);

				return true;
			}
			else
				return false;
		}

		public virtual void ShowAllContents()
		{
			_container.SuspendLayout();

			foreach(Content c in _contents)
				ShowContent(c);

			UpdateInsideFill();

			_container.ResumeLayout();
		}

		public virtual void HideContent(Content c)
		{
			HideContent(c, true, true);
		}

		public virtual void HideContent(Content c, bool record, bool reorder)
		{
            // Remove it from view by removing from current WindowContent container
            if (c.Visible)
            {
                // Do not generate hiding/hidden/shown events
                _surpressVisibleEvents++;

                // Manageing Zones should remove display AutoHide windows
                RemoveShowingAutoHideWindows();
                
                if (record)
				{
					// Tell the Content to create a new Restore object to record its current location
					c.RecordRestore();
				}

                if (c.AutoHidden)
                {
                    // Remove it from its current AutoHidePanel
                    c.AutoHidePanel.RemoveContent(c);
                }
                else
                {
                    // Remove the Content from its current WindowContent
                    c.ParentWindowContent.Contents.Remove(c);
                }
                
				if (reorder)
				{
					// Move the Content to the start of the list
					_contents.SetIndex(0, c); 
				}

				UpdateInsideFill();

                // Enable generation hiding/hidden/shown events
                _surpressVisibleEvents--;
                
                // Generate event
				OnContentHidden(c);
            }
		}

		public virtual void HideAllContents()
		{
			_container.SuspendLayout();

			int count = _contents.Count;

			// Hide in reverse order so that a ShowAll in forward order gives accurate restore
			for(int index=count-1; index>=0; index--)
			{
			    // Cannot hide something already hidden
			    if (_contents[index].Visible)
			    {
                    // Generate event
                    if (!OnContentHiding(_contents[index]))
                    {
                        HideContent(_contents[index], true, false);
                    }
                }
		    }

			UpdateInsideFill();

			_container.ResumeLayout();
		}

        public virtual Window CreateWindowForContent(Content c)
        {
            return CreateWindowForContent(c, new EventHandler(OnContentClose), 
										     new EventHandler(OnRestore),
                                             new EventHandler(OnInvertAutoHide),
                                             new ContextHandler(OnShowContextMenu));
        }

        public virtual Window CreateWindowForContent(Content c,
                                                     EventHandler contentClose,
                                                     EventHandler restore,
                                                     EventHandler invertAutoHide,
                                                     ContextHandler showContextMenu)
        {
            // Create new instance with correct style
            WindowContent wc = new WindowContentTabbed(this, _visualStyle);

            WindowDetailCaption wdc;

            // Create a style specific caption detail
            if (_visualStyle == VisualStyle.IDE)
                wdc = new WindowDetailCaptionIDE(this, contentClose, restore,
                                                 invertAutoHide, showContextMenu);
            else
                wdc = new WindowDetailCaptionPlain(this, contentClose, restore,
                                                   invertAutoHide, showContextMenu);

            // Add the caption to the window display
            wc.WindowDetails.Add(wdc);

            if (c != null)
            {
                // Add provided Content to this instance
                wc.Contents.Add(c);
            }

            return wc;
        }    
            
        public virtual Zone CreateZoneForContent(State zoneState)
        {
			return CreateZoneForContent(zoneState, _container);
		}

        protected virtual Zone CreateZoneForContent(State zoneState, ContainerControl destination)
        {
            DockStyle ds;
            Direction direction;

            // Find relevant values dependant on required state
            ValuesFromState(zoneState, out ds, out direction);

            // Create a new ZoneSequence which can host Content
            ZoneSequence zs = new ZoneSequence(this, zoneState, _visualStyle, direction, _zoneMinMax);

            // Set the appropriate docking style
            zs.Dock = ds;

			if (destination != null)
			{
				// Add this Zone to the display
				destination.Controls.Add(zs);
			}

            return zs;
        }

        public WindowContent AddContentWithState(Content c, State newState)
        {
            // Validate the incoming Content instance is a valid reference
            // and is a current instance within our internal collection
            if ((c == null) || !_contents.Contains(c))
                return null;
		
            // Do not generate hiding/hidden/shown events
            _surpressVisibleEvents++;

            // Manageing Zones should remove display AutoHide windows
            RemoveShowingAutoHideWindows();
                
            // Is the window already part of a WindowContent?
            if (c.ParentWindowContent != null)
            {
				// If it used to be in a floating mode, then record state change
				if (c.ParentWindowContent.ParentZone.State == State.Floating)
					c.ContentLeavesFloating();

                // Remove the Content from its current WindowContent
                c.ParentWindowContent.Contents.Remove(c);
            }

            // Create a new Window instance appropriate for hosting a Content object
            Window w = CreateWindowForContent(c);

			ContainerControl destination = null;

	        if (newState != State.Floating)
			{
				destination = _container;
		        destination.SuspendLayout();
			}

            // Create a new Zone capable of hosting a WindowContent
            Zone z = CreateZoneForContent(newState, destination);

	        if (newState == State.Floating)
			{
			    // Content is not in the docked state
			    c.Docked = false;
			
				// destination a new floating form
				destination = new FloatingForm(this, z, new ContextHandler(OnShowContextMenu));

				// Define its location
				destination.Location = c.DisplayLocation;
				
				// ...and its size, add the height of the caption bar to the requested content size
				destination.Size = new Size(c.FloatingSize.Width, 
				                            c.FloatingSize.Height + SystemInformation.ToolWindowCaptionHeight);
			}
			
            // Add the Window to the Zone
            z.Windows.Add(w);

	        if (newState != State.Floating)
			{
				// Set the Zone to be the least important of our Zones
				ReorderZoneToInnerMost(z);

				UpdateInsideFill();

	            destination.ResumeLayout();
			}
			else
				destination.Show();

            // Enable generation hiding/hidden/shown events
            _surpressVisibleEvents--;

            // Generate event to indicate content is now visible
            OnContentShown(c);

            return w as WindowContent;
        }

        public WindowContent AddContentToWindowContent(Content c, WindowContent wc)
        {
            // Validate the incoming Content instance is a valid reference
            // and is a current instance within our internal collection
            if ((c == null) || !_contents.Contains(c))
                return null;

            // Validate the incoming WindowContent instance is a valid reference
            if (wc == null)
                return null;

            // Is Content already part of given Window then nothing to do
            if (c.ParentWindowContent == wc)
                return wc;
            else
            {
                // Do not generate hiding/hidden/shown events
                _surpressVisibleEvents++;

                // Manageing Zones should remove display AutoHide windows
                RemoveShowingAutoHideWindows();
                
                if (c.ParentWindowContent != null)
                {
					// Is there a change in docking state?
					if (c.ParentWindowContent.ParentZone.State != wc.ParentZone.State)
					{
						// If it used to be in a floating mode, then record state change
						if (c.ParentWindowContent.ParentZone.State == State.Floating)
							c.ContentLeavesFloating();
						else
							c.ContentBecomesFloating();
					}

                    // Remove the Content from its current WindowContent
                    c.ParentWindowContent.Contents.Remove(c);
                }
                else
                {
                    // If adding to a floating window then it is not docked
                    if (wc.ParentZone.State == State.Floating)
                        c.Docked = false;
                }

                // Add the existing Content to this instance
                wc.Contents.Add(c);

                // Enable generation hiding/hidden/shown events
                _surpressVisibleEvents--;

                // Generate event to indicate content is now visible
                OnContentShown(c);

                return wc;
            }
        }

        public Window AddContentToZone(Content c, Zone z, int index)
        {
            // Validate the incoming Content instance is a valid reference
            // and is a current instance within our internal collection
            if ((c == null) || !_contents.Contains(c))
                return null;

            // Validate the incoming Zone instance is a valid reference
            if (z == null) 
                return null;

            // Do not generate hiding/hidden/shown events
            _surpressVisibleEvents++;

            // Manageing Zones should remove display AutoHide windows
            RemoveShowingAutoHideWindows();
                
            // Is the window already part of a WindowContent?
            if (c.ParentWindowContent != null)
            {
				// Is there a change in docking state?
				if (c.ParentWindowContent.ParentZone.State != z.State)
				{
					// If it used to be in a floating mode, then record state change
					if (c.ParentWindowContent.ParentZone.State == State.Floating)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美激情自拍偷拍| 夜夜操天天操亚洲| 欧美手机在线视频| 国产成人一区在线| 日韩成人一级大片| 一区二区三区中文在线观看| 久久久久久亚洲综合影院红桃| 欧洲在线/亚洲| 国产激情视频一区二区三区欧美| 天天免费综合色| 亚洲精品免费在线观看| 精品国产伦一区二区三区免费| 91久久久免费一区二区| 国产v日产∨综合v精品视频| 天天操天天色综合| 一级女性全黄久久生活片免费| 久久综合色播五月| 欧美一区二区久久久| 一本在线高清不卡dvd| 成人免费观看视频| 狠狠色综合色综合网络| 免费高清在线一区| 午夜精品福利一区二区三区av | 一区二区三区日韩欧美精品| 久久九九久久九九| 精品国产第一区二区三区观看体验 | 综合欧美一区二区三区| 国产性色一区二区| 国产午夜精品一区二区三区四区| 日韩一区和二区| 欧美高清精品3d| 欧美三级日韩在线| 欧美日韩国产高清一区| 欧美午夜精品久久久久久孕妇| 一本久久a久久精品亚洲| 99久久国产综合精品麻豆| 国产91精品一区二区麻豆网站| 精彩视频一区二区| 国产一区久久久| 国产乱一区二区| 国产成人精品免费在线| 国产91丝袜在线18| 99国产精品久久久久久久久久久| 成人黄色电影在线| 色天使色偷偷av一区二区| 91行情网站电视在线观看高清版| 日本电影欧美片| 欧美日韩在线三区| 欧美一级欧美三级在线观看| 日韩一区二区免费在线观看| 欧美一级免费观看| 久久先锋影音av| 国产精品电影院| 亚洲精品中文在线观看| 亚洲国产wwwccc36天堂| 三级久久三级久久久| 蜜桃视频一区二区| 国产精品1024| 日本精品一区二区三区四区的功能| 色综合天天综合网国产成人综合天| 在线观看欧美日本| 91精品国产全国免费观看 | 国产免费观看久久| 中文字幕在线不卡国产视频| 亚洲男人天堂av| 三级亚洲高清视频| 国产乱码精品一区二区三区av| 成人理论电影网| 在线视频国内自拍亚洲视频| 91精品欧美一区二区三区综合在| 日韩限制级电影在线观看| 26uuu精品一区二区在线观看| 国产精品美女一区二区三区| 亚洲福利电影网| 国内精品视频666| 99riav一区二区三区| 欧美丰满一区二区免费视频 | 日韩美女视频一区二区在线观看| 久久九九久久九九| 亚洲一区二区三区四区在线观看| 青娱乐精品视频在线| 成人午夜电影久久影院| 欧美三级日本三级少妇99| 久久久久久久久99精品| 亚洲电影你懂得| 国产成人精品一区二区三区四区 | 久久久久久久综合狠狠综合| 亚洲精品高清视频在线观看| 精品综合久久久久久8888| 91在线视频在线| 日韩美女主播在线视频一区二区三区| 中文字幕一区二区三区av| 日韩国产精品久久久久久亚洲| 国产精品综合久久| 欧美三级韩国三级日本一级| 国产欧美一区二区精品性| 亚洲午夜久久久久久久久电影院| 国产乱码精品一区二区三区忘忧草| 在线免费观看视频一区| 久久精品人人做人人爽人人| 亚洲www啪成人一区二区麻豆| 国产大片一区二区| 日韩亚洲欧美在线| 亚洲成人一区二区| 色综合色综合色综合| 久久久一区二区| 日韩avvvv在线播放| 色88888久久久久久影院野外| 国产农村妇女毛片精品久久麻豆| 奇米影视一区二区三区小说| 欧美曰成人黄网| 国产精品国产三级国产| 久久成人免费电影| 91精品国产色综合久久ai换脸| 亚洲一区在线播放| 色综合一个色综合| 亚洲欧洲日韩女同| 国产sm精品调教视频网站| 欧美岛国在线观看| 日本女优在线视频一区二区| 欧洲精品中文字幕| 一区二区三区在线看| 成人app软件下载大全免费| 国产午夜精品久久久久久久 | 国产91富婆露脸刺激对白| 日韩一区二区三区视频在线| 亚洲电影欧美电影有声小说| 91高清视频在线| 玉米视频成人免费看| 99久久亚洲一区二区三区青草| 国产欧美日韩一区二区三区在线观看 | 一区二区三区在线观看网站| 99久久精品免费观看| 国产精品视频yy9299一区| 国产高清一区日本| 国产欧美日韩精品在线| 国产99精品在线观看| 国产精品久久久久久亚洲伦| 福利一区在线观看| 国产精品嫩草影院com| 成人一区二区视频| 综合久久一区二区三区| 色综合久久中文字幕综合网| 亚洲免费在线观看视频| 欧美亚洲国产怡红院影院| 亚洲综合色丁香婷婷六月图片| 欧美性色综合网| 性做久久久久久免费观看 | 精品福利二区三区| 国产另类ts人妖一区二区| 国产欧美1区2区3区| 99在线精品免费| 一区二区三区毛片| 欧美二区三区的天堂| 蜜臀av性久久久久蜜臀aⅴ| 2欧美一区二区三区在线观看视频| 国产黄色91视频| 亚洲裸体xxx| 欧美日韩免费视频| 毛片av中文字幕一区二区| 久久亚洲春色中文字幕久久久| 国产99精品国产| 亚洲色图视频网| 91精品国模一区二区三区| 国内久久婷婷综合| 国产精品国产三级国产a| 欧美色老头old∨ideo| 久久国产精品72免费观看| 国产精品午夜春色av| 欧美亚男人的天堂| 国产乱子伦视频一区二区三区| 中文字幕在线不卡一区二区三区| 欧美日韩大陆在线| 国产福利精品一区二区| 一区二区三区在线高清| 精品噜噜噜噜久久久久久久久试看 | 1区2区3区国产精品| 欧美裸体bbwbbwbbw| 国产一区美女在线| 亚洲综合在线电影| 欧美精品一区二区精品网| 亚洲精品福利视频网站| 一二三四区精品视频| 精品捆绑美女sm三区| 国产精选一区二区三区| 亚洲欧美偷拍卡通变态| 精品日韩一区二区三区免费视频| 99国内精品久久| 日本三级韩国三级欧美三级| 欧美经典一区二区三区| 欧美日韩夫妻久久| 亚洲第一综合色| 午夜电影久久久| 不卡欧美aaaaa| 日韩一区二区在线看片| 日韩久久一区二区| 久久国产免费看| 欧美视频一区在线| 中文字幕乱码日本亚洲一区二区 | 国产在线一区观看|