Changeset 1495


Ignore:
Timestamp:
04/03/09 11:42:54 (12 years ago)
Author:
aleitner
Message:

Refactoring of JobDetails (#568)

Location:
trunk/sources/HeuristicLab.Hive.Server.Console
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.Designer.cs

    r1491 r1495  
    2424    /// </summary>
    2525    private void InitializeComponent() {
    26       this.components = new System.ComponentModel.Container();
    27       System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HiveServerManagementConsole));
    28       this.menuStrip1 = new System.Windows.Forms.MenuStrip();
    29       this.informationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    30       this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    31       this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    32       this.jobToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
    33       this.ilClientControl = new System.Windows.Forms.ImageList(this.components);
    34       this.ilJobControl = new System.Windows.Forms.ImageList(this.components);
    35       this.ilUserControl = new System.Windows.Forms.ImageList(this.components);
    36       this.plClientDetails = new System.Windows.Forms.Panel();
    37       this.lblState = new System.Windows.Forms.Label();
    38       this.lblStateClient = new System.Windows.Forms.Label();
    39       this.lblLogin = new System.Windows.Forms.Label();
    40       this.lblLoginOn = new System.Windows.Forms.Label();
    41       this.lblClientName = new System.Windows.Forms.Label();
    42       this.pbClientControl = new System.Windows.Forms.PictureBox();
    43       this.plUserDetails = new System.Windows.Forms.Panel();
    44       this.lblUserName = new System.Windows.Forms.Label();
    45       this.btnUserControlClose = new System.Windows.Forms.Button();
    46       this.pbUserControl = new System.Windows.Forms.PictureBox();
    47       this.plJobDetails = new System.Windows.Forms.Panel();
    48       this.lvSnapshots = new System.Windows.Forms.ListView();
    49       this.chJobId = new System.Windows.Forms.ColumnHeader();
    50       this.chTimeCalculated = new System.Windows.Forms.ColumnHeader();
    51       this.chProgress = new System.Windows.Forms.ColumnHeader();
    52       this.lblPriorityJob = new System.Windows.Forms.Label();
    53       this.lblParentJob = new System.Windows.Forms.Label();
    54       this.lblClientCalculating = new System.Windows.Forms.Label();
    55       this.lblJobCalculationEnd = new System.Windows.Forms.Label();
    56       this.lblJobCalculationBegin = new System.Windows.Forms.Label();
    57       this.lblJobCreated = new System.Windows.Forms.Label();
    58       this.lblUserCreatedJob = new System.Windows.Forms.Label();
    59       this.lblProgress = new System.Windows.Forms.Label();
    60       this.lblStatus = new System.Windows.Forms.Label();
    61       this.progressJob = new System.Windows.Forms.ProgressBar();
    62       this.lblJobName = new System.Windows.Forms.Label();
    63       this.pbJobControl = new System.Windows.Forms.PictureBox();
    64       this.treeView2 = new System.Windows.Forms.TreeView();
    65       this.listView2 = new System.Windows.Forms.ListView();
    66       this.timerSyncronize = new System.Windows.Forms.Timer(this.components);
    67       this.fileSystemWatcher1 = new System.IO.FileSystemWatcher();
    68       this.updaterWoker = new System.ComponentModel.BackgroundWorker();
    69       this.tpJobControl = new System.Windows.Forms.TabPage();
    70       this.scJobControl = new System.Windows.Forms.SplitContainer();
    71       this.lvJobControl = new System.Windows.Forms.ListView();
    72       this.tpClientControl = new System.Windows.Forms.TabPage();
    73       this.scClientControl = new System.Windows.Forms.SplitContainer();
    74       this.lvClientControl = new System.Windows.Forms.ListView();
    75       this.tcManagementConsole = new System.Windows.Forms.TabControl();
    76       this.checkBox1 = new System.Windows.Forms.CheckBox();
    77       this.menuStrip1.SuspendLayout();
    78       this.plClientDetails.SuspendLayout();
    79       ((System.ComponentModel.ISupportInitialize)(this.pbClientControl)).BeginInit();
    80       this.plUserDetails.SuspendLayout();
    81       ((System.ComponentModel.ISupportInitialize)(this.pbUserControl)).BeginInit();
    82       this.plJobDetails.SuspendLayout();
    83       ((System.ComponentModel.ISupportInitialize)(this.pbJobControl)).BeginInit();
    84       ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).BeginInit();
    85       this.tpJobControl.SuspendLayout();
    86       this.scJobControl.Panel1.SuspendLayout();
    87       this.scJobControl.Panel2.SuspendLayout();
    88       this.scJobControl.SuspendLayout();
    89       this.tpClientControl.SuspendLayout();
    90       this.scClientControl.Panel1.SuspendLayout();
    91       this.scClientControl.Panel2.SuspendLayout();
    92       this.scClientControl.SuspendLayout();
    93       this.tcManagementConsole.SuspendLayout();
    94       this.SuspendLayout();
    95       //
    96       // menuStrip1
    97       //
    98       this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     26        this.components = new System.ComponentModel.Container();
     27        System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HiveServerManagementConsole));
     28        this.menuStrip1 = new System.Windows.Forms.MenuStrip();
     29        this.informationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     30        this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     31        this.addToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     32        this.jobToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     33        this.ilClientControl = new System.Windows.Forms.ImageList(this.components);
     34        this.ilJobControl = new System.Windows.Forms.ImageList(this.components);
     35        this.ilUserControl = new System.Windows.Forms.ImageList(this.components);
     36        this.plClientDetails = new System.Windows.Forms.Panel();
     37        this.lblState = new System.Windows.Forms.Label();
     38        this.lblStateClient = new System.Windows.Forms.Label();
     39        this.lblLogin = new System.Windows.Forms.Label();
     40        this.lblLoginOn = new System.Windows.Forms.Label();
     41        this.lblClientName = new System.Windows.Forms.Label();
     42        this.pbClientControl = new System.Windows.Forms.PictureBox();
     43        this.plUserDetails = new System.Windows.Forms.Panel();
     44        this.lblUserName = new System.Windows.Forms.Label();
     45        this.btnUserControlClose = new System.Windows.Forms.Button();
     46        this.pbUserControl = new System.Windows.Forms.PictureBox();
     47        this.plJobDetails = new System.Windows.Forms.Panel();
     48        this.lvSnapshots = new System.Windows.Forms.ListView();
     49        this.chJobId = new System.Windows.Forms.ColumnHeader();
     50        this.chTimeCalculated = new System.Windows.Forms.ColumnHeader();
     51        this.chProgress = new System.Windows.Forms.ColumnHeader();
     52        this.lblPriorityJob = new System.Windows.Forms.Label();
     53        this.lblParentJob = new System.Windows.Forms.Label();
     54        this.lblClientCalculating = new System.Windows.Forms.Label();
     55        this.lblJobCalculationEnd = new System.Windows.Forms.Label();
     56        this.lblJobCalculationBegin = new System.Windows.Forms.Label();
     57        this.lblJobCreated = new System.Windows.Forms.Label();
     58        this.lblUserCreatedJob = new System.Windows.Forms.Label();
     59        this.lblProgress = new System.Windows.Forms.Label();
     60        this.lblStatus = new System.Windows.Forms.Label();
     61        this.progressJob = new System.Windows.Forms.ProgressBar();
     62        this.lblJobName = new System.Windows.Forms.Label();
     63        this.pbJobControl = new System.Windows.Forms.PictureBox();
     64        this.treeView2 = new System.Windows.Forms.TreeView();
     65        this.listView2 = new System.Windows.Forms.ListView();
     66        this.timerSyncronize = new System.Windows.Forms.Timer(this.components);
     67        this.fileSystemWatcher1 = new System.IO.FileSystemWatcher();
     68        this.updaterWoker = new System.ComponentModel.BackgroundWorker();
     69        this.tpJobControl = new System.Windows.Forms.TabPage();
     70        this.scJobControl = new System.Windows.Forms.SplitContainer();
     71        this.lvJobControl = new System.Windows.Forms.ListView();
     72        this.tpClientControl = new System.Windows.Forms.TabPage();
     73        this.scClientControl = new System.Windows.Forms.SplitContainer();
     74        this.lvClientControl = new System.Windows.Forms.ListView();
     75        this.tcManagementConsole = new System.Windows.Forms.TabControl();
     76        this.checkBox1 = new System.Windows.Forms.CheckBox();
     77        this.menuStrip1.SuspendLayout();
     78        this.plClientDetails.SuspendLayout();
     79        ((System.ComponentModel.ISupportInitialize)(this.pbClientControl)).BeginInit();
     80        this.plUserDetails.SuspendLayout();
     81        ((System.ComponentModel.ISupportInitialize)(this.pbUserControl)).BeginInit();
     82        this.plJobDetails.SuspendLayout();
     83        ((System.ComponentModel.ISupportInitialize)(this.pbJobControl)).BeginInit();
     84        ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).BeginInit();
     85        this.tpJobControl.SuspendLayout();
     86        this.scJobControl.Panel1.SuspendLayout();
     87        this.scJobControl.Panel2.SuspendLayout();
     88        this.scJobControl.SuspendLayout();
     89        this.tpClientControl.SuspendLayout();
     90        this.scClientControl.Panel1.SuspendLayout();
     91        this.scClientControl.Panel2.SuspendLayout();
     92        this.scClientControl.SuspendLayout();
     93        this.tcManagementConsole.SuspendLayout();
     94        this.SuspendLayout();
     95        //
     96        // menuStrip1
     97        //
     98        this.menuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
    9999            this.informationToolStripMenuItem,
    100100            this.addToolStripMenuItem});
    101       this.menuStrip1.Location = new System.Drawing.Point(0, 0);
    102       this.menuStrip1.Name = "menuStrip1";
    103       this.menuStrip1.Size = new System.Drawing.Size(651, 24);
    104       this.menuStrip1.TabIndex = 0;
    105       this.menuStrip1.Text = "menuStrip1";
    106       //
    107       // informationToolStripMenuItem
    108       //
    109       this.informationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     101        this.menuStrip1.Location = new System.Drawing.Point(0, 0);
     102        this.menuStrip1.Name = "menuStrip1";
     103        this.menuStrip1.Size = new System.Drawing.Size(893, 24);
     104        this.menuStrip1.TabIndex = 0;
     105        this.menuStrip1.Text = "menuStrip1";
     106        //
     107        // informationToolStripMenuItem
     108        //
     109        this.informationToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
    110110            this.closeToolStripMenuItem});
    111       this.informationToolStripMenuItem.Name = "informationToolStripMenuItem";
    112       this.informationToolStripMenuItem.Size = new System.Drawing.Size(81, 20);
    113       this.informationToolStripMenuItem.Text = "Management";
    114       //
    115       // closeToolStripMenuItem
    116       //
    117       this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
    118       this.closeToolStripMenuItem.Size = new System.Drawing.Size(111, 22);
    119       this.closeToolStripMenuItem.Text = "Close";
    120       this.closeToolStripMenuItem.Click += new System.EventHandler(this.Close_Click);
    121       //
    122       // addToolStripMenuItem
    123       //
    124       this.addToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     111        this.informationToolStripMenuItem.Name = "informationToolStripMenuItem";
     112        this.informationToolStripMenuItem.Size = new System.Drawing.Size(90, 20);
     113        this.informationToolStripMenuItem.Text = "Management";
     114        //
     115        // closeToolStripMenuItem
     116        //
     117        this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";
     118        this.closeToolStripMenuItem.Size = new System.Drawing.Size(103, 22);
     119        this.closeToolStripMenuItem.Text = "Close";
     120        this.closeToolStripMenuItem.Click += new System.EventHandler(this.Close_Click);
     121        //
     122        // addToolStripMenuItem
     123        //
     124        this.addToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
    125125            this.jobToolStripMenuItem});
    126       this.addToolStripMenuItem.Name = "addToolStripMenuItem";
    127       this.addToolStripMenuItem.Size = new System.Drawing.Size(38, 20);
    128       this.addToolStripMenuItem.Text = "Add";
    129       //
    130       // jobToolStripMenuItem
    131       //
    132       this.jobToolStripMenuItem.Name = "jobToolStripMenuItem";
    133       this.jobToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
    134       this.jobToolStripMenuItem.Text = "Job";
    135       this.jobToolStripMenuItem.Click += new System.EventHandler(this.AddJob_Click);
    136       //
    137       // ilClientControl
    138       //
    139       this.ilClientControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilClientControl.ImageStream")));
    140       this.ilClientControl.TransparentColor = System.Drawing.Color.Transparent;
    141       this.ilClientControl.Images.SetKeyName(0, "monitor-green.png");
    142       this.ilClientControl.Images.SetKeyName(1, "monitor-orange.png");
    143       this.ilClientControl.Images.SetKeyName(2, "monitor-red.png");
    144       this.ilClientControl.Images.SetKeyName(3, "monitor-gray.png");
    145       //
    146       // ilJobControl
    147       //
    148       this.ilJobControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilJobControl.ImageStream")));
    149       this.ilJobControl.TransparentColor = System.Drawing.Color.Transparent;
    150       this.ilJobControl.Images.SetKeyName(0, "PlayHS.png");
    151       //
    152       // ilUserControl
    153       //
    154       this.ilUserControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilUserControl.ImageStream")));
    155       this.ilUserControl.TransparentColor = System.Drawing.Color.Transparent;
    156       this.ilUserControl.Images.SetKeyName(0, "Users.png");
    157       //
    158       // plClientDetails
    159       //
    160       this.plClientDetails.BackColor = System.Drawing.SystemColors.Window;
    161       this.plClientDetails.Controls.Add(this.lblState);
    162       this.plClientDetails.Controls.Add(this.lblStateClient);
    163       this.plClientDetails.Controls.Add(this.lblLogin);
    164       this.plClientDetails.Controls.Add(this.lblLoginOn);
    165       this.plClientDetails.Controls.Add(this.lblClientName);
    166       this.plClientDetails.Controls.Add(this.pbClientControl);
    167       this.plClientDetails.Dock = System.Windows.Forms.DockStyle.Fill;
    168       this.plClientDetails.Location = new System.Drawing.Point(0, 0);
    169       this.plClientDetails.Name = "plClientDetails";
    170       this.plClientDetails.Size = new System.Drawing.Size(309, 381);
    171       this.plClientDetails.TabIndex = 1;
    172       //
    173       // lblState
    174       //
    175       this.lblState.AutoSize = true;
    176       this.lblState.Location = new System.Drawing.Point(103, 76);
    177       this.lblState.Name = "lblState";
    178       this.lblState.Size = new System.Drawing.Size(35, 13);
    179       this.lblState.TabIndex = 6;
    180       this.lblState.Text = "label2";
    181       //
    182       // lblStateClient
    183       //
    184       this.lblStateClient.AutoSize = true;
    185       this.lblStateClient.Location = new System.Drawing.Point(29, 76);
    186       this.lblStateClient.Name = "lblStateClient";
    187       this.lblStateClient.Size = new System.Drawing.Size(32, 13);
    188       this.lblStateClient.TabIndex = 5;
    189       this.lblStateClient.Text = "State";
    190       //
    191       // lblLogin
    192       //
    193       this.lblLogin.AutoSize = true;
    194       this.lblLogin.Location = new System.Drawing.Point(100, 55);
    195       this.lblLogin.Name = "lblLogin";
    196       this.lblLogin.Size = new System.Drawing.Size(43, 13);
    197       this.lblLogin.TabIndex = 4;
    198       this.lblLogin.Text = "lblLogin";
    199       //
    200       // lblLoginOn
    201       //
    202       this.lblLoginOn.AutoSize = true;
    203       this.lblLoginOn.Location = new System.Drawing.Point(29, 55);
    204       this.lblLoginOn.Name = "lblLoginOn";
    205       this.lblLoginOn.Size = new System.Drawing.Size(65, 13);
    206       this.lblLoginOn.TabIndex = 3;
    207       this.lblLoginOn.Text = "logged in on";
    208       //
    209       // lblClientName
    210       //
    211       this.lblClientName.AutoSize = true;
    212       this.lblClientName.Location = new System.Drawing.Point(41, 14);
    213       this.lblClientName.Name = "lblClientName";
    214       this.lblClientName.Size = new System.Drawing.Size(71, 13);
    215       this.lblClientName.TabIndex = 2;
    216       this.lblClientName.Text = "lblClientName";
    217       //
    218       // pbClientControl
    219       //
    220       this.pbClientControl.Location = new System.Drawing.Point(3, 4);
    221       this.pbClientControl.Name = "pbClientControl";
    222       this.pbClientControl.Size = new System.Drawing.Size(32, 32);
    223       this.pbClientControl.TabIndex = 0;
    224       this.pbClientControl.TabStop = false;
    225       //
    226       // plUserDetails
    227       //
    228       this.plUserDetails.BackColor = System.Drawing.SystemColors.Window;
    229       this.plUserDetails.Controls.Add(this.lblUserName);
    230       this.plUserDetails.Controls.Add(this.btnUserControlClose);
    231       this.plUserDetails.Controls.Add(this.pbUserControl);
    232       this.plUserDetails.Dock = System.Windows.Forms.DockStyle.Fill;
    233       this.plUserDetails.Location = new System.Drawing.Point(0, 0);
    234       this.plUserDetails.Name = "plUserDetails";
    235       this.plUserDetails.Size = new System.Drawing.Size(494, 346);
    236       this.plUserDetails.TabIndex = 2;
    237       //
    238       // lblUserName
    239       //
    240       this.lblUserName.AutoSize = true;
    241       this.lblUserName.Location = new System.Drawing.Point(41, 13);
    242       this.lblUserName.Name = "lblUserName";
    243       this.lblUserName.Size = new System.Drawing.Size(67, 13);
    244       this.lblUserName.TabIndex = 5;
    245       this.lblUserName.Text = "lblUserName";
    246       //
    247       // btnUserControlClose
    248       //
    249       this.btnUserControlClose.Location = new System.Drawing.Point(414, 3);
    250       this.btnUserControlClose.Name = "btnUserControlClose";
    251       this.btnUserControlClose.Size = new System.Drawing.Size(75, 23);
    252       this.btnUserControlClose.TabIndex = 4;
    253       this.btnUserControlClose.Text = "Close";
    254       this.btnUserControlClose.UseVisualStyleBackColor = true;
    255       //
    256       // pbUserControl
    257       //
    258       this.pbUserControl.Location = new System.Drawing.Point(3, 3);
    259       this.pbUserControl.Name = "pbUserControl";
    260       this.pbUserControl.Size = new System.Drawing.Size(32, 32);
    261       this.pbUserControl.TabIndex = 3;
    262       this.pbUserControl.TabStop = false;
    263       //
    264       // plJobDetails
    265       //
    266       this.plJobDetails.BackColor = System.Drawing.SystemColors.Window;
    267       this.plJobDetails.Controls.Add(this.lvSnapshots);
    268       this.plJobDetails.Controls.Add(this.lblPriorityJob);
    269       this.plJobDetails.Controls.Add(this.lblParentJob);
    270       this.plJobDetails.Controls.Add(this.lblClientCalculating);
    271       this.plJobDetails.Controls.Add(this.lblJobCalculationEnd);
    272       this.plJobDetails.Controls.Add(this.lblJobCalculationBegin);
    273       this.plJobDetails.Controls.Add(this.lblJobCreated);
    274       this.plJobDetails.Controls.Add(this.lblUserCreatedJob);
    275       this.plJobDetails.Controls.Add(this.lblProgress);
    276       this.plJobDetails.Controls.Add(this.lblStatus);
    277       this.plJobDetails.Controls.Add(this.progressJob);
    278       this.plJobDetails.Controls.Add(this.lblJobName);
    279       this.plJobDetails.Controls.Add(this.pbJobControl);
    280       this.plJobDetails.Dock = System.Windows.Forms.DockStyle.Fill;
    281       this.plJobDetails.Location = new System.Drawing.Point(0, 0);
    282       this.plJobDetails.Name = "plJobDetails";
    283       this.plJobDetails.Size = new System.Drawing.Size(421, 381);
    284       this.plJobDetails.TabIndex = 1;
    285       //
    286       // lvSnapshots
    287       //
    288       this.lvSnapshots.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
     126        this.addToolStripMenuItem.Name = "addToolStripMenuItem";
     127        this.addToolStripMenuItem.Size = new System.Drawing.Size(41, 20);
     128        this.addToolStripMenuItem.Text = "Add";
     129        //
     130        // jobToolStripMenuItem
     131        //
     132        this.jobToolStripMenuItem.Name = "jobToolStripMenuItem";
     133        this.jobToolStripMenuItem.Size = new System.Drawing.Size(92, 22);
     134        this.jobToolStripMenuItem.Text = "Job";
     135        this.jobToolStripMenuItem.Click += new System.EventHandler(this.AddJob_Click);
     136        //
     137        // ilClientControl
     138        //
     139        this.ilClientControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilClientControl.ImageStream")));
     140        this.ilClientControl.TransparentColor = System.Drawing.Color.Transparent;
     141        this.ilClientControl.Images.SetKeyName(0, "monitor-green.png");
     142        this.ilClientControl.Images.SetKeyName(1, "monitor-orange.png");
     143        this.ilClientControl.Images.SetKeyName(2, "monitor-red.png");
     144        this.ilClientControl.Images.SetKeyName(3, "monitor-gray.png");
     145        //
     146        // ilJobControl
     147        //
     148        this.ilJobControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilJobControl.ImageStream")));
     149        this.ilJobControl.TransparentColor = System.Drawing.Color.Transparent;
     150        this.ilJobControl.Images.SetKeyName(0, "PlayHS.png");
     151        //
     152        // ilUserControl
     153        //
     154        this.ilUserControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilUserControl.ImageStream")));
     155        this.ilUserControl.TransparentColor = System.Drawing.Color.Transparent;
     156        this.ilUserControl.Images.SetKeyName(0, "Users.png");
     157        //
     158        // plClientDetails
     159        //
     160        this.plClientDetails.BackColor = System.Drawing.SystemColors.Window;
     161        this.plClientDetails.Controls.Add(this.lblState);
     162        this.plClientDetails.Controls.Add(this.lblStateClient);
     163        this.plClientDetails.Controls.Add(this.lblLogin);
     164        this.plClientDetails.Controls.Add(this.lblLoginOn);
     165        this.plClientDetails.Controls.Add(this.lblClientName);
     166        this.plClientDetails.Controls.Add(this.pbClientControl);
     167        this.plClientDetails.Dock = System.Windows.Forms.DockStyle.Fill;
     168        this.plClientDetails.Location = new System.Drawing.Point(0, 0);
     169        this.plClientDetails.Name = "plClientDetails";
     170        this.plClientDetails.Size = new System.Drawing.Size(421, 386);
     171        this.plClientDetails.TabIndex = 1;
     172        //
     173        // lblState
     174        //
     175        this.lblState.AutoSize = true;
     176        this.lblState.Location = new System.Drawing.Point(103, 76);
     177        this.lblState.Name = "lblState";
     178        this.lblState.Size = new System.Drawing.Size(42, 13);
     179        this.lblState.TabIndex = 6;
     180        this.lblState.Text = "lblState";
     181        //
     182        // lblStateClient
     183        //
     184        this.lblStateClient.AutoSize = true;
     185        this.lblStateClient.Location = new System.Drawing.Point(29, 76);
     186        this.lblStateClient.Name = "lblStateClient";
     187        this.lblStateClient.Size = new System.Drawing.Size(32, 13);
     188        this.lblStateClient.TabIndex = 5;
     189        this.lblStateClient.Text = "State";
     190        //
     191        // lblLogin
     192        //
     193        this.lblLogin.AutoSize = true;
     194        this.lblLogin.Location = new System.Drawing.Point(100, 55);
     195        this.lblLogin.Name = "lblLogin";
     196        this.lblLogin.Size = new System.Drawing.Size(43, 13);
     197        this.lblLogin.TabIndex = 4;
     198        this.lblLogin.Text = "lblLogin";
     199        //
     200        // lblLoginOn
     201        //
     202        this.lblLoginOn.AutoSize = true;
     203        this.lblLoginOn.Location = new System.Drawing.Point(29, 55);
     204        this.lblLoginOn.Name = "lblLoginOn";
     205        this.lblLoginOn.Size = new System.Drawing.Size(69, 13);
     206        this.lblLoginOn.TabIndex = 3;
     207        this.lblLoginOn.Text = "last logged in";
     208        //
     209        // lblClientName
     210        //
     211        this.lblClientName.AutoSize = true;
     212        this.lblClientName.Location = new System.Drawing.Point(41, 14);
     213        this.lblClientName.Name = "lblClientName";
     214        this.lblClientName.Size = new System.Drawing.Size(71, 13);
     215        this.lblClientName.TabIndex = 2;
     216        this.lblClientName.Text = "lblClientName";
     217        //
     218        // pbClientControl
     219        //
     220        this.pbClientControl.Location = new System.Drawing.Point(3, 4);
     221        this.pbClientControl.Name = "pbClientControl";
     222        this.pbClientControl.Size = new System.Drawing.Size(32, 32);
     223        this.pbClientControl.TabIndex = 0;
     224        this.pbClientControl.TabStop = false;
     225        //
     226        // plUserDetails
     227        //
     228        this.plUserDetails.BackColor = System.Drawing.SystemColors.Window;
     229        this.plUserDetails.Controls.Add(this.lblUserName);
     230        this.plUserDetails.Controls.Add(this.btnUserControlClose);
     231        this.plUserDetails.Controls.Add(this.pbUserControl);
     232        this.plUserDetails.Dock = System.Windows.Forms.DockStyle.Fill;
     233        this.plUserDetails.Location = new System.Drawing.Point(0, 0);
     234        this.plUserDetails.Name = "plUserDetails";
     235        this.plUserDetails.Size = new System.Drawing.Size(494, 346);
     236        this.plUserDetails.TabIndex = 2;
     237        //
     238        // lblUserName
     239        //
     240        this.lblUserName.AutoSize = true;
     241        this.lblUserName.Location = new System.Drawing.Point(41, 13);
     242        this.lblUserName.Name = "lblUserName";
     243        this.lblUserName.Size = new System.Drawing.Size(67, 13);
     244        this.lblUserName.TabIndex = 5;
     245        this.lblUserName.Text = "lblUserName";
     246        //
     247        // btnUserControlClose
     248        //
     249        this.btnUserControlClose.Location = new System.Drawing.Point(414, 3);
     250        this.btnUserControlClose.Name = "btnUserControlClose";
     251        this.btnUserControlClose.Size = new System.Drawing.Size(75, 23);
     252        this.btnUserControlClose.TabIndex = 4;
     253        this.btnUserControlClose.Text = "Close";
     254        this.btnUserControlClose.UseVisualStyleBackColor = true;
     255        //
     256        // pbUserControl
     257        //
     258        this.pbUserControl.Location = new System.Drawing.Point(3, 3);
     259        this.pbUserControl.Name = "pbUserControl";
     260        this.pbUserControl.Size = new System.Drawing.Size(32, 32);
     261        this.pbUserControl.TabIndex = 3;
     262        this.pbUserControl.TabStop = false;
     263        //
     264        // plJobDetails
     265        //
     266        this.plJobDetails.BackColor = System.Drawing.SystemColors.Window;
     267        this.plJobDetails.Controls.Add(this.lvSnapshots);
     268        this.plJobDetails.Controls.Add(this.lblPriorityJob);
     269        this.plJobDetails.Controls.Add(this.lblParentJob);
     270        this.plJobDetails.Controls.Add(this.lblClientCalculating);
     271        this.plJobDetails.Controls.Add(this.lblJobCalculationEnd);
     272        this.plJobDetails.Controls.Add(this.lblJobCalculationBegin);
     273        this.plJobDetails.Controls.Add(this.lblJobCreated);
     274        this.plJobDetails.Controls.Add(this.lblUserCreatedJob);
     275        this.plJobDetails.Controls.Add(this.lblProgress);
     276        this.plJobDetails.Controls.Add(this.lblStatus);
     277        this.plJobDetails.Controls.Add(this.progressJob);
     278        this.plJobDetails.Controls.Add(this.lblJobName);
     279        this.plJobDetails.Controls.Add(this.pbJobControl);
     280        this.plJobDetails.Dock = System.Windows.Forms.DockStyle.Fill;
     281        this.plJobDetails.Location = new System.Drawing.Point(0, 0);
     282        this.plJobDetails.Name = "plJobDetails";
     283        this.plJobDetails.Size = new System.Drawing.Size(421, 386);
     284        this.plJobDetails.TabIndex = 1;
     285        //
     286        // lvSnapshots
     287        //
     288        this.lvSnapshots.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
    289289            this.chJobId,
    290290            this.chTimeCalculated,
    291291            this.chProgress});
    292       this.lvSnapshots.Enabled = false;
    293       this.lvSnapshots.FullRowSelect = true;
    294       this.lvSnapshots.GridLines = true;
    295       this.lvSnapshots.Location = new System.Drawing.Point(17, 275);
    296       this.lvSnapshots.Name = "lvSnapshots";
    297       this.lvSnapshots.Size = new System.Drawing.Size(382, 70);
    298       this.lvSnapshots.TabIndex = 16;
    299       this.lvSnapshots.UseCompatibleStateImageBehavior = false;
    300       this.lvSnapshots.View = System.Windows.Forms.View.Details;
    301       //
    302       // chJobId
    303       //
    304       this.chJobId.Text = "Job-ID";
    305       //
    306       // chTimeCalculated
    307       //
    308       this.chTimeCalculated.Text = "Calculated At";
    309       //
    310       // chProgress
    311       //
    312       this.chProgress.Text = "Progress";
    313       //
    314       // lblPriorityJob
    315       //
    316       this.lblPriorityJob.AutoSize = true;
    317       this.lblPriorityJob.Location = new System.Drawing.Point(17, 213);
    318       this.lblPriorityJob.Name = "lblPriorityJob";
    319       this.lblPriorityJob.Size = new System.Drawing.Size(0, 13);
    320       this.lblPriorityJob.TabIndex = 15;
    321       //
    322       // lblParentJob
    323       //
    324       this.lblParentJob.AutoSize = true;
    325       this.lblParentJob.Location = new System.Drawing.Point(17, 188);
    326       this.lblParentJob.Name = "lblParentJob";
    327       this.lblParentJob.Size = new System.Drawing.Size(0, 13);
    328       this.lblParentJob.TabIndex = 14;
    329       //
    330       // lblClientCalculating
    331       //
    332       this.lblClientCalculating.AutoSize = true;
    333       this.lblClientCalculating.Location = new System.Drawing.Point(17, 284);
    334       this.lblClientCalculating.Name = "lblClientCalculating";
    335       this.lblClientCalculating.Size = new System.Drawing.Size(0, 13);
    336       this.lblClientCalculating.TabIndex = 13;
    337       //
    338       // lblJobCalculationEnd
    339       //
    340       this.lblJobCalculationEnd.AutoSize = true;
    341       this.lblJobCalculationEnd.Location = new System.Drawing.Point(17, 259);
    342       this.lblJobCalculationEnd.Name = "lblJobCalculationEnd";
    343       this.lblJobCalculationEnd.Size = new System.Drawing.Size(0, 13);
    344       this.lblJobCalculationEnd.TabIndex = 12;
    345       //
    346       // lblJobCalculationBegin
    347       //
    348       this.lblJobCalculationBegin.AutoSize = true;
    349       this.lblJobCalculationBegin.Location = new System.Drawing.Point(17, 236);
    350       this.lblJobCalculationBegin.Name = "lblJobCalculationBegin";
    351       this.lblJobCalculationBegin.Size = new System.Drawing.Size(0, 13);
    352       this.lblJobCalculationBegin.TabIndex = 11;
    353       //
    354       // lblJobCreated
    355       //
    356       this.lblJobCreated.AutoSize = true;
    357       this.lblJobCreated.Location = new System.Drawing.Point(17, 164);
    358       this.lblJobCreated.Name = "lblJobCreated";
    359       this.lblJobCreated.Size = new System.Drawing.Size(0, 13);
    360       this.lblJobCreated.TabIndex = 10;
    361       //
    362       // lblUserCreatedJob
    363       //
    364       this.lblUserCreatedJob.AutoSize = true;
    365       this.lblUserCreatedJob.Location = new System.Drawing.Point(17, 142);
    366       this.lblUserCreatedJob.Name = "lblUserCreatedJob";
    367       this.lblUserCreatedJob.Size = new System.Drawing.Size(0, 13);
    368       this.lblUserCreatedJob.TabIndex = 9;
    369       //
    370       // lblProgress
    371       //
    372       this.lblProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    373       this.lblProgress.BackColor = System.Drawing.Color.Transparent;
    374       this.lblProgress.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
    375       this.lblProgress.Location = new System.Drawing.Point(256, 108);
    376       this.lblProgress.Name = "lblProgress";
    377       this.lblProgress.Size = new System.Drawing.Size(143, 13);
    378       this.lblProgress.TabIndex = 8;
    379       this.lblProgress.Text = "lblProgress";
    380       this.lblProgress.TextAlign = System.Drawing.ContentAlignment.TopRight;
    381       //
    382       // lblStatus
    383       //
    384       this.lblStatus.AutoSize = true;
    385       this.lblStatus.BackColor = System.Drawing.Color.Transparent;
    386       this.lblStatus.Location = new System.Drawing.Point(14, 57);
    387       this.lblStatus.Name = "lblStatus";
    388       this.lblStatus.Size = new System.Drawing.Size(88, 13);
    389       this.lblStatus.TabIndex = 7;
    390       this.lblStatus.Text = "Statusinformation";
    391       //
    392       // progressJob
    393       //
    394       this.progressJob.Location = new System.Drawing.Point(17, 73);
    395       this.progressJob.Name = "progressJob";
    396       this.progressJob.Size = new System.Drawing.Size(382, 23);
    397       this.progressJob.TabIndex = 6;
    398       //
    399       // lblJobName
    400       //
    401       this.lblJobName.AutoSize = true;
    402       this.lblJobName.Location = new System.Drawing.Point(41, 13);
    403       this.lblJobName.Name = "lblJobName";
    404       this.lblJobName.Size = new System.Drawing.Size(62, 13);
    405       this.lblJobName.TabIndex = 5;
    406       this.lblJobName.Text = "lblJobName";
    407       //
    408       // pbJobControl
    409       //
    410       this.pbJobControl.Location = new System.Drawing.Point(3, 3);
    411       this.pbJobControl.Name = "pbJobControl";
    412       this.pbJobControl.Size = new System.Drawing.Size(32, 32);
    413       this.pbJobControl.TabIndex = 3;
    414       this.pbJobControl.TabStop = false;
    415       //
    416       // treeView2
    417       //
    418       this.treeView2.Dock = System.Windows.Forms.DockStyle.Fill;
    419       this.treeView2.LineColor = System.Drawing.Color.Empty;
    420       this.treeView2.Location = new System.Drawing.Point(0, 0);
    421       this.treeView2.Name = "treeView2";
    422       this.treeView2.Size = new System.Drawing.Size(139, 346);
    423       this.treeView2.TabIndex = 0;
    424       //
    425       // listView2
    426       //
    427       this.listView2.Dock = System.Windows.Forms.DockStyle.Fill;
    428       this.listView2.Location = new System.Drawing.Point(0, 0);
    429       this.listView2.Name = "listView2";
    430       this.listView2.Size = new System.Drawing.Size(494, 346);
    431       this.listView2.TabIndex = 0;
    432       this.listView2.UseCompatibleStateImageBehavior = false;
    433       //
    434       // timerSyncronize
    435       //
    436       this.timerSyncronize.Interval = 10000;
    437       this.timerSyncronize.Tick += new System.EventHandler(this.TickSync);
    438       //
    439       // fileSystemWatcher1
    440       //
    441       this.fileSystemWatcher1.EnableRaisingEvents = true;
    442       this.fileSystemWatcher1.SynchronizingObject = this;
    443       //
    444       // updaterWoker
    445       //
    446       this.updaterWoker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.updaterWoker_DoWork);
    447       this.updaterWoker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.updaterWoker_RunWorkerCompleted);
    448       //
    449       // tpJobControl
    450       //
    451       this.tpJobControl.Controls.Add(this.scJobControl);
    452       this.tpJobControl.Location = new System.Drawing.Point(4, 22);
    453       this.tpJobControl.Name = "tpJobControl";
    454       this.tpJobControl.Padding = new System.Windows.Forms.Padding(3);
    455       this.tpJobControl.Size = new System.Drawing.Size(643, 387);
    456       this.tpJobControl.TabIndex = 1;
    457       this.tpJobControl.Text = "Job Control";
    458       this.tpJobControl.UseVisualStyleBackColor = true;
    459       //
    460       // scJobControl
    461       //
    462       this.scJobControl.Dock = System.Windows.Forms.DockStyle.Fill;
    463       this.scJobControl.Location = new System.Drawing.Point(3, 3);
    464       this.scJobControl.Name = "scJobControl";
    465       //
    466       // scJobControl.Panel1
    467       //
    468       this.scJobControl.Panel1.Controls.Add(this.lvJobControl);
    469       //
    470       // scJobControl.Panel2
    471       //
    472       this.scJobControl.Panel2.Controls.Add(this.plJobDetails);
    473       this.scJobControl.Size = new System.Drawing.Size(637, 381);
    474       this.scJobControl.SplitterDistance = 212;
    475       this.scJobControl.TabIndex = 0;
    476       //
    477       // lvJobControl
    478       //
    479       this.lvJobControl.AllowDrop = true;
    480       this.lvJobControl.Dock = System.Windows.Forms.DockStyle.Fill;
    481       this.lvJobControl.LargeImageList = this.ilJobControl;
    482       this.lvJobControl.Location = new System.Drawing.Point(0, 0);
    483       this.lvJobControl.MultiSelect = false;
    484       this.lvJobControl.Name = "lvJobControl";
    485       this.lvJobControl.Size = new System.Drawing.Size(212, 381);
    486       this.lvJobControl.TabIndex = 0;
    487       this.lvJobControl.UseCompatibleStateImageBehavior = false;
    488       this.lvJobControl.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lvJobControl_MouseMove);
    489       this.lvJobControl.Click += new System.EventHandler(this.OnLVJobControlClicked);
    490       //
    491       // tpClientControl
    492       //
    493       this.tpClientControl.AllowDrop = true;
    494       this.tpClientControl.Controls.Add(this.scClientControl);
    495       this.tpClientControl.Location = new System.Drawing.Point(4, 22);
    496       this.tpClientControl.Name = "tpClientControl";
    497       this.tpClientControl.Padding = new System.Windows.Forms.Padding(3);
    498       this.tpClientControl.Size = new System.Drawing.Size(643, 387);
    499       this.tpClientControl.TabIndex = 0;
    500       this.tpClientControl.Text = "Client Control";
    501       this.tpClientControl.UseVisualStyleBackColor = true;
    502       //
    503       // scClientControl
    504       //
    505       this.scClientControl.Dock = System.Windows.Forms.DockStyle.Fill;
    506       this.scClientControl.Location = new System.Drawing.Point(3, 3);
    507       this.scClientControl.Name = "scClientControl";
    508       //
    509       // scClientControl.Panel1
    510       //
    511       this.scClientControl.Panel1.Controls.Add(this.lvClientControl);
    512       //
    513       // scClientControl.Panel2
    514       //
    515       this.scClientControl.Panel2.Controls.Add(this.plClientDetails);
    516       this.scClientControl.Size = new System.Drawing.Size(637, 381);
    517       this.scClientControl.SplitterDistance = 324;
    518       this.scClientControl.TabIndex = 0;
    519       //
    520       // lvClientControl
    521       //
    522       this.lvClientControl.AllowDrop = true;
    523       this.lvClientControl.Dock = System.Windows.Forms.DockStyle.Fill;
    524       this.lvClientControl.ImeMode = System.Windows.Forms.ImeMode.Off;
    525       this.lvClientControl.LargeImageList = this.ilClientControl;
    526       this.lvClientControl.Location = new System.Drawing.Point(0, 0);
    527       this.lvClientControl.MultiSelect = false;
    528       this.lvClientControl.Name = "lvClientControl";
    529       this.lvClientControl.Size = new System.Drawing.Size(324, 381);
    530       this.lvClientControl.TabIndex = 0;
    531       this.lvClientControl.UseCompatibleStateImageBehavior = false;
    532       this.lvClientControl.Click += new System.EventHandler(this.OnLVClientClicked);
    533       //
    534       // tcManagementConsole
    535       //
    536       this.tcManagementConsole.Controls.Add(this.tpClientControl);
    537       this.tcManagementConsole.Controls.Add(this.tpJobControl);
    538       this.tcManagementConsole.Dock = System.Windows.Forms.DockStyle.Fill;
    539       this.tcManagementConsole.Location = new System.Drawing.Point(0, 24);
    540       this.tcManagementConsole.Name = "tcManagementConsole";
    541       this.tcManagementConsole.SelectedIndex = 0;
    542       this.tcManagementConsole.Size = new System.Drawing.Size(651, 413);
    543       this.tcManagementConsole.TabIndex = 1;
    544       //
    545       // checkBox1
    546       //
    547       this.checkBox1.AutoSize = true;
    548       this.checkBox1.Location = new System.Drawing.Point(149, 114);
    549       this.checkBox1.Name = "checkBox1";
    550       this.checkBox1.Size = new System.Drawing.Size(80, 17);
    551       this.checkBox1.TabIndex = 0;
    552       this.checkBox1.Text = "checkBox1";
    553       this.checkBox1.UseVisualStyleBackColor = true;
    554       //
    555       // HiveServerManagementConsole
    556       //
    557       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    558       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    559       this.ClientSize = new System.Drawing.Size(651, 437);
    560       this.Controls.Add(this.tcManagementConsole);
    561       this.Controls.Add(this.menuStrip1);
    562       this.MainMenuStrip = this.menuStrip1;
    563       this.Name = "HiveServerManagementConsole";
    564       this.Text = "Management Console";
    565       this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.HiveServerConsoleInformation_FormClosing);
    566       this.menuStrip1.ResumeLayout(false);
    567       this.menuStrip1.PerformLayout();
    568       this.plClientDetails.ResumeLayout(false);
    569       this.plClientDetails.PerformLayout();
    570       ((System.ComponentModel.ISupportInitialize)(this.pbClientControl)).EndInit();
    571       this.plUserDetails.ResumeLayout(false);
    572       this.plUserDetails.PerformLayout();
    573       ((System.ComponentModel.ISupportInitialize)(this.pbUserControl)).EndInit();
    574       this.plJobDetails.ResumeLayout(false);
    575       this.plJobDetails.PerformLayout();
    576       ((System.ComponentModel.ISupportInitialize)(this.pbJobControl)).EndInit();
    577       ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).EndInit();
    578       this.tpJobControl.ResumeLayout(false);
    579       this.scJobControl.Panel1.ResumeLayout(false);
    580       this.scJobControl.Panel2.ResumeLayout(false);
    581       this.scJobControl.ResumeLayout(false);
    582       this.tpClientControl.ResumeLayout(false);
    583       this.scClientControl.Panel1.ResumeLayout(false);
    584       this.scClientControl.Panel2.ResumeLayout(false);
    585       this.scClientControl.ResumeLayout(false);
    586       this.tcManagementConsole.ResumeLayout(false);
    587       this.ResumeLayout(false);
    588       this.PerformLayout();
     292        this.lvSnapshots.Enabled = false;
     293        this.lvSnapshots.FullRowSelect = true;
     294        this.lvSnapshots.GridLines = true;
     295        this.lvSnapshots.Location = new System.Drawing.Point(17, 275);
     296        this.lvSnapshots.Name = "lvSnapshots";
     297        this.lvSnapshots.Size = new System.Drawing.Size(382, 70);
     298        this.lvSnapshots.TabIndex = 16;
     299        this.lvSnapshots.UseCompatibleStateImageBehavior = false;
     300        this.lvSnapshots.View = System.Windows.Forms.View.Details;
     301        //
     302        // chJobId
     303        //
     304        this.chJobId.Text = "Job-ID";
     305        //
     306        // chTimeCalculated
     307        //
     308        this.chTimeCalculated.Text = "Calculated At";
     309        //
     310        // chProgress
     311        //
     312        this.chProgress.Text = "Progress";
     313        //
     314        // lblPriorityJob
     315        //
     316        this.lblPriorityJob.AutoSize = true;
     317        this.lblPriorityJob.Location = new System.Drawing.Point(17, 207);
     318        this.lblPriorityJob.Name = "lblPriorityJob";
     319        this.lblPriorityJob.Size = new System.Drawing.Size(65, 13);
     320        this.lblPriorityJob.TabIndex = 15;
     321        this.lblPriorityJob.Text = "lblPriorityJob";
     322        //
     323        // lblParentJob
     324        //
     325        this.lblParentJob.AutoSize = true;
     326        this.lblParentJob.Location = new System.Drawing.Point(17, 182);
     327        this.lblParentJob.Name = "lblParentJob";
     328        this.lblParentJob.Size = new System.Drawing.Size(65, 13);
     329        this.lblParentJob.TabIndex = 14;
     330        this.lblParentJob.Text = "lblParentJob";
     331        //
     332        // lblClientCalculating
     333        //
     334        this.lblClientCalculating.AutoSize = true;
     335        this.lblClientCalculating.Location = new System.Drawing.Point(17, 284);
     336        this.lblClientCalculating.Name = "lblClientCalculating";
     337        this.lblClientCalculating.Size = new System.Drawing.Size(95, 13);
     338        this.lblClientCalculating.TabIndex = 13;
     339        this.lblClientCalculating.Text = "lblClientCalculating";
     340        //
     341        // lblJobCalculationEnd
     342        //
     343        this.lblJobCalculationEnd.AutoSize = true;
     344        this.lblJobCalculationEnd.Location = new System.Drawing.Point(17, 257);
     345        this.lblJobCalculationEnd.Name = "lblJobCalculationEnd";
     346        this.lblJobCalculationEnd.Size = new System.Drawing.Size(105, 13);
     347        this.lblJobCalculationEnd.TabIndex = 12;
     348        this.lblJobCalculationEnd.Text = "lblJobCalculationEnd";
     349        //
     350        // lblJobCalculationBegin
     351        //
     352        this.lblJobCalculationBegin.AutoSize = true;
     353        this.lblJobCalculationBegin.Location = new System.Drawing.Point(17, 233);
     354        this.lblJobCalculationBegin.Name = "lblJobCalculationBegin";
     355        this.lblJobCalculationBegin.Size = new System.Drawing.Size(113, 13);
     356        this.lblJobCalculationBegin.TabIndex = 11;
     357        this.lblJobCalculationBegin.Text = "lblJobCalculationBegin";
     358        //
     359        // lblJobCreated
     360        //
     361        this.lblJobCreated.AutoSize = true;
     362        this.lblJobCreated.Location = new System.Drawing.Point(17, 157);
     363        this.lblJobCreated.Name = "lblJobCreated";
     364        this.lblJobCreated.Size = new System.Drawing.Size(71, 13);
     365        this.lblJobCreated.TabIndex = 10;
     366        this.lblJobCreated.Text = "lblJobCreated";
     367        //
     368        // lblUserCreatedJob
     369        //
     370        this.lblUserCreatedJob.AutoSize = true;
     371        this.lblUserCreatedJob.Location = new System.Drawing.Point(17, 135);
     372        this.lblUserCreatedJob.Name = "lblUserCreatedJob";
     373        this.lblUserCreatedJob.Size = new System.Drawing.Size(93, 13);
     374        this.lblUserCreatedJob.TabIndex = 9;
     375        this.lblUserCreatedJob.Text = "lblUserCreatedJob";
     376        //
     377        // lblProgress
     378        //
     379        this.lblProgress.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     380        this.lblProgress.BackColor = System.Drawing.Color.Transparent;
     381        this.lblProgress.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     382        this.lblProgress.Location = new System.Drawing.Point(256, 108);
     383        this.lblProgress.Name = "lblProgress";
     384        this.lblProgress.Size = new System.Drawing.Size(143, 13);
     385        this.lblProgress.TabIndex = 8;
     386        this.lblProgress.Text = "lblProgress";
     387        this.lblProgress.TextAlign = System.Drawing.ContentAlignment.TopRight;
     388        //
     389        // lblStatus
     390        //
     391        this.lblStatus.AutoSize = true;
     392        this.lblStatus.BackColor = System.Drawing.Color.Transparent;
     393        this.lblStatus.Location = new System.Drawing.Point(14, 55);
     394        this.lblStatus.Name = "lblStatus";
     395        this.lblStatus.Size = new System.Drawing.Size(88, 13);
     396        this.lblStatus.TabIndex = 7;
     397        this.lblStatus.Text = "Statusinformation";
     398        //
     399        // progressJob
     400        //
     401        this.progressJob.Location = new System.Drawing.Point(17, 73);
     402        this.progressJob.Name = "progressJob";
     403        this.progressJob.Size = new System.Drawing.Size(382, 23);
     404        this.progressJob.TabIndex = 6;
     405        //
     406        // lblJobName
     407        //
     408        this.lblJobName.AutoSize = true;
     409        this.lblJobName.Location = new System.Drawing.Point(41, 13);
     410        this.lblJobName.Name = "lblJobName";
     411        this.lblJobName.Size = new System.Drawing.Size(62, 13);
     412        this.lblJobName.TabIndex = 5;
     413        this.lblJobName.Text = "lblJobName";
     414        //
     415        // pbJobControl
     416        //
     417        this.pbJobControl.Location = new System.Drawing.Point(3, 3);
     418        this.pbJobControl.Name = "pbJobControl";
     419        this.pbJobControl.Size = new System.Drawing.Size(32, 32);
     420        this.pbJobControl.TabIndex = 3;
     421        this.pbJobControl.TabStop = false;
     422        //
     423        // treeView2
     424        //
     425        this.treeView2.Dock = System.Windows.Forms.DockStyle.Fill;
     426        this.treeView2.LineColor = System.Drawing.Color.Empty;
     427        this.treeView2.Location = new System.Drawing.Point(0, 0);
     428        this.treeView2.Name = "treeView2";
     429        this.treeView2.Size = new System.Drawing.Size(139, 346);
     430        this.treeView2.TabIndex = 0;
     431        //
     432        // listView2
     433        //
     434        this.listView2.Dock = System.Windows.Forms.DockStyle.Fill;
     435        this.listView2.Location = new System.Drawing.Point(0, 0);
     436        this.listView2.Name = "listView2";
     437        this.listView2.Size = new System.Drawing.Size(494, 346);
     438        this.listView2.TabIndex = 0;
     439        this.listView2.UseCompatibleStateImageBehavior = false;
     440        //
     441        // timerSyncronize
     442        //
     443        this.timerSyncronize.Interval = 10000;
     444        this.timerSyncronize.Tick += new System.EventHandler(this.TickSync);
     445        //
     446        // fileSystemWatcher1
     447        //
     448        this.fileSystemWatcher1.EnableRaisingEvents = true;
     449        this.fileSystemWatcher1.SynchronizingObject = this;
     450        //
     451        // updaterWoker
     452        //
     453        this.updaterWoker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.updaterWoker_DoWork);
     454        this.updaterWoker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.updaterWoker_RunWorkerCompleted);
     455        //
     456        // tpJobControl
     457        //
     458        this.tpJobControl.Controls.Add(this.scJobControl);
     459        this.tpJobControl.Location = new System.Drawing.Point(4, 22);
     460        this.tpJobControl.Name = "tpJobControl";
     461        this.tpJobControl.Padding = new System.Windows.Forms.Padding(3);
     462        this.tpJobControl.Size = new System.Drawing.Size(885, 392);
     463        this.tpJobControl.TabIndex = 1;
     464        this.tpJobControl.Text = "Job Control";
     465        this.tpJobControl.UseVisualStyleBackColor = true;
     466        //
     467        // scJobControl
     468        //
     469        this.scJobControl.Dock = System.Windows.Forms.DockStyle.Fill;
     470        this.scJobControl.Location = new System.Drawing.Point(3, 3);
     471        this.scJobControl.Name = "scJobControl";
     472        //
     473        // scJobControl.Panel1
     474        //
     475        this.scJobControl.Panel1.Controls.Add(this.lvJobControl);
     476        //
     477        // scJobControl.Panel2
     478        //
     479        this.scJobControl.Panel2.Controls.Add(this.plJobDetails);
     480        this.scJobControl.Size = new System.Drawing.Size(879, 386);
     481        this.scJobControl.SplitterDistance = 454;
     482        this.scJobControl.TabIndex = 0;
     483        //
     484        // lvJobControl
     485        //
     486        this.lvJobControl.AllowDrop = true;
     487        this.lvJobControl.Dock = System.Windows.Forms.DockStyle.Fill;
     488        this.lvJobControl.LargeImageList = this.ilJobControl;
     489        this.lvJobControl.Location = new System.Drawing.Point(0, 0);
     490        this.lvJobControl.MultiSelect = false;
     491        this.lvJobControl.Name = "lvJobControl";
     492        this.lvJobControl.Size = new System.Drawing.Size(454, 386);
     493        this.lvJobControl.TabIndex = 0;
     494        this.lvJobControl.UseCompatibleStateImageBehavior = false;
     495        this.lvJobControl.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lvJobControl_MouseMove);
     496        this.lvJobControl.Click += new System.EventHandler(this.OnLVJobControlClicked);
     497        //
     498        // tpClientControl
     499        //
     500        this.tpClientControl.AllowDrop = true;
     501        this.tpClientControl.Controls.Add(this.scClientControl);
     502        this.tpClientControl.Location = new System.Drawing.Point(4, 22);
     503        this.tpClientControl.Name = "tpClientControl";
     504        this.tpClientControl.Padding = new System.Windows.Forms.Padding(3);
     505        this.tpClientControl.Size = new System.Drawing.Size(885, 392);
     506        this.tpClientControl.TabIndex = 0;
     507        this.tpClientControl.Text = "Client Control";
     508        this.tpClientControl.UseVisualStyleBackColor = true;
     509        //
     510        // scClientControl
     511        //
     512        this.scClientControl.Dock = System.Windows.Forms.DockStyle.Fill;
     513        this.scClientControl.Location = new System.Drawing.Point(3, 3);
     514        this.scClientControl.Name = "scClientControl";
     515        //
     516        // scClientControl.Panel1
     517        //
     518        this.scClientControl.Panel1.Controls.Add(this.lvClientControl);
     519        //
     520        // scClientControl.Panel2
     521        //
     522        this.scClientControl.Panel2.Controls.Add(this.plClientDetails);
     523        this.scClientControl.Size = new System.Drawing.Size(879, 386);
     524        this.scClientControl.SplitterDistance = 454;
     525        this.scClientControl.TabIndex = 0;
     526        //
     527        // lvClientControl
     528        //
     529        this.lvClientControl.AllowDrop = true;
     530        this.lvClientControl.Dock = System.Windows.Forms.DockStyle.Fill;
     531        this.lvClientControl.ImeMode = System.Windows.Forms.ImeMode.Off;
     532        this.lvClientControl.LargeImageList = this.ilClientControl;
     533        this.lvClientControl.Location = new System.Drawing.Point(0, 0);
     534        this.lvClientControl.MultiSelect = false;
     535        this.lvClientControl.Name = "lvClientControl";
     536        this.lvClientControl.Size = new System.Drawing.Size(454, 386);
     537        this.lvClientControl.TabIndex = 0;
     538        this.lvClientControl.UseCompatibleStateImageBehavior = false;
     539        this.lvClientControl.Click += new System.EventHandler(this.OnLVClientClicked);
     540        //
     541        // tcManagementConsole
     542        //
     543        this.tcManagementConsole.Controls.Add(this.tpClientControl);
     544        this.tcManagementConsole.Controls.Add(this.tpJobControl);
     545        this.tcManagementConsole.Dock = System.Windows.Forms.DockStyle.Fill;
     546        this.tcManagementConsole.Location = new System.Drawing.Point(0, 24);
     547        this.tcManagementConsole.Name = "tcManagementConsole";
     548        this.tcManagementConsole.SelectedIndex = 0;
     549        this.tcManagementConsole.Size = new System.Drawing.Size(893, 418);
     550        this.tcManagementConsole.TabIndex = 1;
     551        //
     552        // checkBox1
     553        //
     554        this.checkBox1.AutoSize = true;
     555        this.checkBox1.Location = new System.Drawing.Point(149, 114);
     556        this.checkBox1.Name = "checkBox1";
     557        this.checkBox1.Size = new System.Drawing.Size(80, 17);
     558        this.checkBox1.TabIndex = 0;
     559        this.checkBox1.Text = "checkBox1";
     560        this.checkBox1.UseVisualStyleBackColor = true;
     561        //
     562        // HiveServerManagementConsole
     563        //
     564        this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     565        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     566        this.ClientSize = new System.Drawing.Size(893, 442);
     567        this.Controls.Add(this.tcManagementConsole);
     568        this.Controls.Add(this.menuStrip1);
     569        this.MainMenuStrip = this.menuStrip1;
     570        this.Name = "HiveServerManagementConsole";
     571        this.Text = "Management Console";
     572        this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.HiveServerConsoleInformation_FormClosing);
     573        this.menuStrip1.ResumeLayout(false);
     574        this.menuStrip1.PerformLayout();
     575        this.plClientDetails.ResumeLayout(false);
     576        this.plClientDetails.PerformLayout();
     577        ((System.ComponentModel.ISupportInitialize)(this.pbClientControl)).EndInit();
     578        this.plUserDetails.ResumeLayout(false);
     579        this.plUserDetails.PerformLayout();
     580        ((System.ComponentModel.ISupportInitialize)(this.pbUserControl)).EndInit();
     581        this.plJobDetails.ResumeLayout(false);
     582        this.plJobDetails.PerformLayout();
     583        ((System.ComponentModel.ISupportInitialize)(this.pbJobControl)).EndInit();
     584        ((System.ComponentModel.ISupportInitialize)(this.fileSystemWatcher1)).EndInit();
     585        this.tpJobControl.ResumeLayout(false);
     586        this.scJobControl.Panel1.ResumeLayout(false);
     587        this.scJobControl.Panel2.ResumeLayout(false);
     588        this.scJobControl.ResumeLayout(false);
     589        this.tpClientControl.ResumeLayout(false);
     590        this.scClientControl.Panel1.ResumeLayout(false);
     591        this.scClientControl.Panel2.ResumeLayout(false);
     592        this.scClientControl.ResumeLayout(false);
     593        this.tcManagementConsole.ResumeLayout(false);
     594        this.ResumeLayout(false);
     595        this.PerformLayout();
    589596
    590597    }
  • trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.cs

    r1491 r1495  
    5353    private string nameCurrentJob = "";
    5454    private string nameCurrentClient = "";
    55     private string nameCurrentUser = "";
    5655    private bool flagJob = false;
    5756    private bool flagClient = false;
    58     private bool flagUser = false;
    5957
    6058    private List<Changes> changes = new List<Changes>();
     
    109107            count = (count + 1) % 3;
    110108            inGroup.Add(ci.Id);
    111            
     109
    112110          }
    113111          lvClientControl.BeginUpdate();
     
    174172        jobGroup.Add(lvJobFinished);
    175173        jobGroup.Add(lvJobPending);
    176        
     174
    177175        foreach (Job job in jobs.List) {
    178176          if (job.State == State.calculating) {
     
    181179
    182180            //lvJobControl.Items.Add(lvi);
    183            
     181
    184182            lvi.ToolTipText = (job.Percentage * 100) + "% of job calculated";
    185183          } else if (job.State == State.finished) {
     
    216214    private void ClientClicked() {
    217215      int i = 0;
    218       while (clientInfo.List[i].Name != nameCurrentClient) {
     216      while (clientInfo.List[i].Id.ToString() != nameCurrentClient) {
    219217        i++;
    220218      }
    221219      currentClient = clientInfo.List[i];
    222       scClientControl.Panel2.Controls.Clear();
    223       scClientControl.Panel2.Controls.Add(plClientDetails);
    224220      pbClientControl.Image = ilClientControl.Images[0];
    225221      lblClientName.Text = currentClient.Name;
     
    237233      }
    238234      lvSnapshots.Enabled = false;
    239       int yPos = 0;
    240235      currentJob = jobs.List[i];
    241       scJobControl.Panel2.Controls.Clear();
    242       scJobControl.Panel2.Controls.Add(plJobDetails);
    243236      pbJobControl.Image = ilJobControl.Images[0];
    244237      lblJobName.Text = currentJob.Id.ToString();
    245238      progressJob.Value = (int)(currentJob.Percentage * 100);
    246       yPos = progressJob.Location.Y;
    247       yPos += 20;
    248       lblProgress.Location = new Point(
    249         lblProgress.Location.X, yPos);
    250239      lblProgress.Text = (int)(currentJob.Percentage * 100) + "% calculated";
    251       yPos += 20;
    252       lblUserCreatedJob.Location = new Point(
    253         lblUserCreatedJob.Location.X, yPos);
    254       lblUserCreatedJob.Text = /* currentJob.User.Name + */ " created Job";
    255       yPos += 20;
    256       lblJobCreated.Location = new Point(
    257         lblJobCreated.Location.X, yPos);
     240      lblUserCreatedJob.Text = currentJob.UserId.ToString() + /* currentJob.User.Name + */ " created Job";
    258241      lblJobCreated.Text = "Created at " + currentJob.DateCreated;
    259242      if (currentJob.ParentJob != null) {
    260         yPos += 20;
    261         lblParentJob.Location = new Point(
    262           lblParentJob.Location.X, yPos);
    263243        lblParentJob.Text = currentJob.ParentJob.Id + " is parent job";
    264       }
    265       yPos += 20;
    266       lblPriorityJob.Location = new Point(
    267         lblPriorityJob.Location.X, yPos);
     244      } else {
     245        lblParentJob.Text = "";
     246      }
    268247      lblPriorityJob.Text = "Priority of job is " + currentJob.Priority;
    269248      if (currentJob.Client != null) {
    270         yPos += 20;
    271         lblClientCalculating.Location = new Point(
    272           lblClientCalculating.Location.X, yPos);
    273249        lblClientCalculating.Text = currentJob.Client.Name + " calculated Job";
    274         yPos += 20;
    275         lblJobCalculationBegin.Location = new Point(
    276           lblJobCalculationBegin.Location.X, yPos);
    277         lblJobCalculationBegin.Text = "Startet calculation at " + currentJob.DateCalculated ;
    278        
     250        lblJobCalculationBegin.Text = "Startet calculation at " + currentJob.DateCalculated;
     251
    279252        if (currentJob.State == State.finished) {
    280           yPos += 20;
    281           lblJobCalculationEnd.Location = new Point(
    282             lblJobCalculationEnd.Location.X, yPos);
    283 
    284253          IJobManager jobManager =
    285254            ServiceLocator.GetJobManager();
    286 
    287255          ResponseObject<JobResult> jobRes = jobManager.GetLastJobResultOf(currentJob.Id);
    288 
    289          
    290256          lblJobCalculationEnd.Text = "Calculation ended at " + jobRes.Obj.DateFinished;
    291257        }
    292       }                       
     258      } else {
     259        lblClientCalculating.Text = "";
     260        lblJobCalculationBegin.Text = "";
     261        lblJobCalculationEnd.Text = "";
     262      }
    293263      if (currentJob.State != State.offline) {
    294         yPos += 20;
    295         lvSnapshots.Location = new Point(
    296           lvSnapshots.Location.X, yPos);
    297         lvSnapshots.Size = new Size(lvSnapshots.Size.Width,
    298           plJobDetails.Size.Height - 10 - yPos);
    299264        lvSnapshots.Enabled = true;
     265      } else {
     266        lvSnapshots.Enabled = false;
    300267      }
    301268    }
     
    317284        for (int i = 0; i < lvJobControl.Items.Count; i++) {
    318285          if (lvJobControl.Items[i].Text == change.ID.ToString()) {
     286            if (nameCurrentJob == change.ID.ToString()) {
     287              JobClicked();
     288            }
    319289            State state = jobs.List[change.Position].State;
    320290            System.Diagnostics.Debug.WriteLine(lvJobControl.Items[i].Text.ToString());
     
    354324        for (int i = 0; i < lvClientControl.Items.Count; i++) {
    355325          if (lvClientControl.Items[i].Tag.ToString() == change.ID.ToString()) {
     326            if (nameCurrentClient == change.ID.ToString()) {
     327              ClientClicked();
     328            }
    356329            State state = clientInfo.List[change.Position].State;
    357330            System.Diagnostics.Debug.WriteLine(lvClientControl.Items[i].Text.ToString());
     
    367340
    368341      } else if (change.ChangeType == Change.Create) {
    369        
     342
    370343      } else if (change.ChangeType == Change.Delete) {
    371344        clientInfoObjects.Remove(change.ID);
     
    415388
    416389    private void OnLVClientClicked(object sender, EventArgs e) {
    417       nameCurrentClient = lvClientControl.SelectedItems[0].Text;
     390      nameCurrentClient = lvClientControl.SelectedItems[0].Tag.ToString();
    418391      flagClient = true;
    419392      ClientClicked();
     
    435408    private void updaterWoker_DoWork(object sender, DoWorkEventArgs e) {
    436409
    437         changes.Clear();
     410      changes.Clear();
    438411      IClientManager clientManager =
    439412          ServiceLocator.GetClientManager();
    440      
     413
    441414      #region ClientInfo
    442415      ResponseList<ClientInfo> clientInfoOld = clientInfo;
     
    452425      #region Clients
    453426      ResponseList<ClientGroup> clientsOld = clients;
    454      
     427
    455428      clients = clientManager.GetAllClientGroups();
    456429
     
    494467    private void CloneList(ResponseList<ClientInfo> oldList, out IDictionary<int, ClientInfo> newList) {
    495468      newList = new Dictionary<int, ClientInfo>();
    496       for (int i = 0; i < oldList.List.Count; i ++) {
     469      for (int i = 0; i < oldList.List.Count; i++) {
    497470        newList.Add(i, oldList.List[i]);
    498471      }
     
    518491      bool found = false;
    519492
    520       for (int i = 0; i < clientInfo.List.Count; i ++) {
     493      for (int i = 0; i < clientInfo.List.Count; i++) {
    521494        ClientInfo ci = clientInfo.List[i];
    522495        for (int j = 0; j < oldClient.Count; j++) {
     
    590563    private void GetDelta(IList<Job> oldJobs, IDictionary<int, Job> helpJobs) {
    591564      bool found = false;
    592       for (int i = 0; i < jobs.List.Count; i ++ ) {
     565      for (int i = 0; i < jobs.List.Count; i++) {
    593566        Job job = jobs.List[i];
    594567        for (int j = 0; j < oldJobs.Count; j++) {
  • trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.resx

    r1491 r1495  
    129129        LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
    130130        ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABo
    131         FwAAAk1TRnQBSQFMAgEBBAEAAQkBAAEEAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
     131        FwAAAk1TRnQBSQFMAgEBBAEAAQwBAAEEAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
    132132        AwABgAMAAUADAAEBAQABCAYAASAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
    133133        AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
Note: See TracChangeset for help on using the changeset viewer.