- Timestamp:
- 05/21/12 15:12:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.Administrator/3.3/Views/SlaveView.cs
r7259 r7857 62 62 txtId.Clear(); 63 63 txtHbIntervall.Clear(); 64 cbxDisposable.Checked = false; 64 65 } else { 65 66 if (Content.GetType() == typeof(Slave)) { … … 68 69 txtName.Text = ct.Name; 69 70 txtHbIntervall.Text = ct.HbInterval.ToString(); 71 cbxDisposable.Checked = ct.IsDisposable; 70 72 txtCPU.Text = string.Format("{0} Cores @ {1} Mhz, Arch.: {2}", ct.Cores.ToString(), ct.CpuSpeed.ToString(), ct.CpuArchitecture.ToString()); 71 73 txtDetailsDescription.Text = ct.Description; … … 88 90 89 91 private void ShowSlaveUI(bool show) { 92 label1.Visible = show; 90 93 label2.Visible = show; 91 label 1.Visible = show;94 label4.Visible = show; 92 95 label10.Visible = show; 93 96 label11.Visible = show; … … 105 108 txtId.Visible = show; 106 109 txtName.Enabled = !show; 110 cbxDisposable.Visible = show; 107 111 } 108 112 … … 131 135 } 132 136 } 137 138 private void checkBox1_CheckedChanged(object sender, EventArgs e) { 139 if (Content != null) { 140 ((Slave)Content).IsDisposable = cbxDisposable.Checked; 141 } 142 } 133 143 } 134 144 }
Note: See TracChangeset
for help on using the changeset viewer.