Compare commits
6 Commits
b999f17445
...
C2025-017_
| Author | SHA1 | Date | |
|---|---|---|---|
| c0ac325911 | |||
| c02ab116cd | |||
| 7ec4f2a61e | |||
| 16129ba742 | |||
| 61853fb71f | |||
| 58f13eb1dc |
@@ -135,10 +135,10 @@
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="QATItems" serializeAs="String">
|
||||
<value />
|
||||
<value/>
|
||||
</setting>
|
||||
<setting name="DefaultDB" serializeAs="String">
|
||||
<value />
|
||||
<value/>
|
||||
</setting>
|
||||
<setting name="LastVersion" serializeAs="String">
|
||||
<value>0.0</value>
|
||||
@@ -150,17 +150,14 @@
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="SMTPServer" serializeAs="String">
|
||||
<value />
|
||||
<value/>
|
||||
</setting>
|
||||
<setting name="SMTPUser" serializeAs="String">
|
||||
<value />
|
||||
<value/>
|
||||
</setting>
|
||||
<setting name="UpdateSettings" serializeAs="String">
|
||||
<value>True</value>
|
||||
</setting>
|
||||
<setting name="cbShwRplWrdsColor" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="PasteNoReturns" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
@@ -173,9 +170,6 @@
|
||||
<setting name="SeparateWindows" serializeAs="String">
|
||||
<value>False</value>
|
||||
</setting>
|
||||
<setting name="VisioPath" serializeAs="String">
|
||||
<value />
|
||||
</setting>
|
||||
</VEPROMS.Properties.Settings>
|
||||
<UISampleNetBar1.Properties.Settings>
|
||||
<setting name="ShowDefaultFolderProp" serializeAs="String">
|
||||
@@ -205,4 +199,4 @@
|
||||
</providers>
|
||||
</roleManager>
|
||||
</system.web>
|
||||
</configuration>
|
||||
</configuration>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -224,6 +224,12 @@
|
||||
<Compile Include="dlgPickROFolder.designer.cs">
|
||||
<DependentUpon>dlgPickROFolder.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgPrintAllApprovedProcedures.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgPrintAllApprovedProcedures.Designer.cs">
|
||||
<DependentUpon>dlgPrintAllApprovedProcedures.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DlgPrintProcedure.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -359,6 +365,9 @@
|
||||
<EmbeddedResource Include="dlgImpHowToHandleROs.resx">
|
||||
<DependentUpon>dlgImpHowToHandleROs.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgPrintAllApprovedProcedures.resx">
|
||||
<DependentUpon>dlgPrintAllApprovedProcedures.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="DlgPrintProcedure.resx">
|
||||
<DependentUpon>DlgPrintProcedure.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
|
||||
@@ -1,655 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="12.0">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.50727</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{8D1C47B4-F302-4C5A-87CC-24FDC5529872}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>VEPROMS</RootNamespace>
|
||||
<AssemblyName>VEPROMS</AssemblyName>
|
||||
<ApplicationIcon>veproms.ico</ApplicationIcon>
|
||||
<SccProjectName>
|
||||
</SccProjectName>
|
||||
<SccLocalPath>
|
||||
</SccLocalPath>
|
||||
<SccAuxPath>
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Demo|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\Demo\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<OutputPath>bin\debug\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Demo|x86' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\Demo\</OutputPath>
|
||||
<DefineConstants>TRACE;DEMO</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="C1.Win.2, Version=2.0.20213.532, Culture=neutral, PublicKeyToken=944ae1ea0e47ca04" />
|
||||
<Reference Include="C1.Win.C1Command.2, Version=2.0.20213.532, Culture=neutral, PublicKeyToken=e808566f358766d8" />
|
||||
<Reference Include="C1.Win.C1FlexGrid.2, Version=2.0.20213.532, Culture=neutral, PublicKeyToken=79882d576c6336da, processorArchitecture=MSIL" />
|
||||
<Reference Include="C1.Win.C1Input.2, Version=2.0.20213.532, Culture=neutral, PublicKeyToken=7e7ff60f0c214f9a, processorArchitecture=MSIL" />
|
||||
<Reference Include="Csla, Version=2.1.4.0, Culture=neutral, PublicKeyToken=93be5fdc093e4c30, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\3rdPartyLibraries\CSLA\CSLA20cs_DLL_Net_4.8.1_Build\Csla.dll</HintPath>
|
||||
</Reference>
|
||||
<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="Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\3rdPartyLibraries\Ionic\Ionic.Zip.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Itenso.Rtf.Interpreter">
|
||||
<HintPath>..\..\..\..\3rdPartyLibraries\RtfConverter\bin\Debug\Itenso.Rtf.Interpreter.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Itenso.Rtf.Parser">
|
||||
<HintPath>..\..\..\..\3rdPartyLibraries\RtfConverter\bin\Debug\Itenso.Rtf.Parser.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\3rdPartyLibraries\Log4Net\log4net.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.configuration" />
|
||||
<Reference Include="System.Data">
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Design" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Runtime.Remoting" />
|
||||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="UIAutomationProvider" />
|
||||
<Reference Include="VEPROMS.CSLA.Library, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\VEPROMS.CSLA.Library\bin\Debug\VEPROMS.CSLA.Library.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AboutVEPROMS.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="AboutVEPROMS.Designer.cs">
|
||||
<DependentUpon>AboutVEPROMS.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="BookMarks.cs" />
|
||||
<Compile Include="dlgAnnotationsSelect.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgAnnotationsSelect.Designer.cs">
|
||||
<DependentUpon>dlgAnnotationsSelect.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgAnnotationsSelect.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>dlgAnnotationsSelect.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgApproveProcedure.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgApproveProcedure.Designer.cs">
|
||||
<DependentUpon>dlgApproveProcedure.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgCheckedOutProcedure.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgCheckedOutProcedure.designer.cs">
|
||||
<DependentUpon>dlgCheckedOutProcedure.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgExportImportEP.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgMSWordMessage.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgMSWordMessage.Designer.cs">
|
||||
<DependentUpon>dlgMSWordMessage.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgCheckOpenTabs.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgCheckOpenTabs.Designer.cs">
|
||||
<DependentUpon>dlgCheckOpenTabs.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DlgCloseTabsOrExit.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="DlgCloseTabsOrExit.Designer.cs">
|
||||
<DependentUpon>DlgCloseTabsOrExit.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgExportImport.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgExportImport.designer.cs">
|
||||
<DependentUpon>dlgExportImport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgImpHowToHandleROs.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgImpHowToHandleROs.Designer.cs">
|
||||
<DependentUpon>dlgImpHowToHandleROs.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgManageSecurity.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgManageSecurity.designer.cs">
|
||||
<DependentUpon>dlgManageSecurity.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgPhoneList.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgPhoneList.Designer.cs">
|
||||
<DependentUpon>dlgPhoneList.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgPickROFolder.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgPickROFolder.designer.cs">
|
||||
<DependentUpon>dlgPickROFolder.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="DlgPrintProcedure.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="DlgPrintProcedure.designer.cs">
|
||||
<DependentUpon>DlgPrintProcedure.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgSetChangeBarStartDate.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgSetChangeBarStartDate.Designer.cs">
|
||||
<DependentUpon>dlgSetChangeBarStartDate.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgTransitionReport.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgTransitionReport.designer.cs">
|
||||
<DependentUpon>dlgTransitionReport.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="dlgUCFDetail.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="dlgUCFDetail.Designer.cs">
|
||||
<DependentUpon>dlgUCFDetail.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmAnnotationsCleanup.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmAnnotationsCleanup.Designer.cs">
|
||||
<DependentUpon>frmAnnotationsCleanup.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmBatchRefresh.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmBatchRefresh.designer.cs">
|
||||
<DependentUpon>frmBatchRefresh.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmBatchRefreshCheckedOut.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmBatchRefreshCheckedOut.designer.cs">
|
||||
<DependentUpon>frmBatchRefreshCheckedOut.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmManageUser.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmManageUser.designer.cs">
|
||||
<DependentUpon>frmManageUser.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmPDFStatusForm.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmPDFStatusForm.designer.cs">
|
||||
<DependentUpon>frmPDFStatusForm.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmPSI.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmPSI.Designer.cs">
|
||||
<DependentUpon>frmPSI.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmRODbProperties.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmRODbProperties.Designer.cs">
|
||||
<DependentUpon>frmRODbProperties.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmSI.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmSI.Designer.cs">
|
||||
<DependentUpon>frmSI.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmVEPROMS.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmVEPROMS.Designer.cs">
|
||||
<DependentUpon>frmVEPROMS.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmFolderProperties.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmFolderProperties.Designer.cs">
|
||||
<DependentUpon>frmFolderProperties.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmProcedureProperties.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmProcedureProperties.Designer.cs">
|
||||
<DependentUpon>frmProcedureProperties.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmPropGrid.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmPropGrid.Designer.cs">
|
||||
<DependentUpon>frmPropGrid.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmSectionProperties.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmSectionProperties.Designer.cs">
|
||||
<DependentUpon>frmSectionProperties.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmSysOptions.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmSysOptions.Designer.cs">
|
||||
<DependentUpon>frmSysOptions.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmVersionsProperties.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="frmVersionsProperties.Designer.cs">
|
||||
<DependentUpon>frmVersionsProperties.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<EmbeddedResource Include="AboutVEPROMS.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>AboutVEPROMS.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgAnnotationsSelect.resx">
|
||||
<DependentUpon>dlgAnnotationsSelect.cs</DependentUpon>
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgMSWordMessage.resx">
|
||||
<DependentUpon>dlgMSWordMessage.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgCheckOpenTabs.resx">
|
||||
<DependentUpon>dlgCheckOpenTabs.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="DlgCloseTabsOrExit.resx">
|
||||
<DependentUpon>DlgCloseTabsOrExit.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgImpHowToHandleROs.resx">
|
||||
<DependentUpon>dlgImpHowToHandleROs.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="DlgPrintProcedure.resx">
|
||||
<DependentUpon>DlgPrintProcedure.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgSetChangeBarStartDate.resx">
|
||||
<DependentUpon>dlgSetChangeBarStartDate.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgUCFDetail.resx">
|
||||
<DependentUpon>dlgUCFDetail.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmAnnotationsCleanup.resx">
|
||||
<DependentUpon>frmAnnotationsCleanup.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmPDFStatusForm.resx">
|
||||
<DependentUpon>frmPDFStatusForm.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmPSI.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>frmPSI.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmRODbProperties.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>frmRODbProperties.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmSI.resx">
|
||||
<DependentUpon>frmSI.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmVEPROMS.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>frmVEPROMS.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmFolderProperties.resx">
|
||||
<DependentUpon>frmFolderProperties.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmProcedureProperties.resx">
|
||||
<DependentUpon>frmProcedureProperties.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmPropGrid.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>frmPropGrid.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmSectionProperties.resx">
|
||||
<DependentUpon>frmSectionProperties.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmSysOptions.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>frmSysOptions.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmVersionsProperties.resx">
|
||||
<DependentUpon>frmVersionsProperties.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\licenses.licx" />
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="ShortcutLists.resx">
|
||||
<DependentUpon>ShortcutLists.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="VlnWeb.resx">
|
||||
<DependentUpon>VlnWeb.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<None Include="App.config">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<DesignTime>True</DesignTime>
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<Compile Include="Settings.cs" />
|
||||
<Compile Include="ShortcutLists.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="ShortcutLists.designer.cs">
|
||||
<DependentUpon>ShortcutLists.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="VlnWeb.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="VlnWeb.Designer.cs">
|
||||
<DependentUpon>VlnWeb.cs</DependentUpon>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="VEPROMS.gclicx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Separator.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\ProtectFormHS.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="FixRev.Bat" />
|
||||
<None Include="MSWordVBA\vlnNextROForm.frm" />
|
||||
<None Include="MSWordVBA\vlnNextROForm.frx" />
|
||||
<None Include="MSWordVBA\vlnWestROConvert.frm" />
|
||||
<None Include="MSWordVBA\vlnWestROConvert.frx" />
|
||||
<None Include="Properties\DataSources\System.Drawing.Imaging.ImageCodecInfo.datasource" />
|
||||
<None Include="Properties\DataSources\VEPROMS.CSLA.Library.DocVersionConfig.datasource" />
|
||||
<None Include="Properties\DataSources\VEPROMS.CSLA.Library.FormatInfoList.datasource" />
|
||||
<None Include="Properties\DataSources\VEPROMS.CSLA.Library.ItemAnnotations.datasource" />
|
||||
<None Include="Properties\DataSources\VEPROMS.CSLA.Library.RODbInfoList.datasource" />
|
||||
<None Include="Properties\DataSources\VEPROMS.CSLA.Library.SectionConfig.datasource" />
|
||||
<None Include="Resources\UnProtectFormHS.png" />
|
||||
<None Include="veproms.dct">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<Content Include="BarakahEULA.txt">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="PROMSFixes.Sql">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="PROMSRollback %28v2.0%29.Sql">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="ROBuild.Sql">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="ROFixes.Sql">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="SORTCUTS_INSERT.RTF">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="SORTCUTS_MISC.rtf">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="SORTCUTS_NAVIGATION.rtf">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="SORTCUTS_RIBBON.rtf">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="SORTCUTS_TXTMODS.rtf">
|
||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="DBConnection_Sample.xml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="DemoEULA.txt">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="EULA.txt">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="MSWordVBA\VlnWROMacros.bas" />
|
||||
<Content Include="Resources\Admin.png" />
|
||||
<EmbeddedResource Include="dlgApproveProcedure.resx">
|
||||
<DependentUpon>dlgApproveProcedure.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgCheckedOutProcedure.resx">
|
||||
<DependentUpon>dlgCheckedOutProcedure.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgExportImport.resx">
|
||||
<DependentUpon>dlgExportImport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgManageSecurity.resx">
|
||||
<DependentUpon>dlgManageSecurity.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgPhoneList.resx">
|
||||
<SubType>Designer</SubType>
|
||||
<DependentUpon>dlgPhoneList.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgPickROFolder.resx">
|
||||
<DependentUpon>dlgPickROFolder.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="dlgTransitionReport.resx">
|
||||
<DependentUpon>dlgTransitionReport.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmBatchRefresh.resx">
|
||||
<DependentUpon>frmBatchRefresh.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmBatchRefreshCheckedOut.resx">
|
||||
<DependentUpon>frmBatchRefreshCheckedOut.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="frmManageUser.resx">
|
||||
<DependentUpon>frmManageUser.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources\ATOM.BMP">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources\CPLLOGO.BMP">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources\DOMLOGO.BMP">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Resources\GPCLOGO.BMP">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</EmbeddedResource>
|
||||
<Content Include="Resources\Save.png" />
|
||||
<Content Include="Resources\SaveAllHS.png" />
|
||||
<Content Include="Resources\SaveAs.png" />
|
||||
<Content Include="VEicon.ico" />
|
||||
<Content Include="veproms.ico" />
|
||||
<Content Include="Vicon.ico" />
|
||||
<Content Include="WestinghouseEULA.txt">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<COMReference Include="stdole">
|
||||
<Guid>{00020430-0000-0000-C000-000000000046}</Guid>
|
||||
<VersionMajor>2</VersionMajor>
|
||||
<VersionMinor>0</VersionMinor>
|
||||
<Lcid>0</Lcid>
|
||||
<WrapperTool>primary</WrapperTool>
|
||||
<Isolated>False</Isolated>
|
||||
</COMReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\FlexableMessageBox\FlexableMessageBox.csproj">
|
||||
<Project>{b22ce5ad-288c-44cd-8a22-b3bcf77b7161}</Project>
|
||||
<Name>FlexableMessageBox</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\LBWordLibrary\LBWordLibrary.csproj">
|
||||
<Project>{70F23722-19A3-4AC1-A900-55831C945786}</Project>
|
||||
<Name>LBWordLibrary</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Volian.Base.Library\Volian.Base.Library.csproj">
|
||||
<Project>{AEEE9FD1-6892-45E2-A67E-418C06D46FF9}</Project>
|
||||
<Name>Volian.Base.Library</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Volian.Controls.Library\Volian.Controls.Library.csproj">
|
||||
<Project>{8556527C-6615-487F-8AF7-22EBC3EF0268}</Project>
|
||||
<Name>Volian.Controls.Library</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Volian.Print.Library\Volian.Print.Library.csproj">
|
||||
<Project>{94830C07-6A3A-450E-9674-C9B4293A7726}</Project>
|
||||
<Name>Volian.Print.Library</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Volian.Utils.Library\Volian.Utils.Library.csproj">
|
||||
<Project>{62314B9C-DA84-4037-8B68-AA18C1F641F5}</Project>
|
||||
<Name>Volian.Utils.Library</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>cmd /c "$(ProjectDir)FixRev.bat"</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@@ -720,28 +720,9 @@ namespace VEPROMS
|
||||
ImportProcedureNew(xd);
|
||||
isImported = true;
|
||||
}
|
||||
//if (isImported && UCFImportCase == E_UCFImportOptions.LoadForSetOnly) UpdateFormatForUCFInSet();
|
||||
return true;// Import Suceeded
|
||||
}
|
||||
//private void UpdateFormatForUCFInSet()
|
||||
//{
|
||||
// // this gets called if the UCFImportCase == LoadForSetOnly, i.e. only items in this PROCEDURE Set whose formats point to a
|
||||
// // UCF format should point to the updated (copied) UCF format.
|
||||
// if (renamedUCFFormatId == null) return;
|
||||
// foreach (int key in renamedUCFFormatId.Keys)
|
||||
// {
|
||||
// using (ContentInfoList cil = ContentInfoList.FixFormatIDAfterImport(MyDocVersion.VersionID.ToString(), renamedUCFFormatId[key], key))
|
||||
// {
|
||||
// foreach (ContentInfo ci in cil)
|
||||
// {
|
||||
// using (Content c = ci.Get())
|
||||
// {
|
||||
// ContentInfo.Refresh(c);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
// Added Error Handling to assure that Change Manager is turned-on regardless of success or failure of the import
|
||||
// B2019-046: improved error handling (added return value & error message)
|
||||
private bool TryToLoadImportDataDocument()
|
||||
@@ -1021,8 +1002,6 @@ namespace VEPROMS
|
||||
c.Save();
|
||||
}
|
||||
}
|
||||
//private E_UCFImportOptions UCFImportDefaultFromSettings;
|
||||
//private E_UCFImportOptions UCFImportCase = E_UCFImportOptions.LoadOnlyImported;
|
||||
Dictionary<string, string> existingCopyFCName = new Dictionary<string, string>();
|
||||
// note that this is used when importing a folder or a procedure (procedure was added for UCF changes)
|
||||
private bool LoadFormats(XmlDocument xd, string xmlpath)
|
||||
@@ -1123,102 +1102,12 @@ namespace VEPROMS
|
||||
// various cases listed above:
|
||||
if (existingFormat.ContainsKey(name))
|
||||
{
|
||||
//// if case 0 and this ucf already exists, ignore it:
|
||||
//if (UCFImportCase == E_UCFImportOptions.Ignore) continue;
|
||||
|
||||
//// if case 1, 2, 4 and the name exists, make a 'copy' of the newly imported format:
|
||||
//// need to add this format - name must be unique so add 'COPY(x) of 'original name'' where x is unique number:
|
||||
//if (UCFImportCase == E_UCFImportOptions.LoadNotUsed || UCFImportCase == E_UCFImportOptions.LoadOnlyImported || UCFImportCase == E_UCFImportOptions.LoadForSetOnly)
|
||||
//{
|
||||
// int count = (fil.Where(fi => fi.Name.EndsWith(name))).Count();
|
||||
// if (count > 0)
|
||||
// {
|
||||
// string origname = name;
|
||||
// name = string.Format("Copy {0} of {1}", count.ToString(), name);
|
||||
// if (UCFImportCase == E_UCFImportOptions.LoadOnlyImported || UCFImportCase == E_UCFImportOptions.LoadForSetOnly)
|
||||
// {
|
||||
// if (renamedUCFFormatName == null) renamedUCFFormatName = new Dictionary<string, string>();
|
||||
// renamedUCFFormatName.Add(origname, name);
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
// if case 3, take the existing config data and create in a record whose name is Old(x) of 'original name' (the record
|
||||
// creation gets done below). Then modify the existing record to have the config data. The result is that any
|
||||
// sections that used this UCF throughout the database will have the new config data.
|
||||
//if (UCFImportCase == E_UCFImportOptions.LoadUseAll)
|
||||
//{
|
||||
// string savname = name;
|
||||
// int count = (fil.Where(fi => fi.Name.EndsWith(name))).Count();
|
||||
// if (count > 0)
|
||||
// {
|
||||
// name = string.Format("Old {0} of {1}", count.ToString(), name);
|
||||
// }
|
||||
// // update the 'old' record by getting the original config data.
|
||||
// string savdesc = null;
|
||||
// DateTime savdts = DateTime.Now;
|
||||
// string savuid = null;
|
||||
// int savpar = 0;
|
||||
// string savconfig = null;
|
||||
// using (Format origRecord = Format.Get(existingFormat[savname]))
|
||||
// {
|
||||
// savdesc = origRecord.Description;
|
||||
// savdts = origRecord.DTS;
|
||||
// savuid = origRecord.UserID;
|
||||
// savpar = origRecord.ParentID;
|
||||
// savconfig = origRecord.Config;
|
||||
// origRecord.Name = savname;
|
||||
// origRecord.Description = description;
|
||||
// origRecord.DTS = dts;
|
||||
// origRecord.UserID = userid;
|
||||
// origRecord.MyParent = pformat;
|
||||
// origRecord.Config = config;
|
||||
// origRecord.Save();
|
||||
// description = savdesc;
|
||||
// dts = savdts;
|
||||
// userid = savuid;
|
||||
// pformat = Format.Get(savpar);
|
||||
// config = savconfig;
|
||||
|
||||
// }
|
||||
//}
|
||||
|
||||
}
|
||||
//if (UCFImportCase == 0) // ignore it
|
||||
//{
|
||||
importedFormat.Add(formatid, name);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// Format rec = Format.MakeFormat(pformat, name, description, null, null, dts, userid);
|
||||
// rec.Config = config;
|
||||
// rec.Save();
|
||||
// if (UCFImportCase == E_UCFImportOptions.LoadNotUsed || UCFImportCase == E_UCFImportOptions.LoadUseAll) // don't reset format id (case 1 don't use it, case 3 copies new data into original record
|
||||
// importedFormat.Add(formatid, name);
|
||||
// else if (UCFImportCase == E_UCFImportOptions.LoadOnlyImported || UCFImportCase == E_UCFImportOptions.LoadForSetOnly) // case 2 uses it for any items imported, case 4 uses it for any sections within current set
|
||||
// {
|
||||
// existingFormat.Add(name, rec.FormatID); // change to original name?
|
||||
// importedFormat.Add(rec.FormatID, name);
|
||||
|
||||
// // get format id for the original named format
|
||||
// if (UCFImportCase == E_UCFImportOptions.LoadForSetOnly && renamedUCFFormatName != null)
|
||||
// {
|
||||
// int origformatid = -1;
|
||||
// foreach (var kvp in renamedUCFFormatName)
|
||||
// {
|
||||
// if (kvp.Value == name)
|
||||
// {
|
||||
// origformatid = existingFormat[kvp.Key];
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// if (origformatid != -1)
|
||||
// {
|
||||
// if (renamedUCFFormatId == null) renamedUCFFormatId = new Dictionary<int, int>();
|
||||
// renamedUCFFormatId.Add(rec.FormatID, origformatid);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
importedFormat.Add(formatid, name);
|
||||
|
||||
}
|
||||
FormatInfoList.Reset();
|
||||
return true;
|
||||
|
||||
136
PROMS/VEPROMS User Interface/dlgPrintAllApprovedProcedures.Designer.cs
generated
Normal file
136
PROMS/VEPROMS User Interface/dlgPrintAllApprovedProcedures.Designer.cs
generated
Normal file
@@ -0,0 +1,136 @@
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class dlgPrintAllApprovedProcedures
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(dlgPrintAllApprovedProcedures));
|
||||
this.txbApprovedPDFsPath = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.labelX1 = new DevComponents.DotNetBar.LabelX();
|
||||
this.ppBtnPDFLoc = new DevComponents.DotNetBar.ButtonX();
|
||||
this.ApprovedPDFsFolderDlg = new System.Windows.Forms.FolderBrowserDialog();
|
||||
this.btnPrntAllAprv = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnCancel = new DevComponents.DotNetBar.ButtonX();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// txbApprovedPDFsPath
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.txbApprovedPDFsPath.Border.Class = "TextBoxBorder";
|
||||
this.txbApprovedPDFsPath.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.txbApprovedPDFsPath.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.txbApprovedPDFsPath.Location = new System.Drawing.Point(11, 45);
|
||||
this.txbApprovedPDFsPath.Name = "txbApprovedPDFsPath";
|
||||
this.txbApprovedPDFsPath.PreventEnterBeep = true;
|
||||
this.txbApprovedPDFsPath.Size = new System.Drawing.Size(611, 22);
|
||||
this.txbApprovedPDFsPath.TabIndex = 0;
|
||||
this.txbApprovedPDFsPath.WatermarkText = "Enter to Path of where to Place All Approved PDFs";
|
||||
this.txbApprovedPDFsPath.TextChanged += new System.EventHandler(this.txbApprovedPDFsPath_TextChanged);
|
||||
//
|
||||
// labelX1
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX1.Location = new System.Drawing.Point(12, 22);
|
||||
this.labelX1.Name = "labelX1";
|
||||
this.labelX1.Size = new System.Drawing.Size(360, 23);
|
||||
this.labelX1.TabIndex = 1;
|
||||
this.labelX1.Text = "Approved PDFs Location:";
|
||||
//
|
||||
// ppBtnPDFLoc
|
||||
//
|
||||
this.ppBtnPDFLoc.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.ppBtnPDFLoc.Image = ((System.Drawing.Image)(resources.GetObject("ppBtnPDFLoc.Image")));
|
||||
this.ppBtnPDFLoc.Location = new System.Drawing.Point(627, 45);
|
||||
this.ppBtnPDFLoc.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnPDFLoc.Name = "ppBtnPDFLoc";
|
||||
this.ppBtnPDFLoc.Size = new System.Drawing.Size(37, 22);
|
||||
this.ppBtnPDFLoc.TabIndex = 32;
|
||||
this.ppBtnPDFLoc.Click += new System.EventHandler(this.ppBtnPDFLoc_Click);
|
||||
//
|
||||
// btnPrntAllAprv
|
||||
//
|
||||
this.btnPrntAllAprv.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnPrntAllAprv.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnPrntAllAprv.Enabled = false;
|
||||
this.btnPrntAllAprv.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnPrntAllAprv.Location = new System.Drawing.Point(397, 120);
|
||||
this.btnPrntAllAprv.Name = "btnPrntAllAprv";
|
||||
this.btnPrntAllAprv.Size = new System.Drawing.Size(132, 26);
|
||||
this.btnPrntAllAprv.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnPrntAllAprv.TabIndex = 33;
|
||||
this.btnPrntAllAprv.Text = "Print All Approved";
|
||||
this.btnPrntAllAprv.Click += new System.EventHandler(this.btnPrntAllAprv_Click);
|
||||
//
|
||||
// btnCancel
|
||||
//
|
||||
this.btnCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCancel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnCancel.Location = new System.Drawing.Point(564, 120);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(99, 26);
|
||||
this.btnCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnCancel.TabIndex = 34;
|
||||
this.btnCancel.Text = "Close";
|
||||
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||||
//
|
||||
// dlgPrintAllApprovedProcedures
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(675, 161);
|
||||
this.Controls.Add(this.btnCancel);
|
||||
this.Controls.Add(this.btnPrntAllAprv);
|
||||
this.Controls.Add(this.ppBtnPDFLoc);
|
||||
this.Controls.Add(this.labelX1);
|
||||
this.Controls.Add(this.txbApprovedPDFsPath);
|
||||
this.Cursor = System.Windows.Forms.Cursors.Default;
|
||||
this.DoubleBuffered = true;
|
||||
this.Name = "dlgPrintAllApprovedProcedures";
|
||||
this.ShowIcon = false;
|
||||
this.Text = "Print All Approved Procedures";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txbApprovedPDFsPath;
|
||||
private DevComponents.DotNetBar.LabelX labelX1;
|
||||
private DevComponents.DotNetBar.ButtonX ppBtnPDFLoc;
|
||||
private System.Windows.Forms.FolderBrowserDialog ApprovedPDFsFolderDlg;
|
||||
private DevComponents.DotNetBar.ButtonX btnPrntAllAprv;
|
||||
private DevComponents.DotNetBar.ButtonX btnCancel;
|
||||
}
|
||||
}
|
||||
202
PROMS/VEPROMS User Interface/dlgPrintAllApprovedProcedures.cs
Normal file
202
PROMS/VEPROMS User Interface/dlgPrintAllApprovedProcedures.cs
Normal file
@@ -0,0 +1,202 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using System.IO;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using JR.Utils.GUI.Forms;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class dlgPrintAllApprovedProcedures : DevComponents.DotNetBar.Office2007Form
|
||||
{
|
||||
private static readonly log4net.ILog _MyLog = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
|
||||
private StringBuilder NotApproved;
|
||||
private DocVersionInfo _DocVersionInfo = null;
|
||||
private int unitId = 0;
|
||||
public dlgPrintAllApprovedProcedures(DocVersionInfo dvi)
|
||||
{
|
||||
InitializeComponent();
|
||||
_DocVersionInfo = dvi;
|
||||
unitId = (_DocVersionInfo.DocVersionConfig.SelectedSlave < 0) ? 0 : _DocVersionInfo.DocVersionConfig.SelectedSlave; // set unitId to zero if not Parent/Child
|
||||
NotApproved = new StringBuilder();
|
||||
txbApprovedPDFsPath.Text = BuildInitialPDFPath(); // set to default approved PDF path
|
||||
}
|
||||
// create an approved PDFs path based on the user's Documents folder and the tree path to the working draft
|
||||
private string BuildInitialPDFPath()
|
||||
{
|
||||
// start with the SearchDVPath which is the node path staring with the top of the PROMS Procedure tree (VEPROMS)
|
||||
string rtnstr = _DocVersionInfo.ActiveParent.SearchDVPath;
|
||||
|
||||
// remove top tree node (VEPROMS) and put a " - " between each tree node name
|
||||
rtnstr = rtnstr.Substring(rtnstr.IndexOf("\a") + 1).Replace("\a", " - ");
|
||||
|
||||
// add the user's path to the My Documments folder to the start of the path
|
||||
rtnstr = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "\\" + rtnstr;
|
||||
|
||||
// check if we are printing Approved Child Procedures
|
||||
// if SelectedSlave is > 0 then we are printing Approved Child Procedures and
|
||||
// subtract one from the index (unitId) into the list of child names (UnitNames)
|
||||
if (unitId > 0)
|
||||
rtnstr += "\\" + _DocVersionInfo.UnitNames[unitId - 1]; // append Child name to path
|
||||
return rtnstr;
|
||||
}
|
||||
|
||||
private void ppBtnPDFLoc_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (txbApprovedPDFsPath.Text.Length > 0)
|
||||
ApprovedPDFsFolderDlg.SelectedPath = txbApprovedPDFsPath.Text;
|
||||
DialogResult dr = ApprovedPDFsFolderDlg.ShowDialog();
|
||||
if (dr == DialogResult.OK)
|
||||
{
|
||||
txbApprovedPDFsPath.Text = ApprovedPDFsFolderDlg.SelectedPath;
|
||||
}
|
||||
}
|
||||
|
||||
private bool FolderIsWritable(string dirPath)
|
||||
{
|
||||
try
|
||||
{
|
||||
using (FileStream fs = File.Create(Path.Combine(dirPath, Path.GetRandomFileName()), 1, FileOptions.DeleteOnClose))
|
||||
{ }
|
||||
return true;
|
||||
}
|
||||
catch
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnPrntAllAprv_Click(object sender, EventArgs e)
|
||||
{
|
||||
try
|
||||
{
|
||||
// Create folder if needed, clear the folder
|
||||
if (!Directory.Exists(txbApprovedPDFsPath.Text))
|
||||
Directory.CreateDirectory(txbApprovedPDFsPath.Text);
|
||||
|
||||
// check if the folder location is writable
|
||||
if (!FolderIsWritable(txbApprovedPDFsPath.Text))
|
||||
{
|
||||
MessageBox.Show("Cannot Write to this folder.\n\nSelect a different location.", "Invalid Folder Access", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
btnPrntAllAprv.Enabled = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
int pdfCount = 0;
|
||||
DeleteExistingPDFs(); // delete existing PDFs in the target folder
|
||||
// Get the Child index for Parent/Child procedure - if not Parent/Child this will be zero
|
||||
foreach (ProcedureInfo myProc in _DocVersionInfo.Procedures)
|
||||
{
|
||||
RevisionInfoList ril = RevisionInfoList.GetByItemID(myProc.ItemID);
|
||||
if (ril.Count == 0)
|
||||
{
|
||||
NotApproved.AppendLine(string.Format("No approved Version for {0}", (myProc.PDFNumber.Length > 0) ? myProc.PDFNumber : myProc.DisplayText));
|
||||
}
|
||||
else
|
||||
{
|
||||
bool foundApproved = false;
|
||||
foreach (RevisionInfo revinfo in ril)
|
||||
{
|
||||
// if not Parent/Child, "unitId" and "Applicability_index" will be zero
|
||||
if (unitId == revinfo.MyConfig.Applicability_Index)
|
||||
{
|
||||
if (revinfo.LatestVersion.MyStage.IsApproved > 0)
|
||||
{
|
||||
foundApproved = true;
|
||||
ItemInfo ii = ItemInfo.Get(revinfo.ItemID);
|
||||
ii.MyDocVersion.DocVersionConfig.SelectedSlave = unitId;
|
||||
ProcedureInfo prcInfo = ProcedureInfo.Get(ii.ItemID);
|
||||
SaveApprovedPDFToFolder(revinfo, prcInfo.PDFNumber);// save PDF to folder
|
||||
pdfCount++;
|
||||
break; // got the latest Approved - jump out of foreach revision info loop
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!foundApproved) NotApproved.AppendLine(string.Format("No approved Version for {0}", myProc.PDFNumber));
|
||||
|
||||
}
|
||||
}
|
||||
// if no Approved PDFs were save, display general message and exit
|
||||
if (pdfCount == 0)
|
||||
{
|
||||
string msg = "There are no Approved Procedure PDFs in this procedure set.\n\n Approved Procedures PDFs are created when a procedure is approved using the PROMS Approval function.";
|
||||
FlexibleMessageBox.Show(msg, "Print PDFs Completed", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
}
|
||||
else // we saved some approved PDFs tell user how many were saved and list procedures that were not approved
|
||||
{
|
||||
string msg = string.Format("{0} PDFs were saved at\n\n{1}", pdfCount, txbApprovedPDFsPath.Text);
|
||||
if (NotApproved.Length > 0)
|
||||
{
|
||||
msg += string.Format("\n\n--------------------------------------------\n\nPDFs for the Following were not Generated:\n\n{0}", NotApproved.ToString());
|
||||
}
|
||||
FlexibleMessageBox.Show(msg, "Print PDFs Completed", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_MyLog.Error("Print All Approved PDFs", ex);// save error in PROMS error log
|
||||
MessageBox.Show(ex.Message, ex.GetType().FullName, MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
this.Close(); // close dialog
|
||||
}
|
||||
private void SaveApprovedPDFToFolder(RevisionInfo revInfo,string PDFName)
|
||||
{
|
||||
byte[] buffer = revInfo.LatestVersion.PDF;
|
||||
string PDFFilePath = string.Format("{0}\\{1}.PDF", txbApprovedPDFsPath.Text, PDFName);
|
||||
try
|
||||
{
|
||||
FileStream fs = new FileStream(PDFFilePath, FileMode.Create);
|
||||
fs.Write(buffer, 0, buffer.Length);
|
||||
fs.Close();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string str = string.Format("Could not create {0}", PDFFilePath);
|
||||
NotApproved.AppendLine(str); // save to list of procedure that were not approved
|
||||
_MyLog.Info(str, ex);// save error in PROMS error log
|
||||
}
|
||||
|
||||
}
|
||||
private void DeleteExistingPDFs()
|
||||
{
|
||||
DirectoryInfo di = new DirectoryInfo(txbApprovedPDFsPath.Text);
|
||||
FileInfo[] fis;
|
||||
//DirectoryInfo[] diAry = di.GetDirectories(txbApprovedPDFsPath.Text);
|
||||
//DirectoryInfo di_fmtgen;
|
||||
// remove all of the PDF fils
|
||||
//di_fmtgen = diAry[0];
|
||||
try
|
||||
{
|
||||
fis = di.GetFiles("*.pdf");
|
||||
foreach (FileInfo fi in fis)
|
||||
{
|
||||
if (fi.IsReadOnly) fi.IsReadOnly = false;
|
||||
fi.Delete();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string str = string.Format("Cannot delete files in {0}", txbApprovedPDFsPath.Text);
|
||||
MessageBox.Show(str, "Error deleting files", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
_MyLog.Info(str, ex); // save error in PROMS error log
|
||||
|
||||
}
|
||||
}
|
||||
private void txbApprovedPDFsPath_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
btnPrntAllAprv.Enabled = txbApprovedPDFsPath.Text.Length > 0;
|
||||
}
|
||||
|
||||
private void btnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
141
PROMS/VEPROMS User Interface/dlgPrintAllApprovedProcedures.resx
Normal file
141
PROMS/VEPROMS User Interface/dlgPrintAllApprovedProcedures.resx
Normal file
@@ -0,0 +1,141 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="ppBtnPDFLoc.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAr2AAAK9gHCr3ADAAACc0lE
|
||||
QVQ4T6WSWUjUURSH/w899GSRGoVgZIlYIAaGVA8hSouaUm6FkiaUWyWGYq7NuM7oLI46pWLOqNOoo5Wl
|
||||
GFYIhSIRWi6UmJoFhaWYGiq5feFIg9tL9fDBvYf7+ziccwVA+B82FDYjs1DnKlbpuSktJ1ttIEmmTf4r
|
||||
QUisGp8IedDy+VpCmWWaSk9chsYvOLYQoU6nDKjTKVlPU41Evl70h8ikojO+UXK8I/KMAvq7tcxO1Br5
|
||||
Na5nflSDoVxOvS4jbX14GZ9IBd7hKjzDChBqKxTMjFetCS+OFDHfG0NVmZTK4iw0hWmU5KVyR5ZIgSSe
|
||||
1TKhWpvLzHetKbw0UgT9idAbtikbBPdKJfz8WmIKN9flGnliyKFBL+FhZRYGTTr6EjHl6lvcVSVTrEhE
|
||||
nZtglAmVJVlMfco3tj3UKqK+SsHikBiGM9byUQyDSdAXC++i6KrxJzrUq0LQqNOZHJDCZxmPquW0P5Wt
|
||||
PFrd+ttg6PBloc2D2WcufKhw4OrFk5PRoV4HhVKViB/vxQy3pVCvl7E0KIKe8JVgVyh0nGeh3YvZlhNM
|
||||
NR1jrO4Q4ghbLrhZ5BlnUKRIYaw7gfu6XDpfSqEvBnouQ2cQS6/OMvfiNNPNxxmvd+JbtT0dmdsJ9LDB
|
||||
yc7MzihQ5yTS05LKA10ODKTCm2B47cdcqyfTz12YaHBm1ODAF+1+emXmiML24XjAqtG0hfzseGrLpfQ+
|
||||
jqRDKZhol22hRbKVxrRt1CRboom34vaNPQS6711ydrR2NwmUGXEoRVfITggh6XrA8mS55O/GuVNHcD3q
|
||||
wGEHW+xtrLDebcHOHWbsMjdb+w9WX/6F370P0Tty1Sp4AAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="ApprovedPDFsFolderDlg.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -128,7 +128,7 @@ namespace VEPROMS
|
||||
private LocalAnnotationTypeInfoList myLocalAnnotationTypeInfoList = null;
|
||||
private StageInfoList myStageInfoList = null;
|
||||
private LocalStageInfoList myLocalStageInfoList = null;
|
||||
private int? _cmbxformatOriginal = null;
|
||||
|
||||
private void frmFolderProperties_Load(object sender, EventArgs e)
|
||||
{
|
||||
_Initializing = true;
|
||||
@@ -149,7 +149,7 @@ namespace VEPROMS
|
||||
ppCmbxFormat.DisplayMember = "FullName";
|
||||
ppCmbxFormat.ValueMember = "FullName";
|
||||
ppCmbxFormat.DataSource = FormatUtility.GetFilteredFormatList(FormatInfoList.SortedFormatInfoList);
|
||||
if (_FolderConfig != null && _FolderConfig.MyFolder != null) _cmbxformatOriginal = _FolderConfig.MyFolder.FormatID;
|
||||
|
||||
if (_FolderConfig.FormatSelection != null)
|
||||
{
|
||||
ppCmbxFormat.SelectedValue = _FolderConfig.FormatSelection;
|
||||
@@ -337,24 +337,7 @@ namespace VEPROMS
|
||||
btnAnnoTypeUndo.PerformClick();
|
||||
//if (btnAnnoTypeSave.Enabled) return;
|
||||
folderConfigBindingSource.EndEdit();
|
||||
// if there is a change to the format, clean up any overridden formats that point to the selected item before saving the format change:
|
||||
//if (_FolderConfig.MyFolder.FormatID != _cmbxformatOriginal)
|
||||
//{
|
||||
// // clean up & then refresh the configs
|
||||
// using (ContentInfoList cil = ContentInfoList.ClearOverrideFormatsByFolder(_FolderConfig.MyFolder.FolderID, _cmbxformatOriginal, _FolderConfig.MyFolder.FormatID))
|
||||
// {
|
||||
// foreach (ContentInfo ci in cil)
|
||||
// {
|
||||
// using (Content c = ci.Get())
|
||||
// {
|
||||
// // first refresh configs because the ContentInfo.Refresh causes events to occur that refresh screen
|
||||
// // and if configs aren't done first, the screen refresh, if based on config data, will not be correct.
|
||||
// foreach (ItemInfo ii in ci.ContentItems) ii.RefreshConfig();
|
||||
// ContentInfo.Refresh(c);
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
|
||||
// Save Default settings for User
|
||||
//
|
||||
// Save whether we should display the default values on this property page
|
||||
|
||||
@@ -1211,7 +1211,6 @@ namespace VEPROMS
|
||||
this.cbUCFLForSetOnly.Size = new System.Drawing.Size(105, 19);
|
||||
this.cbUCFLForSetOnly.TabIndex = 5;
|
||||
this.cbUCFLForSetOnly.Text = "Load For Set Only";
|
||||
//this.cbUCFLForSetOnly.CheckedChanged += new System.EventHandler(this.cbUCFLForSetOnly_CheckedChanged);
|
||||
//
|
||||
// cbUCFLUseAll
|
||||
//
|
||||
@@ -1227,7 +1226,6 @@ namespace VEPROMS
|
||||
this.cbUCFLUseAll.Size = new System.Drawing.Size(105, 19);
|
||||
this.cbUCFLUseAll.TabIndex = 4;
|
||||
this.cbUCFLUseAll.Text = "Load Use All";
|
||||
//this.cbUCFLUseAll.CheckedChanged += new System.EventHandler(this.cbUCFLUseAll_CheckedChanged);
|
||||
//
|
||||
// cbUCFLOnlyImport
|
||||
//
|
||||
@@ -1243,7 +1241,6 @@ namespace VEPROMS
|
||||
this.cbUCFLOnlyImport.Size = new System.Drawing.Size(105, 19);
|
||||
this.cbUCFLOnlyImport.TabIndex = 3;
|
||||
this.cbUCFLOnlyImport.Text = "Load Only Imported";
|
||||
//this.cbUCFLOnlyImport.CheckedChanged += new System.EventHandler(this.cbUCFLOnlyImport_CheckedChanged);
|
||||
//
|
||||
// cbUCFLNotUsed
|
||||
//
|
||||
@@ -1259,7 +1256,6 @@ namespace VEPROMS
|
||||
this.cbUCFLNotUsed.Size = new System.Drawing.Size(88, 19);
|
||||
this.cbUCFLNotUsed.TabIndex = 2;
|
||||
this.cbUCFLNotUsed.Text = "Load Not Used";
|
||||
//this.cbUCFLNotUsed.CheckedChanged += new System.EventHandler(this.cbUCFLNotUsed_CheckedChanged);
|
||||
//
|
||||
// cbUCFIgnore
|
||||
//
|
||||
@@ -1275,7 +1271,6 @@ namespace VEPROMS
|
||||
this.cbUCFIgnore.Size = new System.Drawing.Size(67, 19);
|
||||
this.cbUCFIgnore.TabIndex = 1;
|
||||
this.cbUCFIgnore.Text = "Ignore";
|
||||
//this.cbUCFIgnore.CheckedChanged += new System.EventHandler(this.cbUCFIgnore_CheckedChanged);
|
||||
//
|
||||
// btnReset
|
||||
//
|
||||
|
||||
@@ -75,24 +75,6 @@ namespace VEPROMS
|
||||
cbEnhancedDocumentSync.Checked = Settings.Default.SyncEnhancedDocuments;
|
||||
cbSeparateWindows.Checked = Settings.Default.SeparateWindows;
|
||||
txbxVisioPath.Text = Settings.Default.VisioPath;
|
||||
//switch (Settings.Default.UCFImportOpt) // see dlgExportImport for descripton of these options.
|
||||
//{
|
||||
// case 0:
|
||||
// cbUCFIgnore.Checked = true;
|
||||
// break;
|
||||
// case 1:
|
||||
// cbUCFLNotUsed.Checked = true;
|
||||
// break;
|
||||
// case 2:
|
||||
// cbUCFLOnlyImport.Checked = true;
|
||||
// break;
|
||||
// case 3:
|
||||
// cbUCFLUseAll.Checked = true;
|
||||
// break;
|
||||
// case 4:
|
||||
// cbUCFLForSetOnly.Checked = true;
|
||||
// break;
|
||||
//}
|
||||
|
||||
//CSM - C2024-031 - Getting User Settings
|
||||
//and set checkboxes based on what they are set to
|
||||
@@ -118,6 +100,7 @@ namespace VEPROMS
|
||||
Settings.Default.PastePlainText = cbPastePlainText.Checked;
|
||||
}
|
||||
}
|
||||
|
||||
private void cbPasteNoReturns_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!_initializing)
|
||||
@@ -193,7 +176,6 @@ namespace VEPROMS
|
||||
private bool ss_SyncEnhancedDocuments;
|
||||
private bool ss_SeparateWindows;
|
||||
private string ss_VisioPath;
|
||||
//private int ss_UCFImportOpt;
|
||||
|
||||
private void SaveStartingSettings()
|
||||
{
|
||||
@@ -210,7 +192,6 @@ namespace VEPROMS
|
||||
ss_SyncEnhancedDocuments = Settings.Default.SyncEnhancedDocuments;
|
||||
ss_SeparateWindows = Settings.Default.SeparateWindows;
|
||||
ss_VisioPath = Settings.Default.VisioPath;
|
||||
//ss_UCFImportOpt = Settings.Default.UCFImportOpt;
|
||||
}
|
||||
|
||||
private void RestoreStartingSettings() // used with the cancel button
|
||||
@@ -227,7 +208,6 @@ namespace VEPROMS
|
||||
Settings.Default.SyncEnhancedDocuments = ss_SyncEnhancedDocuments;
|
||||
Settings.Default.SeparateWindows = ss_SeparateWindows;
|
||||
Settings.Default.VisioPath = ss_VisioPath;
|
||||
//Settings.Default.UCFImportOpt = ss_UCFImportOpt;
|
||||
}
|
||||
|
||||
|
||||
@@ -315,45 +295,7 @@ namespace VEPROMS
|
||||
Settings.Default.VisioPath = txbxVisioPath.Text;
|
||||
}
|
||||
|
||||
//private void cbUCFIgnore_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_initializing)
|
||||
// {
|
||||
// Settings.Default.UCFImportOpt = 0;
|
||||
// }
|
||||
//}
|
||||
|
||||
//private void cbUCFLNotUsed_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_initializing)
|
||||
// {
|
||||
// Settings.Default.UCFImportOpt = 1;
|
||||
// }
|
||||
//}
|
||||
|
||||
//private void cbUCFLOnlyImport_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_initializing)
|
||||
// {
|
||||
// Settings.Default.UCFImportOpt = 2;
|
||||
// }
|
||||
//}
|
||||
|
||||
//private void cbUCFLUseAll_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_initializing)
|
||||
// {
|
||||
// Settings.Default.UCFImportOpt = 3;
|
||||
// }
|
||||
//}
|
||||
|
||||
//private void cbUCFLForSetOnly_CheckedChanged(object sender, EventArgs e)
|
||||
//{
|
||||
// if (!_initializing)
|
||||
// {
|
||||
// Settings.Default.UCFImportOpt = 4;
|
||||
// }
|
||||
//}
|
||||
private void cbOTRemember_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
cbOTAutoOpen.Enabled = cbOTAutoOpen.Visible = cbShwRplWrdsColor.Checked;
|
||||
|
||||
@@ -534,6 +534,7 @@ namespace VEPROMS
|
||||
tv.QPrintSection += new vlnTreeViewEvent(tv_QPrintSection);
|
||||
tv.QPrintProcedure += new vlnTreeViewEvent(tv_QPrintProcedure);
|
||||
tv.PrintAllProcedures += new vlnTreeViewEvent(tv_PrintAllProcedures);
|
||||
tv.PrintAllApprovedProcedures += new vlnTreeViewEvent(tv_PrintAllApprovedProcedures);
|
||||
tv.ApproveProcedure += new vlnTreeViewEvent(tv_ApproveProcedure);
|
||||
tv.ApproveAllProcedures += new vlnTreeViewEvent(tv_ApproveAllProcedures);
|
||||
tv.ApproveSomeProcedures += new vlnTreeViewEvent(tv_ApproveSomeProcedures);
|
||||
@@ -1212,7 +1213,27 @@ namespace VEPROMS
|
||||
|
||||
dvi.DocVersionConfig.SelectedSlave = 0;
|
||||
}
|
||||
|
||||
|
||||
// C2025-017 print all approved procedure to a specified folder
|
||||
void tv_PrintAllApprovedProcedures(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
using (DocVersionInfo dvi = (args.Node as VETreeNode).VEObject as DocVersionInfo)
|
||||
{
|
||||
if (dvi == null) return;
|
||||
|
||||
tc.SaveCurrentEditItem(); // save the current edit item if user happens to be editing a procedure
|
||||
|
||||
// add a diaglog to prompt for the path inwhich to put the approved pdfs
|
||||
int currentChildSetting = dvi.DocVersionConfig.SelectedSlave;
|
||||
dvi.DocVersionConfig.SelectedSlave = args.UnitIndex; // set to selected child - will be -1 for non Parent/Child
|
||||
|
||||
dlgPrintAllApprovedProcedures dlgPrnAllAprv = new dlgPrintAllApprovedProcedures(dvi);
|
||||
dlgPrnAllAprv.ShowDialog(this);
|
||||
|
||||
dvi.DocVersionConfig.SelectedSlave = currentChildSetting; // set back to what it was
|
||||
}
|
||||
}
|
||||
|
||||
void tv_PrintProcedure(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
ProcedureInfo pi = (args.Node as VETreeNode).VEObject as ProcedureInfo;
|
||||
@@ -2470,6 +2491,7 @@ namespace VEPROMS
|
||||
int _ItemID = (int)TabState["ItemID"];
|
||||
ItemInfo _Procedure = ItemInfo.Get(_ItemID);
|
||||
// Open procedure in the editor.
|
||||
if (_Procedure == null) continue; //skip and continue with foreach
|
||||
OpenItem(_Procedure);
|
||||
// SelectedStepTabPanel needs to be set so the print buttons on the ribbon will work.
|
||||
SelectedStepTabPanel = tc.MyEditItem.MyStepPanel.MyStepTabPanel;
|
||||
|
||||
@@ -213,14 +213,7 @@ namespace VEPROMS.CSLA.Library
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
public class Flags
|
||||
{
|
||||
//private bool? _CheckOffUCF;
|
||||
//[DisplayName("UCF CheckOffs")]
|
||||
//[Description("Additional UCF Check Offs and Sign Offs")]
|
||||
//public bool? CheckOffUCF
|
||||
//{
|
||||
// get { return _CheckOffUCF; }
|
||||
// set { _CheckOffUCF = value; }
|
||||
//}
|
||||
|
||||
private bool? _PartialStepCompression;
|
||||
[DisplayName("Partial Step Compression")]
|
||||
[Description("Automatically compress last sub-steps to fit on page")]
|
||||
@@ -272,41 +265,7 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
#endregion ReplaceStrData
|
||||
#region ReplaceStr
|
||||
//[Flags]
|
||||
//public enum E_ReplaceFlags : uint
|
||||
//{
|
||||
// High = 0x0001, // Do ReplaceWords in HIGH LEVEL STEPS
|
||||
// RNO = 0x0002, // Do ReplaceWords in RNOS
|
||||
// Caution = 0x0004, // Do ReplaceWords in CAUTIONS
|
||||
// Note = 0x0008, // Do ReplaceWords in NOTES
|
||||
// Table = 0x0010, // Do ReplaceWords in TABLES
|
||||
// Substep = 0x0020, // Do ReplaceWords in SUBSTEPS
|
||||
// Attach = 0x0040, // Do ReplaceWords in ATTACHMENTS
|
||||
// Bkgd = 0x0080, // Do ReplaceWords in BACKGROUNDS
|
||||
// DiffUnit = 0x0100, // Do ReplaceWords ONLY for different UNIT #
|
||||
// TOC = 0x0200, // Do in auto table-of-contents
|
||||
// StatTree = 0x0400,
|
||||
// HLSSetpnt = 0x0800, // Do ReplaceWords in HighLevelStep SETPoiNTs
|
||||
// Trans = 0x1000, // Do ReplaceWords in TRANSITIONS
|
||||
// Setpoint = 0x2000, // Do ReplaceWords in SETPOINTS
|
||||
|
||||
// // Case Sensitivity Flags - default is off (Case Sensitive Replace)
|
||||
// CaseInsens = 0x0000C000, // Do ReplaceWords for all words thatmatch, regardless of case,
|
||||
// // and replace with the ReplaceWith string as is
|
||||
// // B2019-022: do not support CaseInsensFirst & CaseInsensAll - there is no supporting replace word code:
|
||||
// //CaseInsensFirst = 0x4000, // Do ReplaceWords for all words thatexactly match the ReplaceWord,
|
||||
// // except the case of the first character may be different
|
||||
// //CaseInsensAll = 0x8000, // Do ReplaceWords for all words that match the ReplaceWord, regardless of case
|
||||
|
||||
// Partials = 0x10000, // Do replace even on partial matches
|
||||
// Plackeep = 0x20000, // Do replace in PlaceKeepers
|
||||
// InSecTitle = 0x40000,
|
||||
// BeforeTrans = 0x80000, // Only do replace if the string occurs immediately before a transition.
|
||||
// BeforeList = 0x100000, // C2021-045 Only if the text ends with a colon ":"
|
||||
// PageList = 0x200000, // F2021-053 Do replace words for PageList items that are ROs
|
||||
// FirstWord = 0x400000, // C2021-056 Do only if is the first word in the text
|
||||
// NotInRO = 0x800000 // B2022-015 BNPPalr: Determine whether RO text should have Replace Words applied
|
||||
//}
|
||||
[Serializable]
|
||||
[TypeConverter(typeof(ExpandableObjectConverter))]
|
||||
public class ReplaceStr
|
||||
@@ -319,15 +278,7 @@ namespace VEPROMS.CSLA.Library
|
||||
get { return _State; }
|
||||
set { _State = value; }
|
||||
}
|
||||
//private E_ReplaceFlags _Flag;
|
||||
//[Editor(typeof(FlagEnumUIEditor), typeof(System.Drawing.Design.UITypeEditor))]
|
||||
//[XmlAttribute("Flag")]
|
||||
//[DisplayName("Flags (Use In)")] // Note that [Description] is not used in collection items (that use collection editor)
|
||||
//public E_ReplaceFlags Flag
|
||||
//{
|
||||
// get { return (E_ReplaceFlags)_Flag; }
|
||||
// set { _Flag = value; }
|
||||
//}
|
||||
|
||||
private string _ReplaceWord;
|
||||
[XmlAttribute("ReplaceWord")]
|
||||
[DisplayName("Replace Word")]
|
||||
@@ -341,7 +292,6 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
private string _ReplaceWith;
|
||||
//[Editor(typeof(RtfEditor), typeof(System.Drawing.Design.UITypeEditor))]
|
||||
|
||||
[XmlAttribute("ReplaceWith")]
|
||||
[DisplayName("With")]
|
||||
|
||||
@@ -2178,7 +2178,6 @@ namespace VEPROMS.CSLA.Library
|
||||
// F2021-053: BNPP Alarm - need ability to have super/sub scripts in the text of Alarm Tables (ROs).
|
||||
// if doing replace words for Page List items, the current item is not a step, use _DoReplWordInPageList flags this
|
||||
if (_MyItemInfo.MyContent.Type < 20000 && !_DoReplWordInPageList) return Text; // for now only replace in steps.
|
||||
//FormatConfig.ReplaceStrData rsl = _MyFormat.PlantFormat.FormatConfig.UCFandReplaceStrData;
|
||||
ReplaceStrList rsl = _MyFormat.PlantFormat.FormatData.SectData.ReplaceStrList;
|
||||
if (rsl.Count == 1 && (rsl[0].ReplaceWord == null || rsl[0].ReplaceWord == "")) return Text;
|
||||
|
||||
@@ -2196,7 +2195,6 @@ namespace VEPROMS.CSLA.Library
|
||||
//int profileDepth = ProfileTimer.Push(">>>> DoReplaceWords2.ForLoop");
|
||||
foreach (ReplaceStr rs in rsl)
|
||||
{
|
||||
//bool dopartial = (E_ReplaceFlags)(rs.Flag & E_ReplaceFlags.CaseInsens) == E_ReplaceFlags.Partials; // save it may need to be changed back to this code.
|
||||
bool dopartial = (rs.Flag & E_ReplaceFlags.Partials) == E_ReplaceFlags.Partials; // from pre-UCF
|
||||
if (!dopartial) // F2021-093: Partials moved into their own method and done first
|
||||
{
|
||||
|
||||
@@ -6111,23 +6111,7 @@ namespace VEPROMS.CSLA.Library
|
||||
if (!SectionHasCheckOffs()) return null;
|
||||
int stpCoIndx = CheckOffIndex(); // this step has a checkoff defined
|
||||
if (stpCoIndx == -1) return null;
|
||||
//if (stpCoIndx > 1)
|
||||
//{
|
||||
// if (ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffUCF && stpCoIndx >= 100)
|
||||
// {
|
||||
// // get index, if greater than 100, store that - otherwise store index down list.
|
||||
// // if this format does not have ucf signoffs, indx is just the selected index from the combo box.
|
||||
// foreach (CheckOff co in ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffList)
|
||||
// {
|
||||
// if (stpCoIndx == co.Index)
|
||||
// {
|
||||
// stpCoIndx = (int)co.Index;
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// return ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffList[stpCoIndx]; // DO override of CheckOffList[] to get ucf
|
||||
//}
|
||||
|
||||
int sectCoIndx = SectionDefaultCheckOffIndex(); // no checkoff on step, see if there is a section default.
|
||||
if (sectCoIndx == -1) return null;
|
||||
if ((ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffOnHLSOnly && IsHigh)
|
||||
|
||||
@@ -563,6 +563,11 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (PrintAllProcedures != null) PrintAllProcedures(sender, args);
|
||||
}
|
||||
public event vlnTreeViewEvent PrintAllApprovedProcedures; //C2025-017 print all approved procedures
|
||||
private void OnPrintAllApprovedProcedures(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
if (PrintAllApprovedProcedures != null) PrintAllApprovedProcedures(sender, args);
|
||||
}
|
||||
public event vlnTreeViewEvent SelectDateToStartChangeBars;
|
||||
private void OnSelectDateToStartChangeBars(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
@@ -784,6 +789,7 @@ namespace Volian.Controls.Library
|
||||
MenuItem mip = new MenuItem("Print All Procedures for");
|
||||
MenuItem mia = new MenuItem("Approve All Procedures for");
|
||||
MenuItem mis = new MenuItem("Approve Some Procedures for");
|
||||
MenuItem mir = new MenuItem("Print All Approved Procedures for"); // C2025-017 print all approved procedures
|
||||
int k = 0;
|
||||
foreach (string s in dvi.UnitNames)
|
||||
{
|
||||
@@ -794,6 +800,8 @@ namespace Volian.Controls.Library
|
||||
ma.Tag = k;
|
||||
MenuItem ms = mis.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
||||
ms.Tag = k;
|
||||
MenuItem mr = mir.MenuItems.Add(s, new EventHandler(miMultiUnit_Click)); // C2025-017 print all approved procedures
|
||||
mr.Tag = k;
|
||||
}
|
||||
//MenuItem mmp = mip.MenuItems.Add("All Units", new EventHandler(miMultiUnit_Click));
|
||||
//mmp.Tag = 0;
|
||||
@@ -804,6 +812,7 @@ namespace Volian.Controls.Library
|
||||
cm.MenuItems.Add(mip);
|
||||
cm.MenuItems.Add(mia);
|
||||
cm.MenuItems.Add(mis);
|
||||
cm.MenuItems.Add(mir); // C2025-017 print all approved procedures
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -811,6 +820,7 @@ namespace Volian.Controls.Library
|
||||
cm.MenuItems.Add("Print All Procedures", new EventHandler(mi_Click));
|
||||
cm.MenuItems.Add("Approve All Procedures", new EventHandler(mi_Click));
|
||||
cm.MenuItems.Add("Approve Some Procedures", new EventHandler(mi_Click));
|
||||
cm.MenuItems.Add("Print All Approved Procedures", new EventHandler(mi_Click));
|
||||
}
|
||||
cm.MenuItems.Add("Report All Procedures Inconsistencies", new EventHandler(mi_Click));
|
||||
}
|
||||
@@ -2035,6 +2045,9 @@ namespace Volian.Controls.Library
|
||||
case "Create Time Critical Action Summary":
|
||||
OnCreateTimeCriticalActionSummary(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0, mi.Text, (int)mi.Tag));
|
||||
break;
|
||||
case "Print All Approved Procedures for": //C2025-017 print all approved procedures
|
||||
OnPrintAllApprovedProcedures(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0, mi.Text, (int)mi.Tag));
|
||||
break;
|
||||
default:
|
||||
if (mip.Text.StartsWith("Showing Change Bars Starting"))
|
||||
OnSelectDateToStartChangeBars(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0));
|
||||
@@ -2133,16 +2146,6 @@ namespace Volian.Controls.Library
|
||||
OnPrintTransitionReport(this, new vlnTreeEventArgs(SelectedNode as VETreeNode));
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
if (mi.Text == "Export Procedure Set" || mi.Text == "Export Procedure")
|
||||
{
|
||||
OnExportImportProcedureSets(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0));
|
||||
@@ -2346,6 +2349,9 @@ namespace Volian.Controls.Library
|
||||
//case "Check In Procedure Set":
|
||||
// CheckInDocVersion(SelectedNode as VETreeNode);
|
||||
// break;
|
||||
case "Print All Approved Procedures": //C2025-017 print all approved procedures
|
||||
OnPrintAllApprovedProcedures(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0));
|
||||
break;
|
||||
default:
|
||||
if (mi.Text.StartsWith("Showing Change Bars Starting"))
|
||||
OnSelectDateToStartChangeBars(this, new vlnTreeEventArgs(SelectedNode as VETreeNode, null, 0));
|
||||
|
||||
@@ -4458,12 +4458,6 @@ namespace Volian.Print.Library
|
||||
xloc_co = XOffset + (relX > 0 ? Width : 0) + relX;
|
||||
}
|
||||
}
|
||||
// if there is ucf value for adjusting the alignment for checkoffs, use it:
|
||||
//FormatConfig fc = PlantFormat.GetFormatConfig(formatInfo);
|
||||
//if (fc != null && fc.PlantFormat.FormatData.CheckOffXOffAdj != null)
|
||||
//{
|
||||
// if (co.Index > 99) xloc_co += ((float)fc.PlantFormat.FormatData.CheckOffXOffAdj * 72);
|
||||
//}
|
||||
|
||||
// CheckOffXtraLines was introduced for the additional lines needed for the longer signoffs
|
||||
// for VCBA (&WST1), for F2016-061.
|
||||
|
||||
Reference in New Issue
Block a user