예제 #1
0
 private void checkBoxMultiple_CheckedChanged(object sender, EventArgs e)
 {
     if (!checkBoxMultiple.Checked) return;
     if (form2 == null)
     {
         form2 = new Multiple_Parts(this);
         form2.Show();
         Console.WriteLine("Multiple Parts is null");
     }
     else
         form2.Show();
    
     Console.WriteLine("Opening multiple parts form");
 }
예제 #2
0
 public Borrow()
 {
     InitializeComponent();
     Grade.Value = keepGrade;
     form2 = new Multiple_Parts(this);
 }