コード例 #1
0
ファイル: emails.cs プロジェクト: WooZoo86/Tallus
 void smtp_AuthenticationFinished(object sender, string userName)
 {
     if (this.statusStrip.InvokeRequired)
     {
         Email_Client.AuthenticateEventHandler auth = new Email_Client.AuthenticateEventHandler(this.smtp_AuthenticationFinished);
         this.Invoke(auth, new object[] { sender, userName });
     }
     else
     {
         this.ProgressLabel.Text = "Verification is completed";
     }
 }
コード例 #2
0
ファイル: emails.cs プロジェクト: WooZoo86/Tallus
 private void pop_AuthenticationBegan(object sender, string userName)
 {
     if (this.statusStrip.InvokeRequired)
     {
         Email_Client.AuthenticateEventHandler auth = new Email_Client.AuthenticateEventHandler(this.pop_AuthenticationBegan);
         this.Invoke(auth, new object[] { sender, userName });
     }
     else
     {
         this.ProgressLabel.Text = "Verifying user name and password";
     }
 }