Changeset 799
- Timestamp:
- 11/20/08 17:47:19 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Server.Console
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Console/HeuristicLab.Hive.Server.Console.csproj
r794 r799 39 39 <Reference Include="System.Core"> 40 40 <RequiredTargetFramework>3.5</RequiredTargetFramework> 41 </Reference> 42 <Reference Include="System.ServiceModel"> 43 <RequiredTargetFramework>3.0</RequiredTargetFramework> 41 44 </Reference> 42 45 <Reference Include="System.Xml.Linq"> … … 98 101 <DesignTimeSharedInput>True</DesignTimeSharedInput> 99 102 </Compile> 103 <Compile Include="ServiceLocator.cs" /> 100 104 </ItemGroup> 101 105 <ItemGroup> 106 <ProjectReference Include="..\HeuristicLab.Hive.Contracts\HeuristicLab.Hive.Contracts.csproj"> 107 <Project>{134F93D7-E7C8-4ECD-9923-7F63259A60D8}</Project> 108 <Name>HeuristicLab.Hive.Contracts</Name> 109 </ProjectReference> 102 110 <ProjectReference Include="..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj"> 103 111 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project> -
trunk/sources/HeuristicLab.Hive.Server.Console/HiveServerConsole.cs
r794 r799 28 28 using System.Text; 29 29 using System.Windows.Forms; 30 using HeuristicLab.Hive.Contracts.Interfaces; 31 using HeuristicLab.Hive.Contracts.BusinessObjects; 30 32 31 33 namespace HeuristicLab.Hive.Server.Console { … … 37 39 public HiveServerConsole() { 38 40 InitializeComponent(); 39 tbIp.Text = " 010.020.053.006";41 tbIp.Text = "10.20.53.1"; 40 42 } 41 43 … … 52 54 private void btnLogin_Click(object sender, EventArgs e) { 53 55 if (ipIsValid()) { 56 string newIp = tbIp.Text; 57 newIp = newIp.Replace(" ", ""); 58 59 ServiceLocator.Address = newIp; 60 ServiceLocator.Port = this.tbPort.Text; 61 62 IClientManager clientManager = 63 ServiceLocator.GetClientManager(); 64 65 List<ClientInfo> clients = 66 clientManager.GetAllClients(); 67 54 68 this.Visible = false; 55 69 information = new HiveServerManagementConsole(); … … 61 75 62 76 private static bool ipIsValid() { 77 63 78 // TODO IP-Adress validation 64 79 return true;
Note: See TracChangeset
for help on using the changeset viewer.