Пример #1
0
        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;
        }
Пример #2
0
 public void cancel_Click(object sender, System.EventArgs e)
 {
     exitment.Show();
     exitment.Left = App.MainFormManager.CurrentForm.Left + 100;
     exitment.Top  = App.MainFormManager.CurrentForm.Top + 150;
 }