- Timestamp:
- 06/16/11 12:39:32 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.HiveEngine.Views/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.HiveEngine.Views/3.4/HiveEngineView.Designer.cs
r6419 r6426 38 38 this.executionTimeLabel = new System.Windows.Forms.Label(); 39 39 this.executionTimeTextBox = new System.Windows.Forms.TextBox(); 40 this.useLocalPluginsCheckBox = new System.Windows.Forms.CheckBox();41 40 this.isPrivilegedCheckBox = new System.Windows.Forms.CheckBox(); 42 41 this.tabControl.SuspendLayout(); … … 180 179 this.executionTimeTextBox.Size = new System.Drawing.Size(577, 20); 181 180 this.executionTimeTextBox.TabIndex = 11; 182 //183 // useLocalPluginsCheckBox184 //185 this.useLocalPluginsCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));186 this.useLocalPluginsCheckBox.AutoSize = true;187 this.useLocalPluginsCheckBox.Location = new System.Drawing.Point(598, 55);188 this.useLocalPluginsCheckBox.Name = "useLocalPluginsCheckBox";189 this.useLocalPluginsCheckBox.Size = new System.Drawing.Size(105, 17);190 this.useLocalPluginsCheckBox.TabIndex = 12;191 this.useLocalPluginsCheckBox.Text = "UseLocalPlugins";192 this.useLocalPluginsCheckBox.UseVisualStyleBackColor = true;193 this.useLocalPluginsCheckBox.CheckedChanged += new System.EventHandler(this.useLocalPluginsCheckBox_CheckedChanged);194 181 // 195 182 // isPrivilegedCheckBox … … 210 197 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 211 198 this.Controls.Add(this.isPrivilegedCheckBox); 212 this.Controls.Add(this.useLocalPluginsCheckBox);213 199 this.Controls.Add(this.executionTimeTextBox); 214 200 this.Controls.Add(this.executionTimeLabel); … … 243 229 private System.Windows.Forms.Label executionTimeLabel; 244 230 private System.Windows.Forms.TextBox executionTimeTextBox; 245 private System.Windows.Forms.CheckBox useLocalPluginsCheckBox;246 231 private HeuristicLab.Core.Views.LogView logView; 247 232 private RefreshableHiveExperimentListView hiveExperimentListView; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.HiveEngine.Views/3.4/HiveEngineView.cs
r6419 r6426 73 73 priorityTextBox.Text = string.Empty; 74 74 executionTimeOnHiveTextBox.Text = string.Empty; 75 useLocalPluginsCheckBox.Checked = false;76 75 isPrivilegedCheckBox.Checked = false; 77 76 hiveExperimentListView.Content = null; … … 81 80 priorityTextBox.Text = Content.Priority.ToString(); 82 81 executionTimeOnHiveTextBox.Text = Content.ExecutionTimeOnHive.ToString(); 83 useLocalPluginsCheckBox.Checked = Content.UseLocalPlugins;84 82 isPrivilegedCheckBox.Checked = Content.IsPrivileged; 85 83 hiveExperimentListView.Content = Content.HiveExperiments; … … 94 92 resourceIdsTextBox.ReadOnly = this.ReadOnly; 95 93 priorityTextBox.ReadOnly = this.ReadOnly; 96 useLocalPluginsCheckBox.Enabled = !this.ReadOnly;97 94 isPrivilegedCheckBox.Enabled = !this.ReadOnly; // TODO: check for user rights 98 95 } else { 99 96 resourceIdsTextBox.ReadOnly = false; 100 97 priorityTextBox.ReadOnly = false; 101 useLocalPluginsCheckBox.Enabled = false;102 98 isPrivilegedCheckBox.Enabled = false; 103 99 } 104 100 } 105 101 106 102 #region Event Handlers (child controls) 107 103 private void resourceIdsTextBox_Validated(object sender, EventArgs e) { … … 111 107 private void priorityTextBox_Validated(object sender, EventArgs e) { 112 108 Content.Priority = int.Parse(priorityTextBox.Text); 113 }114 115 private void useLocalPluginsCheckBox_CheckedChanged(object sender, EventArgs e) {116 Content.UseLocalPlugins = useLocalPluginsCheckBox.Checked;117 109 } 118 110
Note: See TracChangeset
for help on using the changeset viewer.