Changeset 7270 for branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views
- Timestamp:
- 01/04/12 16:45:02 (13 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure
- Files:
-
- 5 deleted
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure
- Property svn:mergeinfo changed
/trunk/sources merged: 7195-7201,7209,7214,7216-7230,7233-7239,7241,7243-7252,7254,7256-7261,7265-7266
- Property svn:mergeinfo changed
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3
- Property svn:ignore
-
old new 1 1 Plugin.cs 2 2 obj 3 *.vs10x
-
- Property svn:ignore
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views/HiveAdministratorView.Designer.cs
r6976 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views/HiveAdministratorView.cs
r6976 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views/Recurrence.Designer.cs
r6976 r7270 24 24 /// </summary> 25 25 private void InitializeComponent() { 26 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Recurrence));27 26 this.gbAppointment = new System.Windows.Forms.GroupBox(); 28 27 this.chbade = new System.Windows.Forms.CheckBox(); … … 243 242 this.Controls.Add(this.gbAppointment); 244 243 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; 245 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));244 this.Icon = HeuristicLab.Common.Resources.HeuristicLab.Icon; 246 245 this.Name = "Recurrence"; 247 246 this.Text = "Recurrence"; -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views/Recurrence.cs
r6976 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ResourcesView.Designer.cs
r7215 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 47 47 private void InitializeComponent() { 48 48 this.components = new System.ComponentModel.Container(); 49 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ResourcesView));50 49 this.imageListSlaveGroups = new System.Windows.Forms.ImageList(this.components); 51 50 this.splitSlaves = new System.Windows.Forms.SplitContainer(); … … 103 102 // btnRefresh 104 103 // 105 this.btnRefresh.Image = ((System.Drawing.Image)(resources.GetObject("btnRefresh.Image")));104 this.btnRefresh.Image = HeuristicLab.Common.Resources.VSImageLibrary.Refresh; 106 105 this.btnRefresh.Location = new System.Drawing.Point(3, 3); 107 106 this.btnRefresh.Name = "btnRefresh"; … … 122 121 // btnSave 123 122 // 124 this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));123 this.btnSave.Image = HeuristicLab.Common.Resources.VSImageLibrary.PublishToWeb; 125 124 this.btnSave.Location = new System.Drawing.Point(93, 3); 126 125 this.btnSave.Name = "btnSave"; … … 133 132 // btnRemoveGroup 134 133 // 135 this.btnRemoveGroup.Image = ((System.Drawing.Image)(resources.GetObject("btnRemoveGroup.Image")));134 this.btnRemoveGroup.Image = HeuristicLab.Common.Resources.VSImageLibrary.Remove; 136 135 this.btnRemoveGroup.Location = new System.Drawing.Point(63, 3); 137 136 this.btnRemoveGroup.Name = "btnRemoveGroup"; … … 144 143 // btnAddGroup 145 144 // 146 this.btnAddGroup.Image = ((System.Drawing.Image)(resources.GetObject("btnAddGroup.Image")));145 this.btnAddGroup.Image = HeuristicLab.Common.Resources.VSImageLibrary.Add; 147 146 this.btnAddGroup.Location = new System.Drawing.Point(33, 3); 148 147 this.btnAddGroup.Name = "btnAddGroup"; -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ResourcesView.cs
r7215 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 51 51 public ResourcesView() { 52 52 InitializeComponent(); 53 treeSlaveGroup.ImageList.Images.Add(H iveImageLibrary.Slave);54 treeSlaveGroup.ImageList.Images.Add(H iveImageLibrary.SlaveGroup);53 treeSlaveGroup.ImageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.MonitorLarge); 54 treeSlaveGroup.ImageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.NetworkCenterLarge); 55 55 56 56 HiveAdminClient.Instance.Refreshing += new EventHandler(Instance_Refreshing); … … 170 170 protected override void SetEnabledStateOfControls() { 171 171 base.SetEnabledStateOfControls(); 172 if (Content == null) { 173 btnAddGroup.Enabled = false; 174 btnRemoveGroup.Enabled = false; 175 btnSave.Enabled = false; 176 } else { 177 btnAddGroup.Enabled = true; 178 btnRemoveGroup.Enabled = true; 179 btnSave.Enabled = true; 180 } 172 181 } 173 182 … … 337 346 338 347 void ResetView() { 339 treeSlaveGroup.Nodes.Clear(); 340 341 if (slaveView.Content != null && slaveView.Content is SlaveGroup) { 342 slaveView.Content.PropertyChanged -= new System.ComponentModel.PropertyChangedEventHandler(SlaveViewContent_PropertyChanged); 343 } 344 slaveView.Content = null; 345 if (scheduleView.Content != null) { 346 scheduleView.Content.Clear(); 347 } 348 HiveAdminClient.Instance.ResetDowntime(); 348 if (this.InvokeRequired) { 349 Invoke(new Action(ResetView)); 350 } else { 351 treeSlaveGroup.Nodes.Clear(); 352 353 if (slaveView.Content != null && slaveView.Content is SlaveGroup) { 354 slaveView.Content.PropertyChanged -= new System.ComponentModel.PropertyChangedEventHandler(SlaveViewContent_PropertyChanged); 355 } 356 slaveView.Content = null; 357 if (scheduleView.Content != null) { 358 scheduleView.Content.Clear(); 359 } 360 HiveAdminClient.Instance.ResetDowntime(); 361 } 349 362 } 350 363 351 364 private void UpdateResources() { 352 if (this.InvokeRequired) { 353 this.Invoke(new Action(ResetView)); 354 } else { 355 ResetView(); 356 } 365 ResetView(); 357 366 358 367 try { … … 361 370 } 362 371 catch (MessageSecurityException) { 372 ShowMessageSecurityException(); 373 } 374 catch (AnonymousUserException) { 375 ShowHiveInformationDialog(); 376 } 377 } 378 379 private void ShowMessageSecurityException() { 380 if (this.InvokeRequired) { 381 Invoke(new Action(ShowMessageSecurityException)); 382 } else { 363 383 MessageBox.Show("A Message Security error has occured. This normally means that your user name or password is wrong.", "HeuristicLab Hive Administrator", MessageBoxButtons.OK, MessageBoxIcon.Error); 384 } 385 } 386 387 private void ShowHiveInformationDialog() { 388 if (this.InvokeRequired) { 389 Invoke(new Action(ShowHiveInformationDialog)); 390 } else { 391 using (HiveInformationDialog dialog = new HiveInformationDialog()) { 392 dialog.ShowDialog(this); 393 } 364 394 } 365 395 } -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ScheduleView.Designer.cs
r7215 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 47 47 this.components = new System.ComponentModel.Container(); 48 48 Calendar.DrawTool drawTool1 = new Calendar.DrawTool(); 49 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ScheduleView));50 49 this.dvOnline = new Calendar.DayView(); 51 50 this.txttimeTo = new System.Windows.Forms.DateTimePicker(); … … 161 160 // btnRecurrence 162 161 // 163 this.btnRecurrence.Image = ((System.Drawing.Image)(resources.GetObject("btnRecurrence.Image")));162 this.btnRecurrence.Image = HeuristicLab.Common.Resources.VSImageLibrary.Timer; 164 163 this.btnRecurrence.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; 165 164 this.btnRecurrence.Location = new System.Drawing.Point(135, 129); … … 174 173 // btbDelete 175 174 // 176 this.btbDelete.Image = ((System.Drawing.Image)(resources.GetObject("btbDelete.Image")));175 this.btbDelete.Image = HeuristicLab.Common.Resources.VSImageLibrary.Delete; 177 176 this.btbDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; 178 177 this.btbDelete.Location = new System.Drawing.Point(8, 129); … … 205 204 // btCreate 206 205 // 207 this.btCreate.Image = ((System.Drawing.Image)(resources.GetObject("btCreate.Image")));206 this.btCreate.Image = HeuristicLab.Common.Resources.VSImageLibrary.Add; 208 207 this.btCreate.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; 209 208 this.btCreate.Location = new System.Drawing.Point(6, 93); … … 218 217 // btnSaveCal 219 218 // 220 this.btnSaveCal.Image = ((System.Drawing.Image)(resources.GetObject("btnSaveCal.Image")));219 this.btnSaveCal.Image = HeuristicLab.Common.Resources.VSImageLibrary.PublishToWeb; 221 220 this.btnSaveCal.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; 222 221 this.btnSaveCal.Location = new System.Drawing.Point(633, 41); … … 231 230 // btnClearCal 232 231 // 233 this.btnClearCal.Image = ((System.Drawing.Image)(resources.GetObject("btnClearCal.Image")));232 this.btnClearCal.Image = HeuristicLab.Common.Resources.VSImageLibrary.Document; 234 233 this.btnClearCal.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; 235 234 this.btnClearCal.Location = new System.Drawing.Point(633, 9); -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ScheduleView.cs
r7215 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 228 228 protected override void SetEnabledStateOfControls() { 229 229 base.SetEnabledStateOfControls(); 230 if (Content == null) { 231 btnSaveCal.Enabled = false; 232 } else { 233 btnSaveCal.Enabled = true; 234 } 230 235 } 231 236 -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views/SlaveView.Designer.cs
r6976 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.Administrator/3.3/Views/SlaveView.cs
r6976 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab.
Note: See TracChangeset
for help on using the changeset viewer.