CGDocumentManager: Integrating Tariq's changes to CGDocumentManager to support Custom Printing.
This commit is contained in:
parent
d347c2d7d8
commit
cc5b33051b
|
@ -422,13 +422,17 @@ namespace IndianHealthService.ClinicalScheduling
|
||||||
|
|
||||||
//Printing
|
//Printing
|
||||||
|
|
||||||
System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(Application.StartupPath + @"\Printing\");
|
|
||||||
System.IO.FileInfo[] rgFiles = di.GetFiles("*.dll");
|
|
||||||
string DllLocation = string.Empty;
|
string DllLocation = string.Empty;
|
||||||
|
System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(Application.StartupPath + @"\Printing\");
|
||||||
|
if (di.Exists)
|
||||||
|
{
|
||||||
|
System.IO.FileInfo[] rgFiles = di.GetFiles("*.dll");
|
||||||
|
|
||||||
foreach (System.IO.FileInfo fi in rgFiles)
|
foreach (System.IO.FileInfo fi in rgFiles)
|
||||||
{
|
{
|
||||||
DllLocation = fi.FullName;
|
DllLocation = fi.FullName;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
PrintingCreator Creator = null;
|
PrintingCreator Creator = null;
|
||||||
if (DllLocation == string.Empty)
|
if (DllLocation == string.Empty)
|
||||||
|
@ -922,6 +926,9 @@ namespace IndianHealthService.ClinicalScheduling
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Not used
|
||||||
|
/// </summary>
|
||||||
private void KeepAlive()
|
private void KeepAlive()
|
||||||
{
|
{
|
||||||
foreach (CGView v in _views.Keys)
|
foreach (CGView v in _views.Keys)
|
||||||
|
|
|
@ -200,6 +200,7 @@
|
||||||
<Compile Include="CGView.cs">
|
<Compile Include="CGView.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="CustomPrinting.cs" />
|
||||||
<Compile Include="DAccessBlock.cs">
|
<Compile Include="DAccessBlock.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue