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(); }
public void MoveToForm(FmTabBase f) { Remove(); f.MoveInTab(this); }
public void MoveAllTabsTo(FmTabBase f) { while (TabInfoList.Count > 0) { var t = TabInfoList[0]; t.MoveToForm(f); } }