private void linkLabel_modifySender_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { using (Frm_SenderChanged frm = new Frm_SenderChanged()) { frm.UpdateLanguage(HsLangTable); EMailNotifyConfig temp = _uc_EMailNotify_VM.NotifyConfig; frm.EmailAddr = temp.EmailAddr; frm.Password = temp.Password; frm.SMTPServer = temp.SmtpServer; frm.Port = temp.Port; frm.IsEnableSsl = temp.IsEnableSsl; if (frm.ShowDialog(this) != DialogResult.OK) { return; } else { temp = _uc_EMailNotify_VM.NotifyConfig; temp.EmailAddr = frm.EmailAddr; temp.Password = frm.Password; temp.SmtpServer = frm.SMTPServer; temp.Port = frm.Port; temp.IsEnableSsl = frm.IsEnableSsl; eMailNotifyConfigBS.ResetCurrentItem(); } } }