Free cookie consent management tool by TermsFeed Policy Generator

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

#1233

  • fixed Admin Views plugin dependencies
  • use settings instead of magic numbers and strings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/SlaveView.cs

    r6371 r6456  
    2929using System.Windows.Forms;
    3030using System.Windows.Forms.DataVisualization.Charting;
     31using HeuristicLab.Clients.Hive.SlaveCore.Views.Properties;
    3132using HeuristicLab.Common;
    3233using HeuristicLab.Core.Views;
     
    245246    private void ElevateApplication() {
    246247      // launch itself as administrator
    247       ProcessStartInfo proc = new ProcessStartInfo(Application.ExecutablePath, "showui");
     248      ProcessStartInfo proc = new ProcessStartInfo(Application.ExecutablePath, Settings.Default.ShowUICmd);
    248249      proc.UseShellExecute = true;
    249250      proc.WorkingDirectory = Environment.CurrentDirectory;
Note: See TracChangeset for help on using the changeset viewer.