Changeset 17062 for stable/HeuristicLab.Scripting.Views/3.3/ScriptView.cs
- Timestamp:
- 07/04/19 14:45:47 (5 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Scripting.Views/3.3/ScriptView.cs
r16832 r17062 180 180 181 181 private void AddProgressView(string progressMessage) { 182 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 183 mainForm.AddOperationProgressToView(this, progressMessage); 182 Progress.Show(this, progressMessage, ProgressMode.Indeterminate); 184 183 progressViewCreated = true; 185 184 } … … 187 186 private void RemoveProgressView() { 188 187 if (!progressViewCreated) return; 189 var mainForm = MainFormManager.GetMainForm<MainForm.WindowsForms.MainForm>(); 190 mainForm.RemoveOperationProgressFromView(this); 188 Progress.Hide(this); 191 189 progressViewCreated = false; 192 190 }
Note: See TracChangeset
for help on using the changeset viewer.