Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/16/17 13:08:06 (7 years ago)
Author:
jkarder
Message:

#2784: merged r14901 and r15121 into stable

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Clients.Hive.Views/3.3/HiveTasks/OptimizerHiveTaskView.cs

    r14186 r15262  
    7373
    7474    #region Child Control Events
    75     private void restartButton_Click(object sender, EventArgs e) {
     75    private void startButton_Click(object sender, EventArgs e) {
    7676      var task = System.Threading.Tasks.Task.Factory.StartNew(ResumeTaskAsync);
    7777      task.ContinueWith((t) => {
     
    119119      base.SetEnabledStateOfControls();
    120120
    121       this.restartButton.Enabled = Content != null && Content.IsControllable && !Content.Task.Command.HasValue && (Content.Task.State == TaskState.Paused || Content.Task.State == TaskState.Failed || Content.Task.State == TaskState.Aborted);
     121      this.startButton.Enabled = Content != null && Content.IsControllable && !Content.Task.Command.HasValue && (Content.Task.State == TaskState.Paused);
    122122      this.pauseButton.Enabled = Content != null && Content.IsControllable && !Content.Task.Command.HasValue && Content.Task.State == TaskState.Calculating;
    123123      this.stopButton.Enabled = Content != null && Content.IsControllable && !Content.Task.Command.HasValue && (Content.Task.State == TaskState.Calculating || Content.Task.State == TaskState.Waiting || Content.Task.State == TaskState.Paused);
  • stable/HeuristicLab.Clients.Hive.Views/3.3/HiveTasks/OptimizerHiveTaskView.designer.cs

    r14186 r15262  
    4545    /// </summary>
    4646    private void InitializeComponent() {
    47       this.restartButton = new System.Windows.Forms.Button();
     47      this.startButton = new System.Windows.Forms.Button();
    4848      this.pauseButton = new System.Windows.Forms.Button();
    4949      this.stopButton = new System.Windows.Forms.Button();
     
    6060      // detailsTabPage
    6161      //
    62       this.detailsTabPage.Controls.Add(this.restartButton);
     62      this.detailsTabPage.Controls.Add(this.startButton);
    6363      this.detailsTabPage.Controls.Add(this.pauseButton);
    6464      this.detailsTabPage.Controls.Add(this.stopButton);
     
    6666      this.detailsTabPage.Controls.SetChildIndex(this.stopButton, 0);
    6767      this.detailsTabPage.Controls.SetChildIndex(this.pauseButton, 0);
    68       this.detailsTabPage.Controls.SetChildIndex(this.restartButton, 0);
     68      this.detailsTabPage.Controls.SetChildIndex(this.startButton, 0);
    6969      //
    7070      // tabControl
     
    7979      this.modifyItemButton.Text = "Show/Modify Optimizer";
    8080      //
    81       // restartButton
     81      // startButton
    8282      //
    83       this.restartButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    84       this.restartButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Restart;
    85       this.restartButton.Location = new System.Drawing.Point(3, 348);
    86       this.restartButton.Name = "restartButton";
    87       this.restartButton.Size = new System.Drawing.Size(24, 24);
    88       this.restartButton.TabIndex = 34;
    89       this.restartButton.UseVisualStyleBackColor = true;
    90       this.restartButton.Click += new System.EventHandler(this.restartButton_Click);
     83      this.startButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     84      this.startButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play;
     85      this.startButton.Location = new System.Drawing.Point(3, 348);
     86      this.startButton.Name = "startButton";
     87      this.startButton.Size = new System.Drawing.Size(24, 24);
     88      this.startButton.TabIndex = 34;
     89      this.startButton.UseVisualStyleBackColor = true;
     90      this.startButton.Click += new System.EventHandler(this.startButton_Click);
    9191      //
    9292      // pauseButton
     
    139139      // OptimizerHiveTaskView
    140140      //
    141       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    142141      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
    143142      this.Name = "OptimizerHiveTaskView";
     
    156155    #endregion
    157156
    158     private System.Windows.Forms.Button restartButton;
     157    private System.Windows.Forms.Button startButton;
    159158    private System.Windows.Forms.Button pauseButton;
    160159    private System.Windows.Forms.Button stopButton;
Note: See TracChangeset for help on using the changeset viewer.