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(); }
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(); }