Beispiel #1
0
 private void TSMI_saveEmail_Click(object sender, EventArgs e)
 {
     using (var form = new EmailHandlerForm(new UserControlSettings()
     {
         condition = UserControlManager.UserConditions.saveEmail
     }))
     {
         form.ShowDialog();
     }
 }
Beispiel #2
0
 private void TSMI_change_Click(object sender, EventArgs e)
 {
     using (var form = new EmailHandlerForm(new UserControlSettings()
     {
         condition = UserControlManager.UserConditions.changeEmail,
         email = emails[DGV_emails.CurrentRow.Index]
     }))
     {
         form.ShowDialog();
     }
 }