private void button1_Click(object sender, System.EventArgs e) { Exitment ex = new Exitment(); ex.Owner = this; ex.Show(); ex.Left = App.MainFormManager.CurrentForm.Left + 100; ex.Top = App.MainFormManager.CurrentForm.Top + 150; }
public Form1() { // // Required for Windows Form Designer support // this.exitment = new Exitment(this); InitializeComponent(); OtherInitialize(); // // TODO: Add any constructor code after InitializeComponent call // }