Changeset 16205 for trunk/HeuristicLab.Clients.Hive.Administrator/3.3/Views
- Timestamp:
- 10/01/18 16:21:01 (6 years ago)
- Location:
- trunk/HeuristicLab.Clients.Hive.Administrator/3.3/Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectJobsView.Designer.cs
r16117 r16205 20 20 #endregion 21 21 22 using System.Windows.Forms; 22 23 using HeuristicLab.Data.Views; 23 24 … … 50 51 this.refreshButton = new System.Windows.Forms.Button(); 51 52 this.removeButton = new System.Windows.Forms.Button(); 53 this.startButton = new System.Windows.Forms.Button(); 54 this.stopButton = new System.Windows.Forms.Button(); 55 this.pauseButton = new System.Windows.Forms.Button(); 52 56 this.matrixView = new HeuristicLab.Data.Views.StringConvertibleMatrixView(); 53 57 this.toolTip = new System.Windows.Forms.ToolTip(this.components); … … 75 79 this.removeButton.UseVisualStyleBackColor = true; 76 80 this.removeButton.Click += new System.EventHandler(this.removeButton_Click); 81 // 82 // startButton 83 // 84 this.startButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 85 this.startButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play; 86 this.startButton.Location = new System.Drawing.Point(0, 564); 87 this.startButton.Name = "startButton"; 88 this.startButton.Size = new System.Drawing.Size(24, 24); 89 this.startButton.TabIndex = 4; 90 this.toolTip.SetToolTip(this.startButton, "Resume job(s)"); 91 this.startButton.UseVisualStyleBackColor = true; 92 this.startButton.Click += new System.EventHandler(this.startButton_Click); 93 // 94 // pauseButton 95 // 96 this.pauseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 97 this.pauseButton.Enabled = false; 98 this.pauseButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Pause; 99 this.pauseButton.Location = new System.Drawing.Point(30, 564); 100 this.pauseButton.Name = "pauseButton"; 101 this.pauseButton.Size = new System.Drawing.Size(24, 24); 102 this.pauseButton.TabIndex = 5; 103 this.toolTip.SetToolTip(this.pauseButton, "Pause job(s)"); 104 this.pauseButton.UseVisualStyleBackColor = true; 105 this.pauseButton.Click += new System.EventHandler(this.pauseButton_Click); 106 // 107 // stopButton 108 // 109 this.stopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 110 this.stopButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Stop; 111 this.stopButton.Location = new System.Drawing.Point(60, 564); 112 this.stopButton.Name = "stopButton"; 113 this.stopButton.Size = new System.Drawing.Size(24, 24); 114 this.stopButton.TabIndex = 6; 115 this.toolTip.SetToolTip(this.stopButton, "Stop job(s)"); 116 this.stopButton.UseVisualStyleBackColor = true; 117 this.stopButton.Click += new System.EventHandler(this.stopButton_Click); 77 118 // 78 119 // matrixView … … 110 151 private System.Windows.Forms.Button refreshButton; 111 152 private System.Windows.Forms.Button removeButton; 153 private System.Windows.Forms.Button startButton; 154 private System.Windows.Forms.Button stopButton; 155 private System.Windows.Forms.Button pauseButton; 112 156 private StringConvertibleMatrixView matrixView; 113 157 } -
trunk/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectJobsView.cs
r16117 r16205 132 132 } 133 133 } 134 } 135 136 private async void startButton_Click(object sender, EventArgs e) { 137 throw new NotImplementedException(); 138 } 139 140 private async void pauseButton_Click(object sender, EventArgs e) { 141 throw new NotImplementedException(); 142 } 143 144 private async void stopButton_Click(object sender, EventArgs e) { 145 throw new NotImplementedException(); 134 146 } 135 147 … … 201 213 } 202 214 215 private void PauseJobs(List<Guid> jobIds) { 216 try { 217 // TODO 218 } catch (AnonymousUserException) { 219 ShowHiveInformationDialog(); 220 } 221 } 222 223 private void StopJobs(List<Guid> jobIds) { 224 try { 225 // TODO 226 } catch (AnonymousUserException) { 227 ShowHiveInformationDialog(); 228 } 229 } 230 203 231 private void DeleteJobs(List<Guid> jobIds) { 204 232 try {
Note: See TracChangeset
for help on using the changeset viewer.