Source/DocumentDock/PanelDockContainer.cs

(开头部分) 7KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Windows.Forms;
using System.Windows.Forms.Design;
using System.Collections;
using System.Drawing;
using System.ComponentModel.Design;
using System.ComponentModel;

namespace DevComponents.DotNetBar
{
	/// <summary>
	/// Represents panel that is hosted by DockContainerItem as docked control.
	/// </summary>
	[ToolboxItem(false),Designer(typeof(Design.PanelDockContainerDesigner))]
	public class PanelDockContainer:PanelEx
	{
		#region Private Variables
		private const string INFO_TEXT="Drop controls here. Drag and Drop tabs to perform docking.";
		private DockContainerItem m_DockContainerItem=null;
		private bool m_UseCustomStyle=false;
		#endregion

		#region Internal Implementation
#if FRAMEWORK20
        [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        public override bool AutoSize
        {
            get
            {
                return base.AutoSize;
            }
            set
            {
                base.AutoSize = value;
            }
        }

        [Browsable(false), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
        public override AutoSizeMode AutoSizeMode
        {
            get
            {
                return base.AutoSizeMode;
            }
            set
            {
                base.AutoSizeMode = value;
            }
        }
#endif
		/// <summary>
		/// Creates new instance of the panel.
		/// </summary>
		public PanelDockContainer():base()
		{
			this.BackColor=SystemColors.Control;
		}

		private Rectangle GetThemedRect(Rectangle r)
		{
后面还有 236 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。