Exemplo n.º 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();
 }
Exemplo n.º 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();
 }