コード例 #1
0
ファイル: Controller.cs プロジェクト: jfefes/ORK3
 public Controller()
 {
     AuthSvc = new AuthorizationService.AuthorizationService();
     AuthSvc.Url = Model.Configuration.Config["ServiceURL"];
     _Errors = new Dictionary<DateTime, AuthorizationService.StatusType>();
     try
     {
         Login(Model.Configuration.Config["UserName"], Model.Configuration.Config["Password"]);
     }
     catch (Exception LoginExc)
     {
         System.Windows.Forms.MessageBox.Show("Your User Name or Password are incorrect.");
     }
 }
コード例 #2
0
ファイル: Controller.cs プロジェクト: amtgard/ork-windows-app
 public Controller()
 {
     AuthSvc     = new AuthorizationService.AuthorizationService();
     AuthSvc.Url = Model.Configuration.Config["ServiceURL"];
     _Errors     = new Dictionary <DateTime, AuthorizationService.StatusType>();
     try
     {
         Login(Model.Configuration.Config["UserName"], Model.Configuration.Config["Password"]);
     }
     catch (Exception LoginExc)
     {
         System.Windows.Forms.MessageBox.Show("Your User Name or Password are incorrect.");
     }
 }