Changeset 6257 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon
- Timestamp:
- 05/23/11 21:31:48 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon.csproj
r6225 r6257 79 79 <SubType>Form</SubType> 80 80 </Compile> 81 <Compile Include="MainWindow. Designer.cs">81 <Compile Include="MainWindow.designer.cs"> 82 82 <DependentUpon>MainWindow.cs</DependentUpon> 83 83 </Compile> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon/MainWindow.Designer.cs
r6225 r6257 29 29 this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components); 30 30 this.contextMenuNotifyIcon = new System.Windows.Forms.ContextMenuStrip(this.components); 31 this.homepageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 32 this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator(); 31 33 this.showToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 32 34 this.closeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 33 this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();34 this.homepageToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();35 35 this.mainTabControl = new System.Windows.Forms.TabControl(); 36 36 this.tabSlaveView = new System.Windows.Forms.TabPage(); … … 69 69 this.contextMenuNotifyIcon.Size = new System.Drawing.Size(210, 98); 70 70 // 71 // showToolStripMenuItem72 //73 this.showToolStripMenuItem.Name = "showToolStripMenuItem";74 this.showToolStripMenuItem.Size = new System.Drawing.Size(209, 22);75 this.showToolStripMenuItem.Text = "Show";76 this.showToolStripMenuItem.Click += new System.EventHandler(this.showToolStripMenuItem_Click);77 //78 // closeToolStripMenuItem79 //80 this.closeToolStripMenuItem.Name = "closeToolStripMenuItem";81 this.closeToolStripMenuItem.Size = new System.Drawing.Size(209, 22);82 this.closeToolStripMenuItem.Text = "Close";83 this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click);84 //85 // toolStripSeparator86 //87 this.toolStripSeparator.Name = "toolStripSeparator";88 this.toolStripSeparator.Size = new System.Drawing.Size(206, 6);89 //90 71 // homepageToolStripMenuItem 91 72 // … … 95 76 this.homepageToolStripMenuItem.Text = "Visit dev.heuristiclab.com"; 96 77 this.homepageToolStripMenuItem.Click += new System.EventHandler(this.homepageToolStripMenuItem_Click); 78 // 79 // toolStripSeparator 80 // 81 this.toolStripSeparator.Name = "toolStripSeparator"; 82 this.toolStripSeparator.Size = new System.Drawing.Size(206, 6); 83 // 84 // showToolStripMenuItem 85 // 86 this.showToolStripMenuItem.Name = "showToolStripMenuItem"; 87 this.showToolStripMenuItem.Size = new System.Drawing.Size(209, 22); 88 this.showToolStripMenuItem.Text = "Show"; 89 this.showToolStripMenuItem.Click += new System.EventHandler(this.showToolStripMenuItem_Click); 90 // 91 // closeToolStripMenuItem 92 // 93 this.closeToolStripMenuItem.Name = "closeToolStripMenuItem"; 94 this.closeToolStripMenuItem.Size = new System.Drawing.Size(209, 22); 95 this.closeToolStripMenuItem.Text = "Close"; 96 this.closeToolStripMenuItem.Click += new System.EventHandler(this.closeToolStripMenuItem_Click); 97 97 // 98 98 // mainTabControl … … 107 107 this.mainTabControl.Name = "mainTabControl"; 108 108 this.mainTabControl.SelectedIndex = 0; 109 this.mainTabControl.Size = new System.Drawing.Size(581, 3 03);109 this.mainTabControl.Size = new System.Drawing.Size(581, 369); 110 110 this.mainTabControl.TabIndex = 1; 111 111 // … … 116 116 this.tabSlaveView.Name = "tabSlaveView"; 117 117 this.tabSlaveView.Padding = new System.Windows.Forms.Padding(3); 118 this.tabSlaveView.Size = new System.Drawing.Size(573, 277);118 this.tabSlaveView.Size = new System.Drawing.Size(573, 343); 119 119 this.tabSlaveView.TabIndex = 0; 120 120 this.tabSlaveView.Text = "Overview"; … … 131 131 this.slaveView.Name = "slaveView"; 132 132 this.slaveView.ReadOnly = false; 133 this.slaveView.Size = new System.Drawing.Size(561, 265);133 this.slaveView.Size = new System.Drawing.Size(561, 331); 134 134 this.slaveView.TabIndex = 0; 135 135 // … … 185 185 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 186 186 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 187 this.ClientSize = new System.Drawing.Size(605, 3 27);187 this.ClientSize = new System.Drawing.Size(605, 393); 188 188 this.Controls.Add(this.mainTabControl); 189 189 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon/MainWindow.cs
r6225 r6257 49 49 } 50 50 51 p rivatevoid RestoreFromTray() {51 public void RestoreFromTray() { 52 52 Show(); 53 53 WindowState = FormWindowState.Normal; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon/Program.cs
r6116 r6257 12 12 /// </summary> 13 13 [STAThread] 14 static void Main() { 15 KillOtherInstances(); 14 static void Main(string[] args) { 15 if (args.Length < 1 || (args.Length > 0 && args[0] != "showui")) { 16 KillOtherInstances(); 17 } 16 18 17 19 Application.EnableVisualStyles(); 18 20 Application.SetCompatibleTextRenderingDefault(false); 19 21 MainWindow mw = new MainWindow(); 20 mw.MinimizeToTray(); 22 if (args.Length < 1 || (args.Length > 0 && args[0] != "showui")) { 23 mw.MinimizeToTray(); 24 } else if (args.Length > 0 && args[0] == "showui") { 25 mw.RestoreFromTray(); 26 } 27 28 21 29 mw.Content = new SlaveItem(); 22 30
Note: See TracChangeset
for help on using the changeset viewer.