Changeset 5282 for branches/HeuristicLab.Hive-3.3/sources/HeuristicLab.Hive/HeuristicLab.HiveEngine/3.3/Views/HiveEngineView.cs
- Timestamp:
- 01/11/11 18:03:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.3/sources/HeuristicLab.Hive/HeuristicLab.HiveEngine/3.3/Views/HiveEngineView.cs
r5153 r5282 24 24 25 25 protected override void DeregisterContentEvents() { 26 // TODO: Deregister your event handlers here27 26 base.DeregisterContentEvents(); 28 27 } … … 30 29 protected override void RegisterContentEvents() { 31 30 base.RegisterContentEvents(); 32 // TODO: Register your event handlers here33 31 } 34 32 35 33 #region Event Handlers (Content) 36 // TODO:Put event handlers of the content here34 // Put event handlers of the content here 37 35 #endregion 38 36 … … 40 38 base.OnContentChanged(); 41 39 if (Content == null) { 42 // TODO: Add code when content has been changed and is null 40 resourceIdsTextBox.Text = string.Empty; 41 priorityTextBox.Text = string.Empty; 43 42 } else { 44 // TODO: Add code when content has been changed and is not null 43 resourceIdsTextBox.Text = Content.ResourceIds; 44 priorityTextBox.Text = Content.Priority.ToString(); 45 45 } 46 46 } … … 52 52 if (Content != null) { 53 53 resourceIdsTextBox.ReadOnly = this.ReadOnly; 54 priorityTextBox.ReadOnly = this.ReadOnly; 54 55 } else { 55 56 resourceIdsTextBox.ReadOnly = false; 57 priorityTextBox.ReadOnly = false; 56 58 } 57 59 } … … 62 64 } 63 65 #endregion 66 67 private void priorityTextBox_TextChanged(object sender, EventArgs e) { 68 Content.Priority = int.Parse(priorityTextBox.Text); 69 } 64 70 } 65 71 }
Note: See TracChangeset
for help on using the changeset viewer.