Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1261


Ignore:
Timestamp:
03/05/09 17:56:06 (16 years ago)
Author:
aleitner
Message:

new Dictionaries for ListViewitems (#508)

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

Legend:

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

    r1173 r1261  
    3838      this.scClientControl = new System.Windows.Forms.SplitContainer();
    3939      this.tvClientControl = new System.Windows.Forms.TreeView();
     40      this.lvClientControl = new System.Windows.Forms.ListView();
     41      this.ilClientControl = new System.Windows.Forms.ImageList(this.components);
     42      this.tpJobControl = new System.Windows.Forms.TabPage();
     43      this.scJobControl = new System.Windows.Forms.SplitContainer();
     44      this.tvJobControl = new System.Windows.Forms.TreeView();
     45      this.lvJobControl = new System.Windows.Forms.ListView();
     46      this.ilJobControl = new System.Windows.Forms.ImageList(this.components);
     47      this.tpUserControl = new System.Windows.Forms.TabPage();
     48      this.scUserControl = new System.Windows.Forms.SplitContainer();
     49      this.tvUserControl = new System.Windows.Forms.TreeView();
     50      this.lvUserControl = new System.Windows.Forms.ListView();
     51      this.ilUserControl = new System.Windows.Forms.ImageList(this.components);
    4052      this.plClientDetails = new System.Windows.Forms.Panel();
    4153      this.lblState = new System.Windows.Forms.Label();
     
    4658      this.btnClientDetailClose = new System.Windows.Forms.Button();
    4759      this.pbClientControl = new System.Windows.Forms.PictureBox();
    48       this.tpJobControl = new System.Windows.Forms.TabPage();
    49       this.scJobControl = new System.Windows.Forms.SplitContainer();
    50       this.tvJobControl = new System.Windows.Forms.TreeView();
    51       this.lvJobControl = new System.Windows.Forms.ListView();
    52       this.ilJobControl = new System.Windows.Forms.ImageList(this.components);
    53       this.tpUserControl = new System.Windows.Forms.TabPage();
    54       this.scUserControl = new System.Windows.Forms.SplitContainer();
    55       this.tvUserControl = new System.Windows.Forms.TreeView();
    5660      this.plUserDetails = new System.Windows.Forms.Panel();
    5761      this.lblUserName = new System.Windows.Forms.Label();
    5862      this.btnUserControlClose = new System.Windows.Forms.Button();
    5963      this.pbUserControl = new System.Windows.Forms.PictureBox();
    60       this.lvClientControl = new System.Windows.Forms.ListView();
    61       this.ilClientControl = new System.Windows.Forms.ImageList(this.components);
    62       this.lvUserControl = new System.Windows.Forms.ListView();
    63       this.ilUserControl = new System.Windows.Forms.ImageList(this.components);
    6464      this.plJobDetails = new System.Windows.Forms.Panel();
    6565      this.lvSnapshots = new System.Windows.Forms.ListView();
     
    8484      this.timerSyncronize = new System.Windows.Forms.Timer(this.components);
    8585      this.fileSystemWatcher1 = new System.IO.FileSystemWatcher();
     86      this.updaterWoker = new System.ComponentModel.BackgroundWorker();
    8687      this.menuStrip1.SuspendLayout();
    8788      this.tcManagementConsole.SuspendLayout();
     
    9091      this.scClientControl.Panel2.SuspendLayout();
    9192      this.scClientControl.SuspendLayout();
    92       this.plClientDetails.SuspendLayout();
    93       ((System.ComponentModel.ISupportInitialize)(this.pbClientControl)).BeginInit();
    9493      this.tpJobControl.SuspendLayout();
    9594      this.scJobControl.Panel1.SuspendLayout();
     
    10099      this.scUserControl.Panel2.SuspendLayout();
    101100      this.scUserControl.SuspendLayout();
     101      this.plClientDetails.SuspendLayout();
     102      ((System.ComponentModel.ISupportInitialize)(this.pbClientControl)).BeginInit();
    102103      this.plUserDetails.SuspendLayout();
    103104      ((System.ComponentModel.ISupportInitialize)(this.pbUserControl)).BeginInit();
     
    221222      this.tvClientControl.TabIndex = 0;
    222223      this.tvClientControl.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.OnTVClientClicked);
     224      //
     225      // lvClientControl
     226      //
     227      this.lvClientControl.AllowDrop = true;
     228      this.lvClientControl.Dock = System.Windows.Forms.DockStyle.Fill;
     229      this.lvClientControl.ImeMode = System.Windows.Forms.ImeMode.Off;
     230      this.lvClientControl.LargeImageList = this.ilClientControl;
     231      this.lvClientControl.Location = new System.Drawing.Point(0, 0);
     232      this.lvClientControl.MultiSelect = false;
     233      this.lvClientControl.Name = "lvClientControl";
     234      this.lvClientControl.Size = new System.Drawing.Size(494, 346);
     235      this.lvClientControl.TabIndex = 0;
     236      this.lvClientControl.UseCompatibleStateImageBehavior = false;
     237      this.lvClientControl.Click += new System.EventHandler(this.OnLVClientClicked);
     238      //
     239      // ilClientControl
     240      //
     241      this.ilClientControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilClientControl.ImageStream")));
     242      this.ilClientControl.TransparentColor = System.Drawing.Color.Transparent;
     243      this.ilClientControl.Images.SetKeyName(0, "monitor-green.png");
     244      this.ilClientControl.Images.SetKeyName(1, "monitor-orange.png");
     245      this.ilClientControl.Images.SetKeyName(2, "monitor-red.png");
     246      //
     247      // tpJobControl
     248      //
     249      this.tpJobControl.Controls.Add(this.scJobControl);
     250      this.tpJobControl.Location = new System.Drawing.Point(4, 22);
     251      this.tpJobControl.Name = "tpJobControl";
     252      this.tpJobControl.Padding = new System.Windows.Forms.Padding(3);
     253      this.tpJobControl.Size = new System.Drawing.Size(643, 352);
     254      this.tpJobControl.TabIndex = 1;
     255      this.tpJobControl.Text = "Job Control";
     256      this.tpJobControl.UseVisualStyleBackColor = true;
     257      //
     258      // scJobControl
     259      //
     260      this.scJobControl.Dock = System.Windows.Forms.DockStyle.Fill;
     261      this.scJobControl.Location = new System.Drawing.Point(3, 3);
     262      this.scJobControl.Name = "scJobControl";
     263      //
     264      // scJobControl.Panel1
     265      //
     266      this.scJobControl.Panel1.Controls.Add(this.tvJobControl);
     267      //
     268      // scJobControl.Panel2
     269      //
     270      this.scJobControl.Panel2.Controls.Add(this.lvJobControl);
     271      this.scJobControl.Size = new System.Drawing.Size(637, 346);
     272      this.scJobControl.SplitterDistance = 139;
     273      this.scJobControl.TabIndex = 1;
     274      //
     275      // tvJobControl
     276      //
     277      this.tvJobControl.Dock = System.Windows.Forms.DockStyle.Fill;
     278      this.tvJobControl.Location = new System.Drawing.Point(0, 0);
     279      this.tvJobControl.Name = "tvJobControl";
     280      this.tvJobControl.Size = new System.Drawing.Size(139, 346);
     281      this.tvJobControl.TabIndex = 2;
     282      this.tvJobControl.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.OnTVJobControlClicked);
     283      //
     284      // lvJobControl
     285      //
     286      this.lvJobControl.AllowDrop = true;
     287      this.lvJobControl.Dock = System.Windows.Forms.DockStyle.Fill;
     288      this.lvJobControl.LargeImageList = this.ilJobControl;
     289      this.lvJobControl.Location = new System.Drawing.Point(0, 0);
     290      this.lvJobControl.MultiSelect = false;
     291      this.lvJobControl.Name = "lvJobControl";
     292      this.lvJobControl.Size = new System.Drawing.Size(494, 346);
     293      this.lvJobControl.TabIndex = 0;
     294      this.lvJobControl.UseCompatibleStateImageBehavior = false;
     295      this.lvJobControl.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lvJobControl_MouseMove);
     296      this.lvJobControl.Click += new System.EventHandler(this.OnLVJobControlClicked);
     297      //
     298      // ilJobControl
     299      //
     300      this.ilJobControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilJobControl.ImageStream")));
     301      this.ilJobControl.TransparentColor = System.Drawing.Color.Transparent;
     302      this.ilJobControl.Images.SetKeyName(0, "PlayHS.png");
     303      //
     304      // tpUserControl
     305      //
     306      this.tpUserControl.Controls.Add(this.scUserControl);
     307      this.tpUserControl.Location = new System.Drawing.Point(4, 22);
     308      this.tpUserControl.Name = "tpUserControl";
     309      this.tpUserControl.Padding = new System.Windows.Forms.Padding(3);
     310      this.tpUserControl.Size = new System.Drawing.Size(643, 352);
     311      this.tpUserControl.TabIndex = 2;
     312      this.tpUserControl.Text = "User Control";
     313      this.tpUserControl.UseVisualStyleBackColor = true;
     314      //
     315      // scUserControl
     316      //
     317      this.scUserControl.Dock = System.Windows.Forms.DockStyle.Fill;
     318      this.scUserControl.Location = new System.Drawing.Point(3, 3);
     319      this.scUserControl.Name = "scUserControl";
     320      //
     321      // scUserControl.Panel1
     322      //
     323      this.scUserControl.Panel1.Controls.Add(this.tvUserControl);
     324      //
     325      // scUserControl.Panel2
     326      //
     327      this.scUserControl.Panel2.Controls.Add(this.lvUserControl);
     328      this.scUserControl.Size = new System.Drawing.Size(637, 346);
     329      this.scUserControl.SplitterDistance = 139;
     330      this.scUserControl.TabIndex = 1;
     331      //
     332      // tvUserControl
     333      //
     334      this.tvUserControl.Dock = System.Windows.Forms.DockStyle.Fill;
     335      this.tvUserControl.Location = new System.Drawing.Point(0, 0);
     336      this.tvUserControl.Name = "tvUserControl";
     337      this.tvUserControl.Size = new System.Drawing.Size(139, 346);
     338      this.tvUserControl.TabIndex = 1;
     339      this.tvUserControl.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.OnTVUserControlClicked);
     340      //
     341      // lvUserControl
     342      //
     343      this.lvUserControl.AllowDrop = true;
     344      this.lvUserControl.Dock = System.Windows.Forms.DockStyle.Fill;
     345      this.lvUserControl.LargeImageList = this.ilUserControl;
     346      this.lvUserControl.Location = new System.Drawing.Point(0, 0);
     347      this.lvUserControl.Name = "lvUserControl";
     348      this.lvUserControl.Size = new System.Drawing.Size(494, 346);
     349      this.lvUserControl.TabIndex = 1;
     350      this.lvUserControl.UseCompatibleStateImageBehavior = false;
     351      this.lvUserControl.Click += new System.EventHandler(this.OnLVUserControlClicked);
     352      //
     353      // ilUserControl
     354      //
     355      this.ilUserControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilUserControl.ImageStream")));
     356      this.ilUserControl.TransparentColor = System.Drawing.Color.Transparent;
     357      this.ilUserControl.Images.SetKeyName(0, "Users.png");
    223358      //
    224359      // plClientDetails
     
    301436      this.pbClientControl.TabStop = false;
    302437      //
    303       // tpJobControl
    304       //
    305       this.tpJobControl.Controls.Add(this.scJobControl);
    306       this.tpJobControl.Location = new System.Drawing.Point(4, 22);
    307       this.tpJobControl.Name = "tpJobControl";
    308       this.tpJobControl.Padding = new System.Windows.Forms.Padding(3);
    309       this.tpJobControl.Size = new System.Drawing.Size(643, 352);
    310       this.tpJobControl.TabIndex = 1;
    311       this.tpJobControl.Text = "Job Control";
    312       this.tpJobControl.UseVisualStyleBackColor = true;
    313       //
    314       // scJobControl
    315       //
    316       this.scJobControl.Dock = System.Windows.Forms.DockStyle.Fill;
    317       this.scJobControl.Location = new System.Drawing.Point(3, 3);
    318       this.scJobControl.Name = "scJobControl";
    319       //
    320       // scJobControl.Panel1
    321       //
    322       this.scJobControl.Panel1.Controls.Add(this.tvJobControl);
    323       //
    324       // scJobControl.Panel2
    325       //
    326       this.scJobControl.Panel2.Controls.Add(this.lvJobControl);
    327       this.scJobControl.Size = new System.Drawing.Size(637, 346);
    328       this.scJobControl.SplitterDistance = 139;
    329       this.scJobControl.TabIndex = 1;
    330       //
    331       // tvJobControl
    332       //
    333       this.tvJobControl.Dock = System.Windows.Forms.DockStyle.Fill;
    334       this.tvJobControl.Location = new System.Drawing.Point(0, 0);
    335       this.tvJobControl.Name = "tvJobControl";
    336       this.tvJobControl.Size = new System.Drawing.Size(139, 346);
    337       this.tvJobControl.TabIndex = 2;
    338       this.tvJobControl.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.OnTVJobControlClicked);
    339       //
    340       // lvJobControl
    341       //
    342       this.lvJobControl.AllowDrop = true;
    343       this.lvJobControl.Dock = System.Windows.Forms.DockStyle.Fill;
    344       this.lvJobControl.LargeImageList = this.ilJobControl;
    345       this.lvJobControl.Location = new System.Drawing.Point(0, 0);
    346       this.lvJobControl.MultiSelect = false;
    347       this.lvJobControl.Name = "lvJobControl";
    348       this.lvJobControl.Size = new System.Drawing.Size(494, 346);
    349       this.lvJobControl.TabIndex = 0;
    350       this.lvJobControl.UseCompatibleStateImageBehavior = false;
    351       this.lvJobControl.MouseMove += new System.Windows.Forms.MouseEventHandler(this.lvJobControl_MouseMove);
    352       this.lvJobControl.Click += new System.EventHandler(this.OnLVJobControlClicked);
    353       //
    354       // ilJobControl
    355       //
    356       this.ilJobControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilJobControl.ImageStream")));
    357       this.ilJobControl.TransparentColor = System.Drawing.Color.Transparent;
    358       this.ilJobControl.Images.SetKeyName(0, "PlayHS.png");
    359       //
    360       // tpUserControl
    361       //
    362       this.tpUserControl.Controls.Add(this.scUserControl);
    363       this.tpUserControl.Location = new System.Drawing.Point(4, 22);
    364       this.tpUserControl.Name = "tpUserControl";
    365       this.tpUserControl.Padding = new System.Windows.Forms.Padding(3);
    366       this.tpUserControl.Size = new System.Drawing.Size(643, 352);
    367       this.tpUserControl.TabIndex = 2;
    368       this.tpUserControl.Text = "User Control";
    369       this.tpUserControl.UseVisualStyleBackColor = true;
    370       //
    371       // scUserControl
    372       //
    373       this.scUserControl.Dock = System.Windows.Forms.DockStyle.Fill;
    374       this.scUserControl.Location = new System.Drawing.Point(3, 3);
    375       this.scUserControl.Name = "scUserControl";
    376       //
    377       // scUserControl.Panel1
    378       //
    379       this.scUserControl.Panel1.Controls.Add(this.tvUserControl);
    380       //
    381       // scUserControl.Panel2
    382       //
    383       this.scUserControl.Panel2.Controls.Add(this.lvUserControl);
    384       this.scUserControl.Size = new System.Drawing.Size(637, 346);
    385       this.scUserControl.SplitterDistance = 139;
    386       this.scUserControl.TabIndex = 1;
    387       //
    388       // tvUserControl
    389       //
    390       this.tvUserControl.Dock = System.Windows.Forms.DockStyle.Fill;
    391       this.tvUserControl.Location = new System.Drawing.Point(0, 0);
    392       this.tvUserControl.Name = "tvUserControl";
    393       this.tvUserControl.Size = new System.Drawing.Size(139, 346);
    394       this.tvUserControl.TabIndex = 1;
    395       this.tvUserControl.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.OnTVUserControlClicked);
    396       //
    397438      // plUserDetails
    398439      //
     
    433474      this.pbUserControl.TabIndex = 3;
    434475      this.pbUserControl.TabStop = false;
    435       //
    436       // lvClientControl
    437       //
    438       this.lvClientControl.AllowDrop = true;
    439       this.lvClientControl.Dock = System.Windows.Forms.DockStyle.Fill;
    440       this.lvClientControl.ImeMode = System.Windows.Forms.ImeMode.Off;
    441       this.lvClientControl.LargeImageList = this.ilClientControl;
    442       this.lvClientControl.Location = new System.Drawing.Point(0, 0);
    443       this.lvClientControl.MultiSelect = false;
    444       this.lvClientControl.Name = "lvClientControl";
    445       this.lvClientControl.Size = new System.Drawing.Size(494, 346);
    446       this.lvClientControl.TabIndex = 0;
    447       this.lvClientControl.UseCompatibleStateImageBehavior = false;
    448       this.lvClientControl.Click += new System.EventHandler(this.OnLVClientClicked);
    449       //
    450       // ilClientControl
    451       //
    452       this.ilClientControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilClientControl.ImageStream")));
    453       this.ilClientControl.TransparentColor = System.Drawing.Color.Transparent;
    454       this.ilClientControl.Images.SetKeyName(0, "monitor-green.png");
    455       this.ilClientControl.Images.SetKeyName(1, "monitor-orange.png");
    456       this.ilClientControl.Images.SetKeyName(2, "monitor-red.png");
    457       //
    458       // lvUserControl
    459       //
    460       this.lvUserControl.AllowDrop = true;
    461       this.lvUserControl.Dock = System.Windows.Forms.DockStyle.Fill;
    462       this.lvUserControl.LargeImageList = this.ilUserControl;
    463       this.lvUserControl.Location = new System.Drawing.Point(0, 0);
    464       this.lvUserControl.Name = "lvUserControl";
    465       this.lvUserControl.Size = new System.Drawing.Size(494, 346);
    466       this.lvUserControl.TabIndex = 1;
    467       this.lvUserControl.UseCompatibleStateImageBehavior = false;
    468       this.lvUserControl.Click += new System.EventHandler(this.OnLVUserControlClicked);
    469       //
    470       // ilUserControl
    471       //
    472       this.ilUserControl.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilUserControl.ImageStream")));
    473       this.ilUserControl.TransparentColor = System.Drawing.Color.Transparent;
    474       this.ilUserControl.Images.SetKeyName(0, "Users.png");
    475476      //
    476477      // plJobDetails
     
    665666      this.fileSystemWatcher1.SynchronizingObject = this;
    666667      //
     668      // updaterWoker
     669      //
     670      this.updaterWoker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.updaterWoker_DoWork);
     671      //
    667672      // HiveServerManagementConsole
    668673      //
     
    683688      this.scClientControl.Panel2.ResumeLayout(false);
    684689      this.scClientControl.ResumeLayout(false);
    685       this.plClientDetails.ResumeLayout(false);
    686       this.plClientDetails.PerformLayout();
    687       ((System.ComponentModel.ISupportInitialize)(this.pbClientControl)).EndInit();
    688690      this.tpJobControl.ResumeLayout(false);
    689691      this.scJobControl.Panel1.ResumeLayout(false);
     
    694696      this.scUserControl.Panel2.ResumeLayout(false);
    695697      this.scUserControl.ResumeLayout(false);
     698      this.plClientDetails.ResumeLayout(false);
     699      this.plClientDetails.PerformLayout();
     700      ((System.ComponentModel.ISupportInitialize)(this.pbClientControl)).EndInit();
    696701      this.plUserDetails.ResumeLayout(false);
    697702      this.plUserDetails.PerformLayout();
     
    766771    private System.Windows.Forms.Label lblStateClient;
    767772    private System.Windows.Forms.Label lblState;
     773    private System.ComponentModel.BackgroundWorker updaterWoker;
    768774  }
    769775}
  • trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.cs

    r1174 r1261  
    4747    private ResponseList<User> usersList = null;
    4848
     49    private Dictionary<long, ListViewGroup> clientObjects;
     50    private Dictionary<long, ListViewItem> clientInfoObjects;
     51    private Dictionary<long, ListViewItem> jobObjects;
     52    private Dictionary<long, ListViewGroup> userGroupsObjects;
     53    private Dictionary<long, ListViewItem> userListObjects;
     54
    4955    private Job currentJob = null;
    5056    private ClientInfo currentClient = null;
     
    7379    /// <param name="obj"></param>
    7480    /// <param name="e"></param>
    75     private void TickSync(object obj, EventArgs e) {
    76       Refresh();
     81    private void TickSync(object obj, EventArgs e) { 
     82      updaterWoker.RunWorkerAsync();
    7783    }
    7884
     
    8288    private void AddClients() {
    8389      try {
     90        clientObjects = new Dictionary<long, ListViewGroup>();
     91        clientInfoObjects = new Dictionary<long, ListViewItem>();
    8492        IClientManager clientManager =
    8593          ServiceLocator.GetClientManager();
    8694
    8795        clients = clientManager.GetAllClientGroups();
    88 
    8996        lvClientControl.Items.Clear();
    9097        tvClientControl.Nodes.Clear();
     
    95102          foreach (ClientInfo ci in clientManager.GetAllClients().List) {
    96103            tvClientControl.Nodes[tvClientControl.Nodes.Count - 1].Nodes.Add(ci.Name);
    97             lvClientControl.Items.Add(new ListViewItem(ci.Name, count, lvg));
     104            ListViewItem item = new ListViewItem(ci.Name, count, lvg);
     105            lvClientControl.Items.Add(item);
     106            clientInfoObjects.Add(ci.Id, item);
    98107            count = (count + 1) % 3;
    99108          }
    100109          lvClientControl.Groups.Add(lvg);
     110          clientObjects.Add(cg.Id, lvg);
    101111        } // Groups
    102112
     
    124134    private void AddJobs() {
    125135      try {
     136        jobObjects = new Dictionary<long, ListViewItem>();
    126137        IJobManager jobManager =
    127138          ServiceLocator.GetJobManager();
     
    140151          if (job.State == State.calculating) {
    141152            ListViewItem lvi = new ListViewItem(job.Id.ToString(), 0, lvJobCalculating);
     153            jobObjects.Add(job.Id, lvi);
    142154            tvJobControl.Nodes[0].Nodes.Add(job.Id.ToString());
    143155            lvJobControl.Items.Add(lvi);
     
    145157          } else if (job.State == State.finished) {
    146158            ListViewItem lvi = new ListViewItem(job.Id.ToString(), 0, lvJobFinished);
     159            jobObjects.Add(job.Id, lvi);
    147160            tvJobControl.Nodes[1].Nodes.Add(job.Id.ToString());
    148161            lvJobControl.Items.Add(lvi);
    149162          } else if (job.State == State.offline) {
    150163            ListViewItem lvi = new ListViewItem(job.Id.ToString(), 0, lvJobPending);
     164            jobObjects.Add(job.Id, lvi);
    151165            tvJobControl.Nodes[2].Nodes.Add(job.Id.ToString());
    152166            lvJobControl.Items.Add(lvi);
     
    171185    private void AddUsers() {
    172186      try {
     187        userGroupsObjects = new Dictionary<long, ListViewGroup>();
     188        userListObjects = new Dictionary<long, ListViewItem>();
    173189        IUserRoleManager userRoleManager =
    174190          ServiceLocator.GetUserRoleManager();
     
    187203              User users = permOwner as User;
    188204              tvUserControl.Nodes[tvUserControl.Nodes.Count - 1].Nodes.Add(users.Name);
    189               lvUserControl.Items.Add(new ListViewItem(users.Name, 0, lvg));
     205              ListViewItem item = new ListViewItem(users.Name, 0, lvg);
     206              lvUserControl.Items.Add(item);
     207              userListObjects.Add(users.Id, item);
    190208            }
    191209          }
    192210          lvUserControl.Groups.Add(lvg);
     211          userGroupsObjects.Add(ug.Id, lvg);
    193212
    194213        } // Users
     
    446465      }
    447466    }
     467
     468    private void updaterWoker_DoWork(object sender, DoWorkEventArgs e) {
     469      ResponseList<ClientInfo> clientInfoOld = clientInfo;
     470      IClientManager clientManager =
     471          ServiceLocator.GetClientManager();
     472      clientInfo = clientManager.GetAllClients();
     473      foreach (ClientInfo ci in clientInfo.List) {
     474        foreach (ClientInfo cio in clientInfoOld.List) {
     475          ci.Id.Equals(cio.Id);
     476        }
     477      }
     478     
     479    }
    448480    #endregion
    449 
    450481  }
    451482}
  • trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerManagementConsole.resx

    r1173 r1261  
    121121    <value>32, 12</value>
    122122  </metadata>
    123   <metadata name="ilJobControl.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    124     <value>471, 13</value>
    125   </metadata>
    126   <data name="ilJobControl.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
    127     <value>
    128         AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
    129         LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
    130         ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACc
    131         CQAAAk1TRnQBSQFMAwEBAAEEAQABBAEAASABAAEgAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
    132         AYADAAEgAwABAQEAAQgGAAEQGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA
    133         AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA
    134         AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm
    135         AwABmQMAAcwCAAEzAwACMwIAATMBZgIAATMBmQIAATMBzAIAATMB/wIAAWYDAAFmATMCAAJmAgABZgGZ
    136         AgABZgHMAgABZgH/AgABmQMAAZkBMwIAAZkBZgIAApkCAAGZAcwCAAGZAf8CAAHMAwABzAEzAgABzAFm
    137         AgABzAGZAgACzAIAAcwB/wIAAf8BZgIAAf8BmQIAAf8BzAEAATMB/wIAAf8BAAEzAQABMwEAAWYBAAEz
    138         AQABmQEAATMBAAHMAQABMwEAAf8BAAH/ATMCAAMzAQACMwFmAQACMwGZAQACMwHMAQACMwH/AQABMwFm
    139         AgABMwFmATMBAAEzAmYBAAEzAWYBmQEAATMBZgHMAQABMwFmAf8BAAEzAZkCAAEzAZkBMwEAATMBmQFm
    140         AQABMwKZAQABMwGZAcwBAAEzAZkB/wEAATMBzAIAATMBzAEzAQABMwHMAWYBAAEzAcwBmQEAATMCzAEA
    141         ATMBzAH/AQABMwH/ATMBAAEzAf8BZgEAATMB/wGZAQABMwH/AcwBAAEzAv8BAAFmAwABZgEAATMBAAFm
    142         AQABZgEAAWYBAAGZAQABZgEAAcwBAAFmAQAB/wEAAWYBMwIAAWYCMwEAAWYBMwFmAQABZgEzAZkBAAFm
    143         ATMBzAEAAWYBMwH/AQACZgIAAmYBMwEAA2YBAAJmAZkBAAJmAcwBAAFmAZkCAAFmAZkBMwEAAWYBmQFm
    144         AQABZgKZAQABZgGZAcwBAAFmAZkB/wEAAWYBzAIAAWYBzAEzAQABZgHMAZkBAAFmAswBAAFmAcwB/wEA
    145         AWYB/wIAAWYB/wEzAQABZgH/AZkBAAFmAf8BzAEAAcwBAAH/AQAB/wEAAcwBAAKZAgABmQEzAZkBAAGZ
    146         AQABmQEAAZkBAAHMAQABmQMAAZkCMwEAAZkBAAFmAQABmQEzAcwBAAGZAQAB/wEAAZkBZgIAAZkBZgEz
    147         AQABmQEzAWYBAAGZAWYBmQEAAZkBZgHMAQABmQEzAf8BAAKZATMBAAKZAWYBAAOZAQACmQHMAQACmQH/
    148         AQABmQHMAgABmQHMATMBAAFmAcwBZgEAAZkBzAGZAQABmQLMAQABmQHMAf8BAAGZAf8CAAGZAf8BMwEA
    149         AZkBzAFmAQABmQH/AZkBAAGZAf8BzAEAAZkC/wEAAcwDAAGZAQABMwEAAcwBAAFmAQABzAEAAZkBAAHM
    150         AQABzAEAAZkBMwIAAcwCMwEAAcwBMwFmAQABzAEzAZkBAAHMATMBzAEAAcwBMwH/AQABzAFmAgABzAFm
    151         ATMBAAGZAmYBAAHMAWYBmQEAAcwBZgHMAQABmQFmAf8BAAHMAZkCAAHMAZkBMwEAAcwBmQFmAQABzAKZ
    152         AQABzAGZAcwBAAHMAZkB/wEAAswCAALMATMBAALMAWYBAALMAZkBAAPMAQACzAH/AQABzAH/AgABzAH/
    153         ATMBAAGZAf8BZgEAAcwB/wGZAQABzAH/AcwBAAHMAv8BAAHMAQABMwEAAf8BAAFmAQAB/wEAAZkBAAHM
    154         ATMCAAH/AjMBAAH/ATMBZgEAAf8BMwGZAQAB/wEzAcwBAAH/ATMB/wEAAf8BZgIAAf8BZgEzAQABzAJm
    155         AQAB/wFmAZkBAAH/AWYBzAEAAcwBZgH/AQAB/wGZAgAB/wGZATMBAAH/AZkBZgEAAf8CmQEAAf8BmQHM
    156         AQAB/wGZAf8BAAH/AcwCAAH/AcwBMwEAAf8BzAFmAQAB/wHMAZkBAAH/AswBAAH/AcwB/wEAAv8BMwEA
    157         AcwB/wFmAQAC/wGZAQAC/wHMAQACZgH/AQABZgH/AWYBAAFmAv8BAAH/AmYBAAH/AWYB/wEAAv8BZgEA
    158         ASEBAAGlAQADXwEAA3cBAAOGAQADlgEAA8sBAAOyAQAD1wEAA90BAAPjAQAD6gEAA/EBAAP4AQAB8AH7
    159         Af8BAAGkAqABAAOAAwAB/wIAAf8DAAL/AQAB/wMAAf8BAAH/AQAC/wIAA///AP8ADAADoX0AA6F9AAGm
    160         AWUBpgKhewABZQEnAWUCoXsAAWUBKAENAWUBpgKheQABZQEoAicBZQKheQABZQMoAUgBZQGmAqF3AAFl
    161         A0kBKAEnAWUCoXcAAWUESQEoAUgBZQGmAqF1AAFlAkkBTwJJASgBJwFlAqF1AAFmAUkDTwJJASgBSAFl
    162         AaYCoXMAAYYBSQFPAXICTwJJASgBJwFlAqFzAAGGAk8BcgFQAk8CSQEoAUgBZQGmAqFxAAGGAU8BUAGX
    163         AnICTwJJAigBZQKhcQABhgFPAXIDlwFQAk8CSQFmAaYCoXEAAYYBTwFyBJcBcgFPAUkBbAGnAcdzAAGG
    164         AVABcgGXAXgBmAFyAU8CbAGGAccBoXMAAYYBUAFyAZcBmAEIAXIBSQFsAacBx3UAAYYBUAGXAZgBeAFy
    165         AW0BbAGGAccBoXUAAYYBcgF4AQgBcgFJAWwBpwHHdwABhgNyAW0BbAGGAccBoXcAAYYBcgFPAUkBbAGn
    166         Acd5AAGGAXICbAGGAccBoXkAAYYBcgGLAacBx3sAAYYBiwGGAccBoXsAAccBpwHHfQABoQHHAaH0AAFC
    167         AU0BPgcAAT4DAAEoAwABgAMAASADAAEBAQABAQYAAQIWAAP/AQAE/wwABP8MAAT/DAAE/wwAAf8BjwL/
    168         DAAB/wGPAv8MAAH/AYMC/wwAAf8BgwL/DAAB/wGAAv8MAAH/AYAC/wwAAf8BgAE/Af8MAAH/AYABPwH/
    169         DAAB/wGAAQ8B/wwAAf8BgAEPAf8MAAH/AYABAwH/DAAB/wGAAQMB/wwAAf8BgAEAAf8MAAH/AYABAAH/
    170         DAAB/wGAAQAB/wwAAf8BgAEDAf8MAAH/AYABAwH/DAAB/wGAAQ8B/wwAAf8BgAEPAf8MAAH/AYABPwH/
    171         DAAB/wGAAT8B/wwAAf8BgAL/DAAB/wGAAv8MAAH/AYMC/wwAAf8BgwL/DAAB/wGPAv8MAAH/AY8C/wwA
    172         BP8MAAs=
    173 </value>
    174   </data>
    175123  <metadata name="ilClientControl.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    176124    <value>129, 12</value>
     
    267215</value>
    268216  </data>
     217  <metadata name="ilJobControl.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     218    <value>471, 13</value>
     219  </metadata>
     220  <data name="ilJobControl.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
     221    <value>
     222        AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
     223        LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
     224        ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACc
     225        CQAAAk1TRnQBSQFMAwEBAAEEAQABBAEAASABAAEgAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
     226        AYADAAEgAwABAQEAAQgGAAEQGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA
     227        AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA
     228        AYABfAH/AQACUAH/AQABkwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFm
     229        AwABmQMAAcwCAAEzAwACMwIAATMBZgIAATMBmQIAATMBzAIAATMB/wIAAWYDAAFmATMCAAJmAgABZgGZ
     230        AgABZgHMAgABZgH/AgABmQMAAZkBMwIAAZkBZgIAApkCAAGZAcwCAAGZAf8CAAHMAwABzAEzAgABzAFm
     231        AgABzAGZAgACzAIAAcwB/wIAAf8BZgIAAf8BmQIAAf8BzAEAATMB/wIAAf8BAAEzAQABMwEAAWYBAAEz
     232        AQABmQEAATMBAAHMAQABMwEAAf8BAAH/ATMCAAMzAQACMwFmAQACMwGZAQACMwHMAQACMwH/AQABMwFm
     233        AgABMwFmATMBAAEzAmYBAAEzAWYBmQEAATMBZgHMAQABMwFmAf8BAAEzAZkCAAEzAZkBMwEAATMBmQFm
     234        AQABMwKZAQABMwGZAcwBAAEzAZkB/wEAATMBzAIAATMBzAEzAQABMwHMAWYBAAEzAcwBmQEAATMCzAEA
     235        ATMBzAH/AQABMwH/ATMBAAEzAf8BZgEAATMB/wGZAQABMwH/AcwBAAEzAv8BAAFmAwABZgEAATMBAAFm
     236        AQABZgEAAWYBAAGZAQABZgEAAcwBAAFmAQAB/wEAAWYBMwIAAWYCMwEAAWYBMwFmAQABZgEzAZkBAAFm
     237        ATMBzAEAAWYBMwH/AQACZgIAAmYBMwEAA2YBAAJmAZkBAAJmAcwBAAFmAZkCAAFmAZkBMwEAAWYBmQFm
     238        AQABZgKZAQABZgGZAcwBAAFmAZkB/wEAAWYBzAIAAWYBzAEzAQABZgHMAZkBAAFmAswBAAFmAcwB/wEA
     239        AWYB/wIAAWYB/wEzAQABZgH/AZkBAAFmAf8BzAEAAcwBAAH/AQAB/wEAAcwBAAKZAgABmQEzAZkBAAGZ
     240        AQABmQEAAZkBAAHMAQABmQMAAZkCMwEAAZkBAAFmAQABmQEzAcwBAAGZAQAB/wEAAZkBZgIAAZkBZgEz
     241        AQABmQEzAWYBAAGZAWYBmQEAAZkBZgHMAQABmQEzAf8BAAKZATMBAAKZAWYBAAOZAQACmQHMAQACmQH/
     242        AQABmQHMAgABmQHMATMBAAFmAcwBZgEAAZkBzAGZAQABmQLMAQABmQHMAf8BAAGZAf8CAAGZAf8BMwEA
     243        AZkBzAFmAQABmQH/AZkBAAGZAf8BzAEAAZkC/wEAAcwDAAGZAQABMwEAAcwBAAFmAQABzAEAAZkBAAHM
     244        AQABzAEAAZkBMwIAAcwCMwEAAcwBMwFmAQABzAEzAZkBAAHMATMBzAEAAcwBMwH/AQABzAFmAgABzAFm
     245        ATMBAAGZAmYBAAHMAWYBmQEAAcwBZgHMAQABmQFmAf8BAAHMAZkCAAHMAZkBMwEAAcwBmQFmAQABzAKZ
     246        AQABzAGZAcwBAAHMAZkB/wEAAswCAALMATMBAALMAWYBAALMAZkBAAPMAQACzAH/AQABzAH/AgABzAH/
     247        ATMBAAGZAf8BZgEAAcwB/wGZAQABzAH/AcwBAAHMAv8BAAHMAQABMwEAAf8BAAFmAQAB/wEAAZkBAAHM
     248        ATMCAAH/AjMBAAH/ATMBZgEAAf8BMwGZAQAB/wEzAcwBAAH/ATMB/wEAAf8BZgIAAf8BZgEzAQABzAJm
     249        AQAB/wFmAZkBAAH/AWYBzAEAAcwBZgH/AQAB/wGZAgAB/wGZATMBAAH/AZkBZgEAAf8CmQEAAf8BmQHM
     250        AQAB/wGZAf8BAAH/AcwCAAH/AcwBMwEAAf8BzAFmAQAB/wHMAZkBAAH/AswBAAH/AcwB/wEAAv8BMwEA
     251        AcwB/wFmAQAC/wGZAQAC/wHMAQACZgH/AQABZgH/AWYBAAFmAv8BAAH/AmYBAAH/AWYB/wEAAv8BZgEA
     252        ASEBAAGlAQADXwEAA3cBAAOGAQADlgEAA8sBAAOyAQAD1wEAA90BAAPjAQAD6gEAA/EBAAP4AQAB8AH7
     253        Af8BAAGkAqABAAOAAwAB/wIAAf8DAAL/AQAB/wMAAf8BAAH/AQAC/wIAA///AP8ADAADoX0AA6F9AAGm
     254        AWUBpgKhewABZQEnAWUCoXsAAWUBKAENAWUBpgKheQABZQEoAicBZQKheQABZQMoAUgBZQGmAqF3AAFl
     255        A0kBKAEnAWUCoXcAAWUESQEoAUgBZQGmAqF1AAFlAkkBTwJJASgBJwFlAqF1AAFmAUkDTwJJASgBSAFl
     256        AaYCoXMAAYYBSQFPAXICTwJJASgBJwFlAqFzAAGGAk8BcgFQAk8CSQEoAUgBZQGmAqFxAAGGAU8BUAGX
     257        AnICTwJJAigBZQKhcQABhgFPAXIDlwFQAk8CSQFmAaYCoXEAAYYBTwFyBJcBcgFPAUkBbAGnAcdzAAGG
     258        AVABcgGXAXgBmAFyAU8CbAGGAccBoXMAAYYBUAFyAZcBmAEIAXIBSQFsAacBx3UAAYYBUAGXAZgBeAFy
     259        AW0BbAGGAccBoXUAAYYBcgF4AQgBcgFJAWwBpwHHdwABhgNyAW0BbAGGAccBoXcAAYYBcgFPAUkBbAGn
     260        Acd5AAGGAXICbAGGAccBoXkAAYYBcgGLAacBx3sAAYYBiwGGAccBoXsAAccBpwHHfQABoQHHAaH0AAFC
     261        AU0BPgcAAT4DAAEoAwABgAMAASADAAEBAQABAQYAAQIWAAP/AQAE/wwABP8MAAT/DAAE/wwAAf8BjwL/
     262        DAAB/wGPAv8MAAH/AYMC/wwAAf8BgwL/DAAB/wGAAv8MAAH/AYAC/wwAAf8BgAE/Af8MAAH/AYABPwH/
     263        DAAB/wGAAQ8B/wwAAf8BgAEPAf8MAAH/AYABAwH/DAAB/wGAAQMB/wwAAf8BgAEAAf8MAAH/AYABAAH/
     264        DAAB/wGAAQAB/wwAAf8BgAEDAf8MAAH/AYABAwH/DAAB/wGAAQ8B/wwAAf8BgAEPAf8MAAH/AYABPwH/
     265        DAAB/wGAAT8B/wwAAf8BgAL/DAAB/wGAAv8MAAH/AYMC/wwAAf8BgwL/DAAB/wGPAv8MAAH/AY8C/wwA
     266        BP8MAAs=
     267</value>
     268  </data>
    269269  <metadata name="ilUserControl.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    270270    <value>231, 9</value>
     
    275275        LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
    276276        ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACs
    277         CwAAAk1TRnQBSQFMAwEBAAEFAQABBAEAASABAAEgAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
     277        CwAAAk1TRnQBSQFMAwEBAAEEAQABBAEAASABAAEgAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMA
    278278        AYADAAEgAwABAQEAAQgGAAEQGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEA
    279279        AfABygGmAQABMwUAATMBAAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEA
     
    319319        AnQBbgESARQBFQFmAaFpAAGGAnQBGgLDARoBmgGZARICpwGuA+wB6wFtAeoBEwEUAYYBoWkAAacBdAFz
    320320        ARwBGgHDARoBmgGZAWcBxAGhAc8C7AHrAm0B6gIUAacBoWkAAacBrgEcAXQBcwFSAXQBkwFzARMBhgGh
    321         AqcBhgKuAYYB6gGGAacCoWkAAaEBhgHuApkBcwFRA0sBFAGFAaEDAAOhbQACoQG1AfADmQF5ARwBdAFt
     321        AqcBhgKuAYYB6gGGAacCoWkAAaEBhgG8ApkBcwFRA0sBFAGFAaEDAAOhbQACoQG1AfADmQF5ARwBdAFt
    322322        AQQBoQMAA6FvAAGnAc8B7wKZARwBcwGuAad3AAGhB6cBofIAAUIBTQE+BwABPgMAASgDAAGAAwABIAMA
    323323        AQEBAAEBBgABAhYAA/8BAAL/AfgBPwwAAv8B+AE/DAAB/wH+DgAB/wH+DgAB/wH4DgAB/wH4DgABgA8A
     
    333333    <value>580, 13</value>
    334334  </metadata>
     335  <metadata name="updaterWoker.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
     336    <value>17, 50</value>
     337  </metadata>
    335338</root>
Note: See TracChangeset for help on using the changeset viewer.