Esempio n. 1
0
 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.");
     }
 }
Esempio n. 2
0
 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.");
     }
 }