- Timestamp:
- 05/13/19 13:59:30 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Clients.Hive.Administrator
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Clients.Hive.Administrator merged: 16878
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectJobsView.cs
r16723 r16946 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.