Пример #1
0
 public void MoveToNewForm(Point mousePoint)
 {
    // Remove();
     var f = new FmTabBase();
    // f.MoveInTab(this);
     MoveToForm(f);
     f.StartPosition = FormStartPosition.Manual;
     f.Location = new Point(mousePoint.X - 40, mousePoint.Y - 15);
     f.Show();
     f.IsMoving = true;
     f.CaptureForm();
 }
Пример #2
0
 public void MoveToForm(FmTabBase f)
 {
     Remove();
     f.MoveInTab(this);
 }
Пример #3
0
 public void MoveAllTabsTo(FmTabBase f)
 {
     while (TabInfoList.Count > 0)
     {
         var t = TabInfoList[0];
         t.MoveToForm(f);
     }
 }