Changeset 8145 for trunk/sources/HeuristicLab.Clients.Access.Views
- Timestamp:
- 06/28/12 12:00:51 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientView.cs
r8143 r8145 35 35 36 36 private ProgressView progressView; 37 IProgress progress; 37 38 38 39 public ClientView() { 39 40 InitializeComponent(); 41 progressView = new ProgressView(this); 40 42 } 41 43 … … 82 84 Invoke(new Action(StartProgressView)); 83 85 } else { 84 if (progressView == null) { 85 IProgress prog = new Progress(); 86 prog.Status = "Downloading client information. Please be patient."; 87 progressView = new ProgressView(this, prog); 88 } 86 progress = new Progress(); 87 progress.Status = "Downloading client information. Please be patient."; 88 progressView.Progress = progress; 89 89 } 90 90 } … … 94 94 Invoke(new Action(FinishProgressView)); 95 95 } else { 96 if (progressView != null) { 97 progressView.Finish(); 98 progressView = null; 99 SetEnabledStateOfControls(); 100 } 96 progress.Finish(); 97 SetEnabledStateOfControls(); 101 98 } 102 99 }
Note: See TracChangeset
for help on using the changeset viewer.