CloseActiveContent() public method

public CloseActiveContent ( ) : void
return void
Ejemplo n.º 1
0
 private void Close_Click(object sender, EventArgs e)
 {
     DockPane.CloseActiveContent();
     if (PatchController.EnableMemoryLeakFix == true)
     {
         ContentClosed();
     }
 }
Ejemplo n.º 2
0
        private void Close_Click(object sender, EventArgs e)
        {
            if (!DockPane.DockPanel.AllowChangeDock)
            {
                return;
            }

            DockPane.CloseActiveContent();
        }
Ejemplo n.º 3
0
        private void Close_Click(object sender, EventArgs e)
        {
            DockPane.CloseActiveContent();

            if (DockPane.DockPanel != null)
            {
                if (DockPane.DockPanel.Name == "dockPanel")
                {
                    DockPane.DockPanel.Width = 0;
                }
                else
                {
                    DockPane.DockPanel.Height = 0;
                }
            }
        }
 private void Close_Click(object sender, EventArgs e)
 {
     DockPane.CloseActiveContent();
 }