Compare commits
115 Commits
Author | SHA1 | Date | |
---|---|---|---|
864ec2709c | |||
4b1ca8d7bf | |||
3b73d54ea2 | |||
2ca433c83f | |||
0b40569727 | |||
afb0247d87 | |||
bce8461a7e | |||
9d5cc43d71 | |||
bc1370ab29 | |||
eaf2b14cfc | |||
1cf7d81aa5 | |||
f11a9536f0 | |||
c7bdcf0104 | |||
df026499d5 | |||
a3aa4157b8 | |||
8f3268e1bc | |||
5721d440e9 | |||
505c396283 | |||
643e6bc94f | |||
76502e6d97 | |||
851a0b3810 | |||
fd8dbb4c8b | |||
4ffd994c5e | |||
a34828113a | |||
461329468c | |||
35de5df04d | |||
4f0548fd60 | |||
5c1d96cc51 | |||
57049c0c52 | |||
31326e1c91 | |||
3c60994a0a | |||
773cc42346 | |||
f46a1f39dc | |||
b7175bf77f | |||
ec22232aa8 | |||
f303cd2236 | |||
f40cef4416 | |||
fbca97d38d | |||
28bd2cba5c | |||
4b35f73bbf | |||
f4706eb126 | |||
21bcb90558 | |||
ae48ac0cae | |||
cb4979d5bc | |||
7d3ae74e1f | |||
9d680aa500 | |||
0d50b1c2fe | |||
75e034863f | |||
3b42de1571 | |||
668472286e | |||
e00d34c99d | |||
9fb496dfb3 | |||
f4eaa4a3ef | |||
5d50ed6bdf | |||
d7ace4eaf9 | |||
16a4d335ea | |||
ba69bb0772 | |||
455940caa2 | |||
439344757e | |||
ad912691c9 | |||
237144aff6 | |||
810332d558 | |||
f8431d0ba1 | |||
57c3bfa16a | |||
61f1077608 | |||
8877e968b9 | |||
4575c90bee | |||
21279a87ae | |||
3d5ad4a17e | |||
9bb7b044a8 | |||
dc8f2f7561 | |||
829dbf84da | |||
7b156c17f8 | |||
cbf7cbc164 | |||
b04faa816e | |||
517ebe2902 | |||
03d0d314e3 | |||
3e804c5cce | |||
ee2b8b538e | |||
fdfd34fe92 | |||
2d6fb6523b | |||
3084bf3982 | |||
5ba51e8392 | |||
fb5eb43e34 | |||
b154056276 | |||
c67b8f9ca1 | |||
95e4181360 | |||
32dffbe56b | |||
6b3c8d373b | |||
db29107f47 | |||
355537f2ab | |||
0729ef0c21 | |||
6fe82bfd0f | |||
39bf072363 | |||
da7c384fd8 | |||
95130fd9a0 | |||
978e2344a3 | |||
c9bf45602c | |||
aa160b2036 | |||
f82b32d351 | |||
e519dc9a57 | |||
f020c37db9 | |||
5a4ec3b6b1 | |||
2602d6c9d2 | |||
ff403583d7 | |||
c5577cc2bd | |||
78be6e5dc1 | |||
b954a41375 | |||
0100a11cfe | |||
04cf2e8534 | |||
be00724818 | |||
274d93c61a | |||
7dc4c30436 | |||
028ef4bc31 | |||
42124d65c7 |
@@ -32,7 +32,7 @@ namespace AdjustBuildRevision
|
|||||||
{
|
{
|
||||||
// Allow for setting build revision on either proms or the roeditor:
|
// Allow for setting build revision on either proms or the roeditor:
|
||||||
if (Directory.GetCurrentDirectory().ToUpper().Contains("REFOBJ"))
|
if (Directory.GetCurrentDirectory().ToUpper().Contains("REFOBJ"))
|
||||||
outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.4.yyMM.dHH") + "\")");
|
outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.3.yyMM.dHH") + "\")");
|
||||||
else
|
else
|
||||||
outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.3.yyMM.dHH") + "\")");
|
outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.3.yyMM.dHH") + "\")");
|
||||||
// if (outline != line)
|
// if (outline != line)
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -59,7 +59,7 @@
|
|||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
@@ -85,7 +85,6 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -93,7 +92,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -104,7 +103,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
@@ -96,7 +96,6 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -104,7 +103,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@@ -62,7 +62,6 @@
|
|||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
@@ -87,7 +86,6 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -95,7 +93,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -106,7 +104,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@@ -35,7 +35,6 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
@@ -45,14 +44,13 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -61,7 +59,7 @@
|
|||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@@ -409,7 +409,7 @@ namespace RODBInterface
|
|||||||
GetDbServerInfo(ropath);
|
GetDbServerInfo(ropath);
|
||||||
if (!dbProviderType.Equals((int)DB_PROVIDER.SQL_SERVER))
|
if (!dbProviderType.Equals((int)DB_PROVIDER.SQL_SERVER))
|
||||||
{
|
{
|
||||||
strDatabaseConnectionCommand = "Provider=Microsoft.ACE.OLEDB.12.0;Password=\"\";User ID=Admin;Data Source=" + DataConnectionPath + "\\ROMaster.mdb;Mode=Share Deny None;Extended Properties=\"\";Jet OLEDB:System database=\"\";Jet OLEDB:Registry Path=\"\";Jet OLEDB:Database Password=\"\";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=\"\";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False";
|
strDatabaseConnectionCommand = "Provider=Microsoft.Jet.OLEDB.4.0;Password=\"\";User ID=Admin;Data Source=" + DataConnectionPath + "\\ROMaster.mdb;Mode=Share Deny None;Extended Properties=\"\";Jet OLEDB:System database=\"\";Jet OLEDB:Registry Path=\"\";Jet OLEDB:Database Password=\"\";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=\"\";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
@@ -62,7 +62,6 @@
|
|||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
@@ -87,7 +86,6 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -95,7 +93,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -106,7 +104,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -173,17 +171,6 @@
|
|||||||
<Name>VlnStatus</Name>
|
<Name>VlnStatus</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<COMReference Include="Microsoft.Office.Interop.Access.Dao">
|
|
||||||
<Guid>{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}</Guid>
|
|
||||||
<VersionMajor>12</VersionMajor>
|
|
||||||
<VersionMinor>0</VersionMinor>
|
|
||||||
<Lcid>0</Lcid>
|
|
||||||
<WrapperTool>primary</WrapperTool>
|
|
||||||
<Isolated>False</Isolated>
|
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
||||||
</COMReference>
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
|
@@ -62,7 +62,6 @@
|
|||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
@@ -87,7 +86,6 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -95,7 +93,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE;Upgrade2005;</DefineConstants>
|
<DefineConstants>DEBUG;TRACE;Upgrade2005;</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -106,7 +104,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@@ -62,7 +62,6 @@
|
|||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
@@ -87,7 +86,6 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -95,7 +93,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -106,7 +104,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@@ -77,7 +77,6 @@
|
|||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
@@ -102,7 +101,6 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -110,7 +108,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -121,7 +119,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -73,7 +73,6 @@
|
|||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
@@ -98,7 +97,6 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -106,7 +104,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@@ -62,7 +62,6 @@
|
|||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
@@ -87,7 +86,6 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -95,7 +93,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -106,7 +104,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@@ -62,7 +62,6 @@
|
|||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
@@ -87,7 +86,6 @@
|
|||||||
<DebugType>none</DebugType>
|
<DebugType>none</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
@@ -95,7 +93,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -106,7 +104,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x64</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
@@ -229,7 +229,7 @@ namespace RoAccessToSql
|
|||||||
if (sqlConnection.State == ConnectionState.Open)
|
if (sqlConnection.State == ConnectionState.Open)
|
||||||
{
|
{
|
||||||
// now try to open access db:
|
// now try to open access db:
|
||||||
string strDatabaseConnectionCommand = "Provider=Microsoft.ACE.OLEDB.12.0;Password=\"\";User ID=Admin;Data Source=" + MSAccessPath + "\\ROMaster.mdb;Mode=Share Deny None;Extended Properties=\"\";Jet OLEDB:System database=\"\";Jet OLEDB:Registry Path=\"\";Jet OLEDB:Database Password=\"\";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=\"\";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False";
|
string strDatabaseConnectionCommand = "Provider=Microsoft.Jet.OLEDB.4.0;Password=\"\";User ID=Admin;Data Source=" + MSAccessPath + "\\ROMaster.mdb;Mode=Share Deny None;Extended Properties=\"\";Jet OLEDB:System database=\"\";Jet OLEDB:Registry Path=\"\";Jet OLEDB:Database Password=\"\";Jet OLEDB:Engine Type=5;Jet OLEDB:Database Locking Mode=1;Jet OLEDB:Global Partial Bulk Ops=2;Jet OLEDB:Global Bulk Transactions=1;Jet OLEDB:New Database Password=\"\";Jet OLEDB:Create System Database=False;Jet OLEDB:Encrypt Database=False;Jet OLEDB:Don't Copy Locale on Compact=False;Jet OLEDB:Compact Without Replica Repair=False;Jet OLEDB:SFP=False";
|
||||||
using (OleDbConnection accessConnection = new OleDbConnection(strDatabaseConnectionCommand))
|
using (OleDbConnection accessConnection = new OleDbConnection(strDatabaseConnectionCommand))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
@@ -100,17 +100,6 @@
|
|||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="App.config" />
|
<None Include="App.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<COMReference Include="Microsoft.Office.Interop.Access.Dao">
|
|
||||||
<Guid>{4AC9E1DA-5BAD-4AC7-86E3-24F4CDCECA28}</Guid>
|
|
||||||
<VersionMajor>12</VersionMajor>
|
|
||||||
<VersionMinor>0</VersionMinor>
|
|
||||||
<Lcid>0</Lcid>
|
|
||||||
<WrapperTool>primary</WrapperTool>
|
|
||||||
<Isolated>False</Isolated>
|
|
||||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
|
||||||
</COMReference>
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
@@ -284,15 +284,6 @@ namespace VEPROMS
|
|||||||
cachePartInfo = PartInfo.CacheList;
|
cachePartInfo = PartInfo.CacheList;
|
||||||
}
|
}
|
||||||
|
|
||||||
//B2025-048 Problem with Printing CAS Steps
|
|
||||||
// skip doing section titles if printing CAS or CTAS
|
|
||||||
// - was causing it to
|
|
||||||
// skip/overwrite data
|
|
||||||
if (OnlyShowContinuousActionSummary)
|
|
||||||
{ MyPromsPrinter.PromsPrinterPrintType = PromsPrinterPrintType.CAS_Only; }
|
|
||||||
if (OnlyShowTimeCriticalActionSummary)
|
|
||||||
{ MyPromsPrinter.PromsPrinterPrintType = PromsPrinterPrintType.TCAS_only; }
|
|
||||||
|
|
||||||
_PdfFile = MyPromsPrinter.Print(PDFPath, MakePlaceKeeper, MakeContinuousActionSummary, MakeTimeCriticalActionSummary, PrtSectID);
|
_PdfFile = MyPromsPrinter.Print(PDFPath, MakePlaceKeeper, MakeContinuousActionSummary, MakeTimeCriticalActionSummary, PrtSectID);
|
||||||
|
|
||||||
ProfileTimer.Pop(profileDepth);
|
ProfileTimer.Pop(profileDepth);
|
||||||
|
@@ -1325,17 +1325,12 @@ namespace VEPROMS
|
|||||||
prnDlg.SetupForProcedure(); // Setup filename
|
prnDlg.SetupForProcedure(); // Setup filename
|
||||||
|
|
||||||
if (quickprint)
|
if (quickprint)
|
||||||
{
|
|
||||||
prnDlg.OverwritePDF = false; // turn off overwriting of PDFs B2025-051
|
|
||||||
prnDlg.QPCreatePDF(); // Create Print report
|
prnDlg.QPCreatePDF(); // Create Print report
|
||||||
}
|
else
|
||||||
else
|
prnDlg.ShowDialog(this); // Create Print report
|
||||||
{
|
|
||||||
prnDlg.ShowDialog(this); // Create Print report
|
|
||||||
}
|
|
||||||
|
|
||||||
//B2025-032 Fix Section not Printing Applicability Properly
|
//B2025-032 Fix Section not Printing Applicability Properly
|
||||||
si2.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
si2.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
||||||
si2.MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
si2.MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1807,15 +1802,14 @@ namespace VEPROMS
|
|||||||
// Deactivate previous procedure tab state by user
|
// Deactivate previous procedure tab state by user
|
||||||
VEPROMS.CSLA.Library.Item.DeactivateStateDisplayTabTmp(MySessionInfo.UserID);
|
VEPROMS.CSLA.Library.Item.DeactivateStateDisplayTabTmp(MySessionInfo.UserID);
|
||||||
// Save current procedure tab state
|
// Save current procedure tab state
|
||||||
|
foreach (KeyValuePair<string, DisplayTabItem> pgTab in tc._MyDisplayTabItems)
|
||||||
//B2024-082 Remember Tabs Not opening in correct order
|
|
||||||
foreach (DisplayTabItem dti in tc.MyBar.Items)
|
|
||||||
{
|
{
|
||||||
cnt++;
|
cnt++;
|
||||||
DisplayTabID = dti.MyKey;
|
DisplayTabID = pgTab.Key;
|
||||||
TabItemID = dti.MyItemInfo.ItemID;
|
TabItemID = Int32.Parse(DisplayTabID.Substring(DisplayTabID.IndexOf("Item - ") + 7));
|
||||||
DisplayTabName = dti.ToString();
|
DisplayTabName = pgTab.Value.ToString();
|
||||||
Item.AddDisplayTabsState(TabItemID, DisplayTabID, DisplayTabName, MySessionInfo.UserID, cnt);
|
//tc.SelectedDisplayTabItem.MyStepTabPanel.ToString()
|
||||||
|
VEPROMS.CSLA.Library.Item.AddDisplayTabsState(TabItemID, DisplayTabID, DisplayTabName, MySessionInfo.UserID, cnt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2514,7 +2508,6 @@ namespace VEPROMS
|
|||||||
{
|
{
|
||||||
SelectedStepTabPanel.Select();
|
SelectedStepTabPanel.Select();
|
||||||
dlgFindReplace.MyEditItem = tc.MyEditItem;
|
dlgFindReplace.MyEditItem = tc.MyEditItem;
|
||||||
SpellChecker.MyEditItem = tc.MyEditItem; //B2025-043 Remember Tabs is not setting the EditItem for the active window causing a PROMS crash when Spell Check
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -394,33 +394,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
OnPropertyChanged("Step_ChangeID");
|
OnPropertyChanged("Step_ChangeID");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
|
||||||
// was last change made in editorial mode and thus change bars should be disabled?
|
|
||||||
// will contain userid of user that made last change if it was in Editorial Mode
|
|
||||||
// if there was not a previous change that would have caused change bars
|
|
||||||
// will be blank/empty by default
|
|
||||||
// will get overwritten every time a change is made
|
|
||||||
public string Step_ChangeIDEditorialMode
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
string s = _Xp["Step", "ChangeIDEMode"];
|
|
||||||
|
|
||||||
if (s == string.Empty) return null;
|
|
||||||
return s;
|
|
||||||
}
|
|
||||||
set
|
|
||||||
{
|
|
||||||
string s = _Xp["Step", "ChangeIDEMode"];
|
|
||||||
|
|
||||||
if (value != null && value.ToString() == s) return;
|
|
||||||
if (value == null && s != null) _Xp["Step", "ChangeIDEMode"] = null;
|
|
||||||
else _Xp["Step", "ChangeIDEMode"] = value.ToString();
|
|
||||||
OnPropertyChanged("Step_ChangeIDEMode");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public string Step_Responsibility
|
public string Step_Responsibility
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
|
@@ -3933,7 +3933,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
bool chg = HasChanges;
|
bool chg = HasChanges;
|
||||||
StepConfig sc = this.MyConfig as StepConfig;
|
StepInfo si = this as StepInfo;
|
||||||
|
if (si == null) return false;
|
||||||
|
StepConfig sc = si.MyConfig as StepConfig;
|
||||||
if (sc == null) return false;
|
if (sc == null) return false;
|
||||||
// if there is no override & return whether there was a change to the text.
|
// if there is no override & return whether there was a change to the text.
|
||||||
if (chg && ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds &&
|
if (chg && ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds &&
|
||||||
@@ -3941,21 +3943,6 @@ namespace VEPROMS.CSLA.Library
|
|||||||
return false; // No Change ID - No Change Bar
|
return false; // No Change ID - No Change Bar
|
||||||
if ((sc.Step_SpellCheckerChangedText ?? "") == "NoChangeBar")
|
if ((sc.Step_SpellCheckerChangedText ?? "") == "NoChangeBar")
|
||||||
return false; // Spell Checker, in editorial mode (format flag EditoralSpellCheck) , made the change and there was no change bar prior to that change B2015-024
|
return false; // Spell Checker, in editorial mode (format flag EditoralSpellCheck) , made the change and there was no change bar prior to that change B2015-024
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
|
||||||
// last change was in editorial mode, so ignore it
|
|
||||||
if (!string.IsNullOrEmpty(sc.Step_ChangeIDEditorialMode))
|
|
||||||
return false;
|
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
|
||||||
// Add Check for enhanced docs
|
|
||||||
// If enhanced docs, need to check the step_config for the master
|
|
||||||
if (sc.MyEnhancedDocuments != null && sc.MyEnhancedDocuments.Count == 1 && sc.MyEnhancedDocuments[0].Type == 0)
|
|
||||||
{
|
|
||||||
ItemInfo ii = ItemInfo.Get(sc.MyEnhancedDocuments[0].ItemID, true);
|
|
||||||
if (ii == null) return false; // when deleting a source step, this was causing a crash (null ii)
|
|
||||||
return ii.HasChangeBar;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (sc.Step_CBOverride == null)
|
if (sc.Step_CBOverride == null)
|
||||||
return chg;
|
return chg;
|
||||||
return (sc.Step_CBOverride == "On");
|
return (sc.Step_CBOverride == "On");
|
||||||
@@ -3966,7 +3953,9 @@ namespace VEPROMS.CSLA.Library
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (this.IsAccPages || this.IsProcedure || this.IsSection) return false;
|
if (this.IsAccPages || this.IsProcedure || this.IsSection) return false;
|
||||||
StepConfig sc = this.MyConfig as StepConfig;
|
StepInfo si = this as StepInfo;
|
||||||
|
if (si == null) return false;
|
||||||
|
StepConfig sc = si.MyConfig as StepConfig;
|
||||||
if (sc == null) return false;
|
if (sc == null) return false;
|
||||||
// go back to source & see what date it has:
|
// go back to source & see what date it has:
|
||||||
if (sc.MyEnhancedDocuments != null && sc.MyEnhancedDocuments.Count == 1 && sc.MyEnhancedDocuments[0].Type == 0)
|
if (sc.MyEnhancedDocuments != null && sc.MyEnhancedDocuments.Count == 1 && sc.MyEnhancedDocuments[0].Type == 0)
|
||||||
|
@@ -606,20 +606,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
_ItemInfoExtension.Refresh(this);
|
_ItemInfoExtension.Refresh(this);
|
||||||
OnChange();// raise an event
|
OnChange();// raise an event
|
||||||
}
|
}
|
||||||
public static ItemInfo Get(int itemID, bool forcerefresh = false)
|
public static ItemInfo Get(int itemID)
|
||||||
{
|
{
|
||||||
|
//if (!CanGetObject())
|
||||||
|
// throw new System.Security.SecurityException("User not authorized to view a Item");
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
|
||||||
// fixes caching issue
|
|
||||||
// item.myconfig was cached not containing the bypass changebar info
|
|
||||||
// so this forces a refresh of the cache
|
|
||||||
if (forcerefresh)
|
|
||||||
{
|
|
||||||
_CacheByPrimaryKey.Remove(itemID.ToString());
|
|
||||||
}
|
|
||||||
|
|
||||||
ItemInfo tmp = GetCachedByPrimaryKey(itemID);
|
ItemInfo tmp = GetCachedByPrimaryKey(itemID);
|
||||||
if (tmp == null)
|
if (tmp == null)
|
||||||
{
|
{
|
||||||
|
@@ -42,7 +42,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RoAccessToSql", "..\RoAcces
|
|||||||
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9} = {AEEE9FD1-6892-45E2-A67E-418C06D46FF9}
|
{AEEE9FD1-6892-45E2-A67E-418C06D46FF9} = {AEEE9FD1-6892-45E2-A67E-418C06D46FF9}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VlnStatus", "..\ReferencedObjects\LibSource\VlnStatus\VlnStatus.csproj", "{551CB7B3-00B1-11D7-8590-482B59000000}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VlnStatus64", "VlnStatus64\VlnStatus64.csproj", "{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
@@ -550,38 +550,38 @@ Global
|
|||||||
{1EC96BDA-01E7-4153-A95D-6A4A36FA278E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
{1EC96BDA-01E7-4153-A95D-6A4A36FA278E}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||||
{1EC96BDA-01E7-4153-A95D-6A4A36FA278E}.Release|Win32.ActiveCfg = Release|Any CPU
|
{1EC96BDA-01E7-4153-A95D-6A4A36FA278E}.Release|Win32.ActiveCfg = Release|Any CPU
|
||||||
{1EC96BDA-01E7-4153-A95D-6A4A36FA278E}.Release|x86.ActiveCfg = Release|Any CPU
|
{1EC96BDA-01E7-4153-A95D-6A4A36FA278E}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Debug|Mixed Platforms.Build.0 = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Debug|Win32.ActiveCfg = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Win32.ActiveCfg = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Debug|Win32.Build.0 = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|Win32.Build.0 = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Debug|x86.ActiveCfg = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Debug|x86.Build.0 = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Demo|Any CPU.ActiveCfg = Debug|Any CPU
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Demo|Any CPU.Build.0 = Debug|Any CPU
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Demo|Mixed Platforms.ActiveCfg = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Demo|Mixed Platforms.Build.0 = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Demo|Win32.ActiveCfg = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Win32.ActiveCfg = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Demo|Win32.Build.0 = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|Win32.Build.0 = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Demo|x86.ActiveCfg = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|x86.ActiveCfg = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Demo|x86.Build.0 = Debug|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Demo|x86.Build.0 = Debug|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release_PreRegistered|Any CPU.ActiveCfg = Release|Any CPU
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release_PreRegistered|Any CPU.Build.0 = Release|Any CPU
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Any CPU.Build.0 = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release_PreRegistered|Mixed Platforms.ActiveCfg = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release_PreRegistered|Mixed Platforms.Build.0 = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Mixed Platforms.Build.0 = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release_PreRegistered|Win32.ActiveCfg = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Win32.ActiveCfg = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release_PreRegistered|Win32.Build.0 = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|Win32.Build.0 = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release_PreRegistered|x86.ActiveCfg = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|x86.ActiveCfg = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release_PreRegistered|x86.Build.0 = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release_PreRegistered|x86.Build.0 = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release|Any CPU.Build.0 = Release|Any CPU
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release|Mixed Platforms.ActiveCfg = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release|Mixed Platforms.Build.0 = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release|Win32.ActiveCfg = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Win32.ActiveCfg = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release|Win32.Build.0 = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|Win32.Build.0 = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release|x86.ActiveCfg = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{551CB7B3-00B1-11D7-8590-482B59000000}.Release|x86.Build.0 = Release|x86
|
{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}.Release|x86.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
232
PROMS/VEPROMS/VlnStatus64/StatusBarFrm.cs
Normal file
232
PROMS/VEPROMS/VlnStatus64/StatusBarFrm.cs
Normal file
@@ -0,0 +1,232 @@
|
|||||||
|
/*********************************************************************************************
|
||||||
|
* Copyright 2002 - Volian Enterprises, Inc. All rights reserved.
|
||||||
|
* Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||||
|
* ------------------------------------------------------------------------------
|
||||||
|
* $Workfile: StatusBarFrm.cs $ $Revision: 3 $
|
||||||
|
* $Author: Jsj $ $Date: 4/08/04 9:50a $
|
||||||
|
*
|
||||||
|
* $History: StatusBarFrm.cs $
|
||||||
|
*
|
||||||
|
* ***************** Version 3 *****************
|
||||||
|
* User: Jsj Date: 4/08/04 Time: 9:50a
|
||||||
|
* Updated in $/LibSource/VlnStatus
|
||||||
|
* added profile code and try to optimize
|
||||||
|
*
|
||||||
|
* ***************** Version 2 *****************
|
||||||
|
* User: Jsj Date: 11/26/02 Time: 3:38p
|
||||||
|
* Updated in $/LibSource/VlnStatus
|
||||||
|
* Added overbounds check
|
||||||
|
*********************************************************************************************/
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Collections;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
//using ROProfiler; //don't forget to add VlnProfiler to the reference list
|
||||||
|
|
||||||
|
namespace VlnStatus
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Create a status window with a progress bar
|
||||||
|
/// </summary>
|
||||||
|
public class StatusBarFrm : System.Windows.Forms.Form
|
||||||
|
{
|
||||||
|
private System.Windows.Forms.ProgressBar progressBar1;
|
||||||
|
private System.Windows.Forms.Label lblBar;
|
||||||
|
private System.Windows.Forms.Label StatMsg;
|
||||||
|
// private string strLblLast="";
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.Container components = null;
|
||||||
|
|
||||||
|
public StatusBarFrm()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// Required for Windows Form Designer support
|
||||||
|
//
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
Text = "Status";
|
||||||
|
}
|
||||||
|
|
||||||
|
public StatusBarFrm(string StatusBoxTitle)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// Required for Windows Form Designer support
|
||||||
|
//
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
Text = StatusBoxTitle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
protected override void Dispose( bool disposing )
|
||||||
|
{
|
||||||
|
if( disposing )
|
||||||
|
{
|
||||||
|
if(components != null)
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
base.Dispose( disposing );
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||||
|
this.lblBar = new System.Windows.Forms.Label();
|
||||||
|
this.StatMsg = new System.Windows.Forms.Label();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// progressBar1
|
||||||
|
//
|
||||||
|
this.progressBar1.Location = new System.Drawing.Point(29, 83);
|
||||||
|
this.progressBar1.Name = "progressBar1";
|
||||||
|
this.progressBar1.Size = new System.Drawing.Size(297, 27);
|
||||||
|
this.progressBar1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// lblBar
|
||||||
|
//
|
||||||
|
this.lblBar.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
|
||||||
|
this.lblBar.Location = new System.Drawing.Point(29, 136);
|
||||||
|
this.lblBar.Name = "lblBar";
|
||||||
|
this.lblBar.Size = new System.Drawing.Size(297, 16);
|
||||||
|
this.lblBar.TabIndex = 1;
|
||||||
|
this.lblBar.Text = "% Complete";
|
||||||
|
this.lblBar.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// StatMsg
|
||||||
|
//
|
||||||
|
this.StatMsg.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
|
||||||
|
this.StatMsg.Location = new System.Drawing.Point(29, 18);
|
||||||
|
this.StatMsg.Name = "StatMsg";
|
||||||
|
this.StatMsg.Size = new System.Drawing.Size(307, 56);
|
||||||
|
this.StatMsg.TabIndex = 2;
|
||||||
|
this.StatMsg.Text = "Progress Bar";
|
||||||
|
this.StatMsg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// StatusBarFrm
|
||||||
|
//
|
||||||
|
this.AutoScaleBaseSize = new System.Drawing.Size(6, 15);
|
||||||
|
this.ClientSize = new System.Drawing.Size(350, 171);
|
||||||
|
this.ControlBox = false;
|
||||||
|
this.Controls.Add(this.StatMsg);
|
||||||
|
this.Controls.Add(this.lblBar);
|
||||||
|
this.Controls.Add(this.progressBar1);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.Name = "StatusBarFrm";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Status";
|
||||||
|
this.TopMost = true;
|
||||||
|
this.Load += new System.EventHandler(this.StatusBarFrm_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private void StatusBarFrm_Load(object sender, System.EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public int Value
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return progressBar1.Value;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (value >= progressBar1.Maximum)
|
||||||
|
progressBar1.Value = progressBar1.Maximum;
|
||||||
|
else
|
||||||
|
progressBar1.Value = value;
|
||||||
|
UpateLabel();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int Maximum
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return progressBar1.Maximum;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
progressBar1.Maximum = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int Step
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return progressBar1.Step;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
progressBar1.Step = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void PerformStep()
|
||||||
|
{
|
||||||
|
progressBar1.PerformStep();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void UpateLabel()
|
||||||
|
{
|
||||||
|
lblBar.Text = (Math.Round((decimal)(progressBar1.Value * 100) / progressBar1.Maximum)).ToString();
|
||||||
|
lblBar.Text += "% Complete";
|
||||||
|
// if( lblBar.Text != strLblLast)
|
||||||
|
// {
|
||||||
|
// Profiler.Start("UpdateLabel");
|
||||||
|
lblBar.Refresh();
|
||||||
|
// lblBar.Update();
|
||||||
|
// Profiler.End("UpdateLabel");
|
||||||
|
// }
|
||||||
|
// strLblLast = lblBar.Text;
|
||||||
|
}
|
||||||
|
|
||||||
|
public string StatusMessage
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return StatMsg.Text;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
StatMsg.Text = value;
|
||||||
|
// Profiler.Start("StatusMessage");
|
||||||
|
StatMsg.Refresh();
|
||||||
|
// StatMsg.Update();
|
||||||
|
// Profiler.End("StatusMessage");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string StatusBoxTitle
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return Text;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
Text = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
157
PROMS/VEPROMS/VlnStatus64/StatusBarFrm.resx
Normal file
157
PROMS/VEPROMS/VlnStatus64/StatusBarFrm.resx
Normal file
@@ -0,0 +1,157 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 1.3
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">1.3</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1">this is my long string</data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
[base64 mime encoded serialized .NET Framework object]
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
[base64 mime encoded string representing a byte array form of the .NET Framework object]
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used forserialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>1.3</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="progressBar1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="progressBar1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
<data name="progressBar1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
<data name="lblBar.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="lblBar.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
<data name="lblBar.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
<data name="StatMsg.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="StatMsg.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
<data name="StatMsg.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>(Default)</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>8, 8</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>80</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.Name">
|
||||||
|
<value>StatusBarFrm</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
140
PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.cs
Normal file
140
PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.cs
Normal file
@@ -0,0 +1,140 @@
|
|||||||
|
/*********************************************************************************************
|
||||||
|
* Copyright 2002 - Volian Enterprises, Inc. All rights reserved.
|
||||||
|
* Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||||
|
* ------------------------------------------------------------------------------
|
||||||
|
* $Workfile: StatusMessageFrm.cs $ $Revision: 3 $
|
||||||
|
* $Author: Jsj $ $Date: 5/11/04 9:30a $
|
||||||
|
*
|
||||||
|
* $History: StatusMessageFrm.cs $
|
||||||
|
*
|
||||||
|
* ***************** Version 3 *****************
|
||||||
|
* User: Jsj Date: 5/11/04 Time: 9:30a
|
||||||
|
* Updated in $/LibSource/VlnStatus
|
||||||
|
*
|
||||||
|
* ***************** Version 2 *****************
|
||||||
|
* User: Jsj Date: 11/26/02 Time: 3:38p
|
||||||
|
* Updated in $/LibSource/VlnStatus
|
||||||
|
* Added overbounds check
|
||||||
|
*********************************************************************************************/
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Collections;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace VlnStatus
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Create status message window.
|
||||||
|
/// </summary>
|
||||||
|
public class StatusMessageFrm : System.Windows.Forms.Form
|
||||||
|
{
|
||||||
|
private System.Windows.Forms.Label lblStatMsg;
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.Container components = null;
|
||||||
|
|
||||||
|
public StatusMessageFrm()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// Required for Windows Form Designer support
|
||||||
|
//
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
public StatusMessageFrm(string StatTitle)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// Required for Windows Form Designer support
|
||||||
|
//
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
Text = StatTitle;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
protected override void Dispose( bool disposing )
|
||||||
|
{
|
||||||
|
if( disposing )
|
||||||
|
{
|
||||||
|
if(components != null)
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
base.Dispose( disposing );
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
this.lblStatMsg = new System.Windows.Forms.Label();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// lblStatMsg
|
||||||
|
//
|
||||||
|
this.lblStatMsg.Location = new System.Drawing.Point(19, 20);
|
||||||
|
this.lblStatMsg.Name = "lblStatMsg";
|
||||||
|
this.lblStatMsg.Size = new System.Drawing.Size(420, 81);
|
||||||
|
this.lblStatMsg.TabIndex = 0;
|
||||||
|
this.lblStatMsg.Text = "Put Status Message Here";
|
||||||
|
this.lblStatMsg.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// StatusMessageFrm
|
||||||
|
//
|
||||||
|
this.AutoScaleBaseSize = new System.Drawing.Size(7, 19);
|
||||||
|
this.ClientSize = new System.Drawing.Size(457, 117);
|
||||||
|
this.ControlBox = false;
|
||||||
|
this.Controls.Add(this.lblStatMsg);
|
||||||
|
this.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimizeBox = false;
|
||||||
|
this.Name = "StatusMessageFrm";
|
||||||
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||||
|
this.Text = "Status";
|
||||||
|
this.TopMost = true;
|
||||||
|
this.Load += new System.EventHandler(this.StatusMessageFrm_Load);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private void StatusMessageFrm_Load(object sender, System.EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public string StatusMessage
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return lblStatMsg.Text;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
lblStatMsg.Text = value;
|
||||||
|
lblStatMsg.Refresh();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public string StatusBoxTitle
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return Text;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
Text = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
139
PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.resx
Normal file
139
PROMS/VEPROMS/VlnStatus64/StatusMessageFrm.resx
Normal file
@@ -0,0 +1,139 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<root>
|
||||||
|
<!--
|
||||||
|
Microsoft ResX Schema
|
||||||
|
|
||||||
|
Version 1.3
|
||||||
|
|
||||||
|
The primary goals of this format is to allow a simple XML format
|
||||||
|
that is mostly human readable. The generation and parsing of the
|
||||||
|
various data types are done through the TypeConverter classes
|
||||||
|
associated with the data types.
|
||||||
|
|
||||||
|
Example:
|
||||||
|
|
||||||
|
... ado.net/XML headers & schema ...
|
||||||
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
|
<resheader name="version">1.3</resheader>
|
||||||
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
|
<data name="Name1">this is my long string</data>
|
||||||
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
|
[base64 mime encoded serialized .NET Framework object]
|
||||||
|
</data>
|
||||||
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
[base64 mime encoded string representing a byte array form of the .NET Framework object]
|
||||||
|
</data>
|
||||||
|
|
||||||
|
There are any number of "resheader" rows that contain simple
|
||||||
|
name/value pairs.
|
||||||
|
|
||||||
|
Each data row contains a name, and value. The row also contains a
|
||||||
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
|
text/value conversion through the TypeConverter architecture.
|
||||||
|
Classes that don't support this are serialized and stored with the
|
||||||
|
mimetype set.
|
||||||
|
|
||||||
|
The mimetype is used forserialized objects, and tells the
|
||||||
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
|
read any of the formats listed below.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
|
value : The object must be serialized with
|
||||||
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
|
value : The object must be serialized into a byte array
|
||||||
|
: using a System.ComponentModel.TypeConverter
|
||||||
|
: and then encoded with base64 encoding.
|
||||||
|
-->
|
||||||
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:choice maxOccurs="unbounded">
|
||||||
|
<xsd:element name="data">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||||
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
<xsd:element name="resheader">
|
||||||
|
<xsd:complexType>
|
||||||
|
<xsd:sequence>
|
||||||
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
|
</xsd:sequence>
|
||||||
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:choice>
|
||||||
|
</xsd:complexType>
|
||||||
|
</xsd:element>
|
||||||
|
</xsd:schema>
|
||||||
|
<resheader name="resmimetype">
|
||||||
|
<value>text/microsoft-resx</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="version">
|
||||||
|
<value>1.3</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="reader">
|
||||||
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<resheader name="writer">
|
||||||
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
|
</resheader>
|
||||||
|
<data name="lblStatMsg.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="lblStatMsg.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
<data name="lblStatMsg.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>(Default)</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>False</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
<value>8, 8</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.Name">
|
||||||
|
<value>StatusMessageFrm</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>80</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>True</value>
|
||||||
|
</data>
|
||||||
|
<data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||||
|
<value>Private</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
58
PROMS/VEPROMS/VlnStatus64/VlnStatus64.csproj
Normal file
58
PROMS/VEPROMS/VlnStatus64/VlnStatus64.csproj
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{797DE52C-278C-41D4-8B65-B9CFC02DDCD9}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>VlnStatus64</RootNamespace>
|
||||||
|
<AssemblyName>VlnStatus64</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="StatusBarFrm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="StatusMessageFrm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="VlnStatusBar.cs" />
|
||||||
|
<Compile Include="VlnStatusMessage.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="StatusBarFrm.resx" />
|
||||||
|
<EmbeddedResource Include="StatusMessageFrm.resx" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
148
PROMS/VEPROMS/VlnStatus64/VlnStatusBar.cs
Normal file
148
PROMS/VEPROMS/VlnStatus64/VlnStatusBar.cs
Normal file
@@ -0,0 +1,148 @@
|
|||||||
|
/*********************************************************************************************
|
||||||
|
* Copyright 2002 - Volian Enterprises, Inc. All rights reserved.
|
||||||
|
* Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||||
|
* ------------------------------------------------------------------------------
|
||||||
|
* $Workfile: VlnStatusBar.cs $ $Revision: 4 $
|
||||||
|
* $Author: Jsj $ $Date: 11/26/02 4:25p $
|
||||||
|
*
|
||||||
|
* $History: VlnStatusBar.cs $
|
||||||
|
*
|
||||||
|
* ***************** Version 4 *****************
|
||||||
|
* User: Jsj Date: 11/26/02 Time: 4:25p
|
||||||
|
* Updated in $/LibSource/VlnStatus
|
||||||
|
* fixed problem with counter
|
||||||
|
*
|
||||||
|
* ***************** Version 3 *****************
|
||||||
|
* User: Jsj Date: 11/26/02 Time: 3:38p
|
||||||
|
* Updated in $/LibSource/VlnStatus
|
||||||
|
* Added overbounds check
|
||||||
|
*********************************************************************************************/
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace VlnStatus
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Creates a Status Window with a progression bar control.
|
||||||
|
///
|
||||||
|
/// This class has two constructors. One allows you to pass in the title
|
||||||
|
/// of the Status Box. The Other provides a default title of "Status".
|
||||||
|
/// The Status Box Title can also be set/changed via the StatusBoxTitle
|
||||||
|
/// property.
|
||||||
|
///
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public class VlnStatusBar
|
||||||
|
{
|
||||||
|
StatusBarFrm StatBar;
|
||||||
|
private int Cnt;
|
||||||
|
|
||||||
|
// Create a status window with the default title of "Status"
|
||||||
|
public VlnStatusBar()
|
||||||
|
{
|
||||||
|
StatBar = new StatusBarFrm();
|
||||||
|
StatBar.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Create a status window with the passed in title
|
||||||
|
public VlnStatusBar(string Title)
|
||||||
|
{
|
||||||
|
StatBar = new StatusBarFrm(Title);
|
||||||
|
StatBar.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Increament the the status bar by the passed in value.
|
||||||
|
public void PerformStep(int val)
|
||||||
|
{
|
||||||
|
// StatBar.Value = val;
|
||||||
|
// Cnt = val;
|
||||||
|
BarValue = val;
|
||||||
|
StatBar.PerformStep();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Increament the the status bar by one
|
||||||
|
public void PerformStep()
|
||||||
|
{
|
||||||
|
// StatBar.Value = StatBar.Value + 1;
|
||||||
|
Cnt++;
|
||||||
|
BarValue = Cnt;
|
||||||
|
StatBar.PerformStep();
|
||||||
|
}
|
||||||
|
|
||||||
|
// This property gets or sets the current status bar value.
|
||||||
|
public int BarValue
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return StatBar.Value;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
StatBar.Value = value;
|
||||||
|
Cnt = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// This property sets or gets the maximum value that the
|
||||||
|
// BarValue property can be. i.e. when BarValue reaches this
|
||||||
|
// number, the status bar is completely displayed.
|
||||||
|
public int BarMax
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return StatBar.Maximum;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
StatBar.Maximum = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// This property sets or gets the increamenting value used to
|
||||||
|
// move the status bar. For example, if set to 5, each tick of
|
||||||
|
// the status bar represents a value of 5.
|
||||||
|
public int BarStepValue
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return StatBar.Step;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
StatBar.Step = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// This property sets or gets the message above the status bar.
|
||||||
|
public string StatMsg
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return StatBar.StatusMessage;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
StatBar.StatusMessage = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// This property sets or gets the Status Window Title
|
||||||
|
public string StatusBoxTitle
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return StatBar.StatusBoxTitle;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
StatBar.StatusBoxTitle = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
StatBar.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
79
PROMS/VEPROMS/VlnStatus64/VlnStatusMessage.cs
Normal file
79
PROMS/VEPROMS/VlnStatus64/VlnStatusMessage.cs
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
/*********************************************************************************************
|
||||||
|
* Copyright 2002 - Volian Enterprises, Inc. All rights reserved.
|
||||||
|
* Volian Enterprises - Proprietary Information - DO NOT COPY OR DISTRIBUTE
|
||||||
|
* ------------------------------------------------------------------------------
|
||||||
|
* $Workfile: VlnStatusMessage.cs $ $Revision: 3 $
|
||||||
|
* $Author: Jsj $ $Date: 11/26/02 3:38p $
|
||||||
|
*
|
||||||
|
* $History: VlnStatusMessage.cs $
|
||||||
|
*
|
||||||
|
* ***************** Version 3 *****************
|
||||||
|
* User: Jsj Date: 11/26/02 Time: 3:38p
|
||||||
|
* Updated in $/LibSource/VlnStatus
|
||||||
|
* Added overbounds check
|
||||||
|
*********************************************************************************************/
|
||||||
|
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace VlnStatus
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Creates a Status Window to display a status message.
|
||||||
|
///
|
||||||
|
/// This class has two constructors. One allows you to pass in the title
|
||||||
|
/// of the Status Box. The Other provides a default title of "Status".
|
||||||
|
/// The Status Box Title can also be set/changed via the StatusBoxTitle
|
||||||
|
/// property.
|
||||||
|
///
|
||||||
|
/// </summary>
|
||||||
|
public class VlnStatusMessage
|
||||||
|
{
|
||||||
|
StatusMessageFrm StatusMessageBox;
|
||||||
|
|
||||||
|
// Create a status window with the default title of "Status"
|
||||||
|
public VlnStatusMessage()
|
||||||
|
{
|
||||||
|
StatusMessageBox = new StatusMessageFrm();
|
||||||
|
StatusMessageBox.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Create a status window with the passed in title.
|
||||||
|
public VlnStatusMessage(string StatusBoxTitle)
|
||||||
|
{
|
||||||
|
StatusMessageBox = new StatusMessageFrm(StatusBoxTitle);
|
||||||
|
StatusMessageBox.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
// This property gets or sets the current status message
|
||||||
|
public string StatusMessage
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return StatusMessageBox.StatusMessage;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
StatusMessageBox.StatusMessage = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// This property gets or sets the status box title
|
||||||
|
public string StatusBoxTitle
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return StatusMessageBox.StatusBoxTitle;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
StatusMessageBox.StatusBoxTitle = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Dispose()
|
||||||
|
{
|
||||||
|
StatusMessageBox.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
@@ -11,7 +11,6 @@ using DevComponents.DotNetBar;
|
|||||||
using JR.Utils.GUI.Forms;
|
using JR.Utils.GUI.Forms;
|
||||||
using Volian.Base.Library;
|
using Volian.Base.Library;
|
||||||
using Microsoft.Win32;
|
using Microsoft.Win32;
|
||||||
using System.Linq;
|
|
||||||
|
|
||||||
namespace Volian.Controls.Library
|
namespace Volian.Controls.Library
|
||||||
{
|
{
|
||||||
@@ -262,45 +261,24 @@ namespace Volian.Controls.Library
|
|||||||
get { return _ChgId; }
|
get { return _ChgId; }
|
||||||
set { _ChgId = value; }
|
set { _ChgId = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
|
||||||
public bool EditorialChange
|
public bool EditorialChange
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (_ChgId == null) return true;
|
if (_ChgId == null) return true;
|
||||||
if (_ChgId == "") return true;
|
if (_ChgId == "") return true;
|
||||||
if (_ChgId.ToUpper() == "EC") { return true;}
|
if (_ChgId.ToUpper() == "EC") return true;
|
||||||
|
return false;
|
||||||
return IsInEditorialMode;
|
}
|
||||||
}
|
}
|
||||||
}
|
#endregion
|
||||||
|
#region Events
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
/// <summary>
|
||||||
// property to hold if button in ribbon is toggled on or off
|
/// This event is raised when a the "Tab" of a DisplayItem is clicked with a mouse.
|
||||||
public bool IsInEditorialMode { get; set; } = false;
|
/// So far this has just been used for demo purposes. It could be used to select a
|
||||||
|
/// step and it's children for the purpose of copying.
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
/// </summary>
|
||||||
// This is used when button in the ribbon is toggled on/off
|
public event StepPanelEvent ItemClick;
|
||||||
// It iterates through all previously opened tabs
|
|
||||||
// and updates the "Editorial Mode" button
|
|
||||||
// and background color to match those of the current tab
|
|
||||||
public void SetEdititorialModeForAllTabs(bool mode)
|
|
||||||
{
|
|
||||||
foreach (DisplayTabItem tabItem in _MyDisplayTabItems.Values.Where(tabItem => tabItem.MyStepTabPanel != null))
|
|
||||||
{
|
|
||||||
tabItem.MyStepTabPanel.MyStepTabRibbon.SetEditorialMode(mode);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#endregion
|
|
||||||
#region Events
|
|
||||||
/// <summary>
|
|
||||||
/// This event is raised when a the "Tab" of a DisplayItem is clicked with a mouse.
|
|
||||||
/// So far this has just been used for demo purposes. It could be used to select a
|
|
||||||
/// step and it's children for the purpose of copying.
|
|
||||||
/// </summary>
|
|
||||||
public event StepPanelEvent ItemClick;
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Checks to see if the ItemClick event is handled and launches it
|
/// Checks to see if the ItemClick event is handled and launches it
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -603,8 +581,7 @@ namespace Volian.Controls.Library
|
|||||||
{
|
{
|
||||||
ItemInfo myItemInfo = myItemInfo2;
|
ItemInfo myItemInfo = myItemInfo2;
|
||||||
|
|
||||||
//B2025-046 Remember Tabs failing when swapping versions of PROMS
|
if (myItemInfo.MyDocVersion == null) // bug fix: B2016-108 disconnected data will not have a MyDocVersion
|
||||||
if (myItemInfo?.MyDocVersion == null) // bug fix: B2016-108 disconnected data will not have a MyDocVersion
|
|
||||||
{
|
{
|
||||||
FlexibleMessageBox.Show(this, "Possible disconnected item", "Item Not Found");
|
FlexibleMessageBox.Show(this, "Possible disconnected item", "Item Not Found");
|
||||||
return null;
|
return null;
|
||||||
|
@@ -799,41 +799,27 @@ namespace Volian.Controls.Library
|
|||||||
// if the plant has the change id option, the change id was entered when the program started.
|
// if the plant has the change id option, the change id was entered when the program started.
|
||||||
// this should be saved for every piece of edited data. Note that the set of config
|
// this should be saved for every piece of edited data. Note that the set of config
|
||||||
// item Step_MultipleChangeID has the save built in to it.
|
// item Step_MultipleChangeID has the save built in to it.
|
||||||
if (sc == null) sc = new StepConfig();
|
|
||||||
if (MyStepRTB.MyItemInfo.IsStep &&
|
if (MyStepRTB.MyItemInfo.IsStep &&
|
||||||
MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds
|
MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds
|
||||||
&& !this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.EditorialChange)
|
&& !this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.EditorialChange)
|
||||||
{
|
{
|
||||||
|
//StepConfig sc = MyStepRTB.MyItemInfo.MyConfig as StepConfig;
|
||||||
|
if (sc == null) sc = new StepConfig();
|
||||||
sc.Step_ChangeID = this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.ChgId;
|
sc.Step_ChangeID = this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.ChgId;
|
||||||
}
|
//if (MyStepRTB.MyItemInfo.MyConfig == null) itm.MyContent.Config = sc.ToString();
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
|
||||||
// if in Editorial Mode, treat it the same as if the ChangeIds are set in the Format file
|
|
||||||
if (MyStepPanel.MyStepTabPanel.MyDisplayTabControl.IsInEditorialMode && !existingChangeBar)
|
|
||||||
{
|
|
||||||
sc.Step_ChangeIDEditorialMode = Volian.Base.Library.VlnSettings.UserID;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
sc.Step_ChangeIDEditorialMode = null;
|
|
||||||
}
|
}
|
||||||
// B2020-017: If making an editorial change, clear the Change id. Having the change id on
|
// B2020-017: If making an editorial change, clear the Change id. Having the change id on
|
||||||
// was adding/printing a change bar.
|
// was adding/printing a change bar.
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
|
||||||
// if in Editorial Mode, treat it the same as if the ChangeIds are set in the Format file
|
|
||||||
if (MyStepRTB.MyItemInfo.IsStep &&
|
if (MyStepRTB.MyItemInfo.IsStep &&
|
||||||
(MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds
|
MyStepRTB.MyItemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds
|
||||||
|| MyStepPanel.MyStepTabPanel.MyDisplayTabControl.IsInEditorialMode
|
&& this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.EditorialChange
|
||||||
)
|
&& hasChangeBar == false)
|
||||||
&& MyStepPanel.MyStepTabPanel.MyDisplayTabControl.EditorialChange
|
|
||||||
&& !hasChangeBar)
|
|
||||||
{
|
{
|
||||||
if (sc == null) sc = new StepConfig();
|
if (sc == null) sc = new StepConfig();
|
||||||
sc.Step_ChangeID = null;
|
sc.Step_ChangeID = null;
|
||||||
}
|
}
|
||||||
// B2015-024 Have Spell Checker text changes be an editorial change (not assign a change bar but keep existing change bar)
|
// B2015-024 Have Spell Checker text changes be an editorial change (not assign a change bar but keep existing change bar)
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.EditData.EditoralSpellCheck)
|
||||||
// if in Editorial Mode, treat it the same as if the Rditorial SprllCheck flag is set in the Format file
|
|
||||||
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.EditData.EditoralSpellCheck || this.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.IsInEditorialMode)
|
|
||||||
{
|
{
|
||||||
if (StepRTB.DidEditorialSpellCheck)
|
if (StepRTB.DidEditorialSpellCheck)
|
||||||
{
|
{
|
||||||
|
@@ -650,13 +650,8 @@ namespace Volian.Controls.Library
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public Color ActiveColor
|
public Color ActiveColor
|
||||||
{
|
{
|
||||||
get {
|
get { return _ActiveColor; }
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
set { _ActiveColor = value; }
|
||||||
// if in Editorial Mode, use LightGreen background
|
|
||||||
_ActiveColor = MyStepTabPanel != null && MyStepTabPanel.MyDisplayTabControl.IsInEditorialMode ? Color.LightGreen : Color.SkyBlue;
|
|
||||||
return _ActiveColor;
|
|
||||||
}
|
|
||||||
set { _ActiveColor = value; }
|
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets the Annotation backcolor for StepRTBs in the Panel
|
/// Gets or Sets the Annotation backcolor for StepRTBs in the Panel
|
||||||
|
@@ -3760,12 +3760,7 @@ namespace Volian.Controls.Library
|
|||||||
public bool SpellCheckNext()
|
public bool SpellCheckNext()
|
||||||
{
|
{
|
||||||
int nBad = C1SpellChecker2.CheckControl(this, false, MySpellCheckDlg);
|
int nBad = C1SpellChecker2.CheckControl(this, false, MySpellCheckDlg);
|
||||||
|
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.EditData.EditoralSpellCheck)
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
|
||||||
// if in Editorial Mode, treat it the same as if the EditorialSpellCheck flag is set in the Format file
|
|
||||||
bool editorialmode = (this.Parent.Parent.Parent as StepTabPanel).MyDisplayTabControl.IsInEditorialMode;
|
|
||||||
|
|
||||||
if (MyItemInfo.ActiveFormat.PlantFormat.FormatData.EditData.EditoralSpellCheck || editorialmode)
|
|
||||||
DidEditorialSpellCheck = MySpellCheckDlg.DidCorrectSpelling; // B2015-024 spell checker in editoral mode
|
DidEditorialSpellCheck = MySpellCheckDlg.DidCorrectSpelling; // B2015-024 spell checker in editoral mode
|
||||||
return (nBad >= 0); // nBad = -1 means user pressed Cancel button
|
return (nBad >= 0); // nBad = -1 means user pressed Cancel button
|
||||||
}
|
}
|
||||||
|
@@ -120,7 +120,7 @@ namespace Volian.Controls.Library
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void SetupStepTabRibbon()
|
private void SetupStepTabRibbon()
|
||||||
{
|
{
|
||||||
_MyStepTabRibbon = new StepTabRibbon(_MyDisplayTabControl.IsInEditorialMode);
|
_MyStepTabRibbon = new StepTabRibbon();
|
||||||
_MyStepTabRibbon.Dock = System.Windows.Forms.DockStyle.Top;
|
_MyStepTabRibbon.Dock = System.Windows.Forms.DockStyle.Top;
|
||||||
_MyStepTabRibbon.Location = new System.Drawing.Point(0, 0);
|
_MyStepTabRibbon.Location = new System.Drawing.Point(0, 0);
|
||||||
_MyStepTabRibbon.Name = "displayTabRibbon1";
|
_MyStepTabRibbon.Name = "displayTabRibbon1";
|
||||||
|
@@ -995,7 +995,7 @@ namespace Volian.Controls.Library
|
|||||||
// SetButtonAndMenuEnabling(true);
|
// SetButtonAndMenuEnabling(true);
|
||||||
//}
|
//}
|
||||||
#region Constructor
|
#region Constructor
|
||||||
public StepTabRibbon(bool? IsInEditorialMode = false)
|
public StepTabRibbon()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
this.btnInsSupInfo.Tag = string.Format("{0} {1}", (int)E_FromTypes.SupInfos, 1040); // Make type of rno (40) & special case 1000
|
this.btnInsSupInfo.Tag = string.Format("{0} {1}", (int)E_FromTypes.SupInfos, 1040); // Make type of rno (40) & special case 1000
|
||||||
@@ -1021,16 +1021,8 @@ namespace Volian.Controls.Library
|
|||||||
// hide the import from Word file if not running in Debug mode
|
// hide the import from Word file if not running in Debug mode
|
||||||
if (!VlnSettings.DebugMode)
|
if (!VlnSettings.DebugMode)
|
||||||
rbnImpWrd.Visible = false;
|
rbnImpWrd.Visible = false;
|
||||||
|
}
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
void _RibbonControl_SizeChanged(object sender, EventArgs e)
|
||||||
// default Editorial Mode to what is set in the DisplayTabControl
|
|
||||||
SetEditorialMode(IsInEditorialMode != null && (bool) IsInEditorialMode);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public void SetEditorialMode(bool mode) => btnEditorialMode.Checked = btnCMEditorialMode.Checked = mode;
|
|
||||||
|
|
||||||
void _RibbonControl_SizeChanged(object sender, EventArgs e)
|
|
||||||
{
|
{
|
||||||
this.Size = _RibbonControl.Size;
|
this.Size = _RibbonControl.Size;
|
||||||
}
|
}
|
||||||
@@ -3133,7 +3125,7 @@ namespace Volian.Controls.Library
|
|||||||
btnCMRedo.Enabled = btnRedo.Enabled = _MyStepRTB.CanRedo;
|
btnCMRedo.Enabled = btnRedo.Enabled = _MyStepRTB.CanRedo;
|
||||||
btnCMUndo.Enabled = btnUndo.Enabled = _MyStepRTB.CanUndo;
|
btnCMUndo.Enabled = btnUndo.Enabled = _MyStepRTB.CanUndo;
|
||||||
}
|
}
|
||||||
private void btnGoTo_Click(object sender, EventArgs e)
|
private void btnGoTo_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
// if on a transition, go to the selected transition 'to'. If on
|
// if on a transition, go to the selected transition 'to'. If on
|
||||||
// a referenced object, bring up ReferencedObject Editor (for now, just put up a message box.
|
// a referenced object, bring up ReferencedObject Editor (for now, just put up a message box.
|
||||||
@@ -3219,29 +3211,7 @@ namespace Volian.Controls.Library
|
|||||||
System.Diagnostics.Process.Start(roapp, args);
|
System.Diagnostics.Process.Start(roapp, args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
private void btnChgTyp_Click(object sender, EventArgs e)
|
||||||
// C2015-028 Add Editorial Mode to PROMS Step Editor
|
|
||||||
private void btnEditorialMode_Click(object sender, EventArgs e)
|
|
||||||
{
|
|
||||||
//toggle button is selected
|
|
||||||
SetEditorialMode(!btnEditorialMode.Checked);
|
|
||||||
|
|
||||||
//set the overall flag in the displaytabcontrol
|
|
||||||
StepTabPanel tmp = Parent as StepTabPanel;
|
|
||||||
tmp.MyDisplayTabControl.IsInEditorialMode = btnEditorialMode.Checked;
|
|
||||||
|
|
||||||
//refresh the current item so the background color changes (LightGreen=Editorial Mode, SkyBlue=Normal Selected)
|
|
||||||
if (MyEditItem != null)
|
|
||||||
{
|
|
||||||
_MyEditItem.RefreshContent();
|
|
||||||
Application.DoEvents();
|
|
||||||
}
|
|
||||||
|
|
||||||
//set other preciously opened tabs to match the state of Editorial Mode in the current tab
|
|
||||||
tmp.MyDisplayTabControl.SetEdititorialModeForAllTabs(btnEditorialMode.Checked);
|
|
||||||
}
|
|
||||||
|
|
||||||
private void btnChgTyp_Click(object sender, EventArgs e)
|
|
||||||
{
|
{
|
||||||
StepPanelTabDisplayEventArgs args = new StepPanelTabDisplayEventArgs("Change Step Type");
|
StepPanelTabDisplayEventArgs args = new StepPanelTabDisplayEventArgs("Change Step Type");
|
||||||
MyEditItem.MyStepPanel.OnTabDisplay(sender, args);
|
MyEditItem.MyStepPanel.OnTabDisplay(sender, args);
|
||||||
@@ -3309,8 +3279,7 @@ namespace Volian.Controls.Library
|
|||||||
rtabInsert.Visible = false;
|
rtabInsert.Visible = false;
|
||||||
rtabAdmin.Visible = false;
|
rtabAdmin.Visible = false;
|
||||||
rtabReview.Select();
|
rtabReview.Select();
|
||||||
btnCMEditMode1.Enabled = btnEditMode.Enabled = btnCMEditorialMode.Enabled = false; // don't allow reviewer toggle out of view mode
|
btnCMEditMode1.Enabled = btnEditMode.Enabled = false; // don't allow reviewer toggle out of view mode
|
||||||
btnCMEditorialMode.Visible = false;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
public void SetupROEditorMode()
|
public void SetupROEditorMode()
|
||||||
|
BIN
PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
generated
BIN
PROMS/Volian.Controls.Library/StepTabRibbon.designer.cs
generated
Binary file not shown.
@@ -27,26 +27,10 @@ namespace Volian.Controls.Library
|
|||||||
while (MyEditItem.SpellCheckNext())
|
while (MyEditItem.SpellCheckNext())
|
||||||
{
|
{
|
||||||
ItemInfo next = MyEditItem.MyItemInfo.SearchNext;
|
ItemInfo next = MyEditItem.MyItemInfo.SearchNext;
|
||||||
//C2025-037 Evaluate the way that Spell Check (in step editor sections) is currently closing after one section.
|
if (next == null || !next.IsStep) // B2016-063 check if next is not a step type instead of specifically a section
|
||||||
|
return; // spell check only current section
|
||||||
if (next == null || next.IsProcedure) // B2016-063 check if next is not a step type instead of specifically a section
|
MyEditItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
|
||||||
{
|
}
|
||||||
return; // spell check only current procedure
|
|
||||||
}
|
|
||||||
|
|
||||||
//If it is a word document, find the next non-word document
|
|
||||||
while (next.HasWordContent)
|
|
||||||
{
|
|
||||||
next = next.SearchNext;
|
|
||||||
|
|
||||||
if (next == null || next.IsProcedure) // B2016-063 check if next is not a step type instead of specifically a section
|
|
||||||
{
|
|
||||||
return; // spell check only current procedure
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
MyEditItem.MyStepPanel.MyStepTabPanel.MyDisplayTabControl.OpenItem(next);
|
|
||||||
}
|
|
||||||
MyEditItem.SetFocus();
|
MyEditItem.SetFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -85,14 +85,6 @@ namespace Volian.Print.Library
|
|||||||
ProgressSetup,
|
ProgressSetup,
|
||||||
LoadVlnParagraph
|
LoadVlnParagraph
|
||||||
}
|
}
|
||||||
|
|
||||||
//B2025-048 Problem with Printing CAS Steps
|
|
||||||
public enum PromsPrinterPrintType
|
|
||||||
{
|
|
||||||
Normal,
|
|
||||||
CAS_Only,
|
|
||||||
TCAS_only
|
|
||||||
}
|
|
||||||
public class PromsPrinter
|
public class PromsPrinter
|
||||||
{
|
{
|
||||||
public bool NeedSupInfoBreak = false;
|
public bool NeedSupInfoBreak = false;
|
||||||
@@ -339,12 +331,6 @@ namespace Volian.Print.Library
|
|||||||
get { return _MergedPdf; }
|
get { return _MergedPdf; }
|
||||||
set { _MergedPdf = value; }
|
set { _MergedPdf = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
//B2025-048 Problem with Printing CAS Steps
|
|
||||||
// default to Normal
|
|
||||||
// will skip certain logic if CAS Only or CTS Only
|
|
||||||
public PromsPrinterPrintType PromsPrinterPrintType { get; set; } = PromsPrinterPrintType.Normal;
|
|
||||||
|
|
||||||
public PromsPrinter(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, string backgroundFolder, bool openPDF, bool overWrite,
|
public PromsPrinter(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, string backgroundFolder, bool openPDF, bool overWrite,
|
||||||
ChangeBarDefinition cbd, String pdfFile, bool insertBlankPages, bool batchPrint, string prefix, bool saveLinks, int removeTrailngHardReturnsAndManualPageBreaks, string blankPageText, bool didAll, MergedPdf mergedPdf, string watermarkColor, int PrtSectID = -1)
|
ChangeBarDefinition cbd, String pdfFile, bool insertBlankPages, bool batchPrint, string prefix, bool saveLinks, int removeTrailngHardReturnsAndManualPageBreaks, string blankPageText, bool didAll, MergedPdf mergedPdf, string watermarkColor, int PrtSectID = -1)
|
||||||
{
|
{
|
||||||
@@ -1280,7 +1266,7 @@ namespace Volian.Print.Library
|
|||||||
set { _MyTimeCriticalActSummary = value; }
|
set { _MyTimeCriticalActSummary = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public void CreateWordDocPdf(PdfContentByte cb, SectionInfo mySection)
|
public void CreateWordDocPdf(PdfContentByte cb, SectionInfo mySection)
|
||||||
{
|
{
|
||||||
if (mySection.PageNumber == -1) // If page num transition goes to a section, need the pagenumber of section.
|
if (mySection.PageNumber == -1) // If page num transition goes to a section, need the pagenumber of section.
|
||||||
{
|
{
|
||||||
|
@@ -99,8 +99,8 @@
|
|||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
<Reference Include="System.Windows.Forms" />
|
<Reference Include="System.Windows.Forms" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="VlnStatus">
|
<Reference Include="VlnStatus64">
|
||||||
<HintPath>..\ReferencedObjects\LibSource\VlnStatus\bin\Debug\VlnStatus.dll</HintPath>
|
<HintPath>..\VEPROMS\VlnStatus64\bin\Debug\VlnStatus64.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@@ -2159,10 +2159,7 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
// If "doSectionTitleContinued" is true then print the section title with "(Continued)" appended to it
|
// If "doSectionTitleContinued" is true then print the section title with "(Continued)" appended to it
|
||||||
// format must have ContinueSectinHeader format flag set to true
|
// format must have ContinueSectinHeader format flag set to true
|
||||||
//B2025-048 Problem with Printing CAS Steps
|
if (doSectionTitleContinued)
|
||||||
// skip this if printing CAS or CTAS - was causing it to
|
|
||||||
// skip/overwrite data
|
|
||||||
if (doSectionTitleContinued && MyPromsPrinter.PromsPrinterPrintType == PromsPrinterPrintType.Normal)
|
|
||||||
{
|
{
|
||||||
vlnParagraph sectContPara;
|
vlnParagraph sectContPara;
|
||||||
string contMsg = (MyItemInfo.ActiveSection != null) ? MyItemInfo.ActiveSection.MyDocStyle.Continue.SectionTitle.AppendToTitle : ""; // C2018-003 fixed use of getting the active section
|
string contMsg = (MyItemInfo.ActiveSection != null) ? MyItemInfo.ActiveSection.MyDocStyle.Continue.SectionTitle.AppendToTitle : ""; // C2018-003 fixed use of getting the active section
|
||||||
|
Reference in New Issue
Block a user