Changeset 6371 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon
- Timestamp:
- 06/06/11 18:33:03 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon/MainWindow.Designer.cs
r6263 r6371 189 189 this.tabAbout.Location = new System.Drawing.Point(4, 22); 190 190 this.tabAbout.Name = "tabAbout"; 191 this.tabAbout.Size = new System.Drawing.Size(5 77, 347);191 this.tabAbout.Size = new System.Drawing.Size(597, 367); 192 192 this.tabAbout.TabIndex = 2; 193 193 this.tabAbout.Text = "About HeuristicLab Hive"; … … 215 215 this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); 216 216 this.Name = "MainWindow"; 217 this.Text = "HeuristicLab Hive Slave View";217 this.Text = "HeuristicLab Hive Slave"; 218 218 this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainWindow_FormClosing); 219 219 this.contextMenuNotifyIcon.ResumeLayout(false); -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon/Program.cs
r6257 r6371 25 25 mw.RestoreFromTray(); 26 26 } 27 28 27 29 28 mw.Content = new SlaveItem(); 30 31 29 Application.Run(); 32 30 } … … 36 34 /// (based on http://www.codeproject.com/KB/cs/processownersid.aspx) 37 35 /// </summary> 38 p ublicstatic string GetProcessOwner(int pid) {36 private static string GetProcessOwner(int pid) { 39 37 string ownerSID = String.Empty; 40 38 string processName = String.Empty; … … 59 57 60 58 /// <summary> 61 /// kill all other slave tray icons, we only want 1 running at a time59 /// Kill all other slave tray icons, we only want 1 running at a time 62 60 /// (and if a newer version is installed the older one should be killed) 63 61 /// </summary>
Note: See TracChangeset
for help on using the changeset viewer.