Changeset 1016
- Timestamp:
- 12/17/08 16:32:16 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Client.Console
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Console/HiveClientConsole.cs
r1013 r1016 84 84 private void ConnectToClient() { 85 85 try { 86 cccc = new ClientConsoleCommunicatorClient( );86 cccc = new ClientConsoleCommunicatorClient(new NetTcpBinding(), new EndpointAddress("net.tcp://127.0.0.1:8000/ClientConsole/ClientConsoleCommunicator")); 87 87 cccc.GetStatusInfosCompleted += new EventHandler<GetStatusInfosCompletedEventArgs>(cccc_GetStatusInfosCompleted); 88 88 cccc.GetCurrentConnectionCompleted += new EventHandler<GetCurrentConnectionCompletedEventArgs>(cccc_GetCurrentConnectionCompleted); … … 110 110 111 111 lbGuid.Text = sc.ClientGuid.ToString(); 112 lbCs.Text = sc.ConnectedSince.ToString();113 112 lbConnectionStatus.Text = sc.Status.ToString(); 114 113 lbJobdone.Text = sc.JobsDone.ToString(); … … 139 138 btConnect.Enabled = false; 140 139 btnDisconnect.Enabled = true; 140 lbCs.Text = sc.ConnectedSince.ToString(); 141 141 cccc.GetCurrentConnectionAsync(); 142 142 } else if (sc.Status == NetworkEnumWcfConnState.Disconnected) { 143 143 btConnect.Enabled = true; 144 144 btnDisconnect.Enabled = false; 145 lbCs.Text = String.Empty; 145 146 } else if (sc.Status == NetworkEnumWcfConnState.Failed) { 146 147 btConnect.Enabled = true; 147 148 btnDisconnect.Enabled = false; 149 lbCs.Text = String.Empty; 148 150 } 149 151 } -
trunk/sources/HeuristicLab.Hive.Client.Console/ListViewColumnSorterDate.cs
r1013 r1016 54 54 DateTime listviewDateY = new DateTime(); 55 55 56 if (DateTime.TryParse(listviewX.SubItems[ColumnToSort].Text, out listviewDateX) && DateTime.TryParse(listviewY.SubItems[ColumnToSort].Text, out listviewDate X)) {56 if (DateTime.TryParse(listviewX.SubItems[ColumnToSort].Text, out listviewDateX) && DateTime.TryParse(listviewY.SubItems[ColumnToSort].Text, out listviewDateY)) { 57 57 compareResult = DateTime.Compare(listviewDateX, listviewDateY); 58 58 } else {
Note: See TracChangeset
for help on using the changeset viewer.