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."); } }
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."); } }