Наследование: Radegast.RadegastForm
Пример #1
0
        private void tab_TabDetached(object sender, EventArgs e)
        {
            RadegastTab    tab  = (RadegastTab)sender;
            frmDetachedTab form = (frmDetachedTab)tab.Owner;

            form.ReattachStrip     = tstTabs;
            form.ReattachContainer = toolStripContainer1.ContentPanel;
        }
Пример #2
0
 public void Detach(RadegastInstance instance)
 {
     if (!AllowDetach)
     {
         return;
     }
     if (Detached)
     {
         return;
     }
     Button.Visible = false;
     Owner          = new frmDetachedTab(instance, this);
     Owner.Show();
     Owner.Focus();
     Detached = true;
     OnTabDetached(EventArgs.Empty);
 }