- Timestamp:
- 05/11/10 05:01:42 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization.Views/3.3/EngineAlgorithmView.Designer.cs
r3525 r3759 46 46 private void InitializeComponent() { 47 47 this.engineLabel = new System.Windows.Forms.Label(); 48 this.createUserDefinedAlgorithmButton = new System.Windows.Forms.Button();49 48 this.engineComboBox = new System.Windows.Forms.ComboBox(); 50 49 this.engineTabPage = new System.Windows.Forms.TabPage(); … … 119 118 // 120 119 this.executionTimeLabel.Location = new System.Drawing.Point(487, 532); 121 this.executionTimeLabel.TabIndex = 10;120 this.executionTimeLabel.TabIndex = 9; 122 121 // 123 122 // executionTimeTextBox 124 123 // 125 124 this.executionTimeTextBox.Location = new System.Drawing.Point(576, 529); 126 this.executionTimeTextBox.TabIndex = 1 1;125 this.executionTimeTextBox.TabIndex = 10; 127 126 // 128 127 // resultsTabPage … … 169 168 this.engineLabel.TabIndex = 0; 170 169 this.engineLabel.Text = "&Engine:"; 171 //172 // createUserDefinedAlgorithmButton173 //174 this.createUserDefinedAlgorithmButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));175 this.createUserDefinedAlgorithmButton.Location = new System.Drawing.Point(150, 525);176 this.createUserDefinedAlgorithmButton.Name = "createUserDefinedAlgorithmButton";177 this.createUserDefinedAlgorithmButton.Size = new System.Drawing.Size(254, 24);178 this.createUserDefinedAlgorithmButton.TabIndex = 9;179 this.createUserDefinedAlgorithmButton.Text = "&Create User Defined Algorithm";180 this.toolTip.SetToolTip(this.createUserDefinedAlgorithmButton, "Create User Defined Algorithm from this Algorithm");181 this.createUserDefinedAlgorithmButton.UseVisualStyleBackColor = true;182 this.createUserDefinedAlgorithmButton.Click += new System.EventHandler(this.createUserDefinedAlgorithmButton_Click);183 170 // 184 171 // engineComboBox … … 273 260 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 274 261 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 275 this.Controls.Add(this.createUserDefinedAlgorithmButton);276 262 this.Name = "EngineAlgorithmView"; 277 263 this.Size = new System.Drawing.Size(713, 549); 278 264 this.Controls.SetChildIndex(this.stopButton, 0); 279 this.Controls.SetChildIndex(this.createUserDefinedAlgorithmButton, 0);280 265 this.Controls.SetChildIndex(this.resetButton, 0); 281 266 this.Controls.SetChildIndex(this.pauseButton, 0); … … 306 291 307 292 protected System.Windows.Forms.Label engineLabel; 308 protected System.Windows.Forms.Button createUserDefinedAlgorithmButton;309 293 protected System.Windows.Forms.ComboBox engineComboBox; 310 294 protected System.Windows.Forms.TabPage engineTabPage; -
trunk/sources/HeuristicLab.Optimization.Views/3.3/EngineAlgorithmView.cs
r3640 r3759 108 108 operatorGraphViewHost.ReadOnly = true; 109 109 engineComboBox.Enabled = Content != null && !ReadOnly; 110 createUserDefinedAlgorithmButton.Enabled = Content != null && !Locked;111 110 } 112 111 … … 143 142 } 144 143 } 145 146 protected virtual void createUserDefinedAlgorithmButton_Click(object sender, EventArgs e) {147 IContentView view = MainFormManager.MainForm.ShowContent(Content.CreateUserDefinedAlgorithm());148 if (view != null) {149 view.ReadOnly = this.ReadOnly;150 view.Locked = this.Locked;151 }152 }153 144 } 154 145 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/UserDefinedAlgorithmView.Designer.cs
r3505 r3759 58 58 this.globalScopeTabPage.SuspendLayout(); 59 59 this.SuspendLayout(); 60 //61 // createUserDefinedAlgorithmButton62 //63 this.createUserDefinedAlgorithmButton.Enabled = false;64 this.toolTip.SetToolTip(this.createUserDefinedAlgorithmButton, "Create User Defined Algorithm from this Algorithm");65 this.createUserDefinedAlgorithmButton.Visible = false;66 60 // 67 61 // engineComboBox -
trunk/sources/HeuristicLab.Optimizer/3.3/HeuristicLab.Optimizer-3.3.csproj
r3736 r3759 89 89 <Compile Include="MenuItems\ClipboardMenuItem.cs" /> 90 90 <Compile Include="MenuItems\AboutMenuItem.cs" /> 91 <Compile Include="MenuItems\ConvertIntoUserDefinedAlgorithmMenuItem.cs" /> 91 92 <Compile Include="MenuItems\CopyToClipboardMenuItem.cs" /> 92 93 <Compile Include="MenuItems\StartPageMenuItem.cs" /> … … 169 170 <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project> 170 171 <Name>HeuristicLab.MainForm-3.3</Name> 172 </ProjectReference> 173 <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj"> 174 <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project> 175 <Name>HeuristicLab.Optimization-3.3</Name> 171 176 </ProjectReference> 172 177 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj"> -
trunk/sources/HeuristicLab.Optimizer/3.3/HeuristicLabOptimizerPlugin.cs.frame
r3702 r3759 33 33 [PluginDependency("HeuristicLab.MainForm", "3.3")] 34 34 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] 35 [PluginDependency("HeuristicLab.Optimization", "3.3")] 35 36 public class HeuristicLabOptimizerPlugin : PluginBase { 36 37 } -
trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems/AboutMenuItem.cs
r3736 r3759 39 39 } 40 40 public override int Position { 41 get { return 4100; }41 get { return 9100; } 42 42 } 43 43 … … 45 45 if (aboutDialog == null) 46 46 aboutDialog = new AboutDialog(); 47 aboutDialog.ShowDialog( );47 aboutDialog.ShowDialog((IWin32Window)MainFormManager.MainForm); 48 48 } 49 49 } -
trunk/sources/HeuristicLab.Optimizer/3.3/MenuItems/CopyToClipboardMenuItem.cs
r3518 r3759 39 39 get { return 2100; } 40 40 } 41 public override string ToolTipText { 42 get { return "Copy the shown content into the HeuristicLab Optimizer clipboard"; } 43 } 41 44 42 45 protected override void OnToolStripItemSet(EventArgs e) {
Note: See TracChangeset
for help on using the changeset viewer.