Changeset 1098 for Scheduling


Ignore:
Timestamp:
Mar 3, 2011, 4:52:41 AM (14 years ago)
Author:
Sam Habiel
Message:

CGDocumentManager: Integrating Tariq's changes to CGDocumentManager to support Custom Printing.

Location:
Scheduling/trunk/cs/bsdx0200GUISourceCode
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/CGDocumentManager.cs

    r1095 r1098  
    423423            //Printing
    424424
     425            string DllLocation = string.Empty;
    425426            System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(Application.StartupPath + @"\Printing\");
    426             System.IO.FileInfo[] rgFiles = di.GetFiles("*.dll");
    427             string DllLocation = string.Empty;
    428             foreach (System.IO.FileInfo fi in rgFiles)
    429             {
    430                 DllLocation = fi.FullName;
     427            if (di.Exists)
     428            {
     429                System.IO.FileInfo[] rgFiles = di.GetFiles("*.dll");
     430               
     431                foreach (System.IO.FileInfo fi in rgFiles)
     432                {
     433                    DllLocation = fi.FullName;
     434                }
    431435            }
    432436
     
    923927                }
    924928
     929        /// <summary>
     930        /// Not used
     931        /// </summary>
    925932                private void KeepAlive()
    926933                {
  • Scheduling/trunk/cs/bsdx0200GUISourceCode/ClinicalScheduling.csproj

    r1070 r1098  
    201201      <SubType>Form</SubType>
    202202    </Compile>
     203    <Compile Include="CustomPrinting.cs" />
    203204    <Compile Include="DAccessBlock.cs">
    204205      <SubType>Form</SubType>
Note: See TracChangeset for help on using the changeset viewer.