private void linkLabel_PeriodicReport_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { if (checkBox_SystemRefresh.Checked) { using (Frm_PeriodicReport periodicReport = new Frm_PeriodicReport()) { periodicReport.UpdateLanguage(HsLangTable); EMailNotifyConfig temp = _uc_EMailNotify_VM.NotifyConfig; periodicReport.SendTimer = temp.SendTimer; periodicReport.SendModel = temp.SendMailModel; periodicReport.SendMailWeek = temp.SendMailWeek; periodicReport.StartPosition = FormStartPosition.CenterScreen; if (periodicReport.ShowDialog() != DialogResult.OK) { return; } else { temp = _uc_EMailNotify_VM.NotifyConfig; temp.SendTimer = periodicReport.SendTimer; temp.SendMailModel = periodicReport.SendModel; temp.SendMailWeek = periodicReport.SendMailWeek; eMailNotifyConfigBS.ResetCurrentItem(); } } } }