Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/11 16:26:39 (13 years ago)
Author:
ascheibe
Message:

#1672

  • added a default job name
  • added check that a job name is set before upload
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs

    r7067 r7068  
    334334    #region Control events
    335335    private void startButton_Click(object sender, EventArgs e) {
    336       HiveClient.StartJob((Exception ex) => ErrorHandling.ShowErrorDialog(this, "Start failed.", ex), Content, new CancellationToken());
     336      if (nameTextBox.Text.Trim() == string.Empty) {
     337        MessageBox.Show("Please enter a name for the job before uploading it!", "HeuristicLab Hive Job Manager", MessageBoxButtons.OK, MessageBoxIcon.Information);
     338      } else {
     339        HiveClient.StartJob((Exception ex) => ErrorHandling.ShowErrorDialog(this, "Start failed.", ex), Content, new CancellationToken());
     340      }
    337341    }
    338342    private void pauseButton_Click(object sender, EventArgs e) {
Note: See TracChangeset for help on using the changeset viewer.