Changeset 16512 for trunk/HeuristicLab.MainForm.WindowsForms/3.3/Controls
- Timestamp:
- 01/07/19 14:55:34 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.MainForm.WindowsForms/3.3/Controls/ProgressView.cs
r16511 r16512 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(); … … 127 128 return; 128 129 } 129 //if (Parent == null) return;130 if (Parent == null) return; 130 131 131 132 Visible = false;
Note: See TracChangeset
for help on using the changeset viewer.