- Timestamp:
- 09/09/11 20:19:43 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.App/3.3
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.App/3.3/HeuristicLab.Clients.Hive.Slave.App-3.3.csproj
r6704 r6730 57 57 <HintPath>..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Core-3.3.dll</HintPath> 58 58 </Reference> 59 <Reference Include="HeuristicLab.Core.Views-3.3"> 60 <HintPath>..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.Core.Views-3.3.dll</HintPath> 61 </Reference> 62 <Reference Include="HeuristicLab.MainForm-3.3"> 63 <HintPath>..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm-3.3.dll</HintPath> 64 </Reference> 65 <Reference Include="HeuristicLab.MainForm.WindowsForms-3.3"> 66 <HintPath>..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm.WindowsForms-3.3.dll</HintPath> 67 </Reference> 59 68 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 60 69 <HintPath>..\..\..\..\..\Program Files\HeuristicLab 3.3\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> … … 74 83 <Compile Include="HeuristicLabClientsHiveSlaveAppPlugin.cs" /> 75 84 <Compile Include="HiveSlaveApplication.cs" /> 85 <Compile Include="MainWindow.cs"> 86 <SubType>Form</SubType> 87 </Compile> 88 <Compile Include="MainWindow.Designer.cs"> 89 <DependentUpon>MainWindow.cs</DependentUpon> 90 </Compile> 76 91 <Compile Include="Properties\AssemblyInfo.cs" /> 92 <EmbeddedResource Include="MainWindow.resx"> 93 <DependentUpon>MainWindow.cs</DependentUpon> 94 </EmbeddedResource> 77 95 <EmbeddedResource Include="Properties\Resources.resx"> 78 96 <Generator>ResXFileCodeGenerator</Generator> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.App/3.3/HiveSlaveApplication.cs
r6712 r6730 20 20 #endregion 21 21 22 using System; 23 using System.Collections.Generic; 24 using System.Linq; 22 using System.Threading; 25 23 using System.Windows.Forms; 24 using HeuristicLab.Clients.Hive.SlaveCore.Views; 26 25 using HeuristicLab.PluginInfrastructure; 27 using HeuristicLab.Clients.Hive.SlaveCore.Views;28 using System.Threading;29 26 30 27 namespace HeuristicLab.Clients.Hive.Slave.App { 31 28 [Application("Hive Slave", "Runs the Hive Slave as a HeuristicLab application")] 32 29 internal class HiveSlaveApplication : ApplicationBase { 30 public override void Run() { 31 HeuristicLab.Clients.Hive.SlaveCore.Core core = new HeuristicLab.Clients.Hive.SlaveCore.Core(); 32 Thread coreThread = new Thread(core.Start); 33 coreThread.IsBackground = true; 34 coreThread.Start(); 33 35 34 public override void Run() { 35 36 36 SlaveItem item = new SlaveItem(); 37 MainWindow window = new MainWindow(); 38 window.SetContent(item); 39 Application.Run(window); 40 41 core.Shutdown(); 37 42 } 38 43 }
Note: See TracChangeset
for help on using the changeset viewer.