Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1016


Ignore:
Timestamp:
12/17/08 16:32:16 (16 years ago)
Author:
whackl
Message:

Bug fixed (#397)

Location:
trunk/sources/HeuristicLab.Hive.Client.Console
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Console/HiveClientConsole.cs

    r1013 r1016  
    8484    private void ConnectToClient() {
    8585      try {
    86         cccc = new ClientConsoleCommunicatorClient();
     86        cccc = new ClientConsoleCommunicatorClient(new NetTcpBinding(), new EndpointAddress("net.tcp://127.0.0.1:8000/ClientConsole/ClientConsoleCommunicator"));
    8787        cccc.GetStatusInfosCompleted += new EventHandler<GetStatusInfosCompletedEventArgs>(cccc_GetStatusInfosCompleted);
    8888        cccc.GetCurrentConnectionCompleted += new EventHandler<GetCurrentConnectionCompletedEventArgs>(cccc_GetCurrentConnectionCompleted);
     
    110110
    111111        lbGuid.Text = sc.ClientGuid.ToString();
    112         lbCs.Text = sc.ConnectedSince.ToString();
    113112        lbConnectionStatus.Text = sc.Status.ToString();
    114113        lbJobdone.Text = sc.JobsDone.ToString();
     
    139138          btConnect.Enabled = false;
    140139          btnDisconnect.Enabled = true;
     140          lbCs.Text = sc.ConnectedSince.ToString();
    141141          cccc.GetCurrentConnectionAsync();
    142142        } else if (sc.Status == NetworkEnumWcfConnState.Disconnected) {
    143143          btConnect.Enabled = true;
    144144          btnDisconnect.Enabled = false;
     145          lbCs.Text = String.Empty;
    145146        } else if (sc.Status == NetworkEnumWcfConnState.Failed) {
    146147          btConnect.Enabled = true;
    147148          btnDisconnect.Enabled = false;
     149          lbCs.Text = String.Empty;
    148150        }
    149151      }
  • trunk/sources/HeuristicLab.Hive.Client.Console/ListViewColumnSorterDate.cs

    r1013 r1016  
    5454      DateTime listviewDateY = new DateTime();
    5555
    56       if (DateTime.TryParse(listviewX.SubItems[ColumnToSort].Text, out listviewDateX) && DateTime.TryParse(listviewY.SubItems[ColumnToSort].Text, out listviewDateX)) {
     56      if (DateTime.TryParse(listviewX.SubItems[ColumnToSort].Text, out listviewDateX) && DateTime.TryParse(listviewY.SubItems[ColumnToSort].Text, out listviewDateY)) {
    5757        compareResult = DateTime.Compare(listviewDateX, listviewDateY);
    5858      } else {
Note: See TracChangeset for help on using the changeset viewer.