Changeset 8165 for trunk/sources/HeuristicLab.Clients.Access.Views
- Timestamp:
- 06/29/12 23:12:32 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Access.Views/3.3/ClientViews/ClientView.cs
r8160 r8165 35 35 36 36 private ProgressView progressView; 37 IProgress progress;37 private Progress progress; 38 38 39 39 public ClientView() { 40 40 InitializeComponent(); 41 progressView = new ProgressView(this); 41 progress = new Progress() { 42 CanBeCanceled = false, 43 ProgressState = ProgressState.Finished 44 }; 45 } 46 47 protected override void DeregisterContentEvents() { 48 if (progressView != null) { 49 progressView.Content = null; 50 progressView.Dispose(); 51 progressView = null; 52 } 53 base.DeregisterContentEvents(); 54 } 55 56 protected override void RegisterContentEvents() { 57 base.RegisterContentEvents(); 58 progressView = new ProgressView(this, progress); 42 59 } 43 60 … … 84 101 Invoke(new Action(StartProgressView)); 85 102 } else { 86 progress = new Progress();87 103 progress.Status = "Downloading client information. Please be patient."; 88 progress View.Progress = progress;104 progress.ProgressState = ProgressState.Started; 89 105 } 90 106 }
Note: See TracChangeset
for help on using the changeset viewer.