- Timestamp:
- 11/26/08 16:58:13 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.cs
r794 r831 28 28 using System.Text; 29 29 using System.Windows.Forms; 30 using HeuristicLab.Hive.Contracts.Interfaces; 31 using HeuristicLab.Hive.Contracts.BusinessObjects; 30 32 31 33 namespace HeuristicLab.Hive.Server.Console { … … 37 39 public event closeForm closeFormEvent; 38 40 41 List<ClientGroup> clients = null; 42 List<Job> jobs = null; 43 List<UserGroup> userGroups = null; 44 39 45 public HiveServerManagementConsole() { 40 46 InitializeComponent(); 47 48 IClientManager clientManager = 49 ServiceLocator.GetClientManager(); 50 51 IJobManager jobManager = 52 ServiceLocator.GetJobManager(); 53 54 IUserRoleManager userRoleManager = 55 ServiceLocator.GetUserRoleManager(); 56 57 // clients = clientManager.GetAllClientGroups(); 58 jobs = jobManager.GetAllJobs(); 59 userGroups = userRoleManager.GetAllUserGroups(); 60 // foreach (ClientGroup cg in clients) { 61 // tvClientControl.Nodes.Add(cg.Name); 62 foreach (ClientInfo ci in clientManager.GetAllClients()) { 63 tvClientControl.SelectedNode.Nodes.Add(ci.name); 64 } 65 // } 66 foreach (Job job in jobs) { 67 tvJobControl.Nodes.Add(job.JobId.ToString()); 68 } 69 foreach (UserGroup ug in userGroups) { 70 tvUserControl.Nodes.Add(ug.UserGroupId.ToString()); 71 } 72 41 73 } 42 74
Note: See TracChangeset
for help on using the changeset viewer.