Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/20/11 16:57:04 (14 years ago)
Author:
ascheibe
Message:

#1233

  • fixed Admin Views plugin dependencies
  • use settings instead of magic numbers and strings
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  
    4444  </PropertyGroup>
    4545  <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>
    4946    <Reference Include="HeuristicLab.Common-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    5047      <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  
    55using System.Windows.Forms;
    66using HeuristicLab.Clients.Hive.SlaveCore.Views;
     7using HeuristicLab.Clients.Hive.SlaveCore.Views.Properties;
    78
    89namespace HeuristicLab.Clients.Hive.SlaveCore.SlaveTrayIcon {
     
    1314    [STAThread]
    1415    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)) {
    1617        KillOtherInstances();
    1718      }
     
    2021      Application.SetCompatibleTextRenderingDefault(false);
    2122      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)) {
    2324        mw.MinimizeToTray();
    24       } else if (args.Length > 0 && args[0] == "showui") {
     25      } else if (args.Length > 0 && args[0] == Settings.Default.ShowUICmd) {
    2526        mw.RestoreFromTray();
    2627      }
Note: See TracChangeset for help on using the changeset viewer.