Пример #1
0
 public void switchForm(MasterThinForm f, Form owner)
 {
     f.frmName  = base.Name;
     f.Location = new Point(base.Location.X, base.Location.Y);
     f.Show(owner);
     f.Focus();
     owner.Hide();
 }
Пример #2
0
 public void switchForm(MasterThinForm f)
 {
     f.frmName  = base.Name;
     f.Location = new Point(base.Location.X, base.Location.Y);
     f.Show();
     f.Focus();
     Dispose();
     Close();
 }