コード例 #1
0
 private void CrmLoginCtrl_ConnectionStatusEvent(object sender, ConnectStatusEventArgs e)
 {
     if (e.ConnectSucceeded && !bIsConnectedComplete)
     {
         ProcessSuccess();
     }
 }
コード例 #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();
     }
 }
コード例 #3
0
 /// <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();
     }
 }
コード例 #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();

        }