示例#1
0
 public MainForm()
 {
     InitializeComponent();
     radioBttnBCF.Tag     = bcfGuid.ToString();
     buttonEmail.Enabled  = false;
     radioBttnBCF.Checked = true;
     recordForm           = new RecordForm();
     keyDictionary        = recordForm.KeyDictionary;
 }
示例#2
0
 private void buttonReview_Click(object sender, EventArgs e)
 {
     try
     {
         recordForm = new RecordForm();
         recordForm.Show();
         recordForm.DisplayRecords();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Cannot review the information of the activation code.\n" + ex.Message, "MainForm:buttonReview_Click", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }