Beispiel #1
0
 private void DlgSelectionBase_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         _kaixinBase.StopThread();
     }
     catch (Exception ex)
     {
         Program.ShowMessageBox("DlgSelectionBase", ex);
     }
 }
Beispiel #2
0
 private void btnCancel_Click(object sender, EventArgs e)
 {
     try
     {
         if (_kaixinbase != null)
         {
             _kaixinbase.StopThread();
         }
         SetControlStatus(true);
     }
     catch (Exception ex)
     {
         Program.ShowMessageBox("DlgFriendValidation.btnCancel_Click", ex);
     }
 }