private void OnMenuClickHistory(object sender, EventArgs e) { if (_historyForm == null || _historyForm.IsDisposed) { _historyForm = new ActivityHistoryForm(); } if (_historyForm.IsDisposed) { return; } _historyForm.Show(); _historyForm.Focus(); }
private void menuHistory_Click(object sender, EventArgs e) { if (historyForm == null || historyForm.IsDisposed) historyForm = new ActivityHistoryForm(); historyForm.Show(); }