Ignore:
Timestamp:
07/04/19 15:20:26 (23 months ago)
Author:
mkommend
Message:

#2839: Merged 16622, 16878 into stable.

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Clients.Hive.Administrator

  • stable/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectJobsView.cs

    r17062 r17067  
    2626using System.Threading.Tasks;
    2727using System.Windows.Forms;
     28using HeuristicLab.Clients.Hive.Views;
     29using HeuristicLab.Core;
     30using HeuristicLab.Core.Views;
     31using HeuristicLab.Data;
    2832using HeuristicLab.MainForm;
    2933using HeuristicLab.MainForm.WindowsForms;
    30 using HeuristicLab.Core.Views;
    31 using HeuristicLab.Data;
    32 using HeuristicLab.Clients.Hive.Views;
    33 using HeuristicLab.Core;
    3434
    3535namespace HeuristicLab.Clients.Hive.Administrator.Views {
     
    297297
    298298    private void RefreshJobs() {
    299       HiveAdminClient.Instance.RefreshJobs();
     299      HiveAdminClient.Instance.RefreshJobs(Content.Id);
    300300      UpdateJobs();
    301301      SetEnabledStateOfControls();
     
    303303
    304304    private StringMatrix CreateValueMatrix() {
    305       if (Content == null || Content.Id == Guid.Empty)
     305      if (Content == null || Content.Id == Guid.Empty || !HiveAdminClient.Instance.Jobs.ContainsKey(Content.Id))
    306306        return new StringMatrix();
    307307
     
    352352
    353353            matrixView.DataGridView.AutoResizeColumns();
    354             matrixView.DataGridView.Columns[0].MinimumWidth = 90;
    355             matrixView.DataGridView.Columns[1].MinimumWidth = 108;
    356354          }
    357355        }
     
    360358
    361359    private void RefreshJobsAsync() {
    362       HiveAdminClient.Instance.RefreshJobs();
     360      HiveAdminClient.Instance.RefreshJobs(Content.Id);
    363361      UpdateJobs();
    364362    }
Note: See TracChangeset for help on using the changeset viewer.