private void InnerChannel_Closed(object sender, EventArgs e)
 {
     _calypsoServiceClient.InnerChannel.Opened  -= InnerChannel_Opened;
     _calypsoServiceClient.InnerChannel.Closed  -= InnerChannel_Closed;
     _calypsoServiceClient.InnerChannel.Faulted -= InnerChannel_Faulted;
     _calypsoServiceClient = null;
 }
 private void OpenCalypsoService()
 {
     _calypsoServiceClient = new CalypsoServiceClient();
     _calypsoServiceClient.InnerChannel.Opened  += InnerChannel_Opened;
     _calypsoServiceClient.InnerChannel.Closed  += InnerChannel_Closed;
     _calypsoServiceClient.InnerChannel.Faulted += InnerChannel_Faulted;
     _calypsoServiceClient.Open();
     Connected = true;
 }