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

This commit is contained in:
sam 2011-03-03 09:52:41 +00:00
parent d347c2d7d8
commit cc5b33051b
4 changed files with 12 additions and 4 deletions

View File

@ -422,12 +422,16 @@ namespace IndianHealthService.ClinicalScheduling
//Printing
System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(Application.StartupPath + @"\Printing\");
System.IO.FileInfo[] rgFiles = di.GetFiles("*.dll");
string DllLocation = string.Empty;
foreach (System.IO.FileInfo fi in rgFiles)
System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(Application.StartupPath + @"\Printing\");
if (di.Exists)
{
DllLocation = fi.FullName;
System.IO.FileInfo[] rgFiles = di.GetFiles("*.dll");
foreach (System.IO.FileInfo fi in rgFiles)
{
DllLocation = fi.FullName;
}
}
PrintingCreator Creator = null;
@ -922,6 +926,9 @@ namespace IndianHealthService.ClinicalScheduling
}
}
/// <summary>
/// Not used
/// </summary>
private void KeepAlive()
{
foreach (CGView v in _views.Keys)

View File

@ -200,6 +200,7 @@
<Compile Include="CGView.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="CustomPrinting.cs" />
<Compile Include="DAccessBlock.cs">
<SubType>Form</SubType>
</Compile>