Changeset 1197


Ignore:
Timestamp:
Jun 5, 2011, 4:27:56 AM (13 years ago)
Author:
Sam Habiel
Message:

CGDocumentManager updated with tiny tests and a try/catch.

Updated exes, and dlls.

Location:
Scheduling/branches/BMX4Support
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/branches/BMX4Support/CGDocumentManager.cs

    r1194 r1197  
    217217            opset.Parse(args);
    218218           
    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.
    223234            if (!isEverythingOkay) return;
    224235
     
    234245            view.InitializeDocView(doc, _current, doc.StartDate, _current.WindowText);
    235246
    236             //Handle BMX Event
     247            //Handle Message Queue
    237248            Application.DoEvents();
    238249
     
    411422                login = this.WinFramework.CreateLoginProcess();
    412423                login.AutoSetDivisionToLastLookup = false;
     424                //test
     425                //spec.UseWindowsAuthentication = true;
    413426                login.AttemptUserInputLogin("Clinical Scheduling Log-in", 3, false, firstSplash);
     427                //login.AttemptWindowsAuthLogin();
     428                //test
    414429                goto DoneTrying;
    415430            }
  • Scheduling/branches/BMX4Support/ClinicalScheduling.csproj.user

    r1194 r1197  
    3737    </RemoteDebugMachine>
    3838    <StartAction>Project</StartAction>
    39     <StartArguments>/s=172.16.16.142 /p=9260 /a=shabiel12 /v=catdog.77</StartArguments>
     39    <StartArguments>
     40    </StartArguments>
    4041    <StartPage>
    4142    </StartPage>
Note: See TracChangeset for help on using the changeset viewer.