void m_connector_ConnectionOpened(object sender, ProviderConnectionOpenedArgs <IProvider> e)
 {
     try
     {
         m_receiver.ConnectionCompleted();
     }
     catch (CommunicationException)
     {
         // not a big deal, our closed event will do appropriate cleanup
     }
     catch (TimeoutException)
     {
         // not a big deal, our closed event will do appropriate cleanup
     }
 }
 void m_connector_ConnectionOpened(
     object sender, ProviderConnectionOpenedArgs <IProvider> e)
 {
     try
     {
         m_connector.Connection.SetUserName(m_name);
         m_receiver.ConnectionCompleted();
     }
     catch (CommunicationException)
     {
         // the closed event will do the appropriate cleanup
     }
     catch (TimeoutException)
     {
         // the closed event will do the appropriate cleanup
     }
 }
 void m_connector_ConnectionOpened(
     object sender, ProviderConnectionOpenedArgs<IProvider> e)
 {
     try
     {
         m_connector.Connection.SetUserName(m_name);
         m_receiver.ConnectionCompleted();
     }
     catch (CommunicationException)
     {
         // the closed event will do the appropriate cleanup
     }
     catch (TimeoutException)
     {
         // the closed event will do the appropriate cleanup
     }
 }
 void m_connector_ConnectionOpened(object sender, ProviderConnectionOpenedArgs<IProvider> e)
 {
     try
     {
         m_receiver.ConnectionCompleted();
     }
     catch (CommunicationException)
     {
         // not a big deal, our closed event will do appropriate cleanup
     }
     catch (TimeoutException)
     {
         // not a big deal, our closed event will do appropriate cleanup
     }
 }