Compare commits
355 Commits
0c17d9abc2
...
C2022-003-
| Author | SHA1 | Date | |
|---|---|---|---|
| 30aedb6eec | |||
| 12f175740f | |||
| 5c0f11aea1 | |||
| 879518c4a9 | |||
| 7afca6a254 | |||
| 1c56aa2eb1 | |||
| ecaf00c5b3 | |||
| bfdc77da97 | |||
| f38aa4595f | |||
| aa0b906a9f | |||
| 9e64e5a60e | |||
| 35eb05432b | |||
| 77c6298067 | |||
| f43d1e5f47 | |||
| 63a74e1aef | |||
| 69e45e9ae8 | |||
| 53cf35014c | |||
| d6e4239573 | |||
| c76808e11e | |||
| b2428a4211 | |||
| aa0e919713 | |||
| 7e2a41b6cb | |||
| 258b1d2d1f | |||
| a4ea200e38 | |||
| 43a27c16a6 | |||
| 3c693baab0 | |||
| d186e2702c | |||
| aee478114b | |||
| 6220530855 | |||
| 69ae37021c | |||
| e2382a403b | |||
| 0ae45eb918 | |||
| d8882f8d0c | |||
| 00c64411c5 | |||
| c0f35a7d84 | |||
| 12cf05bb87 | |||
| 325c17647e | |||
| c6eeb2107a | |||
| 70fd037161 | |||
| ed4469bd5f | |||
| 5ce168071c | |||
| 4273d72b9d | |||
| 30f56d1f9b | |||
| d560468f3c | |||
| ac5e49d0fc | |||
| 447d1f510c | |||
| c0651e4e2c | |||
| f8865206e9 | |||
| 5e7d2431b3 | |||
| 9bb13f6d88 | |||
| 52dbd8afec | |||
| 99216321a8 | |||
| 31a0f04710 | |||
| ac88add40b | |||
| 5a2c0460aa | |||
| 862cf67375 | |||
| dae850616d | |||
| 72c2bd90e4 | |||
| d4ecf28147 | |||
| 149e114359 | |||
| 7d63e7e417 | |||
| d12e5d19c9 | |||
| 7a6b3b7a86 | |||
| 97fc02b601 | |||
| 9485403712 | |||
| caeead0bc0 | |||
| f93204e37e | |||
| e6af91c6ab | |||
| c89428eed8 | |||
| b4f2b89139 | |||
| aab7cdcf77 | |||
| 47cdedefd4 | |||
| 710145a32d | |||
| 2783d2cc77 | |||
| 751794c1ec | |||
| a7a5df1991 | |||
| 62a296f909 | |||
| c561aad661 | |||
| 0a301e1a84 | |||
| 37e727202c | |||
| 9023cc76a0 | |||
| 49bdd03c1c | |||
| 23f4b672b2 | |||
| 599d45086f | |||
| 93aed0e06a | |||
| 7eb94d7575 | |||
| fa8b0bd6a1 | |||
| c26e271676 | |||
| 7d87477d68 | |||
| 9002fb3828 | |||
| 10257a832a | |||
| 261f5a526c | |||
| b5e0c121e8 | |||
| 6d99c456e4 | |||
| 8c6f0c2736 | |||
| bd89af5e8c | |||
| b0e4128d3c | |||
| 875a8f101a | |||
| c5a8ef57ac | |||
| c8adeed187 | |||
| 49f5f506d4 | |||
| 1c87585570 | |||
| 30eb52da77 | |||
| 6f089482e6 | |||
| 8e221cc263 | |||
| 441917b670 | |||
| 6251de3b38 | |||
| d731125a14 | |||
| d6fe64bc40 | |||
| f8b93807ae | |||
| 2287a111c1 | |||
| a08d92ea41 | |||
| c41d7981ba | |||
| 37f5336806 | |||
| ebdc98dfa7 | |||
| f3c8c860f5 | |||
| f7b27142c4 | |||
| 4fc37c54c5 | |||
| 849e1e57dd | |||
| c768ca5eba | |||
| c9516d90e9 | |||
| 327aae687a | |||
| 3cbe4617eb | |||
| de69fe6b6f | |||
| e53101dacb | |||
| d3ec749848 | |||
| 410b7d3dd6 | |||
| e87b233713 | |||
| ca38ecb1cf | |||
| 5dfa70dc10 | |||
| ff3daff15a | |||
| 7b7f235354 | |||
| 779c6247cd | |||
| fcaffa8c5f | |||
| d2ffcc903a | |||
| 1d12c97e30 | |||
| 3bcaeb214e | |||
| 85995040a8 | |||
| 826d06b532 | |||
| 3328e35cf4 | |||
| 091c56ec34 | |||
| 31e9910242 | |||
| f6e3c72e9c | |||
| 3f618bc970 | |||
| 1c766e568c | |||
| 8ed9bfbfcb | |||
| f1d66fc446 | |||
| 50977b367f | |||
| 45312d0564 | |||
| 3261d63b19 | |||
| 2894899ad4 | |||
| dd5c709709 | |||
| 618247f4d5 | |||
| abcf035143 | |||
| 0b015233a9 | |||
| 44d85b842c | |||
| 470f4a770b | |||
| 808a1ba0ea | |||
| 04cef606fc | |||
| 1ef6a1d0e4 | |||
| b163a3a7b9 | |||
| e7f7f28ff1 | |||
| b9c17fd360 | |||
| c7534a985a | |||
| 52583a05f6 | |||
| 081373fc0d | |||
| 9130604fa6 | |||
| 37b4726925 | |||
| cc66eb5329 | |||
| 563c133676 | |||
| e8b32c4ed3 | |||
| 72ca259771 | |||
| d175c4b564 | |||
| fb2aeb8192 | |||
| 24c25ab26c | |||
| 9da91e460f | |||
| 2634cf7de9 | |||
| 7417091f3f | |||
| f9aad50f46 | |||
| 535cd5af2e | |||
| 4a8e469736 | |||
| 7d89f711fe | |||
| 7555a0389b | |||
| 1ac6e4b1a0 | |||
| d2fc4c6134 | |||
| 73cad308aa | |||
| c9f4c33ba1 | |||
| 3f0bdc593c | |||
| 0da2d38bd8 | |||
| 3a6ce52ead | |||
| eb0582ae69 | |||
| 3143d094e8 | |||
| f265a23f97 | |||
| dceeb410c6 | |||
| 30be08fe4d | |||
| 20247d0bc2 | |||
| c0ac325911 | |||
| c02ab116cd | |||
| 7ec4f2a61e | |||
| 16129ba742 | |||
| 61853fb71f | |||
| 58f13eb1dc | |||
| b999f17445 | |||
| c8047854f6 | |||
| 91ee23287a | |||
| 85b08b8c65 | |||
| c81079a876 | |||
| 8abe57552c | |||
| 3bf24b838b | |||
| e37928bf89 | |||
| 525173bc9f | |||
| aa6dacf0c5 | |||
| 69cc71ab3b | |||
| fe52d31168 | |||
| 3ea4307716 | |||
| 5650df1a9f | |||
| 8f154ebf48 | |||
| 47a4c62e92 | |||
| 539ad769d0 | |||
| 5fa90d9eab | |||
| ba9d56811c | |||
| 8eb8a328d1 | |||
| e8327316dd | |||
| 3bd7001106 | |||
| 2e5ad53c6a | |||
| ca0ae279e0 | |||
| adf1120436 | |||
| 7879391de0 | |||
| 11ba9ea418 | |||
| 0fe84ca17c | |||
| 1009ca5111 | |||
| 2c973fb0be | |||
| dba1f4e71c | |||
| 46fe124fe1 | |||
| 50688d7d8a | |||
| a7396e3c4a | |||
| 41e969f79e | |||
| 7b3f78f745 | |||
| 14bc171246 | |||
| a584c0751e | |||
| 3d7528e069 | |||
| 58cc75ef71 | |||
| b5a9462e95 | |||
| 1bc421ac6d | |||
| ad0d091b49 | |||
| 22de686a44 | |||
| 3e7eb09758 | |||
| e2a276085b | |||
| d561c579e0 | |||
| 371d117746 | |||
| 28c681a562 | |||
| 2131efb522 | |||
| 6e20774edf | |||
| a7c7744ff3 | |||
| 019aefbc61 | |||
| 81a23305ba | |||
| 4001abff02 | |||
| 25bfbeb8d6 | |||
| 44025c3978 | |||
| a3aa9747b8 | |||
| 009243b091 | |||
| e31e0b6680 | |||
| 449bb2522b | |||
| 453dce9520 | |||
| 655592186b | |||
| 1ebf67233b | |||
| 1588dabcbe | |||
| 09d3995e6c | |||
| db20385a6d | |||
| d701935ddf | |||
| d3888e3c32 | |||
| 94f0795247 | |||
| 4def73d738 | |||
| 99445406fc | |||
| 8c32d18aec | |||
| 20c31153de | |||
| 025fa57e24 | |||
| 6f04d0bf07 | |||
| ecb9a805e5 | |||
| 0577acad93 | |||
| d7f83fa4d4 | |||
| 4c4f4d52d2 | |||
| 0bf9025c0d | |||
| 7a0f56cad8 | |||
| 2784b57a05 | |||
| b9fc9748c7 | |||
| c98299d916 | |||
| f6e25fd966 | |||
| 557b9429bf | |||
| 139f7bbd0a | |||
| ec25f6426a | |||
| 00283b4f28 | |||
| e08b5cde69 | |||
| ec8e4c36a4 | |||
| 07c7718320 | |||
| 2953e977ef | |||
| 92522b1229 | |||
| 9ef9dcd7b9 | |||
| 5fd8096ef0 | |||
| 5f59543a14 | |||
| d44593d6d4 | |||
| 38744ff8e8 | |||
| 83e935a3f4 | |||
| 4d96e73866 | |||
| a55ce75e2e | |||
| c45dbf1dac | |||
| 2d08629608 | |||
| 49bc67a64f | |||
| abec4d9281 | |||
| 149bc601e2 | |||
| 66deede936 | |||
| 0df5511bf7 | |||
| 2e68218cfe | |||
| 80f3568dbd | |||
| 5fd0ff9e71 | |||
| 4dcfa05157 | |||
| 42648f31a5 | |||
| e0b628dce9 | |||
| 6e9c7e28e6 | |||
| ac091a7d26 | |||
| 8f31532917 | |||
| 612e7955cf | |||
| ce92031ff7 | |||
| 5a7e63871d | |||
| 7ade7f6e24 | |||
| e470ef0553 | |||
| fb01a4f8df | |||
| eacdca8669 | |||
| df97a6dd01 | |||
| 0259d4ff1d | |||
| f71e9938bb | |||
| 69f8e3f4fc | |||
| f49c888307 | |||
| 04a2da4371 | |||
| 59372b23e4 | |||
| 2970c0d7d4 | |||
| 392f1b09b2 | |||
| 79f66e9641 | |||
| e90fceca86 | |||
| 24d5cee8b4 | |||
| 31f608a9ec | |||
| 1ba4c4f343 | |||
| 700d9656b2 | |||
| 3e53ec9191 | |||
| 637cbd9954 | |||
| e9e934cfb1 | |||
| a417ddda85 | |||
| f273a8839a | |||
| 62ae81c7b3 | |||
| 6db9567eb9 | |||
| 8ef08c53b3 | |||
| 9fdbdb05f4 | |||
| d392131005 | |||
| 389b9e382b | |||
| 6fd84e2f2a |
@@ -5,7 +5,7 @@
|
|||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -44,6 +44,7 @@
|
|||||||
<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>
|
||||||
@@ -53,13 +54,14 @@
|
|||||||
<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>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -32,9 +32,9 @@ 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.3.yyMM.dHH") + "\")");
|
outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.4.yyMM.dHH") + "\")");
|
||||||
else
|
else
|
||||||
outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.2.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)
|
||||||
// {
|
// {
|
||||||
// Console.WriteLine("Before: '{0}'", line);
|
// Console.WriteLine("Before: '{0}'", line);
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
<TargetFrameworkProfile />
|
<TargetFrameworkProfile />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
@@ -30,15 +30,17 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
|
|||||||
@@ -28,7 +28,9 @@ namespace AT.STO.UI.Win
|
|||||||
|
|
||||||
_dropDownHelper = new DropDownWindowHelper();
|
_dropDownHelper = new DropDownWindowHelper();
|
||||||
|
|
||||||
|
_dropDownHelper.DropDownClosed -= new DropDownClosedEventHandler(DropDownHelper_DropDownClosed);
|
||||||
_dropDownHelper.DropDownClosed += new DropDownClosedEventHandler(DropDownHelper_DropDownClosed);
|
_dropDownHelper.DropDownClosed += new DropDownClosedEventHandler(DropDownHelper_DropDownClosed);
|
||||||
|
_dropDownHelper.DropDownCancel -= new DropDownCancelEventHandler(DropDownHelper_DropDownCancel);
|
||||||
_dropDownHelper.DropDownCancel += new DropDownCancelEventHandler(DropDownHelper_DropDownCancel);
|
_dropDownHelper.DropDownCancel += new DropDownCancelEventHandler(DropDownHelper_DropDownCancel);
|
||||||
|
|
||||||
combo.DisplayMember = "Text";
|
combo.DisplayMember = "Text";
|
||||||
@@ -82,7 +84,9 @@ namespace AT.STO.UI.Win
|
|||||||
DropDownForm dropDown = new DropDownForm(_dropDownControl);
|
DropDownForm dropDown = new DropDownForm(_dropDownControl);
|
||||||
|
|
||||||
|
|
||||||
|
dropDown.FinishEditing -= new DropDownValueChangedEventHandler(DropDown_FinishEditing);
|
||||||
dropDown.FinishEditing += new DropDownValueChangedEventHandler(DropDown_FinishEditing);
|
dropDown.FinishEditing += new DropDownValueChangedEventHandler(DropDown_FinishEditing);
|
||||||
|
dropDown.ValueChanged -= new DropDownValueChangedEventHandler(DropDown_ValueChanged);
|
||||||
dropDown.ValueChanged += new DropDownValueChangedEventHandler(DropDown_ValueChanged);
|
dropDown.ValueChanged += new DropDownValueChangedEventHandler(DropDown_ValueChanged);
|
||||||
|
|
||||||
combo.DroppedDown = false;
|
combo.DroppedDown = false;
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
@@ -45,13 +45,14 @@
|
|||||||
<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)' == 'Demo|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Demo|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\Demo\</OutputPath>
|
<OutputPath>bin\Demo\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -60,7 +61,7 @@
|
|||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -69,7 +70,7 @@
|
|||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -78,7 +79,7 @@
|
|||||||
<OutputPath>bin\Demo\</OutputPath>
|
<OutputPath>bin\Demo\</OutputPath>
|
||||||
<DefineConstants>TRACE;DEMO</DefineConstants>
|
<DefineConstants>TRACE;DEMO</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -49,7 +49,9 @@ namespace AT.STO.UI.Win
|
|||||||
{
|
{
|
||||||
base.OnShown(e);
|
base.OnShown(e);
|
||||||
|
|
||||||
|
_control.FinishEditing -= new DropDownValueChangedEventHandler(Ctrl_FinishEditing);
|
||||||
_control.FinishEditing += new DropDownValueChangedEventHandler(Ctrl_FinishEditing);
|
_control.FinishEditing += new DropDownValueChangedEventHandler(Ctrl_FinishEditing);
|
||||||
|
_control.ValueChanged -= new DropDownValueChangedEventHandler(Ctrl_ValueChanged);
|
||||||
_control.ValueChanged += new DropDownValueChangedEventHandler(Ctrl_ValueChanged);
|
_control.ValueChanged += new DropDownValueChangedEventHandler(Ctrl_ValueChanged);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -39,6 +39,7 @@ namespace AT.STO.UI.Win
|
|||||||
public DropDownWindowHelper()
|
public DropDownWindowHelper()
|
||||||
{
|
{
|
||||||
_filter = new DropDownMessageFilter(this);
|
_filter = new DropDownMessageFilter(this);
|
||||||
|
_filter.DropDownCancel -= new DropDownCancelEventHandler(Popup_Cancel);
|
||||||
_filter.DropDownCancel += new DropDownCancelEventHandler(Popup_Cancel);
|
_filter.DropDownCancel += new DropDownCancelEventHandler(Popup_Cancel);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
@@ -40,13 +40,14 @@
|
|||||||
<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>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
@@ -56,7 +57,7 @@
|
|||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
<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>
|
||||||
@@ -44,6 +45,7 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DevComponents.DotNetBar2, Version=14.1.0.37, Culture=neutral, PublicKeyToken=7eb7c3a35b91de04, processorArchitecture=MSIL">
|
<Reference Include="DevComponents.DotNetBar2, Version=14.1.0.37, Culture=neutral, PublicKeyToken=7eb7c3a35b91de04, processorArchitecture=MSIL">
|
||||||
@@ -92,6 +94,10 @@
|
|||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Content Include="epall\EPFormatTST1.xml" />
|
||||||
|
<Content Include="epall\EPFormatTST2.xml" />
|
||||||
|
<Content Include="epall\EPFormatTST3.xml" />
|
||||||
|
<Content Include="epall\EPFormatTST4.xml" />
|
||||||
<Content Include="fmtall\AEPall.xml">
|
<Content Include="fmtall\AEPall.xml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Content>
|
</Content>
|
||||||
@@ -176,6 +182,8 @@
|
|||||||
<Content Include="fmtall\CPL_03all.xml" />
|
<Content Include="fmtall\CPL_03all.xml" />
|
||||||
<Content Include="fmtall\CPSAMGDataall.xml" />
|
<Content Include="fmtall\CPSAMGDataall.xml" />
|
||||||
<Content Include="fmtall\CPSAMGDEVall.xml" />
|
<Content Include="fmtall\CPSAMGDEVall.xml" />
|
||||||
|
<Content Include="fmtall\EPTSTBCK1all.xml" />
|
||||||
|
<Content Include="fmtall\EPTST1all.xml" />
|
||||||
<Content Include="fmtall\CWEall.xml" />
|
<Content Include="fmtall\CWEall.xml" />
|
||||||
<Content Include="fmtall\CWEDEVall.xml" />
|
<Content Include="fmtall\CWEDEVall.xml" />
|
||||||
<Content Include="fmtall\CWERall.xml" />
|
<Content Include="fmtall\CWERall.xml" />
|
||||||
@@ -187,6 +195,7 @@
|
|||||||
<Content Include="fmtall\EFSGBCKall.xml" />
|
<Content Include="fmtall\EFSGBCKall.xml" />
|
||||||
<Content Include="fmtall\ELFDEVall.xml" />
|
<Content Include="fmtall\ELFDEVall.xml" />
|
||||||
<Content Include="fmtall\ENall.xml" />
|
<Content Include="fmtall\ENall.xml" />
|
||||||
|
<Content Include="fmtall\EPTST2all.xml" />
|
||||||
<Content Include="fmtall\ESFDEVall.xml" />
|
<Content Include="fmtall\ESFDEVall.xml" />
|
||||||
<Content Include="fmtall\EXCLNall.xml" />
|
<Content Include="fmtall\EXCLNall.xml" />
|
||||||
<Content Include="fmtall\EXCLN_00all.xml" />
|
<Content Include="fmtall\EXCLN_00all.xml" />
|
||||||
@@ -282,6 +291,10 @@
|
|||||||
<Content Include="fmtall\NSPWGall.xml" />
|
<Content Include="fmtall\NSPWGall.xml" />
|
||||||
<Content Include="fmtall\NSP_00all.xml" />
|
<Content Include="fmtall\NSP_00all.xml" />
|
||||||
<Content Include="fmtall\OHLPall.xml" />
|
<Content Include="fmtall\OHLPall.xml" />
|
||||||
|
<Content Include="fmtall\PROMSDemo1all.xml" />
|
||||||
|
<Content Include="fmtall\PROMSDemo2all.xml" />
|
||||||
|
<Content Include="fmtall\PROMSDemoALRall.xml" />
|
||||||
|
<Content Include="fmtall\PROMSDemoBCKall.xml" />
|
||||||
<Content Include="fmtall\PROMSMan1all.xml" />
|
<Content Include="fmtall\PROMSMan1all.xml" />
|
||||||
<Content Include="fmtall\PROMSMan2all.xml" />
|
<Content Include="fmtall\PROMSMan2all.xml" />
|
||||||
<Content Include="fmtall\RGEall.xml" />
|
<Content Include="fmtall\RGEall.xml" />
|
||||||
@@ -499,6 +512,10 @@
|
|||||||
<Content Include="genmacall\nspsam.svg" />
|
<Content Include="genmacall\nspsam.svg" />
|
||||||
<Content Include="genmacall\nspsamdev.svg" />
|
<Content Include="genmacall\nspsamdev.svg" />
|
||||||
<Content Include="genmacall\ohlp.svg" />
|
<Content Include="genmacall\ohlp.svg" />
|
||||||
|
<Content Include="genmacall\PROMSDemo1.svg" />
|
||||||
|
<Content Include="genmacall\PROMSDemo2.svg" />
|
||||||
|
<Content Include="genmacall\PROMSDemoALR.svg" />
|
||||||
|
<Content Include="genmacall\PROMSDemoBCK.svg" />
|
||||||
<Content Include="genmacall\PROMSMan1.svg" />
|
<Content Include="genmacall\PROMSMan1.svg" />
|
||||||
<Content Include="genmacall\PROMSMan2.svg" />
|
<Content Include="genmacall\PROMSMan2.svg" />
|
||||||
<Content Include="genmacall\rge.svg" />
|
<Content Include="genmacall\rge.svg" />
|
||||||
|
|||||||
BIN
PROMS/Formats/epall/EPFormatTST1.xml
Normal file
BIN
PROMS/Formats/epall/EPFormatTST1.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/epall/EPFormatTST2.xml
Normal file
BIN
PROMS/Formats/epall/EPFormatTST2.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/epall/EPFormatTST3.xml
Normal file
BIN
PROMS/Formats/epall/EPFormatTST3.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/epall/EPFormatTST4.xml
Normal file
BIN
PROMS/Formats/epall/EPFormatTST4.xml
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
PROMS/Formats/fmtall/EPTST1all.xml
Normal file
BIN
PROMS/Formats/fmtall/EPTST1all.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/fmtall/EPTST2all.xml
Normal file
BIN
PROMS/Formats/fmtall/EPTST2all.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/fmtall/EPTSTBCK1all.xml
Normal file
BIN
PROMS/Formats/fmtall/EPTSTBCK1all.xml
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -34,7 +34,7 @@
|
|||||||
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
@@ -45,13 +45,14 @@
|
|||||||
<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>TRACE;DEBUG</DefineConstants>
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
@@ -61,7 +62,7 @@
|
|||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
|||||||
@@ -59,7 +59,7 @@
|
|||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
@@ -85,6 +85,7 @@
|
|||||||
<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>
|
||||||
@@ -92,7 +93,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -103,7 +104,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ using System.Xml.Schema;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using ROFields;
|
using ROFields;
|
||||||
using RODBInterface;
|
using RODBInterface;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace ROEditor
|
namespace ROEditor
|
||||||
{
|
{
|
||||||
@@ -280,6 +281,7 @@ namespace ROEditor
|
|||||||
this.tbXYPlotWid.Size = new System.Drawing.Size(40, 22);
|
this.tbXYPlotWid.Size = new System.Drawing.Size(40, 22);
|
||||||
this.tbXYPlotWid.TabIndex = 11;
|
this.tbXYPlotWid.TabIndex = 11;
|
||||||
this.tbXYPlotWid.Text = "";
|
this.tbXYPlotWid.Text = "";
|
||||||
|
this.tbXYPlotWid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// tbTableWid
|
// tbTableWid
|
||||||
//
|
//
|
||||||
@@ -288,6 +290,7 @@ namespace ROEditor
|
|||||||
this.tbTableWid.Size = new System.Drawing.Size(40, 22);
|
this.tbTableWid.Size = new System.Drawing.Size(40, 22);
|
||||||
this.tbTableWid.TabIndex = 10;
|
this.tbTableWid.TabIndex = 10;
|
||||||
this.tbTableWid.Text = "";
|
this.tbTableWid.Text = "";
|
||||||
|
this.tbTableWid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// tbVariableTxtWid
|
// tbVariableTxtWid
|
||||||
//
|
//
|
||||||
@@ -296,6 +299,7 @@ namespace ROEditor
|
|||||||
this.tbVariableTxtWid.Size = new System.Drawing.Size(40, 22);
|
this.tbVariableTxtWid.Size = new System.Drawing.Size(40, 22);
|
||||||
this.tbVariableTxtWid.TabIndex = 9;
|
this.tbVariableTxtWid.TabIndex = 9;
|
||||||
this.tbVariableTxtWid.Text = "";
|
this.tbVariableTxtWid.Text = "";
|
||||||
|
this.tbVariableTxtWid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// tbSingleTxtWid
|
// tbSingleTxtWid
|
||||||
//
|
//
|
||||||
@@ -304,6 +308,7 @@ namespace ROEditor
|
|||||||
this.tbSingleTxtWid.Size = new System.Drawing.Size(40, 22);
|
this.tbSingleTxtWid.Size = new System.Drawing.Size(40, 22);
|
||||||
this.tbSingleTxtWid.TabIndex = 8;
|
this.tbSingleTxtWid.TabIndex = 8;
|
||||||
this.tbSingleTxtWid.Text = "";
|
this.tbSingleTxtWid.Text = "";
|
||||||
|
this.tbSingleTxtWid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// lblW4
|
// lblW4
|
||||||
//
|
//
|
||||||
@@ -586,5 +591,18 @@ namespace ROEditor
|
|||||||
|
|
||||||
this.Close();
|
this.Close();
|
||||||
}
|
}
|
||||||
|
private void txtBox_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
string clpBrd = Clipboard.GetText();
|
||||||
|
if (clpBrd.Any(c => c > 166))
|
||||||
|
{
|
||||||
|
MessageBox.Show("Symbols are not allowed in the field. Clipbroad: '" + clpBrd + "'");
|
||||||
|
Clipboard.Clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ using System.Xml.Schema;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using ROFields;
|
using ROFields;
|
||||||
using RODBInterface;
|
using RODBInterface;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace ROEditor
|
namespace ROEditor
|
||||||
{
|
{
|
||||||
@@ -316,6 +317,22 @@ namespace ROEditor
|
|||||||
}
|
}
|
||||||
base.Dispose( disposing );
|
base.Dispose( disposing );
|
||||||
}
|
}
|
||||||
|
private void txtBox_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
bool symFlg = false;
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
string clpBrd = Clipboard.GetText();
|
||||||
|
if (clpBrd.Any(c => c > 166))
|
||||||
|
{
|
||||||
|
MessageBox.Show("Symbols are not allowed in the field. Clipbroad: '" + clpBrd + "'");
|
||||||
|
Clipboard.Clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -357,6 +374,7 @@ namespace ROEditor
|
|||||||
this.tbFieldName.Size = new System.Drawing.Size(320, 22);
|
this.tbFieldName.Size = new System.Drawing.Size(320, 22);
|
||||||
this.tbFieldName.TabIndex = 2;
|
this.tbFieldName.TabIndex = 2;
|
||||||
this.tbFieldName.Text = "";
|
this.tbFieldName.Text = "";
|
||||||
|
this.tbFieldName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// tbWidth
|
// tbWidth
|
||||||
//
|
//
|
||||||
@@ -365,6 +383,7 @@ namespace ROEditor
|
|||||||
this.tbWidth.Size = new System.Drawing.Size(32, 22);
|
this.tbWidth.Size = new System.Drawing.Size(32, 22);
|
||||||
this.tbWidth.TabIndex = 3;
|
this.tbWidth.TabIndex = 3;
|
||||||
this.tbWidth.Text = "";
|
this.tbWidth.Text = "";
|
||||||
|
this.tbWidth.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// btnOK
|
// btnOK
|
||||||
//
|
//
|
||||||
@@ -402,6 +421,7 @@ namespace ROEditor
|
|||||||
this.tbPattern.TabIndex = 7;
|
this.tbPattern.TabIndex = 7;
|
||||||
this.tbPattern.Text = "";
|
this.tbPattern.Text = "";
|
||||||
this.tbPattern.Visible = false;
|
this.tbPattern.Visible = false;
|
||||||
|
this.tbPattern.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// FieldTextFrm
|
// FieldTextFrm
|
||||||
//
|
//
|
||||||
@@ -425,3 +445,4 @@ namespace ROEditor
|
|||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -72,6 +72,7 @@ using System.Xml;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using RODBInterface;
|
using RODBInterface;
|
||||||
using ROFields;
|
using ROFields;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace ROEditor
|
namespace ROEditor
|
||||||
{
|
{
|
||||||
@@ -277,6 +278,22 @@ namespace ROEditor
|
|||||||
|
|
||||||
this.Close();
|
this.Close();
|
||||||
}
|
}
|
||||||
|
private void txtBox_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
bool symFlg = false;
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
string clpBrd = Clipboard.GetText();
|
||||||
|
if (clpBrd.Any(c => c > 166))
|
||||||
|
{
|
||||||
|
MessageBox.Show("Symbols are not allowed in the field. Clipbroad: '" + clpBrd + "'");
|
||||||
|
Clipboard.Clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
@@ -315,6 +332,7 @@ namespace ROEditor
|
|||||||
this.tbFieldName.Size = new System.Drawing.Size(368, 22);
|
this.tbFieldName.Size = new System.Drawing.Size(368, 22);
|
||||||
this.tbFieldName.TabIndex = 1;
|
this.tbFieldName.TabIndex = 1;
|
||||||
this.tbFieldName.Text = "";
|
this.tbFieldName.Text = "";
|
||||||
|
this.tbFieldName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// gbFldType
|
// gbFldType
|
||||||
//
|
//
|
||||||
@@ -437,3 +455,4 @@ namespace ROEditor
|
|||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ using System.Xml;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using ROFields;
|
using ROFields;
|
||||||
using RODBInterface;
|
using RODBInterface;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace ROEditor
|
namespace ROEditor
|
||||||
{
|
{
|
||||||
@@ -155,6 +156,7 @@ namespace ROEditor
|
|||||||
this.tbGroup.Size = new System.Drawing.Size(248, 22);
|
this.tbGroup.Size = new System.Drawing.Size(248, 22);
|
||||||
this.tbGroup.TabIndex = 8;
|
this.tbGroup.TabIndex = 8;
|
||||||
this.tbGroup.Text = "";
|
this.tbGroup.Text = "";
|
||||||
|
this.tbGroup.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// lblGroup
|
// lblGroup
|
||||||
//
|
//
|
||||||
@@ -421,5 +423,21 @@ namespace ROEditor
|
|||||||
GroupDefFrm grdef = new GroupDefFrm(nelem,myrodb,nelem.InnerText,dbtype);
|
GroupDefFrm grdef = new GroupDefFrm(nelem,myrodb,nelem.InnerText,dbtype);
|
||||||
grdef.ShowDialog();
|
grdef.ShowDialog();
|
||||||
}
|
}
|
||||||
|
private void txtBox_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
string clpBrd = Clipboard.GetText();
|
||||||
|
if (clpBrd.Any(c => c > 166))
|
||||||
|
{
|
||||||
|
MessageBox.Show("Symbols are not allowed in the field. Clipbroad: '" + clpBrd + "'");
|
||||||
|
Clipboard.Clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -106,6 +106,7 @@ using ROFields;
|
|||||||
using RODBInterface;
|
using RODBInterface;
|
||||||
using VlnStatus;
|
using VlnStatus;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
|
|
||||||
namespace ROEditor
|
namespace ROEditor
|
||||||
@@ -1311,6 +1312,22 @@ namespace ROEditor
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
private void txtBox_KeyDown(object sender, KeyEventArgs e)
|
||||||
|
{
|
||||||
|
bool symFlg = false;
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
string clpBrd = Clipboard.GetText();
|
||||||
|
if (clpBrd.Any(c => c > 166))
|
||||||
|
{
|
||||||
|
MessageBox.Show("Symbols are not allowed in the field. Clipbroad: '" + clpBrd + "'");
|
||||||
|
Clipboard.Clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -1375,6 +1392,7 @@ namespace ROEditor
|
|||||||
this.tbRetVal.Size = new System.Drawing.Size(464, 22);
|
this.tbRetVal.Size = new System.Drawing.Size(464, 22);
|
||||||
this.tbRetVal.TabIndex = 4;
|
this.tbRetVal.TabIndex = 4;
|
||||||
this.tbRetVal.Text = "textBox1";
|
this.tbRetVal.Text = "textBox1";
|
||||||
|
this.tbRetVal.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// tbMenuVal
|
// tbMenuVal
|
||||||
//
|
//
|
||||||
@@ -1383,6 +1401,7 @@ namespace ROEditor
|
|||||||
this.tbMenuVal.Size = new System.Drawing.Size(464, 22);
|
this.tbMenuVal.Size = new System.Drawing.Size(464, 22);
|
||||||
this.tbMenuVal.TabIndex = 5;
|
this.tbMenuVal.TabIndex = 5;
|
||||||
this.tbMenuVal.Text = "textBox1";
|
this.tbMenuVal.Text = "textBox1";
|
||||||
|
this.tbMenuVal.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtBox_KeyDown);
|
||||||
//
|
//
|
||||||
// lblGroupText
|
// lblGroupText
|
||||||
//
|
//
|
||||||
@@ -1608,3 +1627,4 @@ namespace ROEditor
|
|||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</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>x86</PlatformTarget>
|
<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>
|
||||||
@@ -96,6 +96,7 @@
|
|||||||
<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>
|
||||||
@@ -103,11 +104,15 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Reference Include="DevComponents.DotNetBar2, Version=14.1.0.37, Culture=neutral, PublicKeyToken=7eb7c3a35b91de04, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\..\..\..\..\..\3rdPartyLibraries\DotNetBar\DotNetBar4.6Build\DevComponents.DotNetBar2.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System">
|
<Reference Include="System">
|
||||||
<Name>System</Name>
|
<Name>System</Name>
|
||||||
</Reference>
|
</Reference>
|
||||||
@@ -123,10 +128,6 @@
|
|||||||
<Reference Include="System.Xml">
|
<Reference Include="System.Xml">
|
||||||
<Name>System.XML</Name>
|
<Name>System.XML</Name>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Volian.Base.Library, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
|
|
||||||
<SpecificVersion>False</SpecificVersion>
|
|
||||||
<HintPath>..\..\..\..\Volian.Base.Library\bin\Debug\Volian.Base.Library.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AboutROEditor.cs">
|
<Compile Include="AboutROEditor.cs">
|
||||||
@@ -167,6 +168,7 @@
|
|||||||
<Compile Include="RO_FST.cs">
|
<Compile Include="RO_FST.cs">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Content Include="Symbols.xml" />
|
||||||
<EmbeddedResource Include="AboutROEditor.resx">
|
<EmbeddedResource Include="AboutROEditor.resx">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<DependentUpon>AboutROEditor.cs</DependentUpon>
|
<DependentUpon>AboutROEditor.cs</DependentUpon>
|
||||||
|
|||||||
@@ -125,7 +125,7 @@
|
|||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACE
|
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACE
|
||||||
CAAAAk1TRnQBSQFMAgEBAgEAASwBAAEsAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
CAAAAk1TRnQBSQFMAgEBAgEAAUQBAAFEAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||||
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
||||||
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
||||||
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
||||||
@@ -175,7 +175,7 @@
|
|||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAe
|
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAe
|
||||||
CwAAAk1TRnQBSQFMAgEBBgEAASwBAAEsAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
CwAAAk1TRnQBSQFMAgEBBgEAAUQBAAFEAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||||
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
||||||
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
||||||
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
||||||
|
|||||||
@@ -101,7 +101,6 @@ using System.Runtime.InteropServices;
|
|||||||
using VlnStatus;
|
using VlnStatus;
|
||||||
using System.Collections.Specialized;
|
using System.Collections.Specialized;
|
||||||
using ROFST_FILE;
|
using ROFST_FILE;
|
||||||
using Volian.Base.Library;
|
|
||||||
|
|
||||||
//using VlnProfiler; //don't forget to add VlnProfiler to the reference list
|
//using VlnProfiler; //don't forget to add VlnProfiler to the reference list
|
||||||
|
|
||||||
@@ -885,3 +884,4 @@ namespace ROEditor
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
<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>
|
||||||
@@ -86,6 +87,7 @@
|
|||||||
<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 +95,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -104,7 +106,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
<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>
|
||||||
@@ -44,13 +45,14 @@
|
|||||||
<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>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -59,7 +61,7 @@
|
|||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -263,6 +263,7 @@ using System.Collections.Specialized;
|
|||||||
using Org.Mentalis.Files;
|
using Org.Mentalis.Files;
|
||||||
using System.Data.SqlClient;
|
using System.Data.SqlClient;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
|
||||||
namespace RODBInterface
|
namespace RODBInterface
|
||||||
@@ -409,7 +410,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.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";
|
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";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
@@ -1909,6 +1910,8 @@ namespace RODBInterface
|
|||||||
string Info = DBE.GetString(3);
|
string Info = DBE.GetString(3);
|
||||||
//B2022-043 &pos; was missing the ;
|
//B2022-043 &pos; was missing the ;
|
||||||
Info = Info.Replace("'", "\'"); // B2021-071: crash when getting/saving field names
|
Info = Info.Replace("'", "\'"); // B2021-071: crash when getting/saving field names
|
||||||
|
Info = Regex.Replace(Info, @"\\u([0-9]{1,4})\?", m => Convert.ToChar(int.Parse(m.Groups[1].Value)).ToString()); // RO Editor add symbols C2022 - 003
|
||||||
|
|
||||||
node.SetAttribute("HasChild", "True");
|
node.SetAttribute("HasChild", "True");
|
||||||
|
|
||||||
// Store data in the VlnXmlElement as a subgroup
|
// Store data in the VlnXmlElement as a subgroup
|
||||||
@@ -2182,10 +2185,13 @@ namespace RODBInterface
|
|||||||
parent.SetAttribute("ChildLoaded", "True");
|
parent.SetAttribute("ChildLoaded", "True");
|
||||||
}
|
}
|
||||||
string xmlstr = GenerateXmlString(ro, false);
|
string xmlstr = GenerateXmlString(ro, false);
|
||||||
|
|
||||||
string wraccid = null;
|
string wraccid = null;
|
||||||
if (ro.HasAttribute("AccPageID"))
|
if (ro.HasAttribute("AccPageID"))
|
||||||
{
|
{
|
||||||
string accid = ro.GetAttribute("AccPageID");
|
string accid = ro.GetAttribute("AccPageID");
|
||||||
|
|
||||||
|
|
||||||
int quote = accid.IndexOf("'");
|
int quote = accid.IndexOf("'");
|
||||||
if (quote >= 0)
|
if (quote >= 0)
|
||||||
wraccid = accid.Insert(quote, "'");
|
wraccid = accid.Insert(quote, "'");
|
||||||
@@ -2251,7 +2257,7 @@ namespace RODBInterface
|
|||||||
// select all of the field definition records in this table.
|
// select all of the field definition records in this table.
|
||||||
// strGetFields = "SELECT RecID, Info from " + elem.GetAttribute("Table");
|
// strGetFields = "SELECT RecID, Info from " + elem.GetAttribute("Table");
|
||||||
strGetFields = "SELECT RecID, Info from " + TableName;
|
strGetFields = "SELECT RecID, Info from " + TableName;
|
||||||
strGetFields = strGetFields + " where RecType = 2"; // + rtype.ToString();
|
strGetFields = strGetFields + " where RecType = 2";
|
||||||
DBE.Command(strGetFields);
|
DBE.Command(strGetFields);
|
||||||
DBE.Reader();
|
DBE.Reader();
|
||||||
|
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
<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>
|
||||||
@@ -86,6 +87,7 @@
|
|||||||
<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 +95,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -104,7 +106,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -171,6 +173,17 @@
|
|||||||
<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>
|
||||||
|
|||||||
@@ -735,23 +735,27 @@ namespace RODBInterface
|
|||||||
else
|
else
|
||||||
parentValue = nd.InnerText;
|
parentValue = nd.InnerText;
|
||||||
|
|
||||||
//applicValues = "";
|
if (parentName != "#whitespace")
|
||||||
applicValues = string.Format("<APL DefaultVal={0}", parentValue);
|
|
||||||
int pcChildIdx = 0;
|
|
||||||
//C2022-001 only save the child ro value in the RO.FST if it is different than the parent (default) value
|
|
||||||
foreach (string c in pcChildern)
|
|
||||||
{
|
{
|
||||||
//string csufx = CvtUserFldToFld(c);
|
//applicValues = "";
|
||||||
pcChildIdx++;
|
applicValues = string.Format("<APL DefaultVal={0}", parentValue);
|
||||||
string csufx = string.Format("_PCCHILD{0}", pcChildIdx);
|
int pcChildIdx = 0;
|
||||||
//applicValues += ",";
|
//C2022-001 only save the child ro value in the RO.FST if it is different than the parent (default) value
|
||||||
XmlNode cn = elmnode.SelectSingleNode(parentName + csufx);
|
|
||||||
if (cn == null || cn.InnerText.Length == 0) // B2024-004 use Parent value if Child text length is zero
|
foreach (string c in pcChildern)
|
||||||
applicValues += string.Format(",UnitIdx={0} Value={1}", pcChildIdx, parentValue); // use parent value as default
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
if (parentValue != cn.InnerText)
|
//string csufx = CvtUserFldToFld(c);
|
||||||
applicValues += string.Format(",UnitIdx={0} Value={1}", pcChildIdx, cn.InnerText);
|
pcChildIdx++;
|
||||||
|
string csufx = string.Format("_PCCHILD{0}", pcChildIdx);
|
||||||
|
//applicValues += ",";
|
||||||
|
XmlNode cn = elmnode.SelectSingleNode(parentName + csufx);
|
||||||
|
if (cn == null || cn.InnerText.Length == 0) // B2024-004 use Parent value if Child text length is zero
|
||||||
|
applicValues += string.Format(",UnitIdx={0} Value={1}", pcChildIdx, parentValue); // use parent value as default
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (parentValue != cn.InnerText)
|
||||||
|
applicValues += string.Format(",UnitIdx={0} Value={1}", pcChildIdx, cn.InnerText);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
applicValues += " /APL>";
|
applicValues += " /APL>";
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
<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>
|
||||||
@@ -86,6 +87,7 @@
|
|||||||
<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 +95,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE;Upgrade2005;</DefineConstants>
|
<DefineConstants>DEBUG;TRACE;Upgrade2005;</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -104,7 +106,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
<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>
|
||||||
@@ -86,6 +87,7 @@
|
|||||||
<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 +95,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -104,7 +106,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -77,6 +77,7 @@
|
|||||||
<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>
|
||||||
@@ -101,6 +102,7 @@
|
|||||||
<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>
|
||||||
@@ -108,7 +110,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -119,7 +121,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</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>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -73,6 +73,7 @@
|
|||||||
<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>
|
||||||
@@ -97,6 +98,7 @@
|
|||||||
<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 +106,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
<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>
|
||||||
@@ -86,6 +87,7 @@
|
|||||||
<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 +95,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -104,7 +106,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ namespace ctlXMLEditLib
|
|||||||
{
|
{
|
||||||
private System.Windows.Forms.Button btnSave;
|
private System.Windows.Forms.Button btnSave;
|
||||||
private System.Windows.Forms.Button btnCancel;
|
private System.Windows.Forms.Button btnCancel;
|
||||||
private System.Windows.Forms.TextBox tbZoom;
|
private ctlXMLEditLib.roRichTextBox tbZoom; // RO Editor add symbols C2022 - 003
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required designer variable.
|
/// Required designer variable.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@@ -88,7 +88,7 @@ namespace ctlXMLEditLib
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
private void InitializeComponent()
|
private void InitializeComponent()
|
||||||
{
|
{
|
||||||
this.tbZoom = new System.Windows.Forms.TextBox();
|
this.tbZoom = new ctlXMLEditLib.roRichTextBox(); // RO Editor add symbols C2022 - 003
|
||||||
this.btnSave = new System.Windows.Forms.Button();
|
this.btnSave = new System.Windows.Forms.Button();
|
||||||
this.btnCancel = new System.Windows.Forms.Button();
|
this.btnCancel = new System.Windows.Forms.Button();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
@@ -99,7 +99,7 @@ namespace ctlXMLEditLib
|
|||||||
this.tbZoom.Location = new System.Drawing.Point(24, 16);
|
this.tbZoom.Location = new System.Drawing.Point(24, 16);
|
||||||
this.tbZoom.Multiline = true;
|
this.tbZoom.Multiline = true;
|
||||||
this.tbZoom.Name = "tbZoom";
|
this.tbZoom.Name = "tbZoom";
|
||||||
this.tbZoom.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
this.tbZoom.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; // RO Editor add symbols C2022 - 003
|
||||||
this.tbZoom.Size = new System.Drawing.Size(576, 392);
|
this.tbZoom.Size = new System.Drawing.Size(576, 392);
|
||||||
this.tbZoom.TabIndex = 0;
|
this.tbZoom.TabIndex = 0;
|
||||||
//
|
//
|
||||||
@@ -149,3 +149,4 @@ namespace ctlXMLEditLib
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -200,7 +200,11 @@ using System.Xml.Schema;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using RODBInterface;
|
using RODBInterface;
|
||||||
using Org.Mentalis.Files;
|
using Org.Mentalis.Files;
|
||||||
//using IniFileIO;
|
using System.Windows;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Linq;
|
||||||
|
using Volian.Base.Library;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -221,6 +225,7 @@ namespace ctlXMLEditLib
|
|||||||
///
|
///
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
||||||
public class ctlXMLEdit : System.Windows.Forms.UserControl
|
public class ctlXMLEdit : System.Windows.Forms.UserControl
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -237,12 +242,12 @@ namespace ctlXMLEditLib
|
|||||||
private bool dosaveflag;
|
private bool dosaveflag;
|
||||||
private VlnXmlElement editelem;
|
private VlnXmlElement editelem;
|
||||||
private XmlDocument editdoc;
|
private XmlDocument editdoc;
|
||||||
private TextBox zoomtextbox;
|
private roRichTextBox zoomtextbox;
|
||||||
// the following is used for handling images. Note that if we want to have more
|
// the following is used for handling images. Note that if we want to have more
|
||||||
// than one image defined in an ro, this should be become a list.
|
// than one image defined in an ro, this should be become a list.
|
||||||
private TextBox GraphicsFiletextbox;
|
private roRichTextBox GraphicsFiletextbox;
|
||||||
private TextBox GraphicsWdtextbox;
|
private roRichTextBox GraphicsWdtextbox;
|
||||||
private TextBox GraphicsHttextbox;
|
private roRichTextBox GraphicsHttextbox;
|
||||||
private System.Windows.Forms.Button btnFindFile;
|
private System.Windows.Forms.Button btnFindFile;
|
||||||
private string GraphicsText;
|
private string GraphicsText;
|
||||||
private ToolTip zmtooltip;
|
private ToolTip zmtooltip;
|
||||||
@@ -265,6 +270,19 @@ namespace ctlXMLEditLib
|
|||||||
private GroupBox pcGrpBox = null;
|
private GroupBox pcGrpBox = null;
|
||||||
/** end C2021-026 **/
|
/** end C2021-026 **/
|
||||||
|
|
||||||
|
public string _RO_IDEN;
|
||||||
|
public string RO_IDEN
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return _RO_IDEN;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_RO_IDEN = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// use this struct to define attributes for the text box fields, storing
|
// use this struct to define attributes for the text box fields, storing
|
||||||
// the pattern, radio button association, required field flag, etc.
|
// the pattern, radio button association, required field flag, etc.
|
||||||
struct TextBoxAttrTag
|
struct TextBoxAttrTag
|
||||||
@@ -276,8 +294,10 @@ namespace ctlXMLEditLib
|
|||||||
bool imagechild; //whether this field is a subchild of an image
|
bool imagechild; //whether this field is a subchild of an image
|
||||||
string imagename; //if subchild of image, name of image parent (for save)
|
string imagename; //if subchild of image, name of image parent (for save)
|
||||||
string imagedate; //if this was filename, save the date/time stamp
|
string imagedate; //if this was filename, save the date/time stamp
|
||||||
|
string name; //name of element
|
||||||
|
string parenthtid; //name of parent element in hashtable for PC items
|
||||||
public TextBoxAttrTag(bool reqd, string ptn, RadioButton rd, bool img,
|
public TextBoxAttrTag(bool reqd, string ptn, RadioButton rd, bool img,
|
||||||
string imgname, string imgdate)
|
string imgname, string imgdate, string elemname)
|
||||||
{
|
{
|
||||||
this.req_msg = null;
|
this.req_msg = null;
|
||||||
this.required = reqd;
|
this.required = reqd;
|
||||||
@@ -286,6 +306,12 @@ namespace ctlXMLEditLib
|
|||||||
this.imagechild = img;
|
this.imagechild = img;
|
||||||
this.imagename = imgname;
|
this.imagename = imgname;
|
||||||
this.imagedate = imgdate;
|
this.imagedate = imgdate;
|
||||||
|
this.name = elemname;
|
||||||
|
|
||||||
|
if (name.Contains("_PCCHILD"))
|
||||||
|
this.parenthtid = name.Substring(0, name.IndexOf("_PCCHILD"));
|
||||||
|
else
|
||||||
|
this.parenthtid = null;
|
||||||
}
|
}
|
||||||
public void SetPattern(string pattern) {this.pattern = pattern;}
|
public void SetPattern(string pattern) {this.pattern = pattern;}
|
||||||
public void SetRequired(bool req) {this.required = req;}
|
public void SetRequired(bool req) {this.required = req;}
|
||||||
@@ -298,11 +324,24 @@ namespace ctlXMLEditLib
|
|||||||
public string GetImageName { get {return imagename;}}
|
public string GetImageName { get {return imagename;}}
|
||||||
public string GetImageDate { get {return imagedate;}}
|
public string GetImageDate { get {return imagedate;}}
|
||||||
public void SetImageDate(string imgdate) {this.imagedate = imgdate;}
|
public void SetImageDate(string imgdate) {this.imagedate = imgdate;}
|
||||||
|
public string GetName { get { return name; } }
|
||||||
|
public void SetName(string elemname) { this.name = elemname; }
|
||||||
|
public string GetParentHTId { get { return parenthtid; } }
|
||||||
|
public void SetParentHTId(string id) { this.parenthtid = id; }
|
||||||
|
}
|
||||||
|
private roRichTextBox _TextBoxFocus; // RO Editor add symbols C2022 - 003
|
||||||
|
public roRichTextBox TextBoxFocus
|
||||||
|
{
|
||||||
|
get { return _TextBoxFocus; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_TextBoxFocus = value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public ctlXMLEdit(VlnXmlElement myelem, XmlSchema myschema, ArrayList reqfields, ArrayList fldsWithApplic, string [] pckids)
|
public ctlXMLEdit(VlnXmlElement myelem, XmlSchema myschema, ArrayList reqfields, ArrayList fldsWithApplic, string [] pckids)
|
||||||
{
|
{
|
||||||
// This call is required by the Windows.Forms Form Designer.
|
// This call is required by the Windows.Forms Form Designer.
|
||||||
|
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
FieldsWithApplic = fldsWithApplic;
|
FieldsWithApplic = fldsWithApplic;
|
||||||
PCChildren = pckids; //C2021-026 list of Parent/Child children
|
PCChildren = pckids; //C2021-026 list of Parent/Child children
|
||||||
@@ -347,11 +386,12 @@ namespace ctlXMLEditLib
|
|||||||
// Set required fields based on list. (can add message later).
|
// Set required fields based on list. (can add message later).
|
||||||
SetRequiredFields(reqfields);
|
SetRequiredFields(reqfields);
|
||||||
dosaveflag=true;
|
dosaveflag=true;
|
||||||
|
RO_IDEN = myelem.GetAccPageIDTemplate();
|
||||||
}
|
}
|
||||||
|
|
||||||
// set the required fields tag on those fields which are included in the passed
|
// set the required fields tag on those fields which are included in the passed
|
||||||
// in required fields list.
|
// in required fields list.
|
||||||
private void DoSet(TextBox hwnd, string msg)
|
private void DoSet(roRichTextBox hwnd, string msg) // RO Editor add symbols C2022 - 003
|
||||||
{
|
{
|
||||||
if (hwnd == null) return;
|
if (hwnd == null) return;
|
||||||
if (hwnd.Tag != null)
|
if (hwnd.Tag != null)
|
||||||
@@ -366,7 +406,7 @@ namespace ctlXMLEditLib
|
|||||||
private void SetRequiredFields(ArrayList reqfields)
|
private void SetRequiredFields(ArrayList reqfields)
|
||||||
{
|
{
|
||||||
Object o;
|
Object o;
|
||||||
TextBox hwnd;
|
roRichTextBox hwnd;
|
||||||
string field, msg;
|
string field, msg;
|
||||||
int indx;
|
int indx;
|
||||||
foreach (string strfld in reqfields)
|
foreach (string strfld in reqfields)
|
||||||
@@ -385,15 +425,15 @@ namespace ctlXMLEditLib
|
|||||||
o = myHT[field+"a"];
|
o = myHT[field+"a"];
|
||||||
if (o != null) // set all combo types required, the checker
|
if (o != null) // set all combo types required, the checker
|
||||||
{
|
{
|
||||||
DoSet((TextBox)o,msg);
|
DoSet((roRichTextBox)o,msg);
|
||||||
DoSet((TextBox)myHT[field+"b"],msg);
|
DoSet((roRichTextBox)myHT[field+"b"],msg);
|
||||||
DoSet((TextBox)myHT[field+"c"],msg);
|
DoSet((roRichTextBox)myHT[field+"c"],msg);
|
||||||
DoSet((TextBox)myHT[field+"d"],msg);
|
DoSet((roRichTextBox)myHT[field+"d"],msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (o != null)
|
else if (o != null)
|
||||||
{
|
{
|
||||||
hwnd = (TextBox) o;
|
hwnd = (roRichTextBox) o;
|
||||||
if (hwnd.Tag != null)
|
if (hwnd.Tag != null)
|
||||||
{
|
{
|
||||||
TextBoxAttrTag tag = (TextBoxAttrTag) hwnd.Tag;
|
TextBoxAttrTag tag = (TextBoxAttrTag) hwnd.Tag;
|
||||||
@@ -407,7 +447,7 @@ namespace ctlXMLEditLib
|
|||||||
|
|
||||||
// C2021-026 If this is a Parent/Child field that has no value saved in the database
|
// C2021-026 If this is a Parent/Child field that has no value saved in the database
|
||||||
// then use the parent's value and display it as grey colored text.
|
// then use the parent's value and display it as grey colored text.
|
||||||
private void GetDefaultParentValue(TextBox tb, XmlNode node, string chldName)
|
private void GetDefaultParentValue(roRichTextBox tb, XmlNode node, string chldName)
|
||||||
{
|
{
|
||||||
XmlNode parentNode = null;
|
XmlNode parentNode = null;
|
||||||
// PCChildren contains a list strings reprenting the Children setup in the current Working Draft Parent/Child property
|
// PCChildren contains a list strings reprenting the Children setup in the current Working Draft Parent/Child property
|
||||||
@@ -451,21 +491,23 @@ namespace ctlXMLEditLib
|
|||||||
private void DisplayFieldContents(XmlNode node)
|
private void DisplayFieldContents(XmlNode node)
|
||||||
{
|
{
|
||||||
Object o;
|
Object o;
|
||||||
TextBox hwnd;
|
roRichTextBox hwnd;
|
||||||
XmlNode nd;
|
XmlNode nd;
|
||||||
// if we have an image, check it for validity, i.e. file exists, etc.??
|
// if we have an image, check it for validity, i.e. file exists, etc.??
|
||||||
foreach (string str in myHT.Keys)
|
foreach (string str in myHT.Keys)
|
||||||
{
|
{
|
||||||
o = myHT[str];
|
o = myHT[str];
|
||||||
hwnd = (TextBox) o;
|
hwnd = (roRichTextBox) o;
|
||||||
nd = node.SelectSingleNode(str);
|
nd = node.SelectSingleNode(str);
|
||||||
// if not found with just the string, search the tree.
|
// if not found with just the string, search the tree.
|
||||||
if (nd==null)nd = node.SelectSingleNode("*/"+str);
|
if (nd==null)nd = node.SelectSingleNode("*/"+str);
|
||||||
if (nd == null || nd.InnerText.Length==0) // B2024-004 use Parent value if Child text length is zero
|
if (nd == null || nd.InnerText.Length==0) // B2024-004 use Parent value if Child text length is zero
|
||||||
GetDefaultParentValue(hwnd, node, str); // C2021-026 Parent/Child Field has no value so use parent's value
|
GetDefaultParentValue(hwnd, node, str); // C2021-026 Parent/Child Field has no value so use parent's value
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
hwnd.Text = nd.InnerText; // set the field's text from XML
|
|
||||||
|
hwnd.Text = Regex.Replace(nd.InnerText, @"\\u([0-9]{1,4})\?", m => Convert.ToChar(int.Parse(m.Groups[1].Value)).ToString()); // set the field's text from XML
|
||||||
|
Size size = hwnd.Size;
|
||||||
|
|
||||||
// check if this window has a button name as part of its tag. If
|
// check if this window has a button name as part of its tag. If
|
||||||
// so it's a combo type & the radio button/visibility may need to
|
// so it's a combo type & the radio button/visibility may need to
|
||||||
@@ -534,7 +576,7 @@ namespace ctlXMLEditLib
|
|||||||
// height/width data of the image.
|
// height/width data of the image.
|
||||||
if (GraphicsFiletextbox != null && GraphicsFiletextbox.Text != "") UpdateHtWd();
|
if (GraphicsFiletextbox != null && GraphicsFiletextbox.Text != "") UpdateHtWd();
|
||||||
}
|
}
|
||||||
public TextBox GetGraphicsFiletextbox()
|
public roRichTextBox GetGraphicsFiletextbox()
|
||||||
{
|
{
|
||||||
return GraphicsFiletextbox;
|
return GraphicsFiletextbox;
|
||||||
}
|
}
|
||||||
@@ -573,13 +615,13 @@ namespace ctlXMLEditLib
|
|||||||
{
|
{
|
||||||
dosaveflag=false;
|
dosaveflag=false;
|
||||||
mysavexml=false;
|
mysavexml=false;
|
||||||
TextBox hwnd;
|
roRichTextBox hwnd;
|
||||||
// first, clear out all of the text boxes.
|
// first, clear out all of the text boxes.
|
||||||
|
|
||||||
foreach (string str in myHT.Keys)
|
foreach (string str in myHT.Keys)
|
||||||
{
|
{
|
||||||
object o = myHT[str];
|
object o = myHT[str];
|
||||||
hwnd = (TextBox) o;
|
hwnd = (roRichTextBox) o;
|
||||||
hwnd.Text = "";
|
hwnd.Text = "";
|
||||||
TextBoxAttrTag tag = (TextBoxAttrTag) hwnd.Tag;
|
TextBoxAttrTag tag = (TextBoxAttrTag) hwnd.Tag;
|
||||||
RadioButton radio;
|
RadioButton radio;
|
||||||
@@ -611,7 +653,7 @@ namespace ctlXMLEditLib
|
|||||||
// to the parent's value, then clear the child's textbox so that nothing is saved
|
// to the parent's value, then clear the child's textbox so that nothing is saved
|
||||||
// to the database. This allow us to know that a specific value was not set
|
// to the database. This allow us to know that a specific value was not set
|
||||||
// for this Parent/Child child
|
// for this Parent/Child child
|
||||||
private void RemovePCChildTextIfSameAsParent(XmlNode node, TextBox tb, string chldName)
|
private void RemovePCChildTextIfSameAsParent(XmlNode node, roRichTextBox tb, string chldName)
|
||||||
{
|
{
|
||||||
XmlNode parentNode = null;
|
XmlNode parentNode = null;
|
||||||
// if this is a child node get the parent's value
|
// if this is a child node get the parent's value
|
||||||
@@ -648,18 +690,35 @@ namespace ctlXMLEditLib
|
|||||||
// true if success, false if fail.
|
// true if success, false if fail.
|
||||||
// Note that the Parent and Child XML node variables below are not coding for Parent/Child Applicabily Fields
|
// Note that the Parent and Child XML node variables below are not coding for Parent/Child Applicabily Fields
|
||||||
public bool SaveData()
|
public bool SaveData()
|
||||||
|
|
||||||
{
|
{
|
||||||
if (mysavexml)
|
if (mysavexml)
|
||||||
{
|
{
|
||||||
TextBox hwnd;
|
roRichTextBox hwnd;
|
||||||
TextBoxAttrTag tag;
|
TextBoxAttrTag tag;
|
||||||
string imgdate;
|
string imgdate;
|
||||||
|
|
||||||
//go thru the hash table to get textboxes. Find the ones that have text.
|
//go thru the hash table to get textboxes. Find the ones that have text.
|
||||||
foreach (string str in myHT.Keys)
|
foreach (string str in myHT.Keys) // RO Editor add symbols C2022 - 003
|
||||||
{
|
{
|
||||||
object o = myHT[str];
|
object o = myHT[str];
|
||||||
hwnd = (TextBox) o;
|
hwnd = (roRichTextBox) o;
|
||||||
|
|
||||||
|
StringBuilder result1 = new StringBuilder();
|
||||||
|
char[] chrAry = hwnd.Text.ToCharArray();
|
||||||
|
foreach (int chr in chrAry)
|
||||||
|
{
|
||||||
|
if (chr > 166)
|
||||||
|
{
|
||||||
|
result1.Append($"\\u{(int)chr}?");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
result1.Append((char)chr);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
hwnd.Text = result1.ToString();
|
||||||
|
|
||||||
imgdate = null;
|
imgdate = null;
|
||||||
// if this is a required field and there is no text, put out an error
|
// if this is a required field and there is no text, put out an error
|
||||||
// message and get out of here.
|
// message and get out of here.
|
||||||
@@ -776,6 +835,7 @@ namespace ctlXMLEditLib
|
|||||||
return (false);
|
return (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#region Component Designer generated code
|
#region Component Designer generated code
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
@@ -846,7 +906,7 @@ namespace ctlXMLEditLib
|
|||||||
// 'normalizedString') or a multiline text box(type is 'string'). Also, a radio
|
// 'normalizedString') or a multiline text box(type is 'string'). Also, a radio
|
||||||
// button is passed in if this was called to handle an element within a combo type.
|
// button is passed in if this was called to handle an element within a combo type.
|
||||||
// This button is saved for a given text box so that initialization of these combo types can occur.
|
// This button is saved for a given text box so that initialization of these combo types can occur.
|
||||||
private string DisplayXmlSchemaSimpleType(XmlSchemaSimpleType simpleType, TextBox mytextbox, RadioButton radio,
|
private string DisplayXmlSchemaSimpleType(XmlSchemaSimpleType simpleType, roRichTextBox mytextbox, RadioButton radio,
|
||||||
bool img, string imgname)
|
bool img, string imgname)
|
||||||
{
|
{
|
||||||
// set up for text box tag, which stores whether field is required and
|
// set up for text box tag, which stores whether field is required and
|
||||||
@@ -876,12 +936,17 @@ namespace ctlXMLEditLib
|
|||||||
if (getannot.IndexOf("Lines")>=0)
|
if (getannot.IndexOf("Lines")>=0)
|
||||||
{
|
{
|
||||||
GraphicsHttextbox = mytextbox;
|
GraphicsHttextbox = mytextbox;
|
||||||
|
|
||||||
|
Size size = GraphicsHttextbox.Size;
|
||||||
mytextbox.LostFocus += new System.EventHandler(this.GraphicsHt_lostfocus);
|
mytextbox.LostFocus += new System.EventHandler(this.GraphicsHt_lostfocus);
|
||||||
|
|
||||||
}
|
}
|
||||||
if (getannot.IndexOf("Character")>=0)
|
if (getannot.IndexOf("Character")>=0)
|
||||||
{
|
{
|
||||||
GraphicsWdtextbox = mytextbox;
|
GraphicsWdtextbox = mytextbox;
|
||||||
|
|
||||||
mytextbox.LostFocus += new System.EventHandler(this.GraphicsWd_lostfocus);
|
mytextbox.LostFocus += new System.EventHandler(this.GraphicsWd_lostfocus);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -892,14 +957,17 @@ namespace ctlXMLEditLib
|
|||||||
{
|
{
|
||||||
// A Schema Type Restriction is used to define single or multi-line boxes.
|
// A Schema Type Restriction is used to define single or multi-line boxes.
|
||||||
XmlSchemaSimpleTypeRestriction myRestrictions = (XmlSchemaSimpleTypeRestriction) simpleType.Content;
|
XmlSchemaSimpleTypeRestriction myRestrictions = (XmlSchemaSimpleTypeRestriction) simpleType.Content;
|
||||||
if (myRestrictions.BaseTypeName.Name == "normalizedString")
|
if (myRestrictions.BaseTypeName.Name == "normalizedString")
|
||||||
|
{
|
||||||
mytextbox.Multiline = false;
|
mytextbox.Multiline = false;
|
||||||
|
mytextbox.Size = new Size(300, 40);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
mytextbox.Multiline = true;
|
mytextbox.Multiline = true;
|
||||||
mytextbox.AcceptsReturn = true;
|
mytextbox.AcceptsTab = true;
|
||||||
mytextbox.Height = (int) mytextbox.Font.GetHeight() * 4;
|
mytextbox.Height = (int) mytextbox.Font.GetHeight() * 4;
|
||||||
mytextbox.ScrollBars = ScrollBars.Vertical;
|
mytextbox.ScrollBars = RichTextBoxScrollBars.Vertical;
|
||||||
zmtooltip.SetToolTip(mytextbox, "Press Shift F2 To Zoom");
|
zmtooltip.SetToolTip(mytextbox, "Press Shift F2 To Zoom");
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -928,7 +996,7 @@ namespace ctlXMLEditLib
|
|||||||
// initialization.
|
// initialization.
|
||||||
if (mytextbox.Tag == null)
|
if (mytextbox.Tag == null)
|
||||||
{
|
{
|
||||||
TextBoxAttrTag tag = new TextBoxAttrTag(false, pattern, radio, img, (img?imgname:null), null);
|
TextBoxAttrTag tag = new TextBoxAttrTag(false, pattern, radio, img, (img?imgname:null), null, mytextbox.Name);
|
||||||
mytextbox.Tag = (object) tag;
|
mytextbox.Tag = (object) tag;
|
||||||
}
|
}
|
||||||
return getannot;
|
return getannot;
|
||||||
@@ -980,7 +1048,8 @@ namespace ctlXMLEditLib
|
|||||||
radio.CheckedChanged += new System.EventHandler(this.radiocheckchg);
|
radio.CheckedChanged += new System.EventHandler(this.radiocheckchg);
|
||||||
gbox.Controls.Add(radio);
|
gbox.Controls.Add(radio);
|
||||||
|
|
||||||
TextBox tb = new TextBox();
|
roRichTextBox tb = new roRichTextBox();
|
||||||
|
Size size3 = tb.Size;
|
||||||
tb.Location = new Point(boxx+20, y+25);
|
tb.Location = new Point(boxx+20, y+25);
|
||||||
if (!first) tb.Visible = false;
|
if (!first) tb.Visible = false;
|
||||||
myHT.Add(element.Name,tb);
|
myHT.Add(element.Name,tb);
|
||||||
@@ -989,7 +1058,7 @@ namespace ctlXMLEditLib
|
|||||||
// the groupbox.
|
// the groupbox.
|
||||||
Controls.Add(tb);
|
Controls.Add(tb);
|
||||||
tb.TextChanged += new System.EventHandler(this.textbox_change);
|
tb.TextChanged += new System.EventHandler(this.textbox_change);
|
||||||
tb.GotFocus += new System.EventHandler(this.textbox_zoombtn);
|
tb.GotFocus += new System.EventHandler(this.currentTextBox);
|
||||||
tb.KeyDown += new KeyEventHandler(MyOnKeyDown);
|
tb.KeyDown += new KeyEventHandler(MyOnKeyDown);
|
||||||
gbox.Contains(tb);
|
gbox.Contains(tb);
|
||||||
// the following will set attributes on the text boxes such as maxlength, multiline, etc.
|
// the following will set attributes on the text boxes such as maxlength, multiline, etc.
|
||||||
@@ -1132,17 +1201,19 @@ namespace ctlXMLEditLib
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TextBox mytextbox;
|
roRichTextBox mytextbox;
|
||||||
mytextbox = new TextBox();
|
mytextbox = new roRichTextBox();
|
||||||
|
Size size3 = mytextbox.Size;
|
||||||
mytextbox.Location = new Point(screenx+indent, screeny);
|
mytextbox.Location = new Point(screenx+indent, screeny);
|
||||||
string tFieldName = (pcChildIdx == 0) ? CvtUserFldToFld(element.Name) : CvtUserFldToFld(pcChildFldName);
|
string tFieldName = (pcChildIdx == 0) ? CvtUserFldToFld(element.Name) : CvtUserFldToFld(pcChildFldName);
|
||||||
|
mytextbox.Name = tFieldName;
|
||||||
myHT.Add(tFieldName, mytextbox);
|
myHT.Add(tFieldName, mytextbox);
|
||||||
tabindx++;
|
tabindx++;
|
||||||
Controls.Add(mytextbox);
|
Controls.Add(mytextbox);
|
||||||
screeny = screeny + 10;
|
screeny = screeny + 10;
|
||||||
mytextbox.TextChanged += new System.EventHandler(this.textbox_change);
|
mytextbox.TextChanged += new System.EventHandler(this.textbox_change);
|
||||||
mytextbox.Validating += new System.ComponentModel.CancelEventHandler(this.textbox_Validating);
|
mytextbox.Validating += new System.ComponentModel.CancelEventHandler(this.textbox_Validating);
|
||||||
mytextbox.GotFocus += new System.EventHandler(this.textbox_zoombtn);
|
mytextbox.GotFocus += new System.EventHandler(this.currentTextBox);
|
||||||
mytextbox.KeyDown += new KeyEventHandler(MyOnKeyDown);
|
mytextbox.KeyDown += new KeyEventHandler(MyOnKeyDown);
|
||||||
if (pcChildIdx > 0)
|
if (pcChildIdx > 0)
|
||||||
{
|
{
|
||||||
@@ -1179,9 +1250,18 @@ namespace ctlXMLEditLib
|
|||||||
// the following is needed to load the control.
|
// the following is needed to load the control.
|
||||||
private void ctlXMLEdit_Load(object sender, System.EventArgs e)
|
private void ctlXMLEdit_Load(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public delegate void ctlXMLEditEvent(object sender, ctlXMLEditEventArgs args); // RO Editor add symbols C2022 - 003 for turning off symbols btn for RO ID field.
|
||||||
|
public event ctlXMLEditEvent EnableDisableSymbolsBtn;
|
||||||
|
private void OnEnableDisableSymbolsBtn(ctlXMLEditEventArgs args)
|
||||||
|
{
|
||||||
|
if (EnableDisableSymbolsBtn != null)
|
||||||
|
EnableDisableSymbolsBtn(this, args);
|
||||||
|
}
|
||||||
|
|
||||||
// when data in a text box has changed, flag it (except for when this
|
// when data in a text box has changed, flag it (except for when this
|
||||||
// happens during loading of original data). This flag will be used
|
// happens during loading of original data). This flag will be used
|
||||||
// later to know whether to save data.
|
// later to know whether to save data.
|
||||||
@@ -1192,14 +1272,39 @@ namespace ctlXMLEditLib
|
|||||||
// C2021-026 Event handler for Parent/Child child textbox
|
// C2021-026 Event handler for Parent/Child child textbox
|
||||||
// if the textbox text is same as parent, then or nothing is entered in the textbox
|
// if the textbox text is same as parent, then or nothing is entered in the textbox
|
||||||
// then use the parent value and set the text color to gray
|
// then use the parent value and set the text color to gray
|
||||||
|
// B2025-028 RO Editor - Parent Child Applicability - Default Values
|
||||||
|
// Were always setting to the Group parent value instead of individual parent values
|
||||||
|
// When leaving the textbox
|
||||||
private void txtBox_Leave(object sender, EventArgs e)
|
private void txtBox_Leave(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
TextBox tb = sender as TextBox;
|
roRichTextBox tb = sender as roRichTextBox;
|
||||||
string dfTxt = "";
|
string dfTxt = "";
|
||||||
string parName = pcGrpBox.Name.Substring(5);
|
try
|
||||||
object o = myHT[parName];
|
{
|
||||||
if (o != null)
|
string parentid = ((TextBoxAttrTag)tb.Tag).GetParentHTId;
|
||||||
dfTxt = (o as TextBox).Text; // set to use the parent's value (default)
|
if (!string.IsNullOrEmpty(parentid))
|
||||||
|
{
|
||||||
|
object o = myHT[parentid];
|
||||||
|
if (o != null)
|
||||||
|
dfTxt = (o as roRichTextBox).Text; // set to use the parent's value (default)
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
|
string parName = pcGrpBox.Name.Substring(5);
|
||||||
|
object o = myHT[parName];
|
||||||
|
if (o != null)
|
||||||
|
dfTxt = (o as roRichTextBox).Text; // set to use the parent's value (default)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
string parName = pcGrpBox.Name.Substring(5);
|
||||||
|
object o = myHT[parName];
|
||||||
|
if (o != null)
|
||||||
|
dfTxt = (o as roRichTextBox).Text; // set to use the parent's value (default)
|
||||||
|
}
|
||||||
|
|
||||||
if (dosaveflag) mysavexml = true;
|
if (dosaveflag) mysavexml = true;
|
||||||
if (tb.Text.Length == 0 || tb.Text == dfTxt)
|
if (tb.Text.Length == 0 || tb.Text == dfTxt)
|
||||||
{
|
{
|
||||||
@@ -1213,7 +1318,7 @@ namespace ctlXMLEditLib
|
|||||||
// so clear the textbox so that user can enter the value for that child
|
// so clear the textbox so that user can enter the value for that child
|
||||||
private void txtBox_Enter(object sender, EventArgs e)
|
private void txtBox_Enter(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
TextBox tb = sender as TextBox;
|
roRichTextBox tb = sender as roRichTextBox;
|
||||||
if (tb.ForeColor == SystemColors.GrayText) // currently no value set - using parent's value
|
if (tb.ForeColor == SystemColors.GrayText) // currently no value set - using parent's value
|
||||||
{
|
{
|
||||||
tb.Text = "";
|
tb.Text = "";
|
||||||
@@ -1226,7 +1331,7 @@ namespace ctlXMLEditLib
|
|||||||
private void radiocheckchg(object sender, System.EventArgs e)
|
private void radiocheckchg(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
RadioButton btnsel = (RadioButton) sender;
|
RadioButton btnsel = (RadioButton) sender;
|
||||||
TextBox assocbox;
|
roRichTextBox assocbox;
|
||||||
string btntext, str;
|
string btntext, str;
|
||||||
|
|
||||||
if(dosaveflag)mysavexml = true;
|
if(dosaveflag)mysavexml = true;
|
||||||
@@ -1239,7 +1344,7 @@ namespace ctlXMLEditLib
|
|||||||
str = btnsel.Name.Replace(btntext,"");
|
str = btnsel.Name.Replace(btntext,"");
|
||||||
object o = myHT[str];
|
object o = myHT[str];
|
||||||
if (o == null) return;
|
if (o == null) return;
|
||||||
assocbox = (TextBox) o;
|
assocbox = (roRichTextBox) o;
|
||||||
// make the text box visible if checked, otherwise, invisible
|
// make the text box visible if checked, otherwise, invisible
|
||||||
assocbox.Visible = btnsel.Checked;
|
assocbox.Visible = btnsel.Checked;
|
||||||
// C2021-026 show or hide the Parent/Child appicability group box
|
// C2021-026 show or hide the Parent/Child appicability group box
|
||||||
@@ -1261,7 +1366,7 @@ namespace ctlXMLEditLib
|
|||||||
c.Visible = vsblState; // show or hide the lable inside the group box
|
c.Visible = vsblState; // show or hide the lable inside the group box
|
||||||
object oo = myHT[c.Name];
|
object oo = myHT[c.Name];
|
||||||
if (oo != null)
|
if (oo != null)
|
||||||
(oo as TextBox).Visible = vsblState; // show or hide the associated text box
|
(oo as roRichTextBox).Visible = vsblState; // show or hide the associated text box
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1353,7 +1458,7 @@ namespace ctlXMLEditLib
|
|||||||
|
|
||||||
// The following can be used to validate the text, i.e. check the text against
|
// The following can be used to validate the text, i.e. check the text against
|
||||||
// the pattern. this needs written yet (5/16/02)
|
// the pattern. this needs written yet (5/16/02)
|
||||||
private void MyValidatingCode(TextBox tb)
|
private void MyValidatingCode(roRichTextBox tb)
|
||||||
{
|
{
|
||||||
//get the text box's tag which contains a flag for whether this is required &
|
//get the text box's tag which contains a flag for whether this is required &
|
||||||
//if it has a pattern. If it has a pattern, validate the field against the pattern.
|
//if it has a pattern. If it has a pattern, validate the field against the pattern.
|
||||||
@@ -1382,20 +1487,33 @@ namespace ctlXMLEditLib
|
|||||||
}
|
}
|
||||||
|
|
||||||
// save which box we're on, for zoom processing.
|
// save which box we're on, for zoom processing.
|
||||||
private void textbox_zoombtn(object sender, System.EventArgs e)
|
private void currentTextBox(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
TextBox textbox = (TextBox) sender;
|
roRichTextBox textbox = (roRichTextBox) sender;
|
||||||
if (textbox.Multiline == true || textbox == GraphicsFiletextbox)
|
if (textbox.Multiline == true || textbox == GraphicsFiletextbox)
|
||||||
zoomtextbox = textbox;
|
zoomtextbox = textbox;
|
||||||
else
|
else
|
||||||
zoomtextbox = null;
|
zoomtextbox = null;
|
||||||
|
|
||||||
|
TextBoxFocus = textbox;
|
||||||
|
|
||||||
|
string RO_IDENDITY = RO_IDEN.Substring(1, RO_IDEN.Length - 2); // RO Editor add symbols C2022 - 003 for turning off symbols btn for RO ID.
|
||||||
|
if (textbox.Name == RO_IDENDITY)
|
||||||
|
{
|
||||||
|
OnEnableDisableSymbolsBtn(new ctlXMLEditEventArgs(DisplaySymBolBtn:false));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
OnEnableDisableSymbolsBtn(new ctlXMLEditEventArgs(DisplaySymBolBtn:true));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void textbox_Validating(object sender, System.ComponentModel.CancelEventArgs e)
|
private void textbox_Validating(object sender, System.ComponentModel.CancelEventArgs e)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
MyValidatingCode((TextBox) sender);
|
MyValidatingCode((roRichTextBox) sender);
|
||||||
}
|
}
|
||||||
|
|
||||||
catch(Exception ex)
|
catch(Exception ex)
|
||||||
@@ -1421,11 +1539,18 @@ namespace ctlXMLEditLib
|
|||||||
}
|
}
|
||||||
btnZoom_click(null, null);
|
btnZoom_click(null, null);
|
||||||
}
|
}
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
if (((kea.Modifiers & Keys.ControlKey) == Keys.ControlKey) && kea.KeyCode == Keys.V)
|
||||||
|
{
|
||||||
|
roRichTextBox o = (roRichTextBox)objSender;
|
||||||
|
o.rchtxtBox_KeyDown(objSender, RO_IDEN);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void btnZoom_click(object sender, System.EventArgs e)
|
public void btnZoom_click(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
//TextBox tb = (TextBox) sender;
|
|
||||||
TextBoxAttrTag tag;
|
TextBoxAttrTag tag;
|
||||||
bool doimage = false;
|
bool doimage = false;
|
||||||
if (zoomtextbox.Tag != null)
|
if (zoomtextbox.Tag != null)
|
||||||
@@ -1469,7 +1594,7 @@ namespace ctlXMLEditLib
|
|||||||
// file local & keep width/height of file proportional.
|
// file local & keep width/height of file proportional.
|
||||||
private void GraphicText_lostfocus(object sender, System.EventArgs e)
|
private void GraphicText_lostfocus(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
TextBox fnamebox = (TextBox) sender;
|
roRichTextBox fnamebox = (roRichTextBox) sender;
|
||||||
if (fnamebox.Text != "" && fnamebox.Modified == true)
|
if (fnamebox.Text != "" && fnamebox.Modified == true)
|
||||||
{
|
{
|
||||||
FileInfo ifi = new FileInfo(fnamebox.Text);
|
FileInfo ifi = new FileInfo(fnamebox.Text);
|
||||||
@@ -1678,7 +1803,7 @@ namespace ctlXMLEditLib
|
|||||||
// if changed height, calculate associated width
|
// if changed height, calculate associated width
|
||||||
private void GraphicsHt_lostfocus(object sender, System.EventArgs e)
|
private void GraphicsHt_lostfocus(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
TextBox ht = (TextBox) sender;
|
roRichTextBox ht = (roRichTextBox) sender;
|
||||||
if (ht.Modified == true)
|
if (ht.Modified == true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@@ -1695,7 +1820,7 @@ namespace ctlXMLEditLib
|
|||||||
// if changed width, calculate associated height
|
// if changed width, calculate associated height
|
||||||
private void GraphicsWd_lostfocus(object sender, System.EventArgs e)
|
private void GraphicsWd_lostfocus(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
TextBox wd = (TextBox) sender;
|
roRichTextBox wd = (roRichTextBox) sender;
|
||||||
if (wd.Modified == true)
|
if (wd.Modified == true)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@@ -1850,7 +1975,7 @@ namespace ctlXMLEditLib
|
|||||||
* and overload a couple of it's functions in order to use it.
|
* and overload a couple of it's functions in order to use it.
|
||||||
* - called in CalculatePromsDate() above.
|
* - called in CalculatePromsDate() above.
|
||||||
*/
|
*/
|
||||||
public class ThisTimeZone : TimeZone
|
public class ThisTimeZone : TimeZone
|
||||||
{
|
{
|
||||||
private TimeZone curTZ;
|
private TimeZone curTZ;
|
||||||
public TimeSpan SpanTZ;
|
public TimeSpan SpanTZ;
|
||||||
@@ -1891,5 +2016,31 @@ namespace ctlXMLEditLib
|
|||||||
return curTZ.GetDaylightChanges(year);
|
return curTZ.GetDaylightChanges(year);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public class ctlXMLEditEventArgs : EventArgs // RO Editor add symbols C2022 - 003 for turning off symbols btn for RO ID.
|
||||||
|
{
|
||||||
|
public ctlXMLEditEventArgs() {; }
|
||||||
|
public ctlXMLEditEventArgs(bool DisplaySymBolBtn)
|
||||||
|
{
|
||||||
|
_DisplaySymBolBtn = DisplaySymBolBtn;
|
||||||
|
}
|
||||||
|
private bool _DisplaySymBolBtn;
|
||||||
|
|
||||||
|
public bool DisplaySymBolBtn
|
||||||
|
{
|
||||||
|
get { return _DisplaySymBolBtn; }
|
||||||
|
set { _DisplaySymBolBtn = value; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum E_FontStyle : byte
|
||||||
|
{
|
||||||
|
FS_NONE = 0,
|
||||||
|
FS_BOLD = 0x01,
|
||||||
|
FS_UNDERLINE = 0x02,
|
||||||
|
FS_ITALIC = 0x04,
|
||||||
|
FS_SUPERSCRIPT = 0x08,
|
||||||
|
FS_SUBSCRIPT = 0x10
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
<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>
|
||||||
@@ -86,6 +87,7 @@
|
|||||||
<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 +95,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -104,7 +106,7 @@
|
|||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>
|
<DebugType>
|
||||||
</DebugType>
|
</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -124,6 +126,9 @@
|
|||||||
<Reference Include="System.Xml">
|
<Reference Include="System.Xml">
|
||||||
<Name>System.XML</Name>
|
<Name>System.XML</Name>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Volian.Base.Library">
|
||||||
|
<HintPath>..\..\..\Volian.Base.Library\bin\Debug\Volian.Base.Library.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AssemblyInfo.cs">
|
<Compile Include="AssemblyInfo.cs">
|
||||||
@@ -135,6 +140,12 @@
|
|||||||
<Compile Include="ImageDialog.cs">
|
<Compile Include="ImageDialog.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="roRichTextBox.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="roRichTextBox.Designer.cs">
|
||||||
|
<DependentUpon>roRichTextBox.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="ZoomDialog.cs">
|
<Compile Include="ZoomDialog.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|||||||
40
PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/roRichTextBox.Designer.cs
generated
Normal file
40
PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/roRichTextBox.Designer.cs
generated
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
|
||||||
|
namespace ctlXMLEditLib
|
||||||
|
{
|
||||||
|
partial class roRichTextBox
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Component Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
System.Windows.Forms.AutoScaleMode AutoScaleMode;
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
|
||||||
|
components = new System.ComponentModel.Container();
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
}
|
||||||
100
PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/roRichTextBox.cs
Normal file
100
PROMS/ReferencedObjects/LibSource/ctlXMLEditLib/roRichTextBox.cs
Normal file
@@ -0,0 +1,100 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using Volian.Base.Library;
|
||||||
|
|
||||||
|
namespace ctlXMLEditLib
|
||||||
|
{
|
||||||
|
public partial class roRichTextBox : RichTextBox // C2022-003 Symbols in RO Editor. Customized RichTextBox for RO Editor.
|
||||||
|
{
|
||||||
|
public roRichTextBox()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
private string _RtfPrefix; // contains Font table and styles (bold/underline/italics) for rtb from step style
|
||||||
|
public string RtfPrefixForSymbols
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
//B2020-100 RHM Use SelectionFont rather than the font from the format file.
|
||||||
|
StringBuilder selectedRtfSB = new StringBuilder();
|
||||||
|
AddFontTable(selectedRtfSB, FormatFont, true);
|
||||||
|
_RtfPrefix = selectedRtfSB.ToString();
|
||||||
|
return _RtfPrefix + @"\f1\fs" + 10 * 2 + " ";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public void InsertSymbol( int symbcode)
|
||||||
|
{
|
||||||
|
int position = this.SelectionStart;
|
||||||
|
string sym = string.Format(symbcode < 256 ? "\'{0:X2}" : @"\u{0}", symbcode);
|
||||||
|
this.SelectedRtf = RtfPrefixForSymbols + sym + @"}";
|
||||||
|
Select(position, -1);
|
||||||
|
Select(position + 1, 0);
|
||||||
|
}
|
||||||
|
public void rchtxtBox_KeyDown(object sender,string RO_IDEN) // C2022-003 code used to prevent a symbol from being inserted into RO ID.
|
||||||
|
{
|
||||||
|
bool symFlg = false;
|
||||||
|
|
||||||
|
roRichTextBox o = (roRichTextBox)sender;
|
||||||
|
if (o.Name == RO_IDEN)
|
||||||
|
{
|
||||||
|
if (Clipboard.GetDataObject().GetDataPresent(DataFormats.Text))
|
||||||
|
{
|
||||||
|
string clpBrd = Clipboard.GetText();
|
||||||
|
if (clpBrd.Any(c => c > 166))
|
||||||
|
{
|
||||||
|
MessageBox.Show("Symbols are not allowed in the field. Clipbroad: '" + clpBrd + "'");
|
||||||
|
Clipboard.Clear();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private static void AddFontTable(StringBuilder selectedRtfSB, Font myFont, bool isFixed)
|
||||||
|
{
|
||||||
|
StringBuilder sbbeg = new StringBuilder();
|
||||||
|
StringBuilder sbend = new StringBuilder();
|
||||||
|
if (myFont.Bold)
|
||||||
|
{
|
||||||
|
sbbeg.Append(@"\b");
|
||||||
|
sbend.Append(@"\b0");
|
||||||
|
}
|
||||||
|
if (myFont.Underline)
|
||||||
|
{
|
||||||
|
sbbeg.Append(@"\ul");
|
||||||
|
sbend.Insert(0, @"\ulnone");
|
||||||
|
}
|
||||||
|
if (myFont.Italic)
|
||||||
|
{
|
||||||
|
sbbeg.Append(@"\i");
|
||||||
|
sbend.Insert(0, @"\i0");
|
||||||
|
}
|
||||||
|
// RO Editor add symbols C2022-003
|
||||||
|
selectedRtfSB.Append(@"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset2 " + myFont.FontFamily.Name + @";}");
|
||||||
|
selectedRtfSB.Append(@"{\f1\fnil\fcharset0 FreeMono;}}{\colortbl ;\red255\green0\blue0;\red0\green0\blue255;}"); // FreeMono is now used for symbols display.
|
||||||
|
selectedRtfSB.Append("\r\n");
|
||||||
|
selectedRtfSB.Append(@"\viewkind4\uc1\pard" + sbbeg.ToString() + @"\fs" + Convert.ToInt32(myFont.SizeInPoints * 2).ToString() + @" ");
|
||||||
|
}
|
||||||
|
private Font _FormatFont;
|
||||||
|
public Font FormatFont
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
if (_FormatFont == null)
|
||||||
|
{
|
||||||
|
Font formatFont;
|
||||||
|
formatFont = Font;
|
||||||
|
_FormatFont = formatFont;
|
||||||
|
}
|
||||||
|
return _FormatFont;
|
||||||
|
}
|
||||||
|
set { _FormatFont = value; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -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.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";
|
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";
|
||||||
using (OleDbConnection accessConnection = new OleDbConnection(strDatabaseConnectionCommand))
|
using (OleDbConnection accessConnection = new OleDbConnection(strDatabaseConnectionCommand))
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
</SccProvider>
|
</SccProvider>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
@@ -30,15 +30,17 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="DevComponents.DotNetBar2, Version=14.1.0.37, Culture=neutral, PublicKeyToken=7eb7c3a35b91de04, processorArchitecture=MSIL">
|
<Reference Include="DevComponents.DotNetBar2, Version=14.1.0.37, Culture=neutral, PublicKeyToken=7eb7c3a35b91de04, processorArchitecture=MSIL">
|
||||||
@@ -98,6 +100,17 @@
|
|||||||
<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.
|
||||||
|
|||||||
@@ -60,6 +60,7 @@
|
|||||||
<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>
|
||||||
@@ -84,6 +85,7 @@
|
|||||||
<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)' == 'Release_PreRegistered|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release_PreRegistered|AnyCPU' ">
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
@@ -108,6 +110,7 @@
|
|||||||
<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>
|
||||||
@@ -116,7 +119,7 @@
|
|||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<FileAlignment>4096</FileAlignment>
|
<FileAlignment>4096</FileAlignment>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
@@ -127,7 +130,7 @@
|
|||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<FileAlignment>4096</FileAlignment>
|
<FileAlignment>4096</FileAlignment>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
@@ -138,7 +141,7 @@
|
|||||||
<BaseAddress>285212672</BaseAddress>
|
<BaseAddress>285212672</BaseAddress>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<FileAlignment>4096</FileAlignment>
|
<FileAlignment>4096</FileAlignment>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
|
|||||||
@@ -199,4 +199,4 @@
|
|||||||
</providers>
|
</providers>
|
||||||
</roleManager>
|
</roleManager>
|
||||||
</system.web>
|
</system.web>
|
||||||
</configuration>
|
</configuration>
|
||||||
203
PROMS/VEPROMS User Interface/DlgAnnotationsSelect.cs
Normal file
203
PROMS/VEPROMS User Interface/DlgAnnotationsSelect.cs
Normal file
@@ -0,0 +1,203 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using VEPROMS.CSLA.Library;
|
||||||
|
|
||||||
|
namespace VEPROMS
|
||||||
|
{
|
||||||
|
// C2025-027 Annotation Type Filtering
|
||||||
|
public partial class dlgAnnotationsSelect : Form
|
||||||
|
{
|
||||||
|
public dlgAnnotationsSelect()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
|
||||||
|
public dlgAnnotationsSelect(string userid)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
UserID = userid;
|
||||||
|
}
|
||||||
|
|
||||||
|
private int _MyItemID;
|
||||||
|
public int MyItemID
|
||||||
|
{
|
||||||
|
get { return _MyItemID; }
|
||||||
|
set { _MyItemID = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private string _UserID;
|
||||||
|
public string UserID
|
||||||
|
{
|
||||||
|
get { return _UserID; }
|
||||||
|
set { _UserID = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnSelect_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
MoveSelectedItems(lstUnselected, lstSelected);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Move selected items to lstUnselected.
|
||||||
|
private void btnDeselect_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
MoveSelectedItems(lstSelected, lstUnselected);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Move selected items from one ListBox to another.
|
||||||
|
private void MoveSelectedItems(ListBox lstFrom, ListBox lstTo)
|
||||||
|
{
|
||||||
|
while (lstFrom.SelectedItems.Count > 0)
|
||||||
|
{
|
||||||
|
lstSelected.DisplayMember = "NameStr";
|
||||||
|
lstSelected.ValueMember = "TypeID";
|
||||||
|
|
||||||
|
AnnotataionItem item = (AnnotataionItem)lstFrom.SelectedItems[0];
|
||||||
|
lstTo.Items.Add(new AnnotataionItem(item.NameStr, item.TypeID));
|
||||||
|
lstFrom.Items.Remove(item);
|
||||||
|
}
|
||||||
|
SetButtonsEditable();
|
||||||
|
btnUpdate.Enabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Move all items to lstSelected.
|
||||||
|
private void btnSelectAll_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
MoveAllItems(lstUnselected, lstSelected);
|
||||||
|
btnUpdate.Enabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Move all items to lstUnselected.
|
||||||
|
private void btnDeselectAll_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
MoveAllItems(lstSelected, lstUnselected);
|
||||||
|
btnUpdate.Enabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Move all items from one ListBox to another.
|
||||||
|
private void MoveAllItems(ListBox lstFrom, ListBox lstTo)
|
||||||
|
{
|
||||||
|
lstTo.Items.AddRange(lstFrom.Items);
|
||||||
|
lstFrom.Items.Clear();
|
||||||
|
SetButtonsEditable();
|
||||||
|
btnUpdate.Enabled = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Enable and disable buttons.
|
||||||
|
private void lst_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SetButtonsEditable();
|
||||||
|
}
|
||||||
|
// Save selected list to DB.
|
||||||
|
private void btnUpdate_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
saveChanges();
|
||||||
|
}
|
||||||
|
public class AnnotataionItem
|
||||||
|
{
|
||||||
|
private string _NameStr;
|
||||||
|
private int _TypeID;
|
||||||
|
|
||||||
|
public AnnotataionItem(string NameStr, int TypeID)
|
||||||
|
{
|
||||||
|
this._NameStr = NameStr;
|
||||||
|
this._TypeID = TypeID;
|
||||||
|
}
|
||||||
|
public string NameStr
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return _NameStr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public int TypeID
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return _TypeID;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Enable and disable buttons.
|
||||||
|
private void SetButtonsEditable()
|
||||||
|
{
|
||||||
|
btnSelect.Enabled = (lstUnselected.SelectedItems.Count > 0);
|
||||||
|
btnSelectAll.Enabled = (lstUnselected.Items.Count > 0);
|
||||||
|
btnDeselect.Enabled = (lstSelected.SelectedItems.Count > 0);
|
||||||
|
btnDeselectAll.Enabled = (lstSelected.Items.Count > 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DlgAnnotationsSelect_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
lstUnselected.DisplayMember = "NameStr";
|
||||||
|
lstUnselected.ValueMember = "TypeID";
|
||||||
|
SetButtonsEditable();
|
||||||
|
DataTable AnnoType = AnnotationstypeSelections.GetAnnoTypes(UserID);
|
||||||
|
foreach (DataRow dr in AnnoType.Rows)
|
||||||
|
{
|
||||||
|
lstUnselected.Items.Add(new AnnotataionItem(dr["Name"].ToString(), (int)dr["TypeID"]));
|
||||||
|
}
|
||||||
|
|
||||||
|
lstSelected.DisplayMember = "NameStr";
|
||||||
|
lstSelected.ValueMember = "TypeID";
|
||||||
|
DataTable lstSelectedTbl = VEPROMS.CSLA.Library.AnnotationstypeSelections.Retrieve(UserID);
|
||||||
|
|
||||||
|
foreach (DataRow lstSelectedRow in lstSelectedTbl.Rows)
|
||||||
|
{
|
||||||
|
lstSelected.Items.Add(new AnnotataionItem(lstSelectedRow["Name"].ToString(), (int)lstSelectedRow["TypeID"]));
|
||||||
|
}
|
||||||
|
btnUpdate.Enabled = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnCancel_Click_1(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (btnUpdate.Enabled == true)
|
||||||
|
{
|
||||||
|
string message = "Changes have not yet been saved. Do you want to save the changes prior to closing?";
|
||||||
|
string title = "Save Annotation Selections";
|
||||||
|
MessageBoxButtons buttons = MessageBoxButtons.YesNo;
|
||||||
|
DialogResult result = MessageBox.Show(message, title, buttons);
|
||||||
|
if (result == DialogResult.Yes)
|
||||||
|
{
|
||||||
|
saveChanges();
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private DataTable coverToTable()
|
||||||
|
{
|
||||||
|
DataTable dt = new DataTable();
|
||||||
|
dt.Columns.Add("TypeID", typeof(Int32));
|
||||||
|
|
||||||
|
|
||||||
|
foreach (AnnotataionItem item in lstSelected.Items.OfType<AnnotataionItem>())
|
||||||
|
{
|
||||||
|
dt.Rows.Add(item.TypeID);
|
||||||
|
}
|
||||||
|
return dt;
|
||||||
|
}
|
||||||
|
private void saveChanges()
|
||||||
|
{
|
||||||
|
DataTable dt2 = coverToTable();
|
||||||
|
VEPROMS.CSLA.Library.AnnotationstypeSelections.Update(dt2, UserID);
|
||||||
|
btnUpdate.Enabled = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -112,9 +112,9 @@
|
|||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<resheader name="reader">
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
</root>
|
</root>
|
||||||
@@ -66,6 +66,12 @@ namespace VEPROMS
|
|||||||
set { _prtSectID = value; }
|
set { _prtSectID = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private bool _OverwritePDF;
|
||||||
|
public bool OverwritePDF
|
||||||
|
{
|
||||||
|
get { return cbxOverwritePDF2.Checked; }
|
||||||
|
set { cbxOverwritePDF2.Checked = value; }
|
||||||
|
}
|
||||||
|
|
||||||
// C2018-033 Used to turn off using the date/time PDF file prefix and suffix when doing batch file autmatic baseline print testing (frmVEPROMS.cs RunAutomatic())
|
// C2018-033 Used to turn off using the date/time PDF file prefix and suffix when doing batch file autmatic baseline print testing (frmVEPROMS.cs RunAutomatic())
|
||||||
// This is needed so the the automatic baselines can compare results from different runs of PROMS
|
// This is needed so the the automatic baselines can compare results from different runs of PROMS
|
||||||
@@ -393,6 +399,7 @@ namespace VEPROMS
|
|||||||
{
|
{
|
||||||
SetupForProcedure();
|
SetupForProcedure();
|
||||||
_MyTimer = new Timer();
|
_MyTimer = new Timer();
|
||||||
|
_MyTimer.Tick -= new EventHandler(_MyTimer_Tick);
|
||||||
_MyTimer.Tick += new EventHandler(_MyTimer_Tick);
|
_MyTimer.Tick += new EventHandler(_MyTimer_Tick);
|
||||||
_MyTimer.Interval = 100;
|
_MyTimer.Interval = 100;
|
||||||
_MyTimer.Enabled = true;
|
_MyTimer.Enabled = true;
|
||||||
@@ -418,7 +425,12 @@ namespace VEPROMS
|
|||||||
//txbPDFLocation.Text = _PDFPath;
|
//txbPDFLocation.Text = _PDFPath;
|
||||||
BuildPDFFileName();
|
BuildPDFFileName();
|
||||||
ProcedureConfig pc = _MyProcedure.MyConfig as ProcedureConfig;
|
ProcedureConfig pc = _MyProcedure.MyConfig as ProcedureConfig;
|
||||||
if(SelectedSlave > 0) pc.SelectedSlave = SelectedSlave;
|
// C2025-033 set which Child procedure is being printed used for PageStyle items
|
||||||
|
VlnSvgPageHelper.PrintingChild = SelectedSlave;
|
||||||
|
if (SelectedSlave > 0)
|
||||||
|
{
|
||||||
|
pc.SelectedSlave = SelectedSlave;
|
||||||
|
}
|
||||||
if (pc != null)
|
if (pc != null)
|
||||||
{
|
{
|
||||||
//C2021-062 use the save rev number for all procedures if set, or just use the rev number in the current procedure config
|
//C2021-062 use the save rev number for all procedures if set, or just use the rev number in the current procedure config
|
||||||
@@ -1087,7 +1099,9 @@ namespace VEPROMS
|
|||||||
(int)changeBarData.FixedChangeColumn :
|
(int)changeBarData.FixedChangeColumn :
|
||||||
System.Convert.ToInt32(changeBarData.DefaultCBLoc.Split(" ,".ToCharArray())[System.Convert.ToInt32(cbd.MyChangeBarLoc)]);
|
System.Convert.ToInt32(changeBarData.DefaultCBLoc.Split(" ,".ToCharArray())[System.Convert.ToInt32(cbd.MyChangeBarLoc)]);
|
||||||
//cbd.MyChangeBarColumn = (int)changeBarData.FixedChangeColumn;
|
//cbd.MyChangeBarColumn = (int)changeBarData.FixedChangeColumn;
|
||||||
if (cbd.MyChangeBarText == PrintChangeBarText.UserDef)
|
if (cbd.MyChangeBarText == PrintChangeBarText.UserDef && !string.IsNullOrEmpty(ppTxbxChangeBarUserMsgOne.Text))
|
||||||
|
cbd.MyChangeBarMessage = ppTxbxChangeBarUserMsgOne.Text + @"\n" + ppTxbxChangeBarUserMsgTwo.Text;
|
||||||
|
else if (cbd.MyChangeBarText == PrintChangeBarText.UserDef)
|
||||||
cbd.MyChangeBarMessage = _DocVersionConfig.Print_UserCBMess1 + @"\n" + _DocVersionConfig.Print_UserCBMess2;
|
cbd.MyChangeBarMessage = _DocVersionConfig.Print_UserCBMess1 + @"\n" + _DocVersionConfig.Print_UserCBMess2;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -250,6 +250,16 @@ namespace VEPROMS.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
|
/// </summary>
|
||||||
|
internal static System.Drawing.Bitmap toolbox {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("toolbox", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -410,17 +410,5 @@ namespace VEPROMS.Properties {
|
|||||||
this["VisioPath"] = value;
|
this["VisioPath"] = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[global::System.Configuration.UserScopedSettingAttribute()]
|
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
|
||||||
[global::System.Configuration.DefaultSettingValueAttribute("0")]
|
|
||||||
public int UCFImportOpt {
|
|
||||||
get {
|
|
||||||
return ((int)(this["UCFImportOpt"]));
|
|
||||||
}
|
|
||||||
set {
|
|
||||||
this["UCFImportOpt"] = value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,11 +80,9 @@
|
|||||||
<Setting Name="UpdateSettings" Type="System.Boolean" Scope="User">
|
<Setting Name="UpdateSettings" Type="System.Boolean" Scope="User">
|
||||||
<Value Profile="(Default)">True</Value>
|
<Value Profile="(Default)">True</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
|
|
||||||
<Setting Name="cbShwRplWrdsColor" Type="System.Boolean" Scope="User">
|
<Setting Name="cbShwRplWrdsColor" Type="System.Boolean" Scope="User">
|
||||||
<Value Profile="(Default)">False</Value>
|
<Value Profile="(Default)">False</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
|
|
||||||
<Setting Name="PasteNoReturns" Type="System.Boolean" Scope="User">
|
<Setting Name="PasteNoReturns" Type="System.Boolean" Scope="User">
|
||||||
<Value Profile="(Default)">False</Value>
|
<Value Profile="(Default)">False</Value>
|
||||||
</Setting>
|
</Setting>
|
||||||
@@ -103,8 +101,5 @@
|
|||||||
<Setting Name="VisioPath" Type="System.String" Scope="User">
|
<Setting Name="VisioPath" Type="System.String" Scope="User">
|
||||||
<Value Profile="(Default)" />
|
<Value Profile="(Default)" />
|
||||||
</Setting>
|
</Setting>
|
||||||
<Setting Name="UCFImportOpt" Type="System.Int32" Scope="User">
|
|
||||||
<Value Profile="(Default)">0</Value>
|
|
||||||
</Setting>
|
|
||||||
</Settings>
|
</Settings>
|
||||||
</SettingsFile>
|
</SettingsFile>
|
||||||
BIN
PROMS/VEPROMS User Interface/Resources/toolbox.png
Normal file
BIN
PROMS/VEPROMS User Interface/Resources/toolbox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.3 KiB |
@@ -50,7 +50,7 @@
|
|||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
@@ -61,13 +61,14 @@
|
|||||||
<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)' == 'Demo|AnyCPU' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Demo|AnyCPU' ">
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<OutputPath>bin\Demo\</OutputPath>
|
<OutputPath>bin\Demo\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -76,7 +77,7 @@
|
|||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -85,7 +86,7 @@
|
|||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -94,7 +95,7 @@
|
|||||||
<OutputPath>bin\Demo\</OutputPath>
|
<OutputPath>bin\Demo\</OutputPath>
|
||||||
<DefineConstants>TRACE;DEMO</DefineConstants>
|
<DefineConstants>TRACE;DEMO</DefineConstants>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<Prefer32Bit>false</Prefer32Bit>
|
<Prefer32Bit>false</Prefer32Bit>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
@@ -111,10 +112,6 @@
|
|||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\..\3rdPartyLibraries\DotNetBar\DotNetBar4.6Build\DevComponents.DotNetBar2.dll</HintPath>
|
<HintPath>..\..\..\..\3rdPartyLibraries\DotNetBar\DotNetBar4.6Build\DevComponents.DotNetBar2.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL">
|
|
||||||
<SpecificVersion>False</SpecificVersion>
|
|
||||||
<HintPath>..\..\..\..\3rdPartyLibraries\Ionic\Ionic.Zip.dll</HintPath>
|
|
||||||
</Reference>
|
|
||||||
<Reference Include="Itenso.Rtf.Interpreter">
|
<Reference Include="Itenso.Rtf.Interpreter">
|
||||||
<HintPath>..\..\..\..\3rdPartyLibraries\RtfConverter\bin\Debug\Itenso.Rtf.Interpreter.dll</HintPath>
|
<HintPath>..\..\..\..\3rdPartyLibraries\RtfConverter\bin\Debug\Itenso.Rtf.Interpreter.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
@@ -125,6 +122,10 @@
|
|||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\..\3rdPartyLibraries\Log4Net\log4net.dll</HintPath>
|
<HintPath>..\..\..\..\3rdPartyLibraries\Log4Net\log4net.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.configuration" />
|
<Reference Include="System.configuration" />
|
||||||
<Reference Include="System.Data">
|
<Reference Include="System.Data">
|
||||||
@@ -133,6 +134,8 @@
|
|||||||
<Reference Include="System.Deployment" />
|
<Reference Include="System.Deployment" />
|
||||||
<Reference Include="System.Design" />
|
<Reference Include="System.Design" />
|
||||||
<Reference Include="System.Drawing" />
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.IO.Compression" />
|
||||||
|
<Reference Include="System.IO.Compression.FileSystem" />
|
||||||
<Reference Include="System.Runtime.Remoting" />
|
<Reference Include="System.Runtime.Remoting" />
|
||||||
<Reference Include="System.Web" />
|
<Reference Include="System.Web" />
|
||||||
<Reference Include="System.Web.Extensions" />
|
<Reference Include="System.Web.Extensions" />
|
||||||
@@ -152,6 +155,17 @@
|
|||||||
<DependentUpon>AboutVEPROMS.cs</DependentUpon>
|
<DependentUpon>AboutVEPROMS.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="BookMarks.cs" />
|
<Compile Include="BookMarks.cs" />
|
||||||
|
<Compile Include="dlgAnnotationsSelect.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="dlgAnnotationsSelect.Designer.cs">
|
||||||
|
<DependentUpon>dlgAnnotationsSelect.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="dlgAnnotationsSelect.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>dlgAnnotationsSelect.resx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="dlgApproveProcedure.cs">
|
<Compile Include="dlgApproveProcedure.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -164,6 +178,15 @@
|
|||||||
<Compile Include="dlgCheckedOutProcedure.designer.cs">
|
<Compile Include="dlgCheckedOutProcedure.designer.cs">
|
||||||
<DependentUpon>dlgCheckedOutProcedure.cs</DependentUpon>
|
<DependentUpon>dlgCheckedOutProcedure.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="dlgExportImportEP.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="dlgMSWordMessage.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="dlgMSWordMessage.Designer.cs">
|
||||||
|
<DependentUpon>dlgMSWordMessage.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="dlgCheckOpenTabs.cs">
|
<Compile Include="dlgCheckOpenTabs.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -206,6 +229,12 @@
|
|||||||
<Compile Include="dlgPickROFolder.designer.cs">
|
<Compile Include="dlgPickROFolder.designer.cs">
|
||||||
<DependentUpon>dlgPickROFolder.cs</DependentUpon>
|
<DependentUpon>dlgPickROFolder.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="dlgPrintAllApprovedProcedures.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="dlgPrintAllApprovedProcedures.Designer.cs">
|
||||||
|
<DependentUpon>dlgPrintAllApprovedProcedures.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="DlgPrintProcedure.cs">
|
<Compile Include="DlgPrintProcedure.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -224,12 +253,6 @@
|
|||||||
<Compile Include="dlgTransitionReport.designer.cs">
|
<Compile Include="dlgTransitionReport.designer.cs">
|
||||||
<DependentUpon>dlgTransitionReport.cs</DependentUpon>
|
<DependentUpon>dlgTransitionReport.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="dlgUCFDetail.cs">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="dlgUCFDetail.Designer.cs">
|
|
||||||
<DependentUpon>dlgUCFDetail.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="frmAnnotationsCleanup.cs">
|
<Compile Include="frmAnnotationsCleanup.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -248,6 +271,12 @@
|
|||||||
<Compile Include="frmBatchRefreshCheckedOut.designer.cs">
|
<Compile Include="frmBatchRefreshCheckedOut.designer.cs">
|
||||||
<DependentUpon>frmBatchRefreshCheckedOut.cs</DependentUpon>
|
<DependentUpon>frmBatchRefreshCheckedOut.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="frmGenTools.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="frmGenTools.designer.cs">
|
||||||
|
<DependentUpon>frmGenTools.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="frmManageUser.cs">
|
<Compile Include="frmManageUser.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -278,12 +307,6 @@
|
|||||||
<Compile Include="frmSI.Designer.cs">
|
<Compile Include="frmSI.Designer.cs">
|
||||||
<DependentUpon>frmSI.cs</DependentUpon>
|
<DependentUpon>frmSI.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="frmUCF.cs">
|
|
||||||
<SubType>Form</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="frmUCF.designer.cs">
|
|
||||||
<DependentUpon>frmUCF.cs</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="frmVEPROMS.cs">
|
<Compile Include="frmVEPROMS.cs">
|
||||||
<SubType>Form</SubType>
|
<SubType>Form</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
@@ -331,6 +354,13 @@
|
|||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<DependentUpon>AboutVEPROMS.cs</DependentUpon>
|
<DependentUpon>AboutVEPROMS.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="dlgAnnotationsSelect.resx">
|
||||||
|
<DependentUpon>dlgAnnotationsSelect.cs</DependentUpon>
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="dlgMSWordMessage.resx">
|
||||||
|
<DependentUpon>dlgMSWordMessage.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="dlgCheckOpenTabs.resx">
|
<EmbeddedResource Include="dlgCheckOpenTabs.resx">
|
||||||
<DependentUpon>dlgCheckOpenTabs.cs</DependentUpon>
|
<DependentUpon>dlgCheckOpenTabs.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
@@ -340,6 +370,9 @@
|
|||||||
<EmbeddedResource Include="dlgImpHowToHandleROs.resx">
|
<EmbeddedResource Include="dlgImpHowToHandleROs.resx">
|
||||||
<DependentUpon>dlgImpHowToHandleROs.cs</DependentUpon>
|
<DependentUpon>dlgImpHowToHandleROs.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="dlgPrintAllApprovedProcedures.resx">
|
||||||
|
<DependentUpon>dlgPrintAllApprovedProcedures.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="DlgPrintProcedure.resx">
|
<EmbeddedResource Include="DlgPrintProcedure.resx">
|
||||||
<DependentUpon>DlgPrintProcedure.cs</DependentUpon>
|
<DependentUpon>DlgPrintProcedure.cs</DependentUpon>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
@@ -347,12 +380,12 @@
|
|||||||
<EmbeddedResource Include="dlgSetChangeBarStartDate.resx">
|
<EmbeddedResource Include="dlgSetChangeBarStartDate.resx">
|
||||||
<DependentUpon>dlgSetChangeBarStartDate.cs</DependentUpon>
|
<DependentUpon>dlgSetChangeBarStartDate.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="dlgUCFDetail.resx">
|
|
||||||
<DependentUpon>dlgUCFDetail.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="frmAnnotationsCleanup.resx">
|
<EmbeddedResource Include="frmAnnotationsCleanup.resx">
|
||||||
<DependentUpon>frmAnnotationsCleanup.cs</DependentUpon>
|
<DependentUpon>frmAnnotationsCleanup.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="frmGenTools.resx">
|
||||||
|
<DependentUpon>frmGenTools.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmPDFStatusForm.resx">
|
<EmbeddedResource Include="frmPDFStatusForm.resx">
|
||||||
<DependentUpon>frmPDFStatusForm.cs</DependentUpon>
|
<DependentUpon>frmPDFStatusForm.cs</DependentUpon>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
@@ -368,9 +401,6 @@
|
|||||||
<EmbeddedResource Include="frmSI.resx">
|
<EmbeddedResource Include="frmSI.resx">
|
||||||
<DependentUpon>frmSI.cs</DependentUpon>
|
<DependentUpon>frmSI.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="frmUCF.resx">
|
|
||||||
<DependentUpon>frmUCF.cs</DependentUpon>
|
|
||||||
</EmbeddedResource>
|
|
||||||
<EmbeddedResource Include="frmVEPROMS.resx">
|
<EmbeddedResource Include="frmVEPROMS.resx">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<DependentUpon>frmVEPROMS.cs</DependentUpon>
|
<DependentUpon>frmVEPROMS.cs</DependentUpon>
|
||||||
@@ -478,6 +508,7 @@
|
|||||||
<Content Include="PROMSRollback %28v2.0%29.Sql">
|
<Content Include="PROMSRollback %28v2.0%29.Sql">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="Resources\toolbox.png" />
|
||||||
<Content Include="ROBuild.Sql">
|
<Content Include="ROBuild.Sql">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
@@ -568,8 +599,6 @@
|
|||||||
<Content Include="Resources\Save.png" />
|
<Content Include="Resources\Save.png" />
|
||||||
<Content Include="Resources\SaveAllHS.png" />
|
<Content Include="Resources\SaveAllHS.png" />
|
||||||
<Content Include="Resources\SaveAs.png" />
|
<Content Include="Resources\SaveAs.png" />
|
||||||
<Content Include="UCFDetails.xsl" />
|
|
||||||
<Content Include="UCFSummary.xsl" />
|
|
||||||
<Content Include="VEicon.ico" />
|
<Content Include="VEicon.ico" />
|
||||||
<Content Include="veproms.ico" />
|
<Content Include="veproms.ico" />
|
||||||
<Content Include="Vicon.ico" />
|
<Content Include="Vicon.ico" />
|
||||||
|
|||||||
229
PROMS/VEPROMS User Interface/dlgAnnotationsSelect.Designer.cs
generated
Normal file
229
PROMS/VEPROMS User Interface/dlgAnnotationsSelect.Designer.cs
generated
Normal file
@@ -0,0 +1,229 @@
|
|||||||
|
|
||||||
|
namespace VEPROMS
|
||||||
|
{
|
||||||
|
partial class dlgAnnotationsSelect
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (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.lstUnselected = new System.Windows.Forms.ListBox();
|
||||||
|
this.lstSelected = new System.Windows.Forms.ListBox();
|
||||||
|
this.btnSelect = new System.Windows.Forms.Button();
|
||||||
|
this.btnSelectAll = new System.Windows.Forms.Button();
|
||||||
|
this.btnDeselectAll = new System.Windows.Forms.Button();
|
||||||
|
this.btnDeselect = new System.Windows.Forms.Button();
|
||||||
|
this.btnUpdate = new System.Windows.Forms.Button();
|
||||||
|
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||||
|
this.btnCancel = new System.Windows.Forms.Button();
|
||||||
|
this.lblMessage = new System.Windows.Forms.Label();
|
||||||
|
this.lblAvailableTypes = new System.Windows.Forms.Label();
|
||||||
|
this.lblSelected = new System.Windows.Forms.Label();
|
||||||
|
this.tableLayoutPanel1.SuspendLayout();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// lstUnselected
|
||||||
|
//
|
||||||
|
this.lstUnselected.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.lstUnselected.FormattingEnabled = true;
|
||||||
|
this.lstUnselected.IntegralHeight = false;
|
||||||
|
this.lstUnselected.ItemHeight = 16;
|
||||||
|
this.lstUnselected.Location = new System.Drawing.Point(3, 3);
|
||||||
|
this.lstUnselected.Name = "lstUnselected";
|
||||||
|
this.tableLayoutPanel1.SetRowSpan(this.lstUnselected, 4);
|
||||||
|
this.lstUnselected.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
|
||||||
|
this.lstUnselected.Size = new System.Drawing.Size(287, 347);
|
||||||
|
this.lstUnselected.TabIndex = 0;
|
||||||
|
this.lstUnselected.SelectedIndexChanged += new System.EventHandler(this.lst_SelectedIndexChanged);
|
||||||
|
//
|
||||||
|
// lstSelected
|
||||||
|
//
|
||||||
|
this.lstSelected.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
|
this.lstSelected.FormattingEnabled = true;
|
||||||
|
this.lstSelected.IntegralHeight = false;
|
||||||
|
this.lstSelected.ItemHeight = 16;
|
||||||
|
this.lstSelected.Location = new System.Drawing.Point(334, 3);
|
||||||
|
this.lstSelected.Name = "lstSelected";
|
||||||
|
this.tableLayoutPanel1.SetRowSpan(this.lstSelected, 4);
|
||||||
|
this.lstSelected.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended;
|
||||||
|
this.lstSelected.Size = new System.Drawing.Size(288, 347);
|
||||||
|
this.lstSelected.TabIndex = 1;
|
||||||
|
this.lstSelected.SelectedIndexChanged += new System.EventHandler(this.lst_SelectedIndexChanged);
|
||||||
|
//
|
||||||
|
// btnSelect
|
||||||
|
//
|
||||||
|
this.btnSelect.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||||
|
this.btnSelect.Location = new System.Drawing.Point(298, 32);
|
||||||
|
this.btnSelect.Name = "btnSelect";
|
||||||
|
this.btnSelect.Size = new System.Drawing.Size(28, 23);
|
||||||
|
this.btnSelect.TabIndex = 2;
|
||||||
|
this.btnSelect.Text = ">";
|
||||||
|
this.btnSelect.UseVisualStyleBackColor = true;
|
||||||
|
this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
|
||||||
|
//
|
||||||
|
// btnSelectAll
|
||||||
|
//
|
||||||
|
this.btnSelectAll.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||||
|
this.btnSelectAll.Location = new System.Drawing.Point(296, 120);
|
||||||
|
this.btnSelectAll.Name = "btnSelectAll";
|
||||||
|
this.btnSelectAll.Size = new System.Drawing.Size(32, 23);
|
||||||
|
this.btnSelectAll.TabIndex = 3;
|
||||||
|
this.btnSelectAll.Text = ">>";
|
||||||
|
this.btnSelectAll.UseVisualStyleBackColor = true;
|
||||||
|
this.btnSelectAll.Click += new System.EventHandler(this.btnSelectAll_Click);
|
||||||
|
//
|
||||||
|
// btnDeselectAll
|
||||||
|
//
|
||||||
|
this.btnDeselectAll.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||||
|
this.btnDeselectAll.Location = new System.Drawing.Point(297, 207);
|
||||||
|
this.btnDeselectAll.Name = "btnDeselectAll";
|
||||||
|
this.btnDeselectAll.Size = new System.Drawing.Size(30, 26);
|
||||||
|
this.btnDeselectAll.TabIndex = 5;
|
||||||
|
this.btnDeselectAll.Text = "<<";
|
||||||
|
this.btnDeselectAll.UseVisualStyleBackColor = true;
|
||||||
|
this.btnDeselectAll.Click += new System.EventHandler(this.btnDeselectAll_Click);
|
||||||
|
//
|
||||||
|
// btnDeselect
|
||||||
|
//
|
||||||
|
this.btnDeselect.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||||
|
this.btnDeselect.Location = new System.Drawing.Point(298, 297);
|
||||||
|
this.btnDeselect.Name = "btnDeselect";
|
||||||
|
this.btnDeselect.Size = new System.Drawing.Size(28, 23);
|
||||||
|
this.btnDeselect.TabIndex = 4;
|
||||||
|
this.btnDeselect.Text = "<";
|
||||||
|
this.btnDeselect.UseVisualStyleBackColor = true;
|
||||||
|
this.btnDeselect.Click += new System.EventHandler(this.btnDeselect_Click);
|
||||||
|
//
|
||||||
|
// btnUpdate
|
||||||
|
//
|
||||||
|
this.btnUpdate.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||||
|
this.btnUpdate.Location = new System.Drawing.Point(536, 422);
|
||||||
|
this.btnUpdate.Name = "btnUpdate";
|
||||||
|
this.btnUpdate.Size = new System.Drawing.Size(100, 35);
|
||||||
|
this.btnUpdate.TabIndex = 8;
|
||||||
|
this.btnUpdate.Text = "Save";
|
||||||
|
this.btnUpdate.UseVisualStyleBackColor = true;
|
||||||
|
this.btnUpdate.Click += new System.EventHandler(this.btnUpdate_Click);
|
||||||
|
//
|
||||||
|
// tableLayoutPanel1
|
||||||
|
//
|
||||||
|
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.tableLayoutPanel1.ColumnCount = 3;
|
||||||
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 38F));
|
||||||
|
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
|
||||||
|
this.tableLayoutPanel1.Controls.Add(this.lstUnselected, 0, 0);
|
||||||
|
this.tableLayoutPanel1.Controls.Add(this.lstSelected, 2, 0);
|
||||||
|
this.tableLayoutPanel1.Controls.Add(this.btnDeselect, 1, 3);
|
||||||
|
this.tableLayoutPanel1.Controls.Add(this.btnDeselectAll, 1, 2);
|
||||||
|
this.tableLayoutPanel1.Controls.Add(this.btnSelect, 1, 0);
|
||||||
|
this.tableLayoutPanel1.Controls.Add(this.btnSelectAll, 1, 1);
|
||||||
|
this.tableLayoutPanel1.Location = new System.Drawing.Point(12, 62);
|
||||||
|
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||||
|
this.tableLayoutPanel1.RowCount = 4;
|
||||||
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||||
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||||
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||||
|
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 25F));
|
||||||
|
this.tableLayoutPanel1.Size = new System.Drawing.Size(625, 353);
|
||||||
|
this.tableLayoutPanel1.TabIndex = 6;
|
||||||
|
//
|
||||||
|
// btnCancel
|
||||||
|
//
|
||||||
|
this.btnCancel.Location = new System.Drawing.Point(411, 422);
|
||||||
|
this.btnCancel.Name = "btnCancel";
|
||||||
|
this.btnCancel.Size = new System.Drawing.Size(100, 35);
|
||||||
|
this.btnCancel.TabIndex = 9;
|
||||||
|
this.btnCancel.Text = "Close";
|
||||||
|
this.btnCancel.UseVisualStyleBackColor = true;
|
||||||
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click_1);
|
||||||
|
//
|
||||||
|
// lblMessage
|
||||||
|
//
|
||||||
|
this.lblMessage.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.lblMessage.Location = new System.Drawing.Point(43, 12);
|
||||||
|
this.lblMessage.Name = "lblMessage";
|
||||||
|
this.lblMessage.Size = new System.Drawing.Size(317, 16);
|
||||||
|
this.lblMessage.TabIndex = 10;
|
||||||
|
this.lblMessage.Text = "Updates will appear when PROMS is restarted.";
|
||||||
|
//
|
||||||
|
// lblAvailableTypes
|
||||||
|
//
|
||||||
|
this.lblAvailableTypes.AutoSize = true;
|
||||||
|
this.lblAvailableTypes.Location = new System.Drawing.Point(12, 43);
|
||||||
|
this.lblAvailableTypes.Name = "lblAvailableTypes";
|
||||||
|
this.lblAvailableTypes.Size = new System.Drawing.Size(110, 16);
|
||||||
|
this.lblAvailableTypes.TabIndex = 11;
|
||||||
|
this.lblAvailableTypes.Text = "Types Available ";
|
||||||
|
//
|
||||||
|
// lblSelected
|
||||||
|
//
|
||||||
|
this.lblSelected.AutoSize = true;
|
||||||
|
this.lblSelected.Location = new System.Drawing.Point(343, 43);
|
||||||
|
this.lblSelected.Name = "lblSelected";
|
||||||
|
this.lblSelected.Size = new System.Drawing.Size(104, 16);
|
||||||
|
this.lblSelected.TabIndex = 12;
|
||||||
|
this.lblSelected.Text = "Types Selected";
|
||||||
|
//
|
||||||
|
// dlgAnnotationsSelect
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(653, 466);
|
||||||
|
this.Controls.Add(this.lblSelected);
|
||||||
|
this.Controls.Add(this.lblAvailableTypes);
|
||||||
|
this.Controls.Add(this.btnCancel);
|
||||||
|
this.Controls.Add(this.tableLayoutPanel1);
|
||||||
|
this.Controls.Add(this.btnUpdate);
|
||||||
|
this.Controls.Add(this.lblMessage);
|
||||||
|
this.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
|
this.Name = "dlgAnnotationsSelect";
|
||||||
|
this.Text = "Filter Annotation Types";
|
||||||
|
this.Load += new System.EventHandler(this.DlgAnnotationsSelect_Load);
|
||||||
|
this.tableLayoutPanel1.ResumeLayout(false);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
private System.Windows.Forms.ListBox lstUnselected;
|
||||||
|
private System.Windows.Forms.ListBox lstSelected;
|
||||||
|
private System.Windows.Forms.Button btnSelect;
|
||||||
|
private System.Windows.Forms.Button btnSelectAll;
|
||||||
|
private System.Windows.Forms.Button btnDeselectAll;
|
||||||
|
private System.Windows.Forms.Button btnDeselect;
|
||||||
|
private System.Windows.Forms.Button btnUpdate;
|
||||||
|
|
||||||
|
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||||
|
private System.Windows.Forms.Button btnCancel;
|
||||||
|
private System.Windows.Forms.Label lblMessage;
|
||||||
|
private System.Windows.Forms.Label lblAvailableTypes;
|
||||||
|
private System.Windows.Forms.Label lblSelected;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -13,6 +13,8 @@ using System.Text.RegularExpressions;
|
|||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using DevComponents.DotNetBar;
|
using DevComponents.DotNetBar;
|
||||||
using JR.Utils.GUI.Forms;
|
using JR.Utils.GUI.Forms;
|
||||||
|
using Volian.Controls.Library;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
namespace VEPROMS
|
namespace VEPROMS
|
||||||
{
|
{
|
||||||
@@ -65,11 +67,13 @@ namespace VEPROMS
|
|||||||
MyFrmVEPROMS = myFrmVEPROMS;// Save frmVEPROMS for Import to shutoff SessionPing
|
MyFrmVEPROMS = myFrmVEPROMS;// Save frmVEPROMS for Import to shutoff SessionPing
|
||||||
_MyApproval = new ApprovalInfo(myFrmVEPROMS);// Save frmVEPROMS for Import to shutoff SessionPing
|
_MyApproval = new ApprovalInfo(myFrmVEPROMS);// Save frmVEPROMS for Import to shutoff SessionPing
|
||||||
ApplicabilityIndex = myDocVersion.DocVersionConfig.SelectedSlave;
|
ApplicabilityIndex = myDocVersion.DocVersionConfig.SelectedSlave;
|
||||||
|
this.ConsistencyPrintRequest -= new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest);
|
||||||
this.ConsistencyPrintRequest += new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest);
|
this.ConsistencyPrintRequest += new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest);
|
||||||
_MyDocVersion = myDocVersion;
|
_MyDocVersion = myDocVersion;
|
||||||
_MyDocVersion.ResetProcedures(); // B2021-035: Pasted, modified number and deleted procedures not refreshed so missing from list
|
_MyDocVersion.ResetProcedures(); // B2021-035: Pasted, modified number and deleted procedures not refreshed so missing from list
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
FlexGridAddEvents();
|
FlexGridAddEvents();
|
||||||
|
_MyApproval.StatusUpdated -= new ApprovalStatusChangeEvent(_MyApproval_StatusUpdated);
|
||||||
_MyApproval.StatusUpdated += new ApprovalStatusChangeEvent(_MyApproval_StatusUpdated);
|
_MyApproval.StatusUpdated += new ApprovalStatusChangeEvent(_MyApproval_StatusUpdated);
|
||||||
SetupComboBoxes();
|
SetupComboBoxes();
|
||||||
foreach (ProcedureInfo pi in myDocVersion.Procedures)
|
foreach (ProcedureInfo pi in myDocVersion.Procedures)
|
||||||
@@ -101,6 +105,7 @@ namespace VEPROMS
|
|||||||
//fgProcs.SetupEditor += new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_SetupEditor);
|
//fgProcs.SetupEditor += new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_SetupEditor);
|
||||||
//fgProcs.StartEdit += new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_StartEdit);
|
//fgProcs.StartEdit += new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_StartEdit);
|
||||||
//fgProcs.ValidateEdit += new C1.Win.C1FlexGrid.ValidateEditEventHandler(fgProcs_ValidateEdit);
|
//fgProcs.ValidateEdit += new C1.Win.C1FlexGrid.ValidateEditEventHandler(fgProcs_ValidateEdit);
|
||||||
|
fgProcs.ComboCloseUp -= new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_ComboCloseUp);
|
||||||
fgProcs.ComboCloseUp += new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_ComboCloseUp);
|
fgProcs.ComboCloseUp += new C1.Win.C1FlexGrid.RowColEventHandler(fgProcs_ComboCloseUp);
|
||||||
//fgProcs.MouseDown += new MouseEventHandler(fgProcs_MouseDown);
|
//fgProcs.MouseDown += new MouseEventHandler(fgProcs_MouseDown);
|
||||||
//fgProcs.MouseUp += new MouseEventHandler(fgProcs_MouseUp);
|
//fgProcs.MouseUp += new MouseEventHandler(fgProcs_MouseUp);
|
||||||
@@ -275,6 +280,7 @@ namespace VEPROMS
|
|||||||
{
|
{
|
||||||
MyFrmVEPROMS = myFrmVEPROMS;// Save frmVEPROMS for Import to shutoff SessionPing
|
MyFrmVEPROMS = myFrmVEPROMS;// Save frmVEPROMS for Import to shutoff SessionPing
|
||||||
_MyApproval = new ApprovalInfo(myFrmVEPROMS);// Save frmVEPROMS for Import to shutoff SessionPing
|
_MyApproval = new ApprovalInfo(myFrmVEPROMS);// Save frmVEPROMS for Import to shutoff SessionPing
|
||||||
|
this.ConsistencyPrintRequest -= new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest);
|
||||||
this.ConsistencyPrintRequest += new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest);
|
this.ConsistencyPrintRequest += new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest);
|
||||||
_MyDocVersion = myDocVersion;
|
_MyDocVersion = myDocVersion;
|
||||||
_MyDocVersion.ResetProcedures(); // B2021-035: Pasted, modified number and deleted procedures not refreshed so missing from list
|
_MyDocVersion.ResetProcedures(); // B2021-035: Pasted, modified number and deleted procedures not refreshed so missing from list
|
||||||
@@ -295,6 +301,7 @@ namespace VEPROMS
|
|||||||
{
|
{
|
||||||
MyFrmVEPROMS = myFrmVEPROMS;// Save frmVEPROMS for Import to shutoff SessionPing
|
MyFrmVEPROMS = myFrmVEPROMS;// Save frmVEPROMS for Import to shutoff SessionPing
|
||||||
_MyApproval = new ApprovalInfo(myFrmVEPROMS);// Save frmVEPROMS for Import to shutoff SessionPing
|
_MyApproval = new ApprovalInfo(myFrmVEPROMS);// Save frmVEPROMS for Import to shutoff SessionPing
|
||||||
|
this.ConsistencyPrintRequest -= new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest);
|
||||||
this.ConsistencyPrintRequest += new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest);
|
this.ConsistencyPrintRequest += new DisplayConsistencyReportEvent(dlgApproveProcedure_ConsistencyPrintRequest);
|
||||||
_MyDocVersion = myProcedure.MyDocVersion;
|
_MyDocVersion = myProcedure.MyDocVersion;
|
||||||
_MyDocVersion.ResetProcedures(); // B2021-035: Pasted, modified number and deleted procedures not refreshed so missing from list
|
_MyDocVersion.ResetProcedures(); // B2021-035: Pasted, modified number and deleted procedures not refreshed so missing from list
|
||||||
@@ -450,6 +457,7 @@ namespace VEPROMS
|
|||||||
int checkedCount = clbMore.CheckedItems.Count;
|
int checkedCount = clbMore.CheckedItems.Count;
|
||||||
string oldLabel = lblMore.Text;
|
string oldLabel = lblMore.Text;
|
||||||
pbMore.Visible = true;
|
pbMore.Visible = true;
|
||||||
|
ItemInfoList.ConsistencyCheckUpdated -= new ItemInfoListCCEvent(ItemInfoList_ConsistencyCheckUpdated);
|
||||||
ItemInfoList.ConsistencyCheckUpdated += new ItemInfoListCCEvent(ItemInfoList_ConsistencyCheckUpdated);
|
ItemInfoList.ConsistencyCheckUpdated += new ItemInfoListCCEvent(ItemInfoList_ConsistencyCheckUpdated);
|
||||||
List<ProcedureInfo> myProcs = new List<ProcedureInfo>();
|
List<ProcedureInfo> myProcs = new List<ProcedureInfo>();
|
||||||
// B2018-136 use the list of procedures that have checkboxes and are checked (right panel) instead of the list to be approved (left panel)
|
// B2018-136 use the list of procedures that have checkboxes and are checked (right panel) instead of the list to be approved (left panel)
|
||||||
@@ -1303,7 +1311,7 @@ namespace VEPROMS
|
|||||||
pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
||||||
if (si.IsApproved == 1)
|
if (si.IsApproved == 1)
|
||||||
{
|
{
|
||||||
dlgExportImport dlg = new dlgExportImport("Export", pi, MyFrmVEPROMS, (E_UCFImportOptions)0); // "true tell export to convert ROs and Transitions to text
|
dlgExportImport dlg = new dlgExportImport("Export", pi, MyFrmVEPROMS, (selectedSlave)); // "true tell export to convert ROs and Transitions to text
|
||||||
dlg.DocReplace = frm.DocReplace; // this tells approval to prepare an export file with resolved transitions and ROs, word sections are saved with resolved ROs during approval PDF creation and saved in DocReplace
|
dlg.DocReplace = frm.DocReplace; // this tells approval to prepare an export file with resolved transitions and ROs, word sections are saved with resolved ROs during approval PDF creation and saved in DocReplace
|
||||||
System.Xml.XmlDocument xd = new System.Xml.XmlDocument();
|
System.Xml.XmlDocument xd = new System.Xml.XmlDocument();
|
||||||
dlg.ExportItem(xd, pi, "procedure");
|
dlg.ExportItem(xd, pi, "procedure");
|
||||||
@@ -1315,6 +1323,26 @@ namespace VEPROMS
|
|||||||
|
|
||||||
// Clear the change bar override for this procedure:
|
// Clear the change bar override for this procedure:
|
||||||
pi.ClearChangeBarOverrides();
|
pi.ClearChangeBarOverrides();
|
||||||
|
|
||||||
|
//B2019-140 Change bars do not get refreshed when approval is run.
|
||||||
|
ProcedureInfo newproc = ItemInfo.ResetProcedure(pi.ItemID);
|
||||||
|
|
||||||
|
//// Refresh the StepPanel for the current Procedure
|
||||||
|
//// so change bars update
|
||||||
|
//// on any open StepPanel
|
||||||
|
DisplayTabItem dti = MyFrmVEPROMS.GetTabContainingProcedure(pi.ItemID);
|
||||||
|
if (dti != null)
|
||||||
|
{
|
||||||
|
if (!dti.MyStepTabPanel.MyStepPanel.ContainsFocus)
|
||||||
|
dti.MyStepTabPanel.MyStepPanel.Focus();
|
||||||
|
|
||||||
|
foreach (EditItem eitm in dti.MyStepTabPanel.MyStepPanel.Controls.OfType<EditItem>())
|
||||||
|
eitm.ChangeBar = eitm.MyItemInfo.HasChangeBar;
|
||||||
|
}
|
||||||
|
|
||||||
|
//since in a separate form, need to update the tree view
|
||||||
|
//so "Showing Change Bars" Content Menu Item is correct
|
||||||
|
MyFrmVEPROMS.RefreshProcedureNode(newproc);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
UpdateProcedureConfig(pi, ap.RevNumber, ap.RevDate, myDTS, selectedSlave);
|
UpdateProcedureConfig(pi, ap.RevNumber, ap.RevDate, myDTS, selectedSlave);
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
347
PROMS/VEPROMS User Interface/dlgExportImportEP.cs
Normal file
347
PROMS/VEPROMS User Interface/dlgExportImportEP.cs
Normal file
@@ -0,0 +1,347 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Xml;
|
||||||
|
using VEPROMS.CSLA.Library;
|
||||||
|
|
||||||
|
namespace VEPROMS
|
||||||
|
{
|
||||||
|
//C2025-024 Electronic Procedures - Phase 2 (PROMS XML output)
|
||||||
|
//class inherits from normal import/export form
|
||||||
|
//then adds additional functionality
|
||||||
|
#pragma warning disable S101 // Types should be named in PascalCase
|
||||||
|
public partial class dlgExportImportEP : dlgExportImport
|
||||||
|
#pragma warning restore S101 // Types should be named in PascalCase
|
||||||
|
{
|
||||||
|
private readonly AnnotationTypeInfo _AnnotationType;
|
||||||
|
private readonly string multiseparator = ",";
|
||||||
|
|
||||||
|
private static Regex _ROAccPageTokenPattern = new Regex("[<][^<>-]+-[^<>]+[>]");
|
||||||
|
|
||||||
|
public dlgExportImportEP(string mode, FolderInfo folderInfo, frmVEPROMS myFrmVEPROMS, int annotationTypeId, int unitIndex = 0) : base(mode, folderInfo, myFrmVEPROMS, ( unitIndex))
|
||||||
|
{
|
||||||
|
_AnnotationType = AnnotationTypeInfo.Get(annotationTypeId);
|
||||||
|
_ExportBothConvertedandNot = true;
|
||||||
|
DocReplace = new Dictionary<int, byte[]>();
|
||||||
|
FormClosed += OnClose;
|
||||||
|
Text = $"{mode} Electronic Procedure ({_AnnotationType.Name}) Dialog for {folderInfo.Name}";
|
||||||
|
}
|
||||||
|
public dlgExportImportEP(string mode, DocVersionInfo docVersionInfo, frmVEPROMS myFrmVEPROMS, int annotationTypeId, int unitIndex = 0) : base(mode, docVersionInfo, myFrmVEPROMS, (unitIndex))
|
||||||
|
{
|
||||||
|
_AnnotationType = AnnotationTypeInfo.Get(annotationTypeId);
|
||||||
|
_ExportBothConvertedandNot = true;
|
||||||
|
DocReplace = new Dictionary<int, byte[]>();
|
||||||
|
FormClosed += OnClose;
|
||||||
|
Text = $"{mode} Electronic Procedure ({_AnnotationType.Name}) Dialog for {docVersionInfo.Name} of {docVersionInfo.MyFolder.Name}";
|
||||||
|
}
|
||||||
|
public dlgExportImportEP(string mode, ProcedureInfo procedureInfo, frmVEPROMS myFrmVEPROMS, int annotationTypeId, int unitIndex = 0) : base(mode, procedureInfo, myFrmVEPROMS, (unitIndex))
|
||||||
|
{
|
||||||
|
_AnnotationType = AnnotationTypeInfo.Get(annotationTypeId);
|
||||||
|
_ExportBothConvertedandNot = true;
|
||||||
|
DocReplace = new Dictionary<int, byte[]>();
|
||||||
|
FormClosed += OnClose;
|
||||||
|
Text = $"{mode} Electronic Procedure ({_AnnotationType.Name}) Dialog for {procedureInfo.DisplayNumber}";
|
||||||
|
}
|
||||||
|
|
||||||
|
//Overridden function to handle export of EP data
|
||||||
|
protected override void ExportEPAnnotationInfo(XmlElement xe, ItemInfo ii)
|
||||||
|
{
|
||||||
|
if (_UnitIndex > 0)
|
||||||
|
{
|
||||||
|
ii.MyDocVersion.DocVersionConfig.SelectedSlave = _UnitIndex;
|
||||||
|
ii.MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave = _UnitIndex;
|
||||||
|
}
|
||||||
|
|
||||||
|
//switch to handle customizations for different formats
|
||||||
|
switch (ii.ActiveFormat.PlantFormat.EPFormatFiles.Find(x => x.AnnotationTypeID == _AnnotationType.TypeID)?.Name)
|
||||||
|
{
|
||||||
|
default:
|
||||||
|
ExportEPAnnotationInfo_Default(xe, ii);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
ii.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
||||||
|
ii.MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//default export of EP Data
|
||||||
|
private void ExportEPAnnotationInfo_Default(XmlElement xe, ItemInfo ii)
|
||||||
|
{
|
||||||
|
//Add tab text to item
|
||||||
|
string steptab = Volian.Print.Library.PDFReport.BuildStepTab(ii);
|
||||||
|
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "StepTab", steptab));
|
||||||
|
|
||||||
|
//Add db sequence to item
|
||||||
|
string dbsequence = dbSeq(ii);
|
||||||
|
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "dbsequence", dbsequence));
|
||||||
|
|
||||||
|
//get first transition in item and add it as an xml element
|
||||||
|
if (ii.MyContent.ContentTransitionCount > 0)
|
||||||
|
{
|
||||||
|
TransitionInfo ct = ii.MyContent.ContentTransitions[0];
|
||||||
|
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "TransitionToItemID", ct.ToID.ToString()));
|
||||||
|
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "TransitionTodbsequence", dbSeq(ct.ToID)));
|
||||||
|
}
|
||||||
|
|
||||||
|
//export EP annotation details under an EPInfo node
|
||||||
|
if (ii.ItemAnnotations != null)
|
||||||
|
{
|
||||||
|
XmlElement xepinfo = xe.OwnerDocument.CreateElement("EPInfo");
|
||||||
|
|
||||||
|
EPFields myEPFields = ii.GetValidEPFields(_AnnotationType.TypeID);
|
||||||
|
ROFSTLookup lookup = ii.MyDocVersion.DocVersionAssociations[0].MyROFst.GetROFSTLookup(ii.MyDocVersion);
|
||||||
|
bool epexportblank = ii.EPexportblank(_AnnotationType.TypeID); //should blank xml elements export?
|
||||||
|
|
||||||
|
//grab the current RO db so will know location of RO files and default graphics ext.
|
||||||
|
using (RODbInfo myRODB = (RODbInfoList.Get()).FirstOrDefault(x => x.RODbID == ii.MyDocVersion.DocVersionAssociations[0].MyROFst.RODbID))
|
||||||
|
{
|
||||||
|
//For each annotation in the item that is of the current EP Annotation type
|
||||||
|
foreach (var EPAnnotation in ii.ItemAnnotations.Where(x => x.TypeID == _AnnotationType.TypeID))
|
||||||
|
{
|
||||||
|
var EPAnnotationConfig = new AnnotationConfig(EPAnnotation.Config);
|
||||||
|
|
||||||
|
XmlElement xepdetails = xe.OwnerDocument.CreateElement("Details");
|
||||||
|
//include the annotation ID for reference
|
||||||
|
xepdetails.Attributes.SetNamedItem(AddAttribute(xepdetails.OwnerDocument, "AnnotationID", EPAnnotation.AnnotationID.ToString()));
|
||||||
|
|
||||||
|
//loop through each EP Field - name the xml elements the EP.name
|
||||||
|
foreach (EPField EP in myEPFields)
|
||||||
|
{
|
||||||
|
string val = EPAnnotationConfig.GetValue("EP", EP.name);
|
||||||
|
|
||||||
|
if (epexportblank || !string.IsNullOrEmpty(val))
|
||||||
|
{
|
||||||
|
|
||||||
|
if (_UnitIndex != 0)
|
||||||
|
{
|
||||||
|
val = DisplayText.ResolveUnitSpecific(ii.MyDocVersion, val);
|
||||||
|
}
|
||||||
|
|
||||||
|
XmlElement xindivid = xe.OwnerDocument.CreateElement(EP.name);
|
||||||
|
|
||||||
|
//need to resolve ROs ROSingle, ROMulti, in text
|
||||||
|
//get values
|
||||||
|
switch (EP.type.ToLower())
|
||||||
|
{
|
||||||
|
case "text":
|
||||||
|
|
||||||
|
//for text, check if any embedded ROs
|
||||||
|
//if none, set the xml element to the text
|
||||||
|
//otherwise resolve the ROs
|
||||||
|
MatchCollection matches = _ROAccPageTokenPattern.Matches(val);
|
||||||
|
if (matches.Count == 0)
|
||||||
|
{
|
||||||
|
xindivid.InnerText = val;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//resolve ROs
|
||||||
|
//text ROs will replace the AccID key in the text
|
||||||
|
//for binary objects like images,
|
||||||
|
//we will keep the AccID in the text and output the binary as a separate child
|
||||||
|
//XML element with the same xml name as the AccID
|
||||||
|
foreach (Match m in matches)
|
||||||
|
{
|
||||||
|
ROFSTLookup.rochild roc = lookup.GetROChildByAccPageID(m.Groups[0].Value);
|
||||||
|
|
||||||
|
// Exclude replacing Images since are binary - for those, add a sub item
|
||||||
|
if (Enumerable.Range(8, 15).Contains(roc.type))
|
||||||
|
{
|
||||||
|
xindivid.InnerText = val;
|
||||||
|
|
||||||
|
XmlElement xroid = AddGraphic(xindivid, m.Groups[0].Value, roc, myRODB, roc.type != 8);
|
||||||
|
|
||||||
|
xindivid.AppendChild(xroid);
|
||||||
|
}
|
||||||
|
else if (!string.IsNullOrEmpty(roc.value))
|
||||||
|
{
|
||||||
|
bool convertCaretToDeltaSymbol = (ii.ActiveSection != null) && ii.ActiveSection.ActiveFormat.PlantFormat.FormatData.SectData.ConvertCaretToDelta;
|
||||||
|
|
||||||
|
string rocvalue = roc.value.Replace("`", "\xB0");
|
||||||
|
rocvalue = rocvalue.Replace("\xF8", "\xB0");
|
||||||
|
rocvalue = rocvalue.Replace("\x7F", "\x394"); //delta
|
||||||
|
if (convertCaretToDeltaSymbol) rocvalue = rocvalue.Replace("^", "\x394"); // delta
|
||||||
|
val = val.Replace($"{m.Groups[0].Value}", rocvalue);
|
||||||
|
xindivid.InnerText = val;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "rosingle":
|
||||||
|
//Get the output columns from the EPFormatFile
|
||||||
|
//set the "Item" nodes value = to those resolved items
|
||||||
|
//separated by multiseparator
|
||||||
|
XmlElement xindivid_rosingle = xindivid.OwnerDocument.CreateElement("Item");
|
||||||
|
xindivid_rosingle.Attributes.SetNamedItem(AddAttribute(xindivid_rosingle.OwnerDocument, "ROID", val));
|
||||||
|
|
||||||
|
//add values specified in EP input list
|
||||||
|
List<string> ro_single_tmp = EP.getROValuesList(EPAnnotation, val);
|
||||||
|
xindivid_rosingle.InnerText = String.Join(multiseparator, ro_single_tmp.ToArray());
|
||||||
|
|
||||||
|
//if image, add location and binary of image
|
||||||
|
// - images are type 8
|
||||||
|
// but if multiple return values could combine
|
||||||
|
// for example an text (1) + image (8) would be 9
|
||||||
|
ROFSTLookup.rochild roc_single = lookup.GetRoChild(val);
|
||||||
|
if (Enumerable.Range(8, 15).Contains(roc_single.type))
|
||||||
|
{
|
||||||
|
XmlElement xroid = AddGraphic(xindivid, val, roc_single, myRODB, roc_single.type != 8);
|
||||||
|
xindivid_rosingle.AppendChild(xroid);
|
||||||
|
}
|
||||||
|
|
||||||
|
xindivid.AppendChild(xindivid_rosingle);
|
||||||
|
break;
|
||||||
|
case "romulti":
|
||||||
|
//Get the output columns from the EPFormatFile
|
||||||
|
//create an "Item" subnode for each selected RO
|
||||||
|
//set the nodes value = to those resolved items
|
||||||
|
//separated by multiseparator
|
||||||
|
foreach (string ival in val.Split(multiseparator.ToCharArray()))
|
||||||
|
{
|
||||||
|
XmlElement xindivid_romulti = xindivid.OwnerDocument.CreateElement("Item");
|
||||||
|
xindivid_romulti.Attributes.SetNamedItem(AddAttribute(xindivid_romulti.OwnerDocument, "ROID", ival));
|
||||||
|
|
||||||
|
//add values specified in EP input list
|
||||||
|
List<string> ro_multi_tmp = EP.getROValuesList(EPAnnotation, ival);
|
||||||
|
xindivid_romulti.InnerText = String.Join(multiseparator, ro_multi_tmp.ToArray());
|
||||||
|
|
||||||
|
//if image, add location and binary of image
|
||||||
|
// - images are type 8
|
||||||
|
// but if multiple return values could combine
|
||||||
|
// for example an text (1) + image (8) would be 9
|
||||||
|
ROFSTLookup.rochild roc_multi = lookup.GetRoChild(ival);
|
||||||
|
if (Enumerable.Range(8, 15).Contains(roc_multi.type))
|
||||||
|
{
|
||||||
|
XmlElement xroid = AddGraphic(xindivid, ival, roc_multi, myRODB, roc_multi.type != 8);
|
||||||
|
xindivid_romulti.AppendChild(xroid);
|
||||||
|
}
|
||||||
|
|
||||||
|
xindivid.AppendChild(xindivid_romulti);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case "tableinput":
|
||||||
|
xindivid.InnerText = val;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
xindivid.InnerText = val;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
xepdetails.AppendChild(xindivid);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
xepinfo.AppendChild(xepdetails);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
xe.AppendChild(xepinfo);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
//return a db sequence string from an Item ID
|
||||||
|
private string dbSeq(int itemID)
|
||||||
|
{
|
||||||
|
using (ItemInfo ii = ItemInfo.Get(itemID))
|
||||||
|
{
|
||||||
|
return dbSeq(ii);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//return a db sequence string from an ItemInfo
|
||||||
|
private string dbSeq(ItemInfo ii) => $"{((FolderInfo)ii.MyDocVersion.ActiveParent).Name}:{ii.MyProcedure.DisplayNumber} {ii.MyProcedure.DisplayText}:{ii.DBSequence}";
|
||||||
|
|
||||||
|
//For Exporting an RO that is an image
|
||||||
|
//returns the Location and FileName of the RO Image
|
||||||
|
private string GetROImageFileLocation(ROFSTLookup.rochild roc, RODbInfo rodb, bool isMulti)
|
||||||
|
{
|
||||||
|
string rodbpath = rodb.FolderPath;
|
||||||
|
|
||||||
|
string rocval = roc.value;
|
||||||
|
if (rocval == null) rocval = Array.Find(roc.children, x => x.value.Contains('.')).value;
|
||||||
|
|
||||||
|
if (rocval == null) return "";
|
||||||
|
string imgname;
|
||||||
|
if (isMulti)
|
||||||
|
{
|
||||||
|
imgname = rocval.Substring(rocval.IndexOf(' ') + 1, rocval.IndexOf("\r\n") - rocval.IndexOf(' ') - 1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
imgname = rocval.Substring(0, rocval.IndexOf('\n'));
|
||||||
|
}
|
||||||
|
int thedot = imgname.LastIndexOf('.');
|
||||||
|
string fname = imgname;
|
||||||
|
if (thedot == -1 || (thedot != (imgname.Length - 4)))
|
||||||
|
{
|
||||||
|
RODbConfig roDbCfg = new RODbConfig(rodb.Config);
|
||||||
|
fname += string.Format(".{0}", roDbCfg.GetDefaultGraphicExtension());
|
||||||
|
}
|
||||||
|
|
||||||
|
string imgfile = Path.Combine(rodbpath, fname);
|
||||||
|
return imgfile;
|
||||||
|
}
|
||||||
|
|
||||||
|
//For Exporting an RO that is an image
|
||||||
|
//returns an xmlElement
|
||||||
|
// - that is a child to xindivid
|
||||||
|
// - that has a name of Name
|
||||||
|
// - that has a value of the binary representation of the image
|
||||||
|
// - that has an attribute designating the location of the image file
|
||||||
|
private XmlElement AddGraphic(XmlElement xindivid, string Name, ROFSTLookup.rochild roc, RODbInfo rodb, bool isMulti)
|
||||||
|
{
|
||||||
|
Name = Name.Replace("<", "").Replace(">", "");
|
||||||
|
|
||||||
|
XmlElement xroid = xindivid.OwnerDocument.CreateElement(Name);
|
||||||
|
|
||||||
|
string imgfile = GetROImageFileLocation(roc, rodb, isMulti);
|
||||||
|
if (string.IsNullOrEmpty(imgfile)) return xroid;
|
||||||
|
xroid.Attributes.SetNamedItem(AddAttribute(xroid.OwnerDocument, "Location", imgfile));
|
||||||
|
|
||||||
|
if (File.Exists(imgfile))
|
||||||
|
{
|
||||||
|
using (FileStream fsIn = new FileStream(imgfile, FileMode.Open, FileAccess.Read, FileShare.Read))
|
||||||
|
{
|
||||||
|
// Create an instance of StreamReader that can read characters from the FileStream.
|
||||||
|
using (BinaryReader r = new BinaryReader(fsIn))
|
||||||
|
xroid.InnerText = Encoding.Default.GetString(r.ReadBytes((int)fsIn.Length));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return xroid;
|
||||||
|
}
|
||||||
|
|
||||||
|
//overridden - used to set the RO location for RO Images that are not in annotations
|
||||||
|
protected override void SetROLocation(ref XmlElement xindivid, ROFSTLookup.rochild roc, RODbInfo rodb, bool isMulti)
|
||||||
|
{
|
||||||
|
string imgfile = GetROImageFileLocation(roc, rodb, isMulti);
|
||||||
|
if (!string.IsNullOrEmpty(imgfile)) xindivid.Attributes.SetNamedItem(AddAttribute(xindivid.OwnerDocument, "Location", imgfile));
|
||||||
|
}
|
||||||
|
|
||||||
|
//overridden - used to set specific enhanced doc info
|
||||||
|
protected override void SetEPEnhancedDocLinks(ref XmlElement xe, ItemInfo ii)
|
||||||
|
{
|
||||||
|
EnhancedDocuments eds = ii.GetMyEnhancedDocuments();
|
||||||
|
|
||||||
|
if (eds != null && eds.Count == 1)
|
||||||
|
{
|
||||||
|
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "EnhancedDocType", eds[0].Type.ToString()));
|
||||||
|
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "EnhancedDocToItemID", eds[0].ItemID.ToString()));
|
||||||
|
xe.Attributes.SetNamedItem(AddAttribute(xe.OwnerDocument, "EnhancedDocToDbSeq", dbSeq(eds[0].ItemID)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//clear objects to release memory
|
||||||
|
private void OnClose(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
DocReplace.Clear();
|
||||||
|
DocReplace = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user