Beispiel #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         ExchangeData(true);     // transfer values from the main form to the data object
         Enroller.ShowDialog();  // process enrollment
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }