private void CrmLoginCtrl_ConnectionStatusEvent(object sender, ConnectStatusEventArgs e)
 {
     if (e.ConnectSucceeded && !bIsConnectedComplete)
     {
         ProcessSuccess();
     }
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Login control connect check status event.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void CrmLoginCtrl_ConnectionStatusEvent(object sender, ConnectStatusEventArgs e)
 {
     //Here we are using the bIsConnectedComplete bool to check to make sure we only process this call once.
     if (e.ConnectSucceeded && !bIsConnectedComplete)
     {
         ProcessSuccess();
     }
 }
 /// <summary>
 /// Login control connect check status event.
 /// </summary>
 /// <param name="sender">The Sender</param>
 /// <param name="e">The <see cref="ConnectStatusEventArgs"/> instance containing the event data.</param>
 private void CrmLoginControl_ConnectionStatusEventRaised(object sender, ConnectStatusEventArgs e)
 {
     // Here we are using the loginState bool to check and make sure we only process this call once.
     if (e.ConnectSucceeded && !this.connectionState)
     {
         this.ProcessSuccess();
     }
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Login control connect check status event. 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void CrmLoginCtrl_ConnectionStatusEvent(object sender, ConnectStatusEventArgs e)
        {
            //Here we are using the bIsConnectedComplete bool to check to make sure we only process this call once. 
            if (e.ConnectSucceeded && !bIsConnectedComplete)
                ProcessSuccess();

        }