public void showFormLog() { if (formLog == null) { formLog = new FormLog(config.formLog, this); formLog.FormClosed += FormLog_FormClosed; formLog.Show(); } else { formLog.Focus(); } }
private void FormLog_FormClosed(object sender, FormClosedEventArgs e) { formLog.Dispose(); formLog = null; }