Changeset 2118
- Timestamp:
- 06/26/09 13:22:12 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Server.Console/3.2
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerConsole.cs
r2109 r2118 44 44 public HiveServerConsole() { 45 45 InitializeComponent(); 46 #if(DEBUG)47 tbIp.Text = "10.20.53.1";48 tbPort.Text = WcfSettings.GetDefaultPort().ToString();49 tbUserName.Text = "admin";50 tbPwd.Text = "admin";51 #endif52 46 } 53 47 -
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/HiveServerManagementConsole.cs
r2110 r2118 62 62 63 63 private const string NOGROUP = "No group"; 64 64 private TreeNode hoverNode; 65 private List<ListViewGroup> lvClientGroups; 65 66 #endregion 66 67 … … 87 88 } 88 89 89 private TreeNode hoverNode; // node being hovered over during DnD90 90 private void Init() { 91 92 91 //adding context menu items for jobs 93 92 menuItemAbortJob.Click += (s, e) => { … … 130 129 }; 131 130 131 // drag item to treeview 132 132 lvClientControl.ItemDrag += delegate(object sender, ItemDragEventArgs e) { 133 133 List<string> itemIDs = new List<string>((sender as ListView).SelectedItems.Count); … … 138 138 }; 139 139 140 // drag enter on treeview 140 141 tvClientControl.DragEnter += delegate(object sender, DragEventArgs e) { 141 142 e.Effect = DragDropEffects.Move; 142 143 }; 143 144 145 // drag over 144 146 tvClientControl.DragOver += delegate(object sender, DragEventArgs e) { 145 147 Point mouseLocation = tvClientControl.PointToClient(new Point(e.X, e.Y)); … … 163 165 }; 164 166 167 // drag drop event 165 168 tvClientControl.DragDrop += delegate(object sender, DragEventArgs e) { 166 169 if (e.Data.GetDataPresent(typeof(string[]))) { … … 186 189 } 187 190 191 /// <summary> 192 /// Change client to other group 193 /// </summary> 194 /// <param name="clients">list of clients</param> 195 /// <param name="clientgroupID">group of clients</param> 188 196 private void ChangeGroup(Dictionary<ClientInfo, Guid> clients, Guid clientgroupID) { 189 197 IClientManager clientManager = ServiceLocator.GetClientManager(); … … 272 280 lvi.Tag = job; 273 281 jobObjects.Add(lvi); 274 //lvJobControl.Items.Add(lvi);275 282 } else if (job.State == State.offline || job.State == State.pending) { 276 283 ListViewItem lvi = new ListViewItem(job.Id.ToString(), 2, lvJobPending); … … 300 307 } 301 308 302 List<ListViewGroup> lvClientGroups;303 309 private void AddClients() { 304 310 lvClientGroups = new List<ListViewGroup>(); … … 717 723 overlayingForm.Location = this.Location; 718 724 719 //Label lbl = new Label();720 //overlayingForm.Controls.Add(lbl);721 //lbl.AutoSize = true;722 //lbl.Text = "Loading";723 //lbl.Name = "lblName";724 //lbl.Font = new System.Drawing.Font("Microsoft Sans Serif", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));725 //lbl.ForeColor = Color.Black;726 //lbl.BackColor = Color.Transparent;727 //lbl.Location = new Point(overlayingForm.Width / 2, overlayingForm.Height / 2);728 729 725 AddClients(); 730 726 -
trunk/sources/HeuristicLab.Hive.Server.Console/3.2/ServiceLocator.cs
r2103 r2118 28 28 Port != String.Empty) { 29 29 30 //binding.MaxReceivedMessageSize = 5000000;31 32 30 ChannelFactory<IServerConsoleFacade> factory = 33 31 new ChannelFactory<IServerConsoleFacade>(
Note: See TracChangeset
for help on using the changeset viewer.