Changeset 1089 for trunk/sources/HeuristicLab.Hive.Server.Console
- Timestamp:
- 01/07/09 17:08:46 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Server.Console
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Console/AddJobForm.Designer.cs
r1037 r1089 20 20 #endregion 21 21 22 namespace HeuristicLab.Hive.Server. Console {22 namespace HeuristicLab.Hive.Server.ServerConsole { 23 23 partial class AddJobForm { 24 24 /// <summary> -
trunk/sources/HeuristicLab.Hive.Server.Console/AddJobForm.cs
r1037 r1089 32 32 using HeuristicLab.Hive.Contracts; 33 33 34 namespace HeuristicLab.Hive.Server. Console {34 namespace HeuristicLab.Hive.Server.ServerConsole { 35 35 public partial class AddJobForm : Form { 36 36 -
trunk/sources/HeuristicLab.Hive.Server.Console/AddUserForm.Designer.cs
r1037 r1089 20 20 #endregion 21 21 22 namespace HeuristicLab.Hive.Server. Console {22 namespace HeuristicLab.Hive.Server.ServerConsole { 23 23 partial class AddUserForm { 24 24 /// <summary> -
trunk/sources/HeuristicLab.Hive.Server.Console/AddUserForm.cs
r1037 r1089 32 32 using HeuristicLab.Hive.Contracts; 33 33 34 namespace HeuristicLab.Hive.Server. Console {34 namespace HeuristicLab.Hive.Server.ServerConsole { 35 35 public partial class AddUserForm : Form { 36 36 -
trunk/sources/HeuristicLab.Hive.Server.Console/HeuristicLab.Hive.Server.Console.csproj
r1030 r1089 9 9 <OutputType>Library</OutputType> 10 10 <AppDesignerFolder>Properties</AppDesignerFolder> 11 <RootNamespace>HeuristicLab.Hive.Server. Console</RootNamespace>11 <RootNamespace>HeuristicLab.Hive.Server.ServerConsole</RootNamespace> 12 12 <AssemblyName>HeuristicLab.Hive.Server.Console-3.2</AssemblyName> 13 13 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> -
trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerConsole.Designer.cs
r1037 r1089 20 20 #endregion 21 21 22 namespace HeuristicLab.Hive.Server. Console {22 namespace HeuristicLab.Hive.Server.ServerConsole { 23 23 partial class HiveServerConsole { 24 24 /// <summary> -
trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerConsole.cs
r1037 r1089 34 34 using System.Net; 35 35 36 namespace HeuristicLab.Hive.Server. Console {36 namespace HeuristicLab.Hive.Server.ServerConsole { 37 37 38 38 public partial class HiveServerConsole : Form { … … 80 80 if ((IPAddress.TryParse(tbIp.Text, out ipAdress)) && 81 81 int.TryParse(tbPort.Text, out port)) { 82 IUserRoleManager userManager = 83 ServiceLocator.GetUserRoleManager(); 84 ResponseList<User> user = userManager.GetAllUsers(); 85 user = userManager.GetAllUsers(); 82 IServerConsoleFacade scf = ServiceLocator.GetServerConsoleFacade(); 83 Response resp = scf.Login(tbUserName.Text, tbPwd.Text); 86 84 } else { 87 85 lblError.Text = "IP or Port not valid"; -
trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerConsoleApplication.cs
r778 r1089 26 26 using HeuristicLab.PluginInfrastructure; 27 27 28 namespace HeuristicLab.Hive.Server. Console {28 namespace HeuristicLab.Hive.Server.ServerConsole { 29 29 [ClassInfo(Name = "Hive Server Console", Description = "Console Application for the Hive Server.", AutoRestart = true)] 30 30 class HiveServerConsoleApplication : ApplicationBase { -
trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.Designer.cs
r1079 r1089 1 namespace HeuristicLab.Hive.Server. Console {1 namespace HeuristicLab.Hive.Server.ServerConsole { 2 2 partial class HiveServerManagementConsole { 3 3 /// <summary> … … 25 25 private void InitializeComponent() { 26 26 this.components = new System.ComponentModel.Container(); 27 System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] {28 "",29 "Test"}, -1);30 27 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HiveServerManagementConsole)); 31 28 this.menuStrip1 = new System.Windows.Forms.MenuStrip(); … … 41 38 this.scClientControl = new System.Windows.Forms.SplitContainer(); 42 39 this.tvClientControl = new System.Windows.Forms.TreeView(); 40 this.plClientDetails = new System.Windows.Forms.Panel(); 41 this.pbClientControl = new System.Windows.Forms.PictureBox(); 43 42 this.lvClientControl = new System.Windows.Forms.ListView(); 44 43 this.ilClientControl = new System.Windows.Forms.ImageList(this.components); … … 56 55 this.listView2 = new System.Windows.Forms.ListView(); 57 56 this.timerSyncronize = new System.Windows.Forms.Timer(this.components); 57 this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); 58 this.btnClose = new System.Windows.Forms.Button(); 59 this.lblClientName = new System.Windows.Forms.Label(); 58 60 this.menuStrip1.SuspendLayout(); 59 61 this.tcManagementConsole.SuspendLayout(); … … 62 64 this.scClientControl.Panel2.SuspendLayout(); 63 65 this.scClientControl.SuspendLayout(); 66 this.plClientDetails.SuspendLayout(); 67 ((System.ComponentModel.ISupportInitialize)(this.pbClientControl)).BeginInit(); 64 68 this.tpJobControl.SuspendLayout(); 65 69 this.scJobControl.Panel1.SuspendLayout(); … … 70 74 this.scUserControl.Panel2.SuspendLayout(); 71 75 this.scUserControl.SuspendLayout(); 76 ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); 72 77 this.SuspendLayout(); 73 78 // … … 173 178 // scClientControl.Panel2 174 179 // 180 //this.scClientControl.Panel2.Controls.Add(this.plClientDetails); 175 181 this.scClientControl.Panel2.Controls.Add(this.lvClientControl); 176 182 this.scClientControl.Size = new System.Drawing.Size(637, 346); … … 186 192 this.tvClientControl.TabIndex = 0; 187 193 // 194 // plClientDetails 195 // 196 this.plClientDetails.BackColor = System.Drawing.SystemColors.Window; 197 this.plClientDetails.Controls.Add(this.lblClientName); 198 this.plClientDetails.Controls.Add(this.btnClose); 199 this.plClientDetails.Controls.Add(this.pbClientControl); 200 this.plClientDetails.Dock = System.Windows.Forms.DockStyle.Fill; 201 this.plClientDetails.Location = new System.Drawing.Point(0, 0); 202 this.plClientDetails.Name = "plClientDetails"; 203 this.plClientDetails.Size = new System.Drawing.Size(494, 346); 204 this.plClientDetails.TabIndex = 1; 205 // 206 // pbClientControl 207 // 208 this.pbClientControl.Location = new System.Drawing.Point(3, 4); 209 this.pbClientControl.Name = "pbClientControl"; 210 this.pbClientControl.Size = new System.Drawing.Size(60, 50); 211 this.pbClientControl.TabIndex = 0; 212 this.pbClientControl.TabStop = false; 213 // 188 214 // lvClientControl 189 215 // … … 191 217 this.lvClientControl.Dock = System.Windows.Forms.DockStyle.Fill; 192 218 this.lvClientControl.ImeMode = System.Windows.Forms.ImeMode.Off; 193 this.lvClientControl.Items.AddRange(new System.Windows.Forms.ListViewItem[] {194 listViewItem1});195 219 this.lvClientControl.LargeImageList = this.ilClientControl; 196 220 this.lvClientControl.Location = new System.Drawing.Point(0, 0); … … 199 223 this.lvClientControl.TabIndex = 0; 200 224 this.lvClientControl.UseCompatibleStateImageBehavior = false; 225 this.lvClientControl.Click += new System.EventHandler(this.OnClientClicked); 201 226 // 202 227 // ilClientControl … … 335 360 // 336 361 this.timerSyncronize.Interval = 10000; 362 // 363 // btnClose 364 // 365 this.btnClose.Location = new System.Drawing.Point(414, 4); 366 this.btnClose.Name = "btnClose"; 367 this.btnClose.Size = new System.Drawing.Size(75, 23); 368 this.btnClose.TabIndex = 1; 369 this.btnClose.Text = "Close"; 370 this.btnClose.UseVisualStyleBackColor = true; 371 this.btnClose.Click += new System.EventHandler(this.btnClose_Click); 372 // 373 // lblClientName 374 // 375 this.lblClientName.AutoSize = true; 376 this.lblClientName.Location = new System.Drawing.Point(79, 19); 377 this.lblClientName.Name = "lblClientName"; 378 this.lblClientName.Size = new System.Drawing.Size(35, 13); 379 this.lblClientName.TabIndex = 2; 380 this.lblClientName.Text = "label1"; 337 381 // 338 382 // HiveServerManagementConsole … … 354 398 this.scClientControl.Panel2.ResumeLayout(false); 355 399 this.scClientControl.ResumeLayout(false); 400 this.plClientDetails.ResumeLayout(false); 401 this.plClientDetails.PerformLayout(); 402 ((System.ComponentModel.ISupportInitialize)(this.pbClientControl)).EndInit(); 356 403 this.tpJobControl.ResumeLayout(false); 357 404 this.scJobControl.Panel1.ResumeLayout(false); … … 362 409 this.scUserControl.Panel2.ResumeLayout(false); 363 410 this.scUserControl.ResumeLayout(false); 411 ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); 364 412 this.ResumeLayout(false); 365 413 this.PerformLayout(); … … 396 444 private System.Windows.Forms.Timer timerSyncronize; 397 445 private System.Windows.Forms.ImageList ilJobControl; 446 private System.Windows.Forms.BindingSource bindingSource1; 447 private System.Windows.Forms.Panel plClientDetails; 448 private System.Windows.Forms.PictureBox pbClientControl; 449 private System.Windows.Forms.Button btnClose; 450 private System.Windows.Forms.Label lblClientName; 398 451 } 399 452 } -
trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.cs
r1037 r1089 32 32 using HeuristicLab.Hive.Contracts; 33 33 34 namespace HeuristicLab.Hive.Server. Console {34 namespace HeuristicLab.Hive.Server.ServerConsole { 35 35 36 36 public delegate void closeForm(bool cf, bool error); … … 45 45 ResponseList<UserGroup> userGroups = null; 46 46 ResponseList<User> usersList = null; 47 ListView lvClientDetails = null; 47 48 48 49 public HiveServerManagementConsole() { … … 91 92 } 92 93 lvClientControl.Groups.Add(lvunsorted); 94 lvClientControl.Sorting = SortOrder.Ascending; 93 95 } 94 96 catch (Exception ex) { … … 171 173 this.Close(); 172 174 } 173 174 175 } 175 176 … … 195 196 closeFormEvent(true, false); 196 197 } 197 198 198 } 199 199 … … 214 214 } 215 215 216 private void OnClientClicked(object sender, EventArgs e) { 217 scClientControl.Panel2.Controls.Clear(); 218 scClientControl.Panel2.Controls.Add(plClientDetails); 219 pbClientControl.Image = ilClientControl.Images[0]; 220 lblClientName.Text = sender.ToString(); 221 222 223 } 224 225 private void btnClose_Click(object sender, EventArgs e) { 226 scClientControl.Panel2.Controls.Clear(); 227 scClientControl.Panel2.Controls.Add(lvClientControl); 228 } 229 230 231 216 232 } 217 233 } -
trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.resx
r1079 r1089 349 349 <value>341, 9</value> 350 350 </metadata> 351 <metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 352 <value>580, 13</value> 353 </metadata> 351 354 </root> -
trunk/sources/HeuristicLab.Hive.Server.Console/Properties/Resources.Designer.cs
r778 r1089 9 9 //------------------------------------------------------------------------------ 10 10 11 namespace HeuristicLab.Hive.Server. Console.Properties {11 namespace HeuristicLab.Hive.Server.ServerConsole.Properties { 12 12 using System; 13 13 … … 40 40 get { 41 41 if (object.ReferenceEquals(resourceMan, null)) { 42 global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HeuristicLab.Hive.Server. Console.Properties.Resources", typeof(Resources).Assembly);42 global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HeuristicLab.Hive.Server.ServerConsole.Properties.Resources", typeof(Resources).Assembly); 43 43 resourceMan = temp; 44 44 } -
trunk/sources/HeuristicLab.Hive.Server.Console/Properties/Settings.Designer.cs
r778 r1089 9 9 //------------------------------------------------------------------------------ 10 10 11 namespace HeuristicLab.Hive.Server. Console.Properties {11 namespace HeuristicLab.Hive.Server.ServerConsole.Properties { 12 12 13 13 -
trunk/sources/HeuristicLab.Hive.Server.Console/ServiceLocator.cs
r1084 r1089 7 7 using System.ServiceModel; 8 8 9 namespace HeuristicLab.Hive.Server. Console {9 namespace HeuristicLab.Hive.Server.ServerConsole { 10 10 internal class ServiceLocator { 11 11 private static IServerConsoleFacade serverConsoleFacade = null;
Note: See TracChangeset
for help on using the changeset viewer.