Пример #1
0
 public void OpenForm(Form form2)
 {
     // formClose.Stop();
     //formOpen.Stop();
     form2.Show();
     form2.Visible = false;
     form2.Opacity = 0;
     form2.Location = new Point(Screen.PrimaryScreen.WorkingArea.Width / 2 - form2.Width / 2, 0 - form2.Height);
     form2.Visible = true;
     form2.Opacity = 1;
     movement m = new movement(0, form2);
     m.Show();
 }
Пример #2
0
 public void CloseForm(Form form)
 {
     movement m = new movement(1, form);
     m.Show();
 }