public MainForm() { InitializeComponent(); radioBttnBCF.Tag = bcfGuid.ToString(); buttonEmail.Enabled = false; radioBttnBCF.Checked = true; recordForm = new RecordForm(); keyDictionary = recordForm.KeyDictionary; }
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); } }