Changeset 16878 for trunk/HeuristicLab.Clients.Hive.Administrator
- Timestamp:
- 04/30/19 09:30:40 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectJobsView.cs
r16565 r16878 26 26 using System.Threading.Tasks; 27 27 using System.Windows.Forms; 28 using HeuristicLab.Clients.Hive.Views; 29 using HeuristicLab.Core; 30 using HeuristicLab.Core.Views; 31 using HeuristicLab.Data; 28 32 using HeuristicLab.MainForm; 29 33 using HeuristicLab.MainForm.WindowsForms; 30 using HeuristicLab.Core.Views;31 using HeuristicLab.Data;32 using HeuristicLab.Clients.Hive.Views;33 using HeuristicLab.Core;34 34 35 35 namespace HeuristicLab.Clients.Hive.Administrator.Views { … … 297 297 298 298 private void RefreshJobs() { 299 HiveAdminClient.Instance.RefreshJobs( );299 HiveAdminClient.Instance.RefreshJobs(Content.Id); 300 300 UpdateJobs(); 301 301 SetEnabledStateOfControls(); … … 303 303 304 304 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)) 306 306 return new StringMatrix(); 307 307 … … 352 352 353 353 matrixView.DataGridView.AutoResizeColumns(); 354 matrixView.DataGridView.Columns[0].MinimumWidth = 90;355 matrixView.DataGridView.Columns[1].MinimumWidth = 108;356 354 } 357 355 } … … 360 358 361 359 private void RefreshJobsAsync() { 362 HiveAdminClient.Instance.RefreshJobs( );360 HiveAdminClient.Instance.RefreshJobs(Content.Id); 363 361 UpdateJobs(); 364 362 }
Note: See TracChangeset
for help on using the changeset viewer.