Changeset 6456 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon
- Timestamp:
- 06/20/11 16:57:04 (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/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon.csproj
r6257 r6456 44 44 </PropertyGroup> 45 45 <ItemGroup> 46 <Reference Include="HeuristicLab.Algorithms.DataAnalysis-3.3">47 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Algorithms.DataAnalysis-3.3.dll</HintPath>48 </Reference>49 46 <Reference Include="HeuristicLab.Common-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 50 47 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Common-3.3.dll</HintPath> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.SlaveTrayIcon/Program.cs
r6371 r6456 5 5 using System.Windows.Forms; 6 6 using HeuristicLab.Clients.Hive.SlaveCore.Views; 7 using HeuristicLab.Clients.Hive.SlaveCore.Views.Properties; 7 8 8 9 namespace HeuristicLab.Clients.Hive.SlaveCore.SlaveTrayIcon { … … 13 14 [STAThread] 14 15 static void Main(string[] args) { 15 if (args.Length < 1 || (args.Length > 0 && args[0] != "showui")) {16 if (args.Length < 1 || (args.Length > 0 && args[0] != Settings.Default.ShowUICmd)) { 16 17 KillOtherInstances(); 17 18 } … … 20 21 Application.SetCompatibleTextRenderingDefault(false); 21 22 MainWindow mw = new MainWindow(); 22 if (args.Length < 1 || (args.Length > 0 && args[0] != "showui")) {23 if (args.Length < 1 || (args.Length > 0 && args[0] != Settings.Default.ShowUICmd)) { 23 24 mw.MinimizeToTray(); 24 } else if (args.Length > 0 && args[0] == "showui") {25 } else if (args.Length > 0 && args[0] == Settings.Default.ShowUICmd) { 25 26 mw.RestoreFromTray(); 26 27 }
Note: See TracChangeset
for help on using the changeset viewer.