Ejemplo n.º 1
0
        public void AddDockContent(string name, string title, uint group, Icon icon, DockAreas areas, DockState state, bool can_close, Control control)
        {
            var content = new DockContentEx(this, name, title, group, icon, areas, state, can_close, control);

            dock_contents_.Add(content);

            if (show_contents_)
            {
                content.Show(this, state);
            }
        }
Ejemplo n.º 2
0
        public void RemoveDockContent(DockContentEx content)
        {
            if (content == null)
            {
                return;
            }

            Controls.Remove(content);

            dock_contents_.Remove(content);
        }
Ejemplo n.º 3
0
 private void GoTo(System.Windows.Forms.Form frmParent, DockContentEx frmChildren, bool OpenMax)
 {
     ((DockContentEx)frmChildren).Show(this.dockPanel2);
 }