Changeset 1197 for Scheduling/branches/BMX4Support/CGDocumentManager.cs
- Timestamp:
- Jun 5, 2011, 4:27:56 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/branches/BMX4Support/CGDocumentManager.cs
r1194 r1197 217 217 opset.Parse(args); 218 218 219 //Init app 220 bool isEverythingOkay = _current.InitializeApp(); 221 222 //if an error occurred, break out. 219 //Init app. Catch Login Exceptions if they happen. 220 bool isEverythingOkay = false; 221 try 222 { 223 isEverythingOkay = _current.InitializeApp(); 224 } 225 catch (Exception ex) 226 { 227 228 MessageBox.Show("Booboo: An Error Happened: " + ex.Message); 229 return; // exit application 230 } 231 232 233 //if something yucky happened, break out. 223 234 if (!isEverythingOkay) return; 224 235 … … 234 245 view.InitializeDocView(doc, _current, doc.StartDate, _current.WindowText); 235 246 236 //Handle BMX Event247 //Handle Message Queue 237 248 Application.DoEvents(); 238 249 … … 411 422 login = this.WinFramework.CreateLoginProcess(); 412 423 login.AutoSetDivisionToLastLookup = false; 424 //test 425 //spec.UseWindowsAuthentication = true; 413 426 login.AttemptUserInputLogin("Clinical Scheduling Log-in", 3, false, firstSplash); 427 //login.AttemptWindowsAuthLogin(); 428 //test 414 429 goto DoneTrying; 415 430 }
Note:
See TracChangeset
for help on using the changeset viewer.