예제 #1
0
 private void OnLogin(int status)
 {
     if (status == 200)
     {
         App.Current.Dispatcher.Invoke(() =>
         {
             this.Visibility = Visibility.Collapsed;
             App.dioskService.OnLogin(tbId.Text, true);
         });
         OnLoginCompleted?.Invoke();
     }
     else
     {
         MessageBox.Show("로그인에 실패했습니다.");
         return;
     }
 }