Exemple #1
0
 //logout
 private void backgroundWorker1_RunWorkerCompleted(object sender,
     RunWorkerCompletedEventArgs e)
 {
     LogoutNsTalk talk = new LogoutNsTalk();
     talk.Logout(ClientInfo.session);
 }
Exemple #2
0
 protected override void OnClosed(EventArgs e)
 {
     LogoutNsTalk talk = new LogoutNsTalk();
     talk.Logout(ClientInfo.session);
     Application.ExitThread();
 }