Beispiel #1
0
 private void btnGetUserInput_Click(object sender, EventArgs e)
 {
     // Notice the 'using' statement. It helps ensure you clean up resources.
     using (var form2 = new DetailForm(this))
     {
         form2.ShowDialog();
     }
 }
Beispiel #2
0
 private void btnGetUserInput_Click(object sender, EventArgs e)
 {
     // Notice the 'using' statement. It helps ensure you clean up resources.
     using (var form2 = new DetailForm(this))
     {
         form2.ShowDialog();
     }
 }