Exemplo n.º 1
0
        // 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();
            }
        }
Exemplo n.º 2
0
 private void showUndoHistoryToolStripMenuItem_Click(object sender, EventArgs e)
 {
     _undoForm       = new UndoHistoryForm(this);
     _undoForm.Owner = this;
     _undoForm.Show();
     _undoForm.UpdateValues();
 }
Exemplo n.º 3
0
        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();
            }
        }
Exemplo n.º 4
0
 private void ShowUndoHistoryMenuItem_Click(object sender, EventArgs e)
 {
     _undoForm = new UndoHistoryForm(this)
     {
         Owner = this
     };
     _undoForm.Show();
     _undoForm.UpdateValues();
 }
Exemplo n.º 5
0
        public void RefreshDialog()
        {
            RefreshTasView();

            if (MarkerControl != null)
            {
                MarkerControl.UpdateValues();
            }

            if (undoForm != null && !undoForm.IsDisposed)
            {
                undoForm.UpdateValues();
            }
        }
Exemplo n.º 6
0
		private void showUndoHistoryToolStripMenuItem_Click(object sender, EventArgs e)
		{
			undoForm = new UndoHistoryForm(this);
			undoForm.Owner = this;
			undoForm.Show();
			undoForm.UpdateValues();
		}