Changeset 16518 for branches/2972_PDPRowSelect/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ProgressView.cs
- Timestamp:
- 01/08/19 14:59:31 (5 years ago)
- Location:
- branches/2972_PDPRowSelect
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2972_PDPRowSelect
- Property svn:mergeinfo changed
/trunk (added) merged: 16446,16448-16449,16478,16491,16494,16496,16499,16501-16506,16511-16513
- Property svn:mergeinfo changed
-
branches/2972_PDPRowSelect/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ProgressView.cs
r16430 r16518 38 38 : base() { 39 39 if (control == null) throw new ArgumentNullException("control"); 40 if (control.Parent == null) throw new InvalidOperationException("A Progress can only be shown on controls that have a Parent-control. Therefore, Dialogs and Forms cannot have an associated ProgressView."); 40 41 if (content == null) throw new ArgumentNullException("content"); 41 42 InitializeComponent(); … … 114 115 UpdateButtonsState(); 115 116 117 Control.SuspendRepaint(); 116 118 Control.Enabled = false; 117 119 Parent = Control.Parent; 118 120 BringToFront(); 121 Control.ResumeRepaint(true); 119 122 Visible = true; 120 123 } … … 128 131 129 132 Visible = false; 133 Control.SuspendRepaint(); 130 134 Control.Enabled = true; 135 Control.ResumeRepaint(true); 131 136 Parent = null; 132 137 }
Note: See TracChangeset
for help on using the changeset viewer.