예제 #1
0
 void btnCancel_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         LyncHelper.CancelLyncSigned(new Action(() =>
         {
             //隐藏登陆提示
             this.IsLogining = System.Windows.Visibility.Hidden;
             //取消登陆
             this.Visibility = System.Windows.Visibility.Hidden;
         }));
         Application.Current.Shutdown(0);
     }
     catch (Exception ex)
     {
         LogManage.WriteLog(this.GetType(), ex);
     }
 }