// Slow but guarantees the entire dialog refreshes private void FullRefresh() { SetTasViewRowCount(); TasView.Refresh(); // An extra refresh potentially but we need to guarantee MarkerControl.UpdateValues(); BookMarkControl.UpdateValues(); if (_undoForm != null && !_undoForm.IsDisposed) { _undoForm.UpdateValues(); } }
private void showUndoHistoryToolStripMenuItem_Click(object sender, EventArgs e) { _undoForm = new UndoHistoryForm(this); _undoForm.Owner = this; _undoForm.Show(); _undoForm.UpdateValues(); }
public void RefreshDialog(bool refreshTasView = true) { if (_exiting) { return; } if (refreshTasView) { RefreshTasView(); } if (MarkerControl != null) { MarkerControl.UpdateValues(); } if (BookMarkControl != null) { BookMarkControl.UpdateValues(); } if (_undoForm != null && !_undoForm.IsDisposed) { _undoForm.UpdateValues(); } }
private void ShowUndoHistoryMenuItem_Click(object sender, EventArgs e) { _undoForm = new UndoHistoryForm(this) { Owner = this }; _undoForm.Show(); _undoForm.UpdateValues(); }
public void RefreshDialog() { RefreshTasView(); if (MarkerControl != null) { MarkerControl.UpdateValues(); } if (undoForm != null && !undoForm.IsDisposed) { undoForm.UpdateValues(); } }
private void showUndoHistoryToolStripMenuItem_Click(object sender, EventArgs e) { undoForm = new UndoHistoryForm(this); undoForm.Owner = this; undoForm.Show(); undoForm.UpdateValues(); }