コード例 #1
0
ファイル: DockContainer.cs プロジェクト: kallotec/Bonsai
        /// <summary>
        /// Default constructor
        /// </summary>
        public DockContainer()
        {
            _docker        = new FormsDocker(this);
            BackColor      = Color.FromArgb(118, 118, 118);
            SwitchSelector = new DefaultFormsSelector();

            _docker.ShowContextMenu += OnDockerShowContextMenu;
            _docker.FormClosing     += OnDockerFormClosing;
            _docker.FormClosed      += OnDockerFormClosed;
        }
コード例 #2
0
ファイル: DockContainer.cs プロジェクト: dstrucl/Tangenta40
        /// <summary>
        /// Default constructor
        /// </summary>
        public DockContainer()
        {
            _docker        = new FormsDocker(this);
             BackColor      = Color.FromArgb(118, 118, 118);
             SwitchSelector = new DefaultFormsSelector();

             _docker.ShowContextMenu += OnDockerShowContextMenu;
             _docker.FormClosing     += OnDockerFormClosing;
             _docker.FormClosed      += OnDockerFormClosed;
        }
コード例 #3
0
        /// <summary>
        /// Default constructor
        /// </summary>
        public DockContainer()
        {
            //TESTCHK
            Serializer             = new DockStateSerializer(this);
            Serializer.PanelAdded += new DockStateSerializer.PanelAddedEventHandler(Serializer_PanelAdded);

            _docker        = new FormsDocker(this);
            BackColor      = Color.FromArgb(118, 118, 118);
            SwitchSelector = new DefaultFormsSelector();

            _docker.ShowContextMenu += OnDockerShowContextMenu;
            _docker.FormClosing     += OnDockerFormClosing;
            _docker.FormClosed      += OnDockerFormClosed;
        }