- Timestamp:
- 06/20/11 16:57:04 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/Properties/Settings.Designer.cs
r6225 r6456 35 35 } 36 36 } 37 38 [global::System.Configuration.UserScopedSettingAttribute()] 39 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 40 [global::System.Configuration.DefaultSettingValueAttribute("showui")] 41 public string ShowUICmd { 42 get { 43 return ((string)(this["ShowUICmd"])); 44 } 45 set { 46 this["ShowUICmd"] = value; 47 } 48 } 49 50 [global::System.Configuration.UserScopedSettingAttribute()] 51 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 52 [global::System.Configuration.DefaultSettingValueAttribute("SlaveCommunicationServiceEndpoint")] 53 public string SlaveCommunicationServiceEndpoint { 54 get { 55 return ((string)(this["SlaveCommunicationServiceEndpoint"])); 56 } 57 set { 58 this["SlaveCommunicationServiceEndpoint"] = value; 59 } 60 } 37 61 } 38 62 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/Properties/Settings.settings
r6225 r6456 6 6 <Value Profile="(Default)">False</Value> 7 7 </Setting> 8 <Setting Name="ShowUICmd" Type="System.String" Scope="User"> 9 <Value Profile="(Default)">showui</Value> 10 </Setting> 11 <Setting Name="SlaveCommunicationServiceEndpoint" Type="System.String" Scope="User"> 12 <Value Profile="(Default)">SlaveCommunicationServiceEndpoint</Value> 13 </Setting> 8 14 </Settings> 9 15 </SettingsFile> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/SlaveItem.cs
r6372 r6456 23 23 using System.ServiceModel; 24 24 using HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts; 25 using HeuristicLab.Clients.Hive.SlaveCore.Views.Properties; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 80 81 public void Open() { 81 82 try { 82 pipeFactory = new DuplexChannelFactory<ISlaveCommunication>(this, "SlaveCommunicationServiceEndpoint");83 pipeFactory = new DuplexChannelFactory<ISlaveCommunication>(this, Settings.Default.SlaveCommunicationServiceEndpoint); 83 84 RegisterEvents(); 84 85 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/SlaveView.cs
r6371 r6456 29 29 using System.Windows.Forms; 30 30 using System.Windows.Forms.DataVisualization.Charting; 31 using HeuristicLab.Clients.Hive.SlaveCore.Views.Properties; 31 32 using HeuristicLab.Common; 32 33 using HeuristicLab.Core.Views; … … 245 246 private void ElevateApplication() { 246 247 // launch itself as administrator 247 ProcessStartInfo proc = new ProcessStartInfo(Application.ExecutablePath, "showui");248 ProcessStartInfo proc = new ProcessStartInfo(Application.ExecutablePath, Settings.Default.ShowUICmd); 248 249 proc.UseShellExecute = true; 249 250 proc.WorkingDirectory = Environment.CurrentDirectory; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/app.config
r6225 r6456 11 11 <value>False</value> 12 12 </setting> 13 <setting name="ShowUICmd" serializeAs="String"> 14 <value>showui</value> 15 </setting> 16 <setting name="SlaveCommunicationServiceEndpoint" serializeAs="String"> 17 <value>SlaveCommunicationServiceEndpoint</value> 18 </setting> 13 19 </HeuristicLab.Clients.Hive.SlaveCore.Views.Properties.Settings> 14 20 </userSettings>
Note: See TracChangeset
for help on using the changeset viewer.