Changeset 7257 for trunk/sources/HeuristicLab.Clients.Hive.Views
- Timestamp:
- 01/03/12 02:10:15 (13 years ago)
- Location:
- trunk/sources/HeuristicLab.Clients.Hive.Views/3.3
- Files:
-
- 8 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive.Views/3.3/HeuristicLab.Clients.Hive.Views-3.3.csproj
r7256 r7257 187 187 <DependentUpon>HiveInformationDialog.cs</DependentUpon> 188 188 </EmbeddedResource> 189 <EmbeddedResource Include="HiveTasks\OptimizerHiveTaskView.resx">190 <DependentUpon>OptimizerHiveTaskView.cs</DependentUpon>191 </EmbeddedResource>192 <EmbeddedResource Include="HiveTasks\HiveTaskView.resx">193 <DependentUpon>HiveTaskView.cs</DependentUpon>194 </EmbeddedResource>195 <EmbeddedResource Include="TreeView\ItemTreeView.resx">196 <DependentUpon>ItemTreeView.cs</DependentUpon>197 </EmbeddedResource>198 <EmbeddedResource Include="StateLog\StateLogGanttChartListView.resx">199 <DependentUpon>StateLogGanttChartListView.cs</DependentUpon>200 </EmbeddedResource>201 <EmbeddedResource Include="GanttChart\GanttChart.resx">202 <DependentUpon>GanttChart.cs</DependentUpon>203 </EmbeddedResource>204 <EmbeddedResource Include="StateLog\StateLogGanttChartView.resx">205 <DependentUpon>StateLogGanttChartView.cs</DependentUpon>206 </EmbeddedResource>207 <EmbeddedResource Include="StateLog\StateLogView.resx">208 <DependentUpon>StateLogView.cs</DependentUpon>209 </EmbeddedResource>210 <EmbeddedResource Include="Progress\ProgressView.resx">211 <DependentUpon>ProgressView.cs</DependentUpon>212 </EmbeddedResource>213 189 </ItemGroup> 214 190 <ItemGroup> -
trunk/sources/HeuristicLab.Clients.Hive.Views/3.3/HiveTasks/OptimizerHiveTaskView.designer.cs
r7104 r7257 24 24 /// </summary> 25 25 private void InitializeComponent() { 26 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OptimizerHiveTaskView));27 26 this.restartButton = new System.Windows.Forms.Button(); 28 27 this.pauseButton = new System.Windows.Forms.Button(); … … 62 61 // 63 62 this.restartButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 64 this.restartButton.Image = ((System.Drawing.Image)(resources.GetObject("restartButton.Image")));63 this.restartButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Restart; 65 64 this.restartButton.Location = new System.Drawing.Point(3, 348); 66 65 this.restartButton.Name = "restartButton"; … … 74 73 this.pauseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 75 74 this.pauseButton.Enabled = false; 76 this.pauseButton.Image = ((System.Drawing.Image)(resources.GetObject("pauseButton.Image")));75 this.pauseButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Pause; 77 76 this.pauseButton.Location = new System.Drawing.Point(33, 348); 78 77 this.pauseButton.Name = "pauseButton"; … … 85 84 // 86 85 this.stopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 87 this.stopButton.Image = ((System.Drawing.Image)(resources.GetObject("stopButton.Image")));86 this.stopButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Stop; 88 87 this.stopButton.Location = new System.Drawing.Point(63, 348); 89 88 this.stopButton.Name = "stopButton"; -
trunk/sources/HeuristicLab.Clients.Hive.Views/3.3/TreeView/ItemTreeView.cs
r7056 r7257 345 345 346 346 protected virtual void contextMenuStrip_Opening(object sender, CancelEventArgs e) { 347 if (treeView.SelectedNode != null) { 347 if (treeView.SelectedNode == null) { 348 e.Cancel = true; 349 } else { 348 350 T selectedItem = treeView.SelectedNode.Tag as T; 349 351 T parentItem = GetParentItem(selectedItem); … … 353 355 contextMenuStrip.Items.Add(new DelegateMenuItem<T>(action.Name, action.Image, new Action<T, T>(action.Execute), selectedItem, parentItem)); 354 356 } 357 e.Cancel = contextMenuStrip.Items.Count == 0; 355 358 } 356 359 } -
trunk/sources/HeuristicLab.Clients.Hive.Views/3.3/TreeView/ItemTreeView.designer.cs
r6976 r7257 26 26 private void InitializeComponent() { 27 27 this.components = new System.ComponentModel.Container(); 28 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ItemTreeView<T>));29 28 this.splitContainer = new System.Windows.Forms.SplitContainer(); 30 29 this.showDetailsCheckBox = new System.Windows.Forms.CheckBox(); … … 33 32 this.treeView = new System.Windows.Forms.TreeView(); 34 33 this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components); 35 this.asfasdfToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();36 this.gfgffToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();37 34 this.imageList = new System.Windows.Forms.ImageList(this.components); 38 35 this.detailsGroupBox = new System.Windows.Forms.GroupBox(); … … 123 120 // contextMenuStrip 124 121 // 125 this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {126 this.asfasdfToolStripMenuItem,127 this.gfgffToolStripMenuItem});128 122 this.contextMenuStrip.Name = "contextMenuStrip"; 129 123 this.contextMenuStrip.Size = new System.Drawing.Size(153, 70); 130 124 this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening); 131 //132 // asfasdfToolStripMenuItem133 //134 this.asfasdfToolStripMenuItem.Name = "asfasdfToolStripMenuItem";135 this.asfasdfToolStripMenuItem.Size = new System.Drawing.Size(152, 22);136 this.asfasdfToolStripMenuItem.Text = "asfasdf";137 //138 // gfgffToolStripMenuItem139 //140 this.gfgffToolStripMenuItem.Name = "gfgffToolStripMenuItem";141 this.gfgffToolStripMenuItem.Size = new System.Drawing.Size(152, 22);142 this.gfgffToolStripMenuItem.Text = "gfgff";143 125 // 144 126 // imageList … … 197 179 private System.Windows.Forms.GroupBox detailsGroupBox; 198 180 private System.Windows.Forms.ContextMenuStrip contextMenuStrip; 199 private System.Windows.Forms.ToolStripMenuItem asfasdfToolStripMenuItem;200 private System.Windows.Forms.ToolStripMenuItem gfgffToolStripMenuItem;201 181 protected System.Windows.Forms.CheckBox showDetailsCheckBox; 202 182 protected System.Windows.Forms.Button removeButton;
Note: See TracChangeset
for help on using the changeset viewer.