private void EditEmailConfig() { var msg = GetEmailConfig(new messaging()); if (msg != null) { EmailConfig ec = new EmailConfig(msg, ButtonEvent.Edit); ec.ShowDialog(); } }
private void btnAdd_Click(object sender, EventArgs e) { EmailConfig ec = new EmailConfig(ButtonEvent.Save); ec.ShowDialog(); }