Compare commits
320 Commits
B2025-018
...
C2022-003-
| Author | SHA1 | Date | |
|---|---|---|---|
| 751794c1ec | |||
| 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 | |||
| 0c17d9abc2 | |||
| 2c1476b74c | |||
| 0fa71727ac | |||
| 20cacf26ae | |||
| 1d406b0c7e | |||
| a099d27b86 | |||
| 3e53ec9191 | |||
| 637cbd9954 | |||
| 717251ca5e | |||
| 5d3bb41275 | |||
| e5211fee00 | |||
| 41cb078a94 | |||
| 0a5e4076e1 | |||
| c3534e21fa | |||
| e9e934cfb1 | |||
| a417ddda85 | |||
| 06159c6b68 | |||
| 22c14d169b | |||
| f273a8839a | |||
| db09db3cd0 | |||
| ba8a8b8673 | |||
| 62ae81c7b3 | |||
| 6db9567eb9 | |||
| 8ef08c53b3 | |||
| 6f354bfeee | |||
| 818d764b3d | |||
| 9fdbdb05f4 | |||
| d392131005 | |||
| 389b9e382b | |||
| 6fd84e2f2a | |||
| 689ea71846 | |||
| 66295594e9 | |||
| 042b80b9f4 | |||
| c4da241516 | |||
| 74ccbfa760 | |||
| 46d8838d0e | |||
| 94d2c32025 | |||
| 64124cc0f7 | |||
| 24c5bc5097 | |||
| 1ffde5de50 | |||
| 3828da2f8f | |||
| 1554d3cc33 | |||
| d808b306b6 | |||
| 45aeb808fa | |||
| 74f9fc0c18 | |||
| c2c90a2c2e | |||
| 05ab077dda | |||
| 1ae422c74e | |||
| 5da62c3a5d | |||
| 86a98118fb | |||
| 6a51208a13 | |||
| 0749f5e724 | |||
| f65644f553 |
@@ -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.
BIN
PROMS/Formats/fmtall/ACMEBCKall.xml
Normal file
BIN
PROMS/Formats/fmtall/ACMEBCKall.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/fmtall/ACMEall.xml
Normal file
BIN
PROMS/Formats/fmtall/ACMEall.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.
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.
BIN
PROMS/Formats/fmtall/PROMSDemo1all.xml
Normal file
BIN
PROMS/Formats/fmtall/PROMSDemo1all.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/fmtall/PROMSDemo2all.xml
Normal file
BIN
PROMS/Formats/fmtall/PROMSDemo2all.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/fmtall/PROMSDemoALRall.xml
Normal file
BIN
PROMS/Formats/fmtall/PROMSDemoALRall.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/fmtall/PROMSDemoBCKall.xml
Normal file
BIN
PROMS/Formats/fmtall/PROMSDemoBCKall.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.
66
PROMS/Formats/frmFormatCopy.Designer.cs
generated
66
PROMS/Formats/frmFormatCopy.Designer.cs
generated
@@ -33,6 +33,9 @@ namespace Formats
|
|||||||
this.btnCopyFormats = new DevComponents.DotNetBar.ButtonX();
|
this.btnCopyFormats = new DevComponents.DotNetBar.ButtonX();
|
||||||
this.btnBrowse = new DevComponents.DotNetBar.ButtonX();
|
this.btnBrowse = new DevComponents.DotNetBar.ButtonX();
|
||||||
this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
|
this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
|
||||||
|
this.labelX2 = new DevComponents.DotNetBar.LabelX();
|
||||||
|
this.LstBxExcludeFiles = new DevComponents.DotNetBar.ListBoxAdv();
|
||||||
|
this.cbIncludeDemoFormats = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// txbxPROMSFormatsPath
|
// txbxPROMSFormatsPath
|
||||||
@@ -64,7 +67,7 @@ namespace Formats
|
|||||||
//
|
//
|
||||||
this.btnCopyFormats.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
this.btnCopyFormats.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||||
this.btnCopyFormats.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
this.btnCopyFormats.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||||
this.btnCopyFormats.Location = new System.Drawing.Point(152, 68);
|
this.btnCopyFormats.Location = new System.Drawing.Point(232, 156);
|
||||||
this.btnCopyFormats.Name = "btnCopyFormats";
|
this.btnCopyFormats.Name = "btnCopyFormats";
|
||||||
this.btnCopyFormats.Size = new System.Drawing.Size(84, 27);
|
this.btnCopyFormats.Size = new System.Drawing.Size(84, 27);
|
||||||
this.btnCopyFormats.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.btnCopyFormats.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
@@ -88,7 +91,7 @@ namespace Formats
|
|||||||
//
|
//
|
||||||
this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||||
this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||||
this.buttonX2.Location = new System.Drawing.Point(329, 68);
|
this.buttonX2.Location = new System.Drawing.Point(409, 156);
|
||||||
this.buttonX2.Name = "buttonX2";
|
this.buttonX2.Name = "buttonX2";
|
||||||
this.buttonX2.Size = new System.Drawing.Size(75, 23);
|
this.buttonX2.Size = new System.Drawing.Size(75, 23);
|
||||||
this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||||
@@ -96,17 +99,67 @@ namespace Formats
|
|||||||
this.buttonX2.Text = "Exit";
|
this.buttonX2.Text = "Exit";
|
||||||
this.buttonX2.Click += new System.EventHandler(this.buttonX2_Click);
|
this.buttonX2.Click += new System.EventHandler(this.buttonX2_Click);
|
||||||
//
|
//
|
||||||
// Form1
|
// labelX2
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.labelX2.Location = new System.Drawing.Point(12, 41);
|
||||||
|
this.labelX2.Name = "labelX2";
|
||||||
|
this.labelX2.Size = new System.Drawing.Size(200, 23);
|
||||||
|
this.labelX2.TabIndex = 5;
|
||||||
|
this.labelX2.Text = "Excluding Format Files that Start with:";
|
||||||
|
//
|
||||||
|
// LstBxExcludeFiles
|
||||||
|
//
|
||||||
|
this.LstBxExcludeFiles.AutoScroll = true;
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.LstBxExcludeFiles.BackgroundStyle.Class = "ListBoxAdv";
|
||||||
|
this.LstBxExcludeFiles.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.LstBxExcludeFiles.CausesValidation = false;
|
||||||
|
this.LstBxExcludeFiles.CheckStateMember = null;
|
||||||
|
this.LstBxExcludeFiles.ContainerControlProcessDialogKey = true;
|
||||||
|
this.LstBxExcludeFiles.DragDropSupport = true;
|
||||||
|
this.LstBxExcludeFiles.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.LstBxExcludeFiles.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
||||||
|
this.LstBxExcludeFiles.Location = new System.Drawing.Point(57, 70);
|
||||||
|
this.LstBxExcludeFiles.Name = "LstBxExcludeFiles";
|
||||||
|
this.LstBxExcludeFiles.ShowToolTips = false;
|
||||||
|
this.LstBxExcludeFiles.Size = new System.Drawing.Size(134, 76);
|
||||||
|
this.LstBxExcludeFiles.TabIndex = 6;
|
||||||
|
this.LstBxExcludeFiles.Text = "listBoxAdv1";
|
||||||
|
//
|
||||||
|
// cbIncludeDemoFormats
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
this.cbIncludeDemoFormats.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||||
|
this.cbIncludeDemoFormats.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.cbIncludeDemoFormats.Location = new System.Drawing.Point(43, 156);
|
||||||
|
this.cbIncludeDemoFormats.Name = "cbIncludeDemoFormats";
|
||||||
|
this.cbIncludeDemoFormats.Size = new System.Drawing.Size(160, 23);
|
||||||
|
this.cbIncludeDemoFormats.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2010;
|
||||||
|
this.cbIncludeDemoFormats.TabIndex = 7;
|
||||||
|
this.cbIncludeDemoFormats.Text = "Include Demo Formats";
|
||||||
|
//
|
||||||
|
// frmFormatCopy
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
this.ClientSize = new System.Drawing.Size(496, 107);
|
this.ClientSize = new System.Drawing.Size(496, 191);
|
||||||
|
this.Controls.Add(this.cbIncludeDemoFormats);
|
||||||
|
this.Controls.Add(this.LstBxExcludeFiles);
|
||||||
|
this.Controls.Add(this.labelX2);
|
||||||
this.Controls.Add(this.buttonX2);
|
this.Controls.Add(this.buttonX2);
|
||||||
this.Controls.Add(this.btnBrowse);
|
this.Controls.Add(this.btnBrowse);
|
||||||
this.Controls.Add(this.btnCopyFormats);
|
this.Controls.Add(this.btnCopyFormats);
|
||||||
this.Controls.Add(this.labelX1);
|
this.Controls.Add(this.labelX1);
|
||||||
this.Controls.Add(this.txbxPROMSFormatsPath);
|
this.Controls.Add(this.txbxPROMSFormatsPath);
|
||||||
this.Name = "Form1";
|
this.Name = "frmFormatCopy";
|
||||||
this.Text = "Form1";
|
this.Text = "Form1";
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
@@ -119,6 +172,9 @@ namespace Formats
|
|||||||
private DevComponents.DotNetBar.ButtonX btnCopyFormats;
|
private DevComponents.DotNetBar.ButtonX btnCopyFormats;
|
||||||
private DevComponents.DotNetBar.ButtonX btnBrowse;
|
private DevComponents.DotNetBar.ButtonX btnBrowse;
|
||||||
private DevComponents.DotNetBar.ButtonX buttonX2;
|
private DevComponents.DotNetBar.ButtonX buttonX2;
|
||||||
|
private DevComponents.DotNetBar.LabelX labelX2;
|
||||||
|
private DevComponents.DotNetBar.ListBoxAdv LstBxExcludeFiles;
|
||||||
|
private DevComponents.DotNetBar.Controls.CheckBoxX cbIncludeDemoFormats;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,11 @@ namespace Formats
|
|||||||
public frmFormatCopy()
|
public frmFormatCopy()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
SetDefaults();
|
foreach (string excludeThis in excludeThese)
|
||||||
|
{
|
||||||
|
LstBxExcludeFiles.Items.Add(excludeThis);
|
||||||
|
}
|
||||||
|
SetDefaults();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void SetDefaults()
|
private void SetDefaults()
|
||||||
@@ -92,12 +96,17 @@ namespace Formats
|
|||||||
if (!txbxPROMSFormatsPath.Text.EndsWith(@"\")) txbxPROMSFormatsPath.Text += @"\";
|
if (!txbxPROMSFormatsPath.Text.EndsWith(@"\")) txbxPROMSFormatsPath.Text += @"\";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Added a PROMSDemo to the list of excluded format files
|
||||||
|
public string[] excludeThese = { "WPS", "WPB", "VCBEPP", "PROMSDemo" };
|
||||||
|
|
||||||
|
// Added logic to support in inclusion of the PROMSDemo formats if the checkbox on the
|
||||||
|
// dialog is check
|
||||||
private bool ExcludeFromCopy(string fn)
|
private bool ExcludeFromCopy(string fn)
|
||||||
{
|
{
|
||||||
// don't copy formats whos file name starts with..
|
// don't copy formats whos file name starts with..
|
||||||
string[] excludeThese = { "WPS", "WEP", "WPB", "VCBEPP" };
|
|
||||||
foreach (string excludeThis in excludeThese)
|
foreach (string excludeThis in excludeThese)
|
||||||
if (fn.ToUpper().StartsWith(excludeThis)) return true;
|
if (fn.ToUpper().StartsWith(excludeThis)
|
||||||
|
&& !(cbIncludeDemoFormats.Checked && fn.ToUpper().StartsWith("PROMSDEMO"))) return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -156,5 +165,5 @@ namespace Formats
|
|||||||
Application.Exit();
|
Application.Exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -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>
|
||||||
BIN
PROMS/Formats/genmacall/ACME.svg
Normal file
BIN
PROMS/Formats/genmacall/ACME.svg
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.
BIN
PROMS/Formats/genmacall/PROMSDemo1.svg
Normal file
BIN
PROMS/Formats/genmacall/PROMSDemo1.svg
Normal file
Binary file not shown.
BIN
PROMS/Formats/genmacall/PROMSDemo2.svg
Normal file
BIN
PROMS/Formats/genmacall/PROMSDemo2.svg
Normal file
Binary file not shown.
BIN
PROMS/Formats/genmacall/PROMSDemoALR.svg
Normal file
BIN
PROMS/Formats/genmacall/PROMSDemoALR.svg
Normal file
Binary file not shown.
BIN
PROMS/Formats/genmacall/PROMSDemoBCK.svg
Normal file
BIN
PROMS/Formats/genmacall/PROMSDemoBCK.svg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
PROMS/Formats/genmacall/acmebck.svg
Normal file
BIN
PROMS/Formats/genmacall/acmebck.svg
Normal file
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>
|
||||||
|
|||||||
@@ -96,10 +96,10 @@ namespace ROEditor
|
|||||||
private System.Windows.Forms.Label lblW2;
|
private System.Windows.Forms.Label lblW2;
|
||||||
private System.Windows.Forms.Label lblW3;
|
private System.Windows.Forms.Label lblW3;
|
||||||
private System.Windows.Forms.Label lblW4;
|
private System.Windows.Forms.Label lblW4;
|
||||||
private System.Windows.Forms.TextBox tbSingleTxtWid;
|
private System.Windows.Forms.RichTextBox tbSingleTxtWid; // RO Editor add symbols C2025 - 003
|
||||||
private System.Windows.Forms.TextBox tbVariableTxtWid;
|
private System.Windows.Forms.RichTextBox tbVariableTxtWid;
|
||||||
private System.Windows.Forms.TextBox tbTableWid;
|
private System.Windows.Forms.RichTextBox tbTableWid;
|
||||||
private System.Windows.Forms.TextBox tbXYPlotWid;
|
private System.Windows.Forms.RichTextBox tbXYPlotWid;
|
||||||
private System.Windows.Forms.Button btnOK;
|
private System.Windows.Forms.Button btnOK;
|
||||||
private System.Windows.Forms.Button btnCancel;
|
private System.Windows.Forms.Button btnCancel;
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -218,10 +218,10 @@ namespace ROEditor
|
|||||||
this.lblFieldName = new System.Windows.Forms.Label();
|
this.lblFieldName = new System.Windows.Forms.Label();
|
||||||
this.tbFieldName = new System.Windows.Forms.TextBox();
|
this.tbFieldName = new System.Windows.Forms.TextBox();
|
||||||
this.gbAlternatives = new System.Windows.Forms.GroupBox();
|
this.gbAlternatives = new System.Windows.Forms.GroupBox();
|
||||||
this.tbXYPlotWid = new System.Windows.Forms.TextBox();
|
this.tbXYPlotWid = new System.Windows.Forms.RichTextBox(); // RO Editor add symbols C2025 - 003
|
||||||
this.tbTableWid = new System.Windows.Forms.TextBox();
|
this.tbTableWid = new System.Windows.Forms.RichTextBox();
|
||||||
this.tbVariableTxtWid = new System.Windows.Forms.TextBox();
|
this.tbVariableTxtWid = new System.Windows.Forms.RichTextBox();
|
||||||
this.tbSingleTxtWid = new System.Windows.Forms.TextBox();
|
this.tbSingleTxtWid = new System.Windows.Forms.RichTextBox();
|
||||||
this.lblW4 = new System.Windows.Forms.Label();
|
this.lblW4 = new System.Windows.Forms.Label();
|
||||||
this.lblW3 = new System.Windows.Forms.Label();
|
this.lblW3 = new System.Windows.Forms.Label();
|
||||||
this.lblW2 = new System.Windows.Forms.Label();
|
this.lblW2 = new System.Windows.Forms.Label();
|
||||||
|
|||||||
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,18 @@
|
|||||||
<Reference Include="System.Xml">
|
<Reference Include="System.Xml">
|
||||||
<Name>System.XML</Name>
|
<Name>System.XML</Name>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="VEPROMS.CSLA.Library, Version=1.0.0.0, Culture=neutral, processorArchitecture=AMD64">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\..\..\VEPROMS.CSLA.Library\bin\Debug\VEPROMS.CSLA.Library.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Volian.Base.Library, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
|
<Reference Include="Volian.Base.Library, Version=1.0.0.0, Culture=neutral, processorArchitecture=x86">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\..\..\Volian.Base.Library\bin\Debug\Volian.Base.Library.dll</HintPath>
|
<HintPath>..\..\..\..\Volian.Base.Library\bin\Debug\Volian.Base.Library.dll</HintPath>
|
||||||
</Reference>
|
</Reference>
|
||||||
|
<Reference Include="Volian.Controls.Library, Version=1.0.9399.43177, Culture=neutral, processorArchitecture=AMD64">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\..\..\Volian.Controls.Library\bin\Debug\Volian.Controls.Library.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AboutROEditor.cs">
|
<Compile Include="AboutROEditor.cs">
|
||||||
@@ -167,6 +180,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
|
||||||
|
|||||||
@@ -42,6 +42,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CmpRpt", "..\CmpRpt\CmpRpt.
|
|||||||
{3A4A3543-2D44-11D6-8452-00A0CC271352} = {3A4A3543-2D44-11D6-8452-00A0CC271352}
|
{3A4A3543-2D44-11D6-8452-00A0CC271352} = {3A4A3543-2D44-11D6-8452-00A0CC271352}
|
||||||
EndProjectSection
|
EndProjectSection
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{D9093FAB-448E-47C7-961B-92B18D85CAF7}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
|||||||
@@ -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 C2025 - 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
|
||||||
@@ -1972,6 +1975,7 @@ namespace RODBInterface
|
|||||||
elem.SetAttribute("RecID", RecID);
|
elem.SetAttribute("RecID", RecID);
|
||||||
elem.SetAttribute("ParentID", node.GetAttribute("RecID"));
|
elem.SetAttribute("ParentID", node.GetAttribute("RecID"));
|
||||||
elem.SetAttribute("Table", node.GetAttribute("Table"));
|
elem.SetAttribute("Table", node.GetAttribute("Table"));
|
||||||
|
AccPageID = Regex.Replace(AccPageID, @"\\u([0-9]{1,4})\?", m => Convert.ToChar(int.Parse(m.Groups[1].Value)).ToString()); // RO Editor add symbols C2025 - 003
|
||||||
elem.SetAttribute("AccPageID", AccPageID);
|
elem.SetAttribute("AccPageID", AccPageID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2182,10 +2186,13 @@ namespace RODBInterface
|
|||||||
parent.SetAttribute("ChildLoaded", "True");
|
parent.SetAttribute("ChildLoaded", "True");
|
||||||
}
|
}
|
||||||
string xmlstr = GenerateXmlString(ro, false);
|
string xmlstr = GenerateXmlString(ro, false);
|
||||||
|
string tmp2 = Regex.Replace(xmlstr, @"\\u([0-9]{1,4})\?", m => Convert.ToChar(int.Parse(m.Groups[1].Value)).ToString()); // RO Editor add symbols C2025 - 003
|
||||||
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, "'");
|
||||||
|
|||||||
@@ -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,11 +106,14 @@
|
|||||||
<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>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Reference Include="ctlXMLEditLib">
|
||||||
|
<HintPath>..\..\..\VEPROMS User Interface\bin\Debug\ctlXMLEditLib.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="System">
|
<Reference Include="System">
|
||||||
<Name>System</Name>
|
<Name>System</Name>
|
||||||
</Reference>
|
</Reference>
|
||||||
@@ -171,6 +176,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 System.Windows.Forms.RichTextBox tbZoom; // RO Editor add symbols C2025 - 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 System.Windows.Forms.RichTextBox(); // RO Editor add symbols C2025 - 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 C2025 - 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;
|
||||||
//
|
//
|
||||||
|
|||||||
@@ -200,6 +200,10 @@ using System.Xml.Schema;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using RODBInterface;
|
using RODBInterface;
|
||||||
using Org.Mentalis.Files;
|
using Org.Mentalis.Files;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using Volian.Base.Library;
|
||||||
|
using System.Linq;
|
||||||
//using IniFileIO;
|
//using IniFileIO;
|
||||||
|
|
||||||
|
|
||||||
@@ -237,12 +241,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 RichTextBox 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 RichTextBox GraphicsFiletextbox;
|
||||||
private TextBox GraphicsWdtextbox;
|
private RichTextBox GraphicsWdtextbox;
|
||||||
private TextBox GraphicsHttextbox;
|
private RichTextBox 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;
|
||||||
@@ -276,8 +280,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 +292,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,8 +310,22 @@ 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 RichTextBox _TextBoxFocus; // RO Editor add symbols C2025 - 003
|
||||||
|
public RichTextBox TextBoxFocus
|
||||||
|
{
|
||||||
|
get { return _TextBoxFocus; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
_TextBoxFocus = value;
|
||||||
|
// C2015-017 hide the label indicating user is working with a duplicate of an exiting RO
|
||||||
|
//lblDuplicateRO.Visible = 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.
|
||||||
@@ -351,7 +377,7 @@ namespace ctlXMLEditLib
|
|||||||
|
|
||||||
// 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(RichTextBox hwnd, string msg) // RO Editor add symbols C2025 - 003
|
||||||
{
|
{
|
||||||
if (hwnd == null) return;
|
if (hwnd == null) return;
|
||||||
if (hwnd.Tag != null)
|
if (hwnd.Tag != null)
|
||||||
@@ -366,7 +392,7 @@ namespace ctlXMLEditLib
|
|||||||
private void SetRequiredFields(ArrayList reqfields)
|
private void SetRequiredFields(ArrayList reqfields)
|
||||||
{
|
{
|
||||||
Object o;
|
Object o;
|
||||||
TextBox hwnd;
|
RichTextBox hwnd;
|
||||||
string field, msg;
|
string field, msg;
|
||||||
int indx;
|
int indx;
|
||||||
foreach (string strfld in reqfields)
|
foreach (string strfld in reqfields)
|
||||||
@@ -385,15 +411,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((RichTextBox)o,msg);
|
||||||
DoSet((TextBox)myHT[field+"b"],msg);
|
DoSet((RichTextBox)myHT[field+"b"],msg);
|
||||||
DoSet((TextBox)myHT[field+"c"],msg);
|
DoSet((RichTextBox)myHT[field+"c"],msg);
|
||||||
DoSet((TextBox)myHT[field+"d"],msg);
|
DoSet((RichTextBox)myHT[field+"d"],msg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (o != null)
|
else if (o != null)
|
||||||
{
|
{
|
||||||
hwnd = (TextBox) o;
|
hwnd = (RichTextBox) o;
|
||||||
if (hwnd.Tag != null)
|
if (hwnd.Tag != null)
|
||||||
{
|
{
|
||||||
TextBoxAttrTag tag = (TextBoxAttrTag) hwnd.Tag;
|
TextBoxAttrTag tag = (TextBoxAttrTag) hwnd.Tag;
|
||||||
@@ -407,7 +433,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(RichTextBox 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,13 +477,13 @@ namespace ctlXMLEditLib
|
|||||||
private void DisplayFieldContents(XmlNode node)
|
private void DisplayFieldContents(XmlNode node)
|
||||||
{
|
{
|
||||||
Object o;
|
Object o;
|
||||||
TextBox hwnd;
|
RichTextBox 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 = (RichTextBox)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);
|
||||||
@@ -465,7 +491,10 @@ namespace ctlXMLEditLib
|
|||||||
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
|
||||||
|
//hwnd.Text = nd.InnerText; // 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 +563,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 RichTextBox GetGraphicsFiletextbox()
|
||||||
{
|
{
|
||||||
return GraphicsFiletextbox;
|
return GraphicsFiletextbox;
|
||||||
}
|
}
|
||||||
@@ -573,13 +602,13 @@ namespace ctlXMLEditLib
|
|||||||
{
|
{
|
||||||
dosaveflag=false;
|
dosaveflag=false;
|
||||||
mysavexml=false;
|
mysavexml=false;
|
||||||
TextBox hwnd;
|
RichTextBox 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 = (RichTextBox) o;
|
||||||
hwnd.Text = "";
|
hwnd.Text = "";
|
||||||
TextBoxAttrTag tag = (TextBoxAttrTag) hwnd.Tag;
|
TextBoxAttrTag tag = (TextBoxAttrTag) hwnd.Tag;
|
||||||
RadioButton radio;
|
RadioButton radio;
|
||||||
@@ -611,7 +640,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, RichTextBox 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
|
||||||
@@ -644,6 +673,9 @@ namespace ctlXMLEditLib
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// SaveData saves the data in the element which had been sent to the control. Return
|
// SaveData saves the data in the element which had been sent to the control. Return
|
||||||
// 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
|
||||||
@@ -651,15 +683,56 @@ namespace ctlXMLEditLib
|
|||||||
{
|
{
|
||||||
if (mysavexml)
|
if (mysavexml)
|
||||||
{
|
{
|
||||||
TextBox hwnd;
|
RichTextBox 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 C2025 - 003
|
||||||
{
|
{
|
||||||
object o = myHT[str];
|
object o = myHT[str];
|
||||||
hwnd = (TextBox) o;
|
hwnd = (RichTextBox) o;
|
||||||
|
|
||||||
|
string result1 = "";
|
||||||
|
string Str = "";
|
||||||
|
char[] chrAry = hwnd.Text.ToCharArray();
|
||||||
|
foreach (int chr in chrAry)
|
||||||
|
{
|
||||||
|
if (chr > 166)
|
||||||
|
{
|
||||||
|
//Str = @"\u" + ((int)chr).ToString("X4");
|
||||||
|
//Str = @"\u" + ((int)chr); //.ToString("X4");
|
||||||
|
Str = $"\\u{(int)chr}?";
|
||||||
|
|
||||||
|
|
||||||
|
result1 = result1 + Str;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
result1 = result1 + (char)chr;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var pattern = @"\\u([0-9]{1,4})\?"; // RO Editor add symbols C2025 - 003
|
||||||
|
|
||||||
|
var results = Regex.Matches(hwnd.Text, pattern);
|
||||||
|
|
||||||
|
string num1;
|
||||||
|
|
||||||
|
int num2;
|
||||||
|
|
||||||
|
foreach (Match result in results)
|
||||||
|
{
|
||||||
|
num1 = (result.Groups[1].Value);
|
||||||
|
string resultString = Regex.Match(num1, @"\d+").Value;
|
||||||
|
string resultString1 = string.Format("{0:x}", resultString);
|
||||||
|
num2 = int.Parse(resultString, System.Globalization.NumberStyles.HexNumber);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
hwnd.Text = result1;
|
||||||
|
|
||||||
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 +849,125 @@ namespace ctlXMLEditLib
|
|||||||
return (false);
|
return (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// RO Editor add symbols C2025 - 003
|
||||||
|
private static Regex sreg1 = new Regex(@"\\par\r\n(?!\\)");
|
||||||
|
private static Regex sreg2 = new Regex(@"[\r\n]", RegexOptions.Singleline); // Strip Carriage Returns and Newlines
|
||||||
|
private static Regex sreg3 = new Regex(@"^\{(.*)\}$", RegexOptions.Singleline); // Strip Opening and Closing Braces
|
||||||
|
private static Regex sreg4 = new Regex(@"\{[^{]*?\}", RegexOptions.Singleline); // Strip Clauses - remove anything from curly braces
|
||||||
|
private static Regex sreg5 = new Regex(@"\{[^{]*?\}", RegexOptions.Singleline); // Strip Clauses - remove anything from curly braces
|
||||||
|
private static Regex sreg6 = new Regex(@"(\\[^' \\?\r\n\t]+)(?=\\)"); // add space after token if followed by token
|
||||||
|
private static Regex sreg7 = new Regex(@"(\\[^ \\?\r\n\t]+ )"); // take backslash xyz and evaluates them
|
||||||
|
private static Regex sreg8 = new Regex(@"(\\[^ \\?\r\n\t]+) (?=\\)"); // remove space between tokens
|
||||||
|
private static Regex sreg9 = new Regex(@"(\\[^ \\?\r\n\t]+) (?=\r\n)"); // remove space before /r/n
|
||||||
|
|
||||||
|
public static string StaticStripRtfCommands(string rtf, bool fromTable)
|
||||||
|
{
|
||||||
|
// replace \{ & \} with (![ & (!] respectively and then redo at end. The curly braces
|
||||||
|
// are rtf so were getting removed and/or not handled correctly.
|
||||||
|
string retval = rtf.Replace(@"\{", @" (![");
|
||||||
|
retval = retval.Replace(@"\}", @" (!]");
|
||||||
|
|
||||||
|
// For hardspaces, the windows richtextbox does some 'quirky' things:
|
||||||
|
// A unicode representation of \u160? is sent INTO the rtb. Coming out,
|
||||||
|
// that \u160? was translated to a \~ (by the underlying windows rtb).
|
||||||
|
// Note that if the \~ is sent to the rtb, it is treated as a regular space,
|
||||||
|
// i.e. no longer a hardspace, and actually is converted to a regular space.
|
||||||
|
// SO, on the way out, convert any \~ to \u160?
|
||||||
|
retval = RTFConvertedSymbolsToUnicode(retval);
|
||||||
|
|
||||||
|
// remove carriage return/newlines after \par commands (these are introduced by rtb
|
||||||
|
// for hard returns, goes into rtb as \par and comes out as \par\r\n):
|
||||||
|
retval = sreg1.Replace(retval, "\\par ");
|
||||||
|
|
||||||
|
retval = retval.Replace("\\v0\r\n", "\\v0 "); // Replace Carriage Return and Newline after comment
|
||||||
|
retval = sreg2.Replace(retval, ""); // Strip Carriage Returns and Newlines
|
||||||
|
retval = sreg3.Replace(retval, "$1"); // Strip Opening and Closing Braces
|
||||||
|
retval = sreg4.Replace(retval, ""); // Strip Clauses - remove anything from curly braces
|
||||||
|
retval = sreg5.Replace(retval, ""); // Strip Clauses - remove anything from curly braces
|
||||||
|
retval = sreg6.Replace(retval, "$1 "); // add space after token if followed by token
|
||||||
|
retval = sreg7.Replace(retval, new MatchEvaluator(StaticReplaceRTFClause)); // take backslash xyz and evaluates them
|
||||||
|
retval = sreg8.Replace(retval, "$1"); // remove space between tokens
|
||||||
|
retval = sreg9.Replace(retval, "$1"); // remove space before /r/n
|
||||||
|
|
||||||
|
// remove \r\n at end of string if the string has 2 or more characters
|
||||||
|
if (retval.Length > 1 && retval.Substring(retval.Length - 2, 2) == "\r\n") retval = retval.Remove(retval.Length - 2, 2);
|
||||||
|
|
||||||
|
if (retval.Length == 0) return "";
|
||||||
|
if (retval.Length > 1 && retval.Substring(retval.Length - 2, 2) == @"\v") retval = retval.Remove(retval.Length - 2, 2);
|
||||||
|
|
||||||
|
retval = retval.Replace(@" (![", @"\{");
|
||||||
|
retval = retval.Replace(@" (!]", @"\}");
|
||||||
|
retval = retval.TrimEnd(' ');
|
||||||
|
|
||||||
|
// the indent character was translated in the richtextbox, change it back:
|
||||||
|
if (retval.IndexOf(@"\'05") > -1) retval = retval.Replace(@"\'05", "\x05");
|
||||||
|
|
||||||
|
return retval;
|
||||||
|
}
|
||||||
|
|
||||||
|
// RO Editor add symbols C2025 - 003
|
||||||
|
public static string RTFConvertedSymbolsToUnicode(string str)
|
||||||
|
{
|
||||||
|
string rtnStr = str;
|
||||||
|
// convert \~ to a hard spece. RTF is automatically converting \u160? to \~ but will then convert
|
||||||
|
// the \~ to a regular space!
|
||||||
|
rtnStr = rtnStr.Replace(@"\~", @"\u160?");
|
||||||
|
rtnStr = rtnStr.Replace(@"\'a0", @"\u160?");
|
||||||
|
// convert \'99 to \u8482? this is for the trade mark symbol. RTF is automatically
|
||||||
|
// converting the unicode \u8482? to \'99, but once this is done, PROMS StepRTB (edit windows) does not show it
|
||||||
|
rtnStr = rtnStr.Replace(@"\'99", @"\u8482?");
|
||||||
|
// convert \'ae to \u174? this is for the registered symbol. RTF converts the unicode character to \'ae
|
||||||
|
rtnStr = rtnStr.Replace(@"\'ae", @"\u174?");
|
||||||
|
// convert \'a9 to \u169? this is for the copyright symbol. RTF converts the unicode character to \'a9
|
||||||
|
rtnStr = rtnStr.Replace(@"\'a9", @"\u169?");
|
||||||
|
return rtnStr;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string StaticReplaceRTFClause(Match m)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
string token = m.Groups[1].Value;
|
||||||
|
switch (token[1])
|
||||||
|
{
|
||||||
|
case '_': // B2020-100 New Non-Breaking Hyphen
|
||||||
|
return token.Trim();
|
||||||
|
case '\\':
|
||||||
|
return token;
|
||||||
|
case '\'': // Special Character
|
||||||
|
return token;
|
||||||
|
case '{': // look for escape for curly braces:
|
||||||
|
return token;
|
||||||
|
case '}':
|
||||||
|
return token;
|
||||||
|
case 'v': // save link hidden info
|
||||||
|
if (token == "\\viewkind4 ") break;
|
||||||
|
if (Regex.IsMatch(token, @"^\\v0? ?$"))
|
||||||
|
return token; // comment part of link
|
||||||
|
// If possible show what procedure was being processed.
|
||||||
|
break;
|
||||||
|
case 'l':
|
||||||
|
if (Regex.IsMatch(token, @"^\\line ?$")) return token;
|
||||||
|
if (Regex.IsMatch(token, @"^\\li[-0-9]+ ?$")) return token; // line indent
|
||||||
|
break;
|
||||||
|
case 'f':
|
||||||
|
if (Regex.IsMatch(token, @"^\\fi[-0-9]+ ?$")) return token; // first line indent
|
||||||
|
// C2020-001: only keep the font size rtf if in a table.
|
||||||
|
//if (_fromTable && Regex.IsMatch(token, @"^\\fs[-0-9]+ ?$")) return token; // font size
|
||||||
|
break;
|
||||||
|
case 'p':
|
||||||
|
if (Regex.IsMatch(token, @"^\\par ?$")) return "\r\n";
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Console.WriteLine("StaticReplaceRTFClause {0} - {1}", ex.GetType().Name, ex.Message);
|
||||||
|
}
|
||||||
|
return "";//Strip All
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#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 +1038,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, RichTextBox 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 +1068,18 @@ 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);
|
||||||
|
|
||||||
|
//mytextbox.
|
||||||
}
|
}
|
||||||
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);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -893,13 +1091,16 @@ 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 +1129,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 +1181,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();
|
RichTextBox tb = new RichTextBox();
|
||||||
|
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 +1191,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 +1334,19 @@ namespace ctlXMLEditLib
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
TextBox mytextbox;
|
RichTextBox mytextbox;
|
||||||
mytextbox = new TextBox();
|
mytextbox = new RichTextBox();
|
||||||
|
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)
|
||||||
{
|
{
|
||||||
@@ -1192,14 +1396,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;
|
TextBox tb = sender as TextBox;
|
||||||
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 TextBox).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 TextBox).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 TextBox).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)
|
||||||
{
|
{
|
||||||
@@ -1226,7 +1455,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;
|
RichTextBox assocbox;
|
||||||
string btntext, str;
|
string btntext, str;
|
||||||
|
|
||||||
if(dosaveflag)mysavexml = true;
|
if(dosaveflag)mysavexml = true;
|
||||||
@@ -1239,7 +1468,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 = (RichTextBox) 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
|
||||||
@@ -1353,7 +1582,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(RichTextBox 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 +1611,22 @@ 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;
|
RichTextBox textbox = (RichTextBox) 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
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((RichTextBox) sender);
|
||||||
}
|
}
|
||||||
|
|
||||||
catch(Exception ex)
|
catch(Exception ex)
|
||||||
@@ -1422,7 +1653,10 @@ namespace ctlXMLEditLib
|
|||||||
btnZoom_click(null, null);
|
btnZoom_click(null, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public void btnSymbols_click(object sender, System.EventArgs e)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
public void btnZoom_click(object sender, System.EventArgs e)
|
public void btnZoom_click(object sender, System.EventArgs e)
|
||||||
{
|
{
|
||||||
//TextBox tb = (TextBox) sender;
|
//TextBox tb = (TextBox) sender;
|
||||||
@@ -1891,5 +2125,35 @@ namespace ctlXMLEditLib
|
|||||||
return curTZ.GetDaylightChanges(year);
|
return curTZ.GetDaylightChanges(year);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public static class RichTextBoxExtensions // RO Editor add symbols C2025 - 003
|
||||||
|
{
|
||||||
|
public static void InsertSymbol(this RichTextBox richTextBox, int symbcode)
|
||||||
|
{
|
||||||
|
int position = richTextBox.SelectionStart;
|
||||||
|
string sym = string.Format(symbcode < 256 ? "\'{0:X2}" : @"\u{0}", symbcode);
|
||||||
|
string RtfPrefixForSymbols = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset2 FreeMono; } {\f1\fnil\fcharset0 FreeMono; } } {\colortbl;\red255\green0\blue0;\red0\green0\blue255; } \viewkind4\uc1\pard\fs24 \f1\fs24 ";
|
||||||
|
richTextBox.SelectedRtf = RtfPrefixForSymbols + sym + @"}";
|
||||||
|
richTextBox.SelectedRtf = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033\uc1 }";
|
||||||
|
richTextBox.Select(position, 1);
|
||||||
|
richTextBox.Select(position + 1, 0);
|
||||||
|
|
||||||
|
//TextPointer caretPos = rtb.CaretPosition;
|
||||||
|
//if (symbcode < 256)
|
||||||
|
// AddText(((char)symbcode).ToString());
|
||||||
|
//else
|
||||||
|
// AddSymbol(sym); // Adds font commands around symbol, needed for higher codes
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
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,10 @@
|
|||||||
<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=AMD64">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\..\Volian.Base.Library\bin\Debug\Volian.Base.Library.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="AssemblyInfo.cs">
|
<Compile Include="AssemblyInfo.cs">
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user