Compare commits
173 Commits
3a44d4cd0e
...
B2024-046-
Author | SHA1 | Date | |
---|---|---|---|
b3f7633af7 | |||
8f2cbf4081 | |||
![]() |
c25f501909 | ||
![]() |
bf72a6bf78 | ||
![]() |
a1380dbb8a | ||
![]() |
501798a8cb | ||
a240bc2c19 | |||
a804a3866a | |||
069ffb80e9 | |||
![]() |
5255080291 | ||
![]() |
ae35d9f0d7 | ||
afbd653611 | |||
![]() |
9a55111e1e | ||
422a3053b7 | |||
feb74ee09f | |||
7cebb2b7f1 | |||
![]() |
8097c6283c | ||
![]() |
8f08ef5ee4 | ||
![]() |
fd26f16776 | ||
![]() |
21a83df99d | ||
616acf0e37 | |||
3cff87cf97 | |||
![]() |
9202d903a5 | ||
![]() |
a9a9a56c09 | ||
aee7819a9c | |||
![]() |
d3bc1c4725 | ||
d0474b22f9 | |||
5bd1f94be0 | |||
![]() |
629fe1b615 | ||
![]() |
c92b888ec2 | ||
5df42daa71 | |||
![]() |
9349396d9a | ||
![]() |
38425a05f9 | ||
![]() |
9d1b99b08e | ||
![]() |
4f7a762bf1 | ||
![]() |
11cb2e0efd | ||
78f58bea19 | |||
![]() |
a2e830d0c3 | ||
![]() |
2ffab17caf | ||
![]() |
49aba5c67b | ||
1b24177b68 | |||
bf7a967633 | |||
f5669e50a8 | |||
![]() |
2ae0d0d454 | ||
![]() |
241785846e | ||
![]() |
0d6fd6950c | ||
![]() |
bb99d6444c | ||
![]() |
db4f114caf | ||
80d83da9c9 | |||
54e02e6263 | |||
c4af911f15 | |||
f9690ee772 | |||
623c6a7941 | |||
7a5129208c | |||
e15c56f1e2 | |||
![]() |
5d808e436a | ||
20e40a5c49 | |||
885dae812d | |||
35bd91f7e8 | |||
305f2768bb | |||
5f733161c6 | |||
4fc13acd1a | |||
365f6a23c8 | |||
331d5751c3 | |||
dfb965edbc | |||
![]() |
c7cc69fd73 | ||
d187aa885d | |||
b1b4535d9b | |||
b085a727f0 | |||
e548e1da63 | |||
c320634d3d | |||
af889a8818 | |||
c265975cbe | |||
a41a398e7e | |||
![]() |
5edaf30601 | ||
df0c5259c0 | |||
10c25dbe44 | |||
2df37533a8 | |||
6392ee3f0f | |||
96ddce8b73 | |||
c88caefe5d | |||
eb26b7a123 | |||
c865b67398 | |||
89814777b4 | |||
de7e2d5f2a | |||
f51866236f | |||
a9eec83382 | |||
fd5739bbcd | |||
076e0bfe8e | |||
07d10c571b | |||
20cbff0255 | |||
b643f7fdf8 | |||
0607fcf261 | |||
1289e52600 | |||
fccc47483f | |||
5ffd99bd0e | |||
![]() |
dffea37fad | ||
811076d432 | |||
1bdfb7d1e3 | |||
4a3ca1c074 | |||
![]() |
9d50f55f71 | ||
![]() |
b8e8e80acb | ||
![]() |
c77320d4e7 | ||
59bc3141e8 | |||
dc73cc3a50 | |||
1433f14a0b | |||
6e3fc49517 | |||
d0f7da7ef6 | |||
b0776fb8b7 | |||
cae3e2323d | |||
ce8497e61f | |||
72eaac478f | |||
776d9891d9 | |||
![]() |
6e37911462 | ||
![]() |
d2cad3a9f7 | ||
3f94097f73 | |||
e45422755f | |||
09b5cb4be4 | |||
50f18ff803 | |||
![]() |
6c733d54fc | ||
64bdb9fb76 | |||
389a3013b5 | |||
21c2012c15 | |||
e309c4a814 | |||
95a39e5a12 | |||
![]() |
2c587dd848 | ||
07f67414a9 | |||
da4cbfd112 | |||
e392c1fcc7 | |||
eeacf9b969 | |||
cf13e2f7d5 | |||
5db530f4e8 | |||
d42e8115ec | |||
4f68414a8a | |||
9fd9eac16a | |||
c4e3ba10c6 | |||
3c632d4abc | |||
ccb2bab805 | |||
a5a0d389e2 | |||
97dbfad875 | |||
![]() |
51ef1d127d | ||
![]() |
31301c4717 | ||
![]() |
b01a9edc1e | ||
ac1041fa10 | |||
f7a692248e | |||
49500f0926 | |||
77cf0f09b4 | |||
![]() |
4292581840 | ||
d9018c44e7 | |||
490c61c225 | |||
021bcb3c65 | |||
8e433cc28e | |||
33972bed19 | |||
![]() |
ed65bded13 | ||
![]() |
c5e145e4f6 | ||
2c4a8a79ee | |||
42180012fe | |||
00268c8fac | |||
eabfcf7b82 | |||
264b444464 | |||
![]() |
b1efb03958 | ||
821ce21e24 | |||
![]() |
02b0fa9b6d | ||
![]() |
315a897444 | ||
820f82e977 | |||
126eff7614 | |||
82eeaeb351 | |||
78f83eb2a5 | |||
![]() |
e38a706931 | ||
![]() |
8a8507395f | ||
![]() |
e0faa6403f | ||
![]() |
88391824eb | ||
![]() |
b6f1c9cdb5 |
@@ -27,7 +27,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
|
@@ -32,9 +32,9 @@ namespace AdjustBuildRevision
|
||||
{
|
||||
// Allow for setting build revision on either proms or the roeditor:
|
||||
if (Directory.GetCurrentDirectory().ToUpper().Contains("REFOBJ"))
|
||||
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") + "\")");
|
||||
else
|
||||
outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.1.yyMM.dHH") + "\")");
|
||||
outline = Regex.Replace(line, @"([0-9]*)\.([0-9]*)\.([0-9]*)\.([0-9]*)""\)", DateTime.Now.ToString("2.2.yyMM.dHH") + "\")");
|
||||
// if (outline != line)
|
||||
// {
|
||||
// Console.WriteLine("Before: '{0}'", line);
|
||||
|
@@ -1,3 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1"/></startup></configuration>
|
||||
|
@@ -6,7 +6,7 @@
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1"/>
|
||||
</startup>
|
||||
<userSettings>
|
||||
<Baseline.Properties.Settings>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Baseline</RootNamespace>
|
||||
<AssemblyName>Baseline</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SccProjectName>
|
||||
</SccProjectName>
|
||||
|
@@ -18,7 +18,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>FlexableMessageBox</RootNamespace>
|
||||
<AssemblyName>FlexableMessageBox</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
<SccProjectName>
|
||||
|
@@ -241,6 +241,21 @@ namespace JR.Utils.GUI.Forms
|
||||
return FlexibleMessageBoxForm.Show(owner, text, caption, buttons, icon, defaultButton);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shows the specified message box.
|
||||
/// </summary>
|
||||
/// <param name="owner">The owner.</param>
|
||||
/// <param name="text">The text.</param>
|
||||
/// <param name="caption">The caption.</param>
|
||||
/// <param name="buttons">The buttons.</param>
|
||||
/// <param name="icon">The icon.</param>
|
||||
/// <param name="defaultButton">The default button.</param>
|
||||
/// <returns>The dialog result.</returns>
|
||||
public static DialogResult ShowCustom(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon)
|
||||
{
|
||||
return FlexibleMessageBoxForm.ShowCustom(null, text, caption, buttons, icon);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Internal form class
|
||||
@@ -420,15 +435,15 @@ namespace JR.Utils.GUI.Forms
|
||||
private static readonly String STANDARD_MESSAGEBOX_SEPARATOR_SPACES = " ";
|
||||
|
||||
//These are the possible buttons (in a standard MessageBox)
|
||||
private enum ButtonID { OK = 0, CANCEL, YES, NO, ABORT, RETRY, IGNORE };
|
||||
|
||||
private enum ButtonID { OK = 0, CANCEL, YES, NO, ABORT, RETRY, IGNORE, OVERWRITE, RENAME };
|
||||
|
||||
//These are the buttons texts for different languages.
|
||||
//If you want to add a new language, add it here and in the GetButtonText-Function
|
||||
private enum TwoLetterISOLanguageID { en, de, es, it };
|
||||
private static readonly String[] BUTTON_TEXTS_ENGLISH_EN = { "OK", "Cancel", "&Yes", "&No", "&Abort", "&Retry", "&Ignore" }; //Note: This is also the fallback language
|
||||
private static readonly String[] BUTTON_TEXTS_GERMAN_DE = { "OK", "Abbrechen", "&Ja", "&Nein", "&Abbrechen", "&Wiederholen", "&Ignorieren" };
|
||||
private static readonly String[] BUTTON_TEXTS_SPANISH_ES = { "Aceptar", "Cancelar", "&Sí", "&No", "&Abortar", "&Reintentar", "&Ignorar" };
|
||||
private static readonly String[] BUTTON_TEXTS_ITALIAN_IT = { "OK", "Annulla", "&Sì", "&No", "&Interrompi", "&Riprova", "&Ignora" };
|
||||
private static readonly String[] BUTTON_TEXTS_ENGLISH_EN = { "OK", "Cancel", "&Yes", "&No", "&Abort", "&Retry", "&Ignore", "&Overwrite", "&Rename" }; //Note: This is also the fallback language
|
||||
private static readonly String[] BUTTON_TEXTS_GERMAN_DE = { "OK", "Abbrechen", "&Ja", "&Nein", "&Abbrechen", "&Wiederholen", "&Ignorieren", "&Overwrite", "&Rename" };
|
||||
private static readonly String[] BUTTON_TEXTS_SPANISH_ES = { "Aceptar", "Cancelar", "&Sí", "&No", "&Abortar", "&Reintentar", "&Ignorar", "&Overwrite", "&Rename" };
|
||||
private static readonly String[] BUTTON_TEXTS_ITALIAN_IT = { "OK", "Annulla", "&Sì", "&No", "&Interrompi", "&Riprova", "&Ignora", "&Overwrite", "&Rename" };
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -693,6 +708,7 @@ namespace JR.Utils.GUI.Forms
|
||||
|
||||
flexibleMessageBoxForm.CancelButton = flexibleMessageBoxForm.button3;
|
||||
break;
|
||||
|
||||
|
||||
case MessageBoxButtons.OK:
|
||||
default:
|
||||
@@ -709,16 +725,38 @@ namespace JR.Utils.GUI.Forms
|
||||
flexibleMessageBoxForm.defaultButton = defaultButton;
|
||||
}
|
||||
|
||||
#endregion
|
||||
private static void SetDialogButtonsCustom(FlexibleMessageBoxForm flexibleMessageBoxForm)
|
||||
{
|
||||
flexibleMessageBoxForm.visibleButtonsCount = 3;
|
||||
|
||||
#region Private event handlers
|
||||
flexibleMessageBoxForm.button1.Visible = true;
|
||||
flexibleMessageBoxForm.button1.Text = flexibleMessageBoxForm.GetButtonText(ButtonID.CANCEL);
|
||||
flexibleMessageBoxForm.button1.DialogResult = DialogResult.Abort;
|
||||
|
||||
/// <summary>
|
||||
/// Handles the Shown event of the FlexibleMessageBoxForm control.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
|
||||
private void FlexibleMessageBoxForm_Shown(object sender, EventArgs e)
|
||||
flexibleMessageBoxForm.button2.Visible = true;
|
||||
flexibleMessageBoxForm.button2.Text = flexibleMessageBoxForm.GetButtonText(ButtonID.OVERWRITE);
|
||||
flexibleMessageBoxForm.button2.DialogResult = DialogResult.Retry;
|
||||
|
||||
flexibleMessageBoxForm.button3.Visible = true;
|
||||
flexibleMessageBoxForm.button3.Text = flexibleMessageBoxForm.GetButtonText(ButtonID.RENAME);
|
||||
flexibleMessageBoxForm.button3.DialogResult = DialogResult.Ignore;
|
||||
|
||||
flexibleMessageBoxForm.ControlBox = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private event handlers
|
||||
|
||||
/// <summary>
|
||||
/// Handles the Shown event of the FlexibleMessageBoxForm control.
|
||||
/// </summary>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
|
||||
private void FlexibleMessageBoxForm_Shown(object sender, EventArgs e)
|
||||
{
|
||||
int buttonIndexToFocus = 1;
|
||||
Button buttonToFocus;
|
||||
@@ -866,6 +904,46 @@ namespace JR.Utils.GUI.Forms
|
||||
return flexibleMessageBoxForm.ShowDialog(owner);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Shows the specified message box.
|
||||
/// </summary>
|
||||
/// <param name="owner">The owner.</param>
|
||||
/// <param name="text">The text.</param>
|
||||
/// <param name="caption">The caption.</param>
|
||||
/// <param name="buttons">The buttons.</param>
|
||||
/// <param name="icon">The icon.</param>
|
||||
/// <param name="defaultButton">The default button.</param>
|
||||
/// <returns>The dialog result.</returns>
|
||||
public static DialogResult ShowCustom(IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon)
|
||||
{
|
||||
//Create a new instance of the FlexibleMessageBox form
|
||||
var flexibleMessageBoxForm = new FlexibleMessageBoxForm();
|
||||
flexibleMessageBoxForm.ShowInTaskbar = false;
|
||||
|
||||
//Bind the caption and the message text
|
||||
flexibleMessageBoxForm.CaptionText = caption;
|
||||
flexibleMessageBoxForm.MessageText = text;
|
||||
flexibleMessageBoxForm.FlexibleMessageBoxFormBindingSource.DataSource = flexibleMessageBoxForm;
|
||||
|
||||
//Set the buttons visibilities and texts. Also set a default button.
|
||||
SetDialogButtonsCustom(flexibleMessageBoxForm);
|
||||
|
||||
//Set the dialogs icon. When no icon is used: Correct placement and width of rich text box.
|
||||
SetDialogIcon(flexibleMessageBoxForm, icon);
|
||||
|
||||
//Set the font for all controls
|
||||
flexibleMessageBoxForm.Font = FONT;
|
||||
flexibleMessageBoxForm.richTextBoxMessage.Font = FONT;
|
||||
|
||||
//Calculate the dialogs start size (Try to auto-size width to show longest text row). Also set the maximum dialog size.
|
||||
SetDialogSizes(flexibleMessageBoxForm, text, caption);
|
||||
|
||||
//Set the dialogs start position when given. Otherwise center the dialog on the current screen.
|
||||
SetDialogStartPosition(flexibleMessageBoxForm, owner);
|
||||
//Show the dialog
|
||||
return flexibleMessageBoxForm.ShowDialog(owner);
|
||||
}
|
||||
|
||||
#endregion
|
||||
} //class FlexibleMessageBoxForm
|
||||
|
||||
|
@@ -18,7 +18,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
@@ -126,6 +126,7 @@
|
||||
<Content Include="fmtall\BVPSAOPall.xml" />
|
||||
<Content Include="fmtall\BVPSAtchall.xml" />
|
||||
<Content Include="fmtall\BVPSBCKall.xml" />
|
||||
<Content Include="fmtall\BVPSAOPDEVall.xml" />
|
||||
<Content Include="fmtall\BVPSFlexDEVall.xml" />
|
||||
<Content Include="fmtall\BVPSDEVall.xml" />
|
||||
<Content Include="fmtall\BVPSNIBCKall.xml" />
|
||||
@@ -406,6 +407,7 @@
|
||||
<Content Include="genmacall\BVPSAOP.svg" />
|
||||
<Content Include="genmacall\BVPSAtch.svg" />
|
||||
<Content Include="genmacall\BVPSbck.svg" />
|
||||
<Content Include="genmacall\BVPSAOPdev.svg" />
|
||||
<Content Include="genmacall\BVPSFlexdev.svg" />
|
||||
<Content Include="genmacall\BVPSdev.svg" />
|
||||
<Content Include="genmacall\BVPSNIBCK.svg" />
|
||||
|
@@ -1,3 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1"/></startup></configuration>
|
||||
|
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/BVPSAOPDEVall.xml
Normal file
BIN
PROMS/Formats/fmtall/BVPSAOPDEVall.xml
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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/genmacall/BVPSAOPdev.svg
Normal file
BIN
PROMS/Formats/genmacall/BVPSAOPdev.svg
Normal file
Binary file not shown.
Binary file not shown.
@@ -18,7 +18,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
|
@@ -33,7 +33,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup><runtime>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1"/></startup><runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.0.3705">
|
||||
</assemblyBinding></runtime></configuration>
|
||||
|
@@ -23,8 +23,8 @@ using System.Runtime.CompilerServices;
|
||||
// Build YYMM (two digit year, two digit month)
|
||||
// Revision DHH (day - no leading zero, two digit hour - military time
|
||||
//
|
||||
[assembly: AssemblyVersion("2.2.2306.2212")]
|
||||
[assembly: AssemblyFileVersion("2.2.2306.2212")]
|
||||
[assembly: AssemblyVersion("2.3.2404.1611")]
|
||||
[assembly: AssemblyFileVersion("2.3.2404.1611")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
@@ -89,6 +89,8 @@ using System.Runtime.CompilerServices;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -44,7 +44,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup><runtime>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1"/></startup><runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v1.0.3705">
|
||||
</assemblyBinding></runtime>
|
||||
<appSettings>
|
||||
|
@@ -35,7 +35,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
@@ -18,7 +18,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
|
@@ -35,7 +35,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
@@ -35,7 +35,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
@@ -35,7 +35,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
@@ -51,7 +51,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
|
@@ -46,7 +46,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
@@ -35,7 +35,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
@@ -35,7 +35,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
@@ -60,6 +60,6 @@
|
||||
</logger>
|
||||
</log4net>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
|
@@ -9,7 +9,7 @@
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>RoAccessToSql</RootNamespace>
|
||||
<AssemblyName>RoAccessToSql</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
<SccProjectName>
|
||||
|
@@ -33,7 +33,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<OldToolsVersion>2.0</OldToolsVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
|
@@ -1,73 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
|
||||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<section name="VEPROMS.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
<section name="UISampleNetBar1.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
|
||||
<section name="VEPROMS.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
|
||||
<section name="UISampleNetBar1.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/>
|
||||
</sectionGroup>
|
||||
</configSections>
|
||||
<log4net>
|
||||
<appender name="LogFileAppender" type="log4net.Appender.FileAppender">
|
||||
<param name="File" value="${USERPROFILE}/My Documents/VEPROMS/ErrorLog.txt" />
|
||||
<param name="File" value="${USERPROFILE}/My Documents/VEPROMS/ErrorLog.txt"/>
|
||||
<!--<param name="File" value="${APPDATA}/Volian/Proms2010/ErrorLog.txt" />-->
|
||||
<!--<param name="File" value="${LOCALAPPDATA}/Temp/VEPROMS/ErrorLog.txt" />-->
|
||||
<param name="AppendToFile" value="true" />
|
||||
<param name="AppendToFile" value="true"/>
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<!--<param name="Header" value="[Header]\r\n" />-->
|
||||
<!--<param name="Footer" value="[Footer]\r\n" />-->
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n" />
|
||||
<param name="ConversionPattern" value="%d [%t] %-5p %c - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender">
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<conversionPattern value="--> %date [%thread] %-5level %logger (%property{log4net:HostName}) [%ndc] - %message%newline" />
|
||||
<conversionPattern value="--> %date [%thread] %-5level %logger (%property{log4net:HostName}) [%ndc] - %message%newline"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<appender name="EventLogAppender" type="log4net.Appender.EventLogAppender">
|
||||
<threshold value="WARN" />
|
||||
<threshold value="WARN"/>
|
||||
<mapping>
|
||||
<level value="DEBUG" />
|
||||
<eventLogEntryType value="Information" />
|
||||
<level value="DEBUG"/>
|
||||
<eventLogEntryType value="Information"/>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="INFO" />
|
||||
<eventLogEntryType value="Information" />
|
||||
<level value="INFO"/>
|
||||
<eventLogEntryType value="Information"/>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="WARN" />
|
||||
<eventLogEntryType value="Warning" />
|
||||
<level value="WARN"/>
|
||||
<eventLogEntryType value="Warning"/>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="ERROR" />
|
||||
<eventLogEntryType value="Error" />
|
||||
<level value="ERROR"/>
|
||||
<eventLogEntryType value="Error"/>
|
||||
</mapping>
|
||||
<mapping>
|
||||
<level value="FATAL" />
|
||||
<eventLogEntryType value="Error" />
|
||||
<level value="FATAL"/>
|
||||
<eventLogEntryType value="Error"/>
|
||||
</mapping>
|
||||
<layout type="log4net.Layout.PatternLayout">
|
||||
<param name="ConversionPattern" value="---> %d [%t] %-5p %c - %m%n" />
|
||||
<param name="ConversionPattern" value="---> %d [%t] %-5p %c - %m%n"/>
|
||||
</layout>
|
||||
</appender>
|
||||
<root>
|
||||
<level value="ALL" />
|
||||
<appender-ref ref="ConsoleAppender" />
|
||||
<appender-ref ref="LogFileAppender" />
|
||||
<appender-ref ref="EventLogAppender" />
|
||||
<level value="ALL"/>
|
||||
<appender-ref ref="ConsoleAppender"/>
|
||||
<appender-ref ref="LogFileAppender"/>
|
||||
<appender-ref ref="EventLogAppender"/>
|
||||
</root>
|
||||
<logger name="VEPROMS.CSLA.Library">
|
||||
<level value="INFO" />
|
||||
<level value="INFO"/>
|
||||
</logger>
|
||||
<logger name="Volian.Controls.Library">
|
||||
<level value="INFO" />
|
||||
<level value="INFO"/>
|
||||
</logger>
|
||||
</log4net>
|
||||
<appSettings>
|
||||
<add key="OperatingMode" value="Production" />
|
||||
<add key="OperatingMode" value="Production"/>
|
||||
<!--"Debug" "Production" "Demo"/-->
|
||||
<add key="OriginalPageBreak" value="False" />
|
||||
<add key="CslaAuthentication" value="Windows" />
|
||||
<add key="OriginalPageBreak" value="False"/>
|
||||
<add key="CslaAuthentication" value="Windows"/>
|
||||
<!--
|
||||
<add key="CslaDataPortalProxy"
|
||||
value="Csla.DataPortalClient.RemotingProxy, Csla"/>
|
||||
@@ -85,17 +85,17 @@
|
||||
value="EnterpriseServicesHost.EnterpriseServicesProxy,
|
||||
EnterpriseServicesHost"/>
|
||||
-->
|
||||
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
||||
<add key="ClientSettingsProvider.ServiceUri" value=""/>
|
||||
</appSettings>
|
||||
<connectionStrings>
|
||||
<add name="VEPROMS" connectionString="Data Source=VOLIAN-SERVER;User Id=proms2010;password=proms2010;Initial Catalog=VEPROMS" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_LOCAL" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_RMARK_DEBUG" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_RMARK_DEMO" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS" connectionString="Data Source=VOLIAN-SERVER;User Id=proms2010;password=proms2010;Initial Catalog=VEPROMS" providerName="System.Data.SqlClient"/>
|
||||
<add name="VEPROMS_LOCAL" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient"/>
|
||||
<add name="VEPROMS_RMARK_DEBUG" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient"/>
|
||||
<add name="VEPROMS_RMARK_DEMO" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient"/>
|
||||
<!--<add name="VEPROMS_BODINE_DEBUG" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEMO" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />-->
|
||||
<add name="VEPROMS_BODINE_DEBUG" connectionString="Data Source=JCB2-HP\VOLIAN08;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEMO" connectionString="Data Source=JCB2-HP\VOLIAN08;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEBUG" connectionString="Data Source=JCB2-HP\VOLIAN08;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient"/>
|
||||
<add name="VEPROMS_BODINE_DEMO" connectionString="Data Source=JCB2-HP\VOLIAN08;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient"/>
|
||||
<!--<add name="VEPROMS_BODINE_DEBUG" connectionString="Data Source=JCB2-HP\VOLIAN12;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />
|
||||
<add name="VEPROMS_BODINE_DEMO" connectionString="Data Source=JCB2-HP\VOLIAN12;Initial Catalog={MENU};Integrated Security=True" providerName="System.Data.SqlClient" />-->
|
||||
</connectionStrings>
|
||||
@@ -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,10 +150,10 @@
|
||||
<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>
|
||||
@@ -181,18 +181,22 @@
|
||||
</UISampleNetBar1.Properties.Settings>
|
||||
</userSettings>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2" />
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8.1"/>
|
||||
</startup>
|
||||
<runtime>
|
||||
<AppContextSwitchOverrides
|
||||
value="Switch.System.Windows.Forms.DoNotLoadLatestRichEditControl=true" />
|
||||
</runtime>
|
||||
<system.web>
|
||||
<membership defaultProvider="ClientAuthenticationMembershipProvider">
|
||||
<providers>
|
||||
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" />
|
||||
<add name="ClientAuthenticationMembershipProvider" type="System.Web.ClientServices.Providers.ClientFormsAuthenticationMembershipProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri=""/>
|
||||
</providers>
|
||||
</membership>
|
||||
<roleManager defaultProvider="ClientRoleProvider" enabled="true">
|
||||
<providers>
|
||||
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400" />
|
||||
<add name="ClientRoleProvider" type="System.Web.ClientServices.Providers.ClientRoleProvider, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" serviceUri="" cacheTimeout="86400"/>
|
||||
</providers>
|
||||
</roleManager>
|
||||
</system.web>
|
||||
</configuration>
|
||||
</configuration>
|
||||
|
@@ -18,14 +18,14 @@ namespace VEPROMS
|
||||
{
|
||||
public bool SaveLinks
|
||||
{
|
||||
get
|
||||
{
|
||||
get
|
||||
{
|
||||
return swtbtnPDFLinks.Value;
|
||||
}
|
||||
}
|
||||
public int RemoveTrailingHardReturnsAndManualPageBreaks
|
||||
{
|
||||
get
|
||||
get
|
||||
{
|
||||
// C2021-010: Remove trailing returns/spaces & manual page breaks & allow save.
|
||||
// return values: 0=None; 1=Trailing; 2=ManualPgBrk; 3=Both.
|
||||
@@ -33,7 +33,7 @@ namespace VEPROMS
|
||||
if (!cbxRemoveManualPgBrk.Checked && !cbxRemoveTrailing.Checked) return 0;
|
||||
if (!cbxRemoveManualPgBrk.Checked && cbxRemoveTrailing.Checked) return 1;
|
||||
if (cbxRemoveManualPgBrk.Checked && !cbxRemoveTrailing.Checked) return 2;
|
||||
return 3;
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
private string _Prefix = ""; // RHM20150506 Multiline ItemID TextBox
|
||||
@@ -59,10 +59,8 @@ namespace VEPROMS
|
||||
get { return _Automatic; }
|
||||
set { _Automatic = value; }
|
||||
}
|
||||
// C2024-003 parameter contains parent section, child section, issubsection flag.
|
||||
// C2024-003 values needed to print section.
|
||||
private int[] _prtSectID = new int[] { -1, -1, 0 };
|
||||
public int[] PrtSectID
|
||||
private int _prtSectID = -1;
|
||||
public int PrtSectID
|
||||
{
|
||||
get { return _prtSectID; }
|
||||
set { _prtSectID = value; }
|
||||
@@ -75,8 +73,8 @@ namespace VEPROMS
|
||||
public bool AllowDateTimePrefixSuffix
|
||||
{
|
||||
get { return _AllowDateTimePrefixSuffix; }
|
||||
set
|
||||
{
|
||||
set
|
||||
{
|
||||
_AllowDateTimePrefixSuffix = value;
|
||||
swtbtnPDFdtPrefixSuffix.Value = swtbtnPDFdtPrefixSuffix.Enabled = _AllowDateTimePrefixSuffix;
|
||||
}
|
||||
@@ -88,7 +86,7 @@ namespace VEPROMS
|
||||
{
|
||||
cbxDebugPagination.Checked = true;
|
||||
cbxDebugText.Checked = true;
|
||||
cbxMetaFile.Checked = true; // C2018-004 create meta file for baseline compares
|
||||
cbxMetaFile.Checked = true; // C2018-004 create meta file for baseline compares
|
||||
_IncludeWordSecTextInMetafile = true;
|
||||
Application.DoEvents();
|
||||
string[] parameters = System.Environment.CommandLine.Split(" ".ToCharArray());
|
||||
@@ -103,7 +101,7 @@ namespace VEPROMS
|
||||
cbxDebug.Checked = false;
|
||||
else if (parameter.ToUpper() == "/NM")
|
||||
cbxMetaFile.Checked = false; // C2018-004 turn off create meta file for baseline compares
|
||||
else if (parameter.ToUpper() == "/NW")
|
||||
else if (parameter.ToUpper() == "/NW")
|
||||
_IncludeWordSecTextInMetafile = false; // C2018-023 turn off putting Word attachment text in the meta file for baseline compares
|
||||
}
|
||||
CreatePDFs();
|
||||
@@ -145,11 +143,10 @@ namespace VEPROMS
|
||||
}
|
||||
public string PDFPath
|
||||
{
|
||||
get
|
||||
{// B2018-069 Revert to Temporary for Baseline testing
|
||||
get {// B2018-069 Revert to Temporary for Baseline testing
|
||||
if (PromsPrinter.BaselineTesting)
|
||||
return VlnSettings.TemporaryFolder;
|
||||
return txbPDFLocation.Text;
|
||||
return txbPDFLocation.Text;
|
||||
}
|
||||
set { txbPDFLocation.Text = value; }
|
||||
}
|
||||
@@ -193,7 +190,7 @@ namespace VEPROMS
|
||||
if (_MyProcedure != null && _MyProcedure.ProcHasSupInfoData)
|
||||
{
|
||||
swtbtnBlankPgsForDuplex.Enabled = false;
|
||||
tbBlankPage.Enabled = true; // C2019-004: Allow user to define duplex blank page text (similar changes throughout file are not commented)
|
||||
tbBlankPage.Enabled = true; // C2019-004: Allow user to define duplex blank page text (similar changes throughout file are not commented)
|
||||
}
|
||||
btnCreatePDF.Text = "Create PDFs";
|
||||
HandleDocVersionSettings();
|
||||
@@ -238,7 +235,7 @@ namespace VEPROMS
|
||||
gpnlDebug.Visible = Volian.Base.Library.VlnSettings.DebugMode;
|
||||
swtbtnGeneratePlacekeeper.Value = false;
|
||||
cbxGenerateConActSum.Checked = false;
|
||||
swtbtnGeneratePlacekeeper.Visible = lblGeneratePlacekeeper.Visible = oneProcedure &&
|
||||
swtbtnGeneratePlacekeeper.Visible = lblGeneratePlacekeeper.Visible = oneProcedure &&
|
||||
((MyProcedure.ActiveFormat.PlantFormat.FormatData.PurchaseOptions & E_PurchaseOptions.AutoPlacekeeper) == E_PurchaseOptions.AutoPlacekeeper);
|
||||
// C2021-062 make visable the check box to assign rev number for all procedures being printed
|
||||
// also make visable the Rev Num entry field.
|
||||
@@ -283,7 +280,7 @@ namespace VEPROMS
|
||||
expPrnSetting.Expanded = swtbtnBlankPgsForDuplex.Value || swtbtnChgBar.Value || swtbtnGeneratePlacekeeper.Value || swtbtnPDFLinks.Value || swtbtnPROMSVersion.Value || swtbtnWaterMark.Value || swtbtnPDFdtPrefixSuffix.Value;
|
||||
}
|
||||
public DlgPrintProcedure(ProcedureInfo pi, bool automatic) // RHM20150506 Multiline ItemID TextBox
|
||||
{
|
||||
{
|
||||
InitializeComponent();
|
||||
Automatic = automatic;
|
||||
_AllProcedures = false;
|
||||
@@ -312,7 +309,7 @@ namespace VEPROMS
|
||||
{
|
||||
base.OnActivated(e);
|
||||
if (Owner != null)
|
||||
Location = new Point(Owner.Left + Owner.Width / 2 - Width / 2, Owner.Top + Owner.Height / 2 - Height / 2);
|
||||
Location = new Point(Owner.Left + Owner.Width / 2 - Width / 2, Owner.Top + Owner.Height/2 - Height/2);
|
||||
}
|
||||
private void HandleDocVersionSettings()
|
||||
{
|
||||
@@ -326,10 +323,10 @@ namespace VEPROMS
|
||||
// if the default setting is 'SelectBeforePrinting', expand the Additional Print Settings panel
|
||||
if (_DocVersionConfig.Print_ChangeBar == PrintChangeBar.SelectBeforePrinting)
|
||||
{
|
||||
swtbtnChgBar.Value = false;
|
||||
cbxOvrrideDefChgBars.Checked = false;
|
||||
expPrnSetting.Expanded = true;
|
||||
}
|
||||
swtbtnChgBar.Value = false;
|
||||
cbxOvrrideDefChgBars.Checked = false;
|
||||
expPrnSetting.Expanded = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void GetDocVersionSettings()
|
||||
@@ -344,14 +341,14 @@ namespace VEPROMS
|
||||
cbxOpenAfterCreate2.Checked = _DocVersionConfig.Print_AlwaysViewPDFAfterCreate;
|
||||
// Changebars on/off
|
||||
if (_DocVersionConfig.Print_ChangeBar == PrintChangeBar.Without)
|
||||
swtbtnChgBar.Value = false;
|
||||
swtbtnChgBar.Value = false;
|
||||
else
|
||||
swtbtnChgBar.Value = true;
|
||||
swtbtnChgBar.Value = true;
|
||||
// Watermark on/off
|
||||
if (_DocVersionConfig.Print_Watermark == PrintWatermark.None)
|
||||
swtbtnWaterMark.Value = false;
|
||||
swtbtnWaterMark.Value = false;
|
||||
else
|
||||
swtbtnWaterMark.Value = true;
|
||||
swtbtnWaterMark.Value = true;
|
||||
// Auto Duplexing on/off - Auto duplex was used only by Point Beach formats These buttons were removed from the dialog
|
||||
// There was not print coding to support this format flag
|
||||
|
||||
@@ -376,7 +373,7 @@ namespace VEPROMS
|
||||
// default to using OriginalPageBreaks (16bit page breaks) if App.config is set
|
||||
// to true:
|
||||
//cbxOrPgBrk.Visible = VlnSettings.OriginalPageBreak && VlnSettings.DebugMode;
|
||||
cbxOrPgBrk.Visible = false; //per Harry
|
||||
cbxOrPgBrk.Visible = false; //per Harry
|
||||
cbxOrPgBrk.Checked = false;
|
||||
}
|
||||
|
||||
@@ -413,7 +410,7 @@ namespace VEPROMS
|
||||
private Timer _MyTimer;
|
||||
public void SetupForProcedure() // RHM20150506 Multiline ItemID TextBox
|
||||
{
|
||||
if (_DocVersionInfo == null) this.Text = "Create PDF for " + ProcNum;
|
||||
if(_DocVersionInfo == null)this.Text = "Create PDF for " + ProcNum;
|
||||
// get list of previous pdf files
|
||||
// if no previous pdf file, then get path from frmVersionProperties
|
||||
// dlgSelectFile.InitialDirectory = pdf path from frmVersionProperties
|
||||
@@ -422,20 +419,20 @@ namespace VEPROMS
|
||||
//txbPDFLocation.Text = _PDFPath;
|
||||
BuildPDFFileName();
|
||||
ProcedureConfig pc = _MyProcedure.MyConfig as ProcedureConfig;
|
||||
if (SelectedSlave > 0) pc.SelectedSlave = SelectedSlave;
|
||||
if(SelectedSlave > 0) pc.SelectedSlave = SelectedSlave;
|
||||
if (pc != null)
|
||||
{
|
||||
//C2021-062 use the save rev number for all procedures if set, or just use the rev number in the current procedure config
|
||||
RevNum = (_NewRevForAllProcs == null) ? pc.Print_Rev : _NewRevForAllProcs;
|
||||
RevDate = pc.Print_RevDate; //== null || pc.Print_RevDate=="" ? DateTime.Today : Convert.ToDateTime(pc.Print_RevDate);
|
||||
ReviewDate = pc.Print_ReviewDate; // == null ? DateTime.Today : Convert.ToDateTime(pc.Print_ReviewDate);
|
||||
//Now check the format flags to determine if/how the Rev string should be parsed.
|
||||
//Now check the format flags to determine if/how the Rev string should be parsed.
|
||||
// This will covert the old way (16-bit) of setting a RevDate (appending it to the RevNumber)
|
||||
// to the new way saving the RevNumber and RevDate in there own config fields
|
||||
if ((_MyProcedure.ActiveFormat.PlantFormat.FormatData.PrintData.DoRevDate && RevNum.Contains("/"))
|
||||
|| (_MyProcedure.ActiveFormat.PlantFormat.FormatData.PrintData.RevDateWithForwardSlash && RevNum.Contains("\\")))
|
||||
|| (_MyProcedure.ActiveFormat.PlantFormat.FormatData.PrintData.RevDateWithForwardSlash && RevNum.Contains("\\")))
|
||||
{
|
||||
int indx = RevNum.IndexOf(_MyProcedure.ActiveFormat.PlantFormat.FormatData.PrintData.RevDateWithForwardSlash ? '\\' : '/');
|
||||
int indx = RevNum.IndexOf(_MyProcedure.ActiveFormat.PlantFormat.FormatData.PrintData.RevDateWithForwardSlash ? '\\' : '/');
|
||||
pc.Print_RevDate = RevDate = RevNum.Substring(indx + 1);
|
||||
pc.Print_Rev = RevNum = RevNum.Substring(0, indx);
|
||||
// save the RevNumber and RevDate to the procedure's config.
|
||||
@@ -533,8 +530,8 @@ namespace VEPROMS
|
||||
if (dtPre != PDFDTPrefix.None) PDFFilePrefix = ""; // incase user entered prefix text but then selected a date/time (in working draft properties)
|
||||
if (dtSuf != PDFDTSuffix.None) PDFFileSuffix = ""; // incase user entered suffix text but then selected a date/time (in working draft properties)
|
||||
// B2020-062 control the toggle of date/time prefix/suffix on pdf file name
|
||||
// disable the date/time Prefix/Suffix switch if no date/time was selected
|
||||
// This switch is does not affect the use of it if the user typed in text for prefix/suffix
|
||||
// disable the date/time Prefix/Suffix switch if no date/time was selected
|
||||
// This switch is does not affect the use of it if the user typed in text for prefix/suffix
|
||||
if (!AllowDateTimePrefixSuffix || (dtPre == PDFDTPrefix.None && dtSuf == PDFDTSuffix.None))
|
||||
{
|
||||
swtbtnPDFdtPrefixSuffix.Value = false;
|
||||
@@ -610,7 +607,7 @@ namespace VEPROMS
|
||||
|
||||
private void swtbtnWaterMark_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!swtbtnWaterMark.Value) // C2021-019: make both invisible
|
||||
if (!swtbtnWaterMark.Value) // C2021-019: make both invisible
|
||||
{
|
||||
cbxWaterMark.Visible = swtbtnWaterMark.Value;
|
||||
lblWaterMarkOvrd.Visible = swtbtnWaterMark.Value;
|
||||
@@ -637,7 +634,7 @@ namespace VEPROMS
|
||||
if (!Directory.Exists(PDFPath))
|
||||
{
|
||||
string msg = string.Format("'{0}' does not exist. \n\nCreate it?", PDFPath);
|
||||
DialogResult dr = MessageBox.Show(msg, "Folder Not Found", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
DialogResult dr= MessageBox.Show(msg, "Folder Not Found", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
if (dr == DialogResult.Yes)
|
||||
{
|
||||
try
|
||||
@@ -671,7 +668,7 @@ namespace VEPROMS
|
||||
public ProcedureInfo MyProcedure
|
||||
{
|
||||
get { return _MyProcedure; }
|
||||
set
|
||||
set
|
||||
{
|
||||
_MyProcedure = value;
|
||||
// if procedure has supplemental information, the automatially check the add blank pages for duplex printing
|
||||
@@ -733,11 +730,11 @@ namespace VEPROMS
|
||||
int i = 0;
|
||||
pbPDFsStatus.Maximum = n;
|
||||
pbPDFsStatus.Visible = true;
|
||||
VlnSvgPageHelper.CountInApplProcs = 1; // B2021-127: BNPPalr - Auto set of serial #, skip Front Matter as per PAL 11/1/21 (set to 1 not 0)
|
||||
VlnSvgPageHelper.CountInApplProcs = 1; // B2021-127: BNPPalr - Auto set of serial #, skip Front Matter as per PAL 11/1/21 (set to 1 not 0)
|
||||
this.Text = string.Format("Processing {0}", _DocVersionInfo.MyFolder.Name);
|
||||
foreach (ProcedureInfo myProc in _DocVersionInfo.Procedures)
|
||||
{
|
||||
string locpdfname = null; // get pdf file name for later merge code
|
||||
string locpdfname = null; // get pdf file name for later merge code
|
||||
MyProcedure = myProc;
|
||||
// C2021-019: Override Watermark Text, 'waterMarkText' will have whatever watermark text should be printed
|
||||
ProcedureConfig procConfig = MyProcedure.MyConfig as ProcedureConfig;
|
||||
@@ -774,7 +771,7 @@ namespace VEPROMS
|
||||
|
||||
string myPDFPath = GetMultiunitPDFPath();
|
||||
_MergedPdfPath = myPDFPath; // If Slave, need its subdirectory/unit path for merging
|
||||
// RHM 20120925 Overlay the bottom of the dialog so that cancel button is covered.
|
||||
// RHM 20120925 Overlay the bottom of the dialog so that cancel button is covered.
|
||||
// B2021-102 put in the using for better memory management
|
||||
using (frmPDFStatusForm frmStatus = new frmPDFStatusForm(MyProcedure, RevNumAndDate, waterMarkText, cbxDebug.Checked, cbxOrPgBrk.Checked,
|
||||
cbxOpenAfterCreate2.Checked, cbxOverwritePDF2.Checked, myPDFPath, cbd, txbPDFName.Text, new Point(Left, Bottom - 50),
|
||||
@@ -874,7 +871,7 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
pbPDFsStatus.Visible = false;
|
||||
if (!Automatic)
|
||||
if(!Automatic)
|
||||
ShowDebugFiles();
|
||||
ProfileTimer.Pop(profileDepth);
|
||||
ProfileTimer.ShowTimerTable();
|
||||
@@ -946,7 +943,7 @@ namespace VEPROMS
|
||||
if (cbxDebugText.Checked)
|
||||
Volian.Base.Library.DebugText.Show();
|
||||
if (cbxMetaFile.Checked)// C2018-004 create meta file for baseline compares
|
||||
Volian.Base.Library.BaselineMetaFile.Show(); // baseline
|
||||
Volian.Base.Library.BaselineMetaFile.Show(); // baseline
|
||||
}
|
||||
public void CreatePDF() // RHM20150506 Multiline ItemID TextBox
|
||||
{
|
||||
@@ -962,8 +959,8 @@ namespace VEPROMS
|
||||
}
|
||||
MyProcedure.SelectedChildToPrint = SelectedSlave; // B2023-035 for BNPP Alarms save the number of the child selected to print
|
||||
// B2021-127: BNPPalr - Auto set of serial #, skip Front Matter as per PAL 11/1/21 (set to 1 not 0)
|
||||
// Only do if set has applicability, printing an individual procedure, need to determine
|
||||
// applicability count.
|
||||
// Only do if set has applicability, printing an individual procedure, need to determine
|
||||
// applicability count.
|
||||
if (MyProcedure.MyDocVersion.MultiUnitCount > 1)
|
||||
{
|
||||
VlnSvgPageHelper.CountInApplProcs = 1;
|
||||
@@ -980,12 +977,12 @@ namespace VEPROMS
|
||||
Volian.Print.Library.Rtf2Pdf.PdfDebug = cbxDebug.Checked;
|
||||
// B2019-044 don't print the watermark if the watermark switch on the print dialog is turned off
|
||||
cbxWaterMark.Visible = true;
|
||||
string waterMarkText = (swtbtnWaterMark.Value) ? cbxWaterMark.Text : "None"; // B2018-124 use text of watermark form drop down list instead of enum value
|
||||
string waterMarkText = (swtbtnWaterMark.Value) ? cbxWaterMark.Text : "None" ; // B2018-124 use text of watermark form drop down list instead of enum value
|
||||
string watermarkColor = "Blue"; // this is the default watermark color
|
||||
frmPDFStatusForm.SetUnitWatermark(MyProcedure, ref waterMarkText, ref watermarkColor); //C2022-004 Unit Designator Watermark
|
||||
ProcedureConfig procConfig = MyProcedure.MyConfig as ProcedureConfig;
|
||||
string waterMarkTextOverride = "";
|
||||
if (procConfig != null) waterMarkTextOverride = procConfig.GetValue("PSI", "WATERMARKOVERRIDE"); // C2021-019: override watermark text
|
||||
if (procConfig != null) waterMarkTextOverride = procConfig.GetValue("PSI", "WATERMARKOVERRIDE"); // C2021-019: override watermark text
|
||||
if (swtbtnWaterMark.Value && waterMarkTextOverride != null && waterMarkTextOverride != "") waterMarkText = waterMarkTextOverride;
|
||||
// Determine change bar settings. First get from config & then see if override from dialog.
|
||||
// Also check that format allows override.
|
||||
@@ -1202,7 +1199,7 @@ namespace VEPROMS
|
||||
grpDateSelector.Text = "Select Revision Date";
|
||||
grpDateSelector.Visible = calDateSelector.Visible = true;
|
||||
//C2021-007 position the calendar to the current RevDate or if no RevDate, position to today's date
|
||||
DateTime initSelDate = (txbDate.Text != null && txbDate.Text.Length != 0) ? Convert.ToDateTime(txbDate.Text) : DateTime.Today;
|
||||
DateTime initSelDate =(txbDate.Text != null && txbDate.Text.Length != 0)? Convert.ToDateTime(txbDate.Text) : DateTime.Today;
|
||||
calDateSelector.DisplayMonth = calDateSelector.SelectedDate = initSelDate;
|
||||
}
|
||||
|
||||
@@ -1301,11 +1298,11 @@ namespace VEPROMS
|
||||
}
|
||||
|
||||
private void expPrnSetting_ExpandedChanging(object sender, DevComponents.DotNetBar.ExpandedChangeEventArgs e)
|
||||
{
|
||||
if (expPrnSetting.Expanded)
|
||||
{
|
||||
if (expPrnSetting.Expanded)
|
||||
//this.Size = new Size(this.Size.Width+(expPrnSetting.Size.Width-expPrnSetting.TitlePanel.Size.Height), this.Size.Height);
|
||||
//else
|
||||
this.Size = new Size(this.Size.Width - (expPrnSetting.Size.Width - expPrnSetting.TitlePanel.Size.Height), this.Size.Height);
|
||||
//else
|
||||
this.Size = new Size(this.Size.Width-(expPrnSetting.Size.Width-expPrnSetting.TitlePanel.Size.Height), this.Size.Height);
|
||||
//Refresh();
|
||||
|
||||
}
|
||||
@@ -1323,6 +1320,10 @@ namespace VEPROMS
|
||||
if (swtbtnPDFLinks.Value)
|
||||
swtbtnPDFdtPrefixSuffix.Value = false;
|
||||
BuildPDFFileName();
|
||||
// C2024-013: When Create RO & Transition Hyperlinks in pdf is ON, disable the MergePdf
|
||||
// button. The Create RO & Transition Hyperlinks option looks for individual file names
|
||||
// for procedures.
|
||||
btnMergePDFs.Enabled = !swtbtnPDFLinks.Value;
|
||||
}
|
||||
|
||||
// C2019-004: Allow user to define duplex blank page text. The text box for blank page text is always enabled for procedures with
|
||||
@@ -1337,12 +1338,12 @@ namespace VEPROMS
|
||||
{
|
||||
DateTime dtStart = DateTime.Now;
|
||||
_MergedPfd = new MergedPdf(PDFPath, _DocVersionInfo);
|
||||
PromsPrinter.MergedLandscapePages = null; // B2019-152: MergedLandscapePages has data set when creating separate pdfs (DoCreatePDF)
|
||||
DoCreatePDF(); // create indivitual pdfs
|
||||
PromsPrinter.MergedLandscapePages = null; // B2019-152: MergedLandscapePages has data set when creating separate pdfs (DoCreatePDF)
|
||||
DoCreatePDF(); // create indivitual pdfs
|
||||
if (_MergedPdfPath != null && _MergedPdfPath != PDFPath) PDFPath = _MergedPfd.Folder = _MergedPdfPath;
|
||||
// C2021-063 pass in whether to generate Alarm Point List text when a merge is done
|
||||
if (!_MergedPfd.DoTheMerge(PromsPrinter.MergedLandscapePages, cbxAlmPtTxt.Checked)) return; // merge them together.
|
||||
// if the property to show the file after printing is set (on the version dialog), display it. Otherwise do a dialog to let user know it's done
|
||||
if (!_MergedPfd.DoTheMerge(PromsPrinter.MergedLandscapePages,cbxAlmPtTxt.Checked)) return; // merge them together.
|
||||
// if the property to show the file after printing is set (on the version dialog), display it. Otherwise do a dialog to let user know it's done
|
||||
if (_DocVersionConfig.Print_MergedPdfsViewAfter)
|
||||
{
|
||||
if (_MergedPfd.MergedPdfs != null && _MergedPfd.MergedPdfs.Count > 0)
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,92 +0,0 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("PROMS")]
|
||||
[assembly: AssemblyDescription("Create, Edit, and Maintain Procedures Sets.")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Volian Enterprises, Inc.")]
|
||||
[assembly: AssemblyProduct("PROMS")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2012. All Rights Reserved.")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("2ffeb031-bf85-4153-baa2-2d4da2fd5556")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build YYMM (two digit year, two digit month)
|
||||
// Revision DHH (day - no leading zero, two digit hour - military time
|
||||
//
|
||||
[assembly: AssemblyVersion("11.6.1205.316")]
|
||||
[assembly: AssemblyFileVersion("11.6.1205.316")]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
2
PROMS/VEPROMS User Interface/VEPROMS.gclicx
Normal file
2
PROMS/VEPROMS User Interface/VEPROMS.gclicx
Normal file
@@ -0,0 +1,2 @@
|
||||
da3d5d14-691f-4908-aa3c-fd3239734232;-8584908724854775808;VkVQUk9NUy5leGU=;ZGEzZDVkMTQtNjkxZi00OTA4LWFhM2MtZmQzMjM5NzM0MjMy,MjQyNzYxODZYWFhYWFhYWDAzNg,Sk9ITi1XSU4xMA,RmFsc2U,ODg0Mw,RmFsc2U,MA,MA,djIwMjQuMQ,,;PxeAWRi6mhDqvUMfJhk9Tniu/8ZnOLQv64hLh05xWM+MPyBs3yYfs3vEn5TLW779QNr1k8F6tV3gOAoLG+JSPZoG3NXmdTe6LJya05W+zWyb0H+jj2ReXN2dNR9fbZNDd3ClAeuzNpsM0pw62aYpOe2Tp6fx9gOFx1/0g8g4/8g
|
||||
da3d5d14-691f-4908-aa3c-fd3239734232;-8584865524854775808;VkVQUk9NUy5leGU=;ZGEzZDVkMTQtNjkxZi00OTA4LWFhM2MtZmQzMjM5NzM0MjMy,NjE5MDczODdYWFhYWFhYWDA1Mw,Q0hSSVM,RmFsc2U,ODg5NA,RmFsc2U,MA,MA,djIwMjQuMQ,,;luo/kWHt4XRAYR+3s8m8QoRagBcvXLv0mHvCYU2VCIeACFord4tdtTGmSUvmGhEmUiAd7YvaTlDlFrlni6CWaVlxa1mdbWuWsNVUkRnyJZ8kOAt1A+3SGfHecCsqotTW7apXjwW5qXLZ/fcgutioe7xaXgniFQysshTdUWt26T8
|
@@ -19,7 +19,7 @@
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v4.6.2</TargetFrameworkVersion>
|
||||
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
@@ -99,12 +99,10 @@
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="C1.Win.C1FlexGrid.2, Version=2.0.20162.188, Culture=neutral, PublicKeyToken=79882d576c6336da, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
</Reference>
|
||||
<Reference Include="C1.Win.C1SpellChecker.2, Version=2.0.20162.188, Culture=neutral, PublicKeyToken=79882d576c6336da, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
</Reference>
|
||||
<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">
|
||||
<HintPath>..\..\..\..\3rdPartyLibraries\CSLA\Csla.dll</HintPath>
|
||||
</Reference>
|
||||
@@ -139,6 +137,7 @@
|
||||
<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>
|
||||
@@ -224,6 +223,12 @@
|
||||
<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>
|
||||
@@ -335,6 +340,9 @@
|
||||
<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>
|
||||
@@ -427,6 +435,7 @@
|
||||
<Compile Include="VlnWeb.Designer.cs">
|
||||
<DependentUpon>VlnWeb.cs</DependentUpon>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="VEPROMS.gclicx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\Separator.png" />
|
||||
@@ -617,4 +626,4 @@
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>cmd /c "$(ProjectDir)FixRev.bat"</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
</Project>
|
||||
|
@@ -99,6 +99,10 @@ namespace VEPROMS
|
||||
MyProcedure = procedureInfo;
|
||||
InitializeComponent();
|
||||
this.Text = mode + " Dialog for " + procedureInfo.DisplayNumber;
|
||||
|
||||
//Preset path for single procedures.
|
||||
PEIPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\VEPROMS\PEI_" + Database.VEPROMS_SqlConnection.Database;
|
||||
txtExport.Text = string.Format(@"{0}\{1}.pxml", PEIPath, MyProcedure.DisplayNumber.Replace("/", "_").Replace("\\", "_"));
|
||||
}
|
||||
private void dlgExportImport_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -172,6 +176,7 @@ namespace VEPROMS
|
||||
}
|
||||
else if (MyProcedure != null)
|
||||
{
|
||||
txtExport.Enabled = true;
|
||||
txtExport.Text = string.Format(@"{0}\{1}.pxml", PEIPath, MyProcedure.DisplayNumber.Replace("/", "_").Replace("\\", "_"));
|
||||
}
|
||||
}
|
||||
@@ -190,6 +195,8 @@ namespace VEPROMS
|
||||
private bool successfullExport = true;
|
||||
private void btnDoExport_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
btnExport.Enabled = false;
|
||||
string msg = "Finished Exporting:\n\n";
|
||||
if (_MyMode.ToUpper().Contains("FORMAT"))
|
||||
@@ -220,6 +227,42 @@ namespace VEPROMS
|
||||
}
|
||||
else if (MyProcedure != null)
|
||||
{
|
||||
var fileLocation = txtExport.Text;
|
||||
if (File.Exists(fileLocation))
|
||||
{ // C2022-029 if an existing export of the same name is found, provide option to overwrite it
|
||||
DialogResult ovewriteEx = FlexibleMessageBox.ShowCustom(null, "There is already another export file with the same name. You can choose to either overwrite the existing file or have the existing file renamed with the original creation date appended.\r\n\r\nSelecting 'Cancel' will cancel the export.", "What would you like to do?", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);// == DialogResult.Yes;
|
||||
|
||||
// Extract directory, filename, and extension
|
||||
string directory = Path.GetDirectoryName(fileLocation);
|
||||
string filename = Path.GetFileNameWithoutExtension(fileLocation);
|
||||
string extension = Path.GetExtension(fileLocation);
|
||||
fileLocation = $"{directory}\\{filename}{extension}";
|
||||
|
||||
if (ovewriteEx == DialogResult.Abort)
|
||||
{
|
||||
MessageBox.Show("Export has been cancelled", "You have chosen to cancel the export.", MessageBoxButtons.OK, MessageBoxIcon.Information); // C2020-042 changed mesage box title
|
||||
btnCloseExport.Enabled = true;
|
||||
return;
|
||||
}
|
||||
else if (ovewriteEx == DialogResult.Retry)
|
||||
{
|
||||
//Overwrite will occur, set msg.
|
||||
msg = "The export file has been overwritten. ";
|
||||
}
|
||||
else if (ovewriteEx == DialogResult.Ignore)
|
||||
{
|
||||
// Get the modified date of the existing file, create a datestamp for use in name, set newlocation to move to
|
||||
DateTime modifiedDate = File.GetLastWriteTime(fileLocation);
|
||||
string datestamp = modifiedDate.ToString("yyyyMMddHHmmss");
|
||||
string newFileLocation = $"{directory}\\{filename}_{datestamp}{extension}";
|
||||
|
||||
//Move and set msg.
|
||||
File.Move(fileLocation, newFileLocation);
|
||||
msg = "The previous export has been renamed, the export file has been created. ";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
MyStart = DateTime.Now;
|
||||
btnDoExport.Enabled = false;
|
||||
@@ -230,7 +273,7 @@ namespace VEPROMS
|
||||
XmlElement xe = xd.CreateElement("formats");
|
||||
xd.DocumentElement.AppendChild(xe);
|
||||
ExportFormats(FormatInfoList.GetFormatInfoListUsed(), xe, "formats", false);
|
||||
xd.Save(txtExport.Text);
|
||||
xd.Save(fileLocation);
|
||||
TimeSpan elapsed = DateTime.Now.Subtract(MyStart);
|
||||
lblExportStatus.Text = "Export Completed in " + elapsed.ToString();
|
||||
this.Cursor = Cursors.Default;
|
||||
@@ -706,7 +749,7 @@ namespace VEPROMS
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
FlexibleMessageBox.Show("The import failed, check the error log for more information.", "Import Failed", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
FlexibleMessageBox.Show(null, "The import failed, check the error log for more information.", "Import Failed", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
_MyLog.Warn("Failure During Import", ex);
|
||||
}
|
||||
return false;
|
||||
|
@@ -400,6 +400,7 @@ namespace VEPROMS
|
||||
this.pnlImport.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
@@ -57,7 +57,7 @@
|
||||
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.btnCancel.Location = new System.Drawing.Point(165, 111);
|
||||
this.btnCancel.Location = new System.Drawing.Point(179, 111);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(64, 23);
|
||||
this.btnCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
@@ -88,7 +88,7 @@
|
||||
this.dateTimeInput1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.dateTimeInput1.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
|
||||
this.dateTimeInput1.ButtonDropDown.Visible = true;
|
||||
this.dateTimeInput1.CustomFormat = "MM/dd/yyyy";
|
||||
this.dateTimeInput1.CustomFormat = "MM/dd/yyyy HH:mm:ss";
|
||||
this.dateTimeInput1.DateTimeSelectorVisibility = DevComponents.Editors.DateTimeAdv.eDateTimeSelectorVisibility.DateSelector;
|
||||
this.dateTimeInput1.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
|
||||
this.dateTimeInput1.IsPopupCalendarOpen = false;
|
||||
@@ -122,7 +122,7 @@
|
||||
this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.dateTimeInput1.MonthCalendar.TodayButtonVisible = true;
|
||||
this.dateTimeInput1.Name = "dateTimeInput1";
|
||||
this.dateTimeInput1.Size = new System.Drawing.Size(113, 20);
|
||||
this.dateTimeInput1.Size = new System.Drawing.Size(146, 20);
|
||||
this.dateTimeInput1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.superTooltip1.SetSuperTooltip(this.dateTimeInput1, new DevComponents.DotNetBar.SuperTooltipInfo("Change Bar Start Date", "", "Only the changes made after this date will have change bars.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(138, 67)));
|
||||
this.dateTimeInput1.TabIndex = 4;
|
||||
@@ -133,7 +133,7 @@
|
||||
//
|
||||
this.btnNow.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnNow.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnNow.Location = new System.Drawing.Point(149, 51);
|
||||
this.btnNow.Location = new System.Drawing.Point(182, 51);
|
||||
this.btnNow.Name = "btnNow";
|
||||
this.btnNow.Size = new System.Drawing.Size(49, 23);
|
||||
this.btnNow.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
@@ -146,7 +146,7 @@
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(241, 144);
|
||||
this.ClientSize = new System.Drawing.Size(268, 144);
|
||||
this.Controls.Add(this.btnNow);
|
||||
this.Controls.Add(this.dateTimeInput1);
|
||||
this.Controls.Add(this.label1);
|
||||
|
@@ -32,13 +32,46 @@ namespace VEPROMS
|
||||
{
|
||||
string cbdt = MyProcConfig.Print_ChangeBarDate;
|
||||
string[] tmp = cbdt.Split(' ');
|
||||
cbdt = tmp[0] + " 00:00:00";
|
||||
dateTimeInput1.Value = (cbdt == null || cbdt == "") ? DateTime.Now : DateTime.Parse(cbdt);
|
||||
|
||||
if (tmp[0] == null || tmp[0] == "") // First time date set.
|
||||
{
|
||||
cbdt = DateTime.Now.ToString("MM/dd/yyyy") + " " + DateTime.Now.ToString("HH:mm:ss");
|
||||
dateTimeInput1.Value = DateTime.Parse(cbdt);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
DateTime tmpdt = DateTime.Parse(cbdt);
|
||||
if (tmpdt.Date == DateTime.Today) // Date has before been set.
|
||||
{
|
||||
TimeSpan start = TimeSpan.Parse("00:00:00");
|
||||
|
||||
var time = tmpdt.TimeOfDay;
|
||||
if (start < time) // If time is greater than 12:00:00 AM
|
||||
{
|
||||
cbdt = DateTime.Now.ToString("MM/dd/yyyy") + " " + tmpdt.TimeOfDay.ToString();
|
||||
dateTimeInput1.Value = DateTime.Parse(cbdt);
|
||||
return;
|
||||
}
|
||||
else // if time is 12:00:00 AM
|
||||
{
|
||||
cbdt = DateTime.Now.ToString("MM/dd/yyyy") + " " + " 00:00:00";
|
||||
dateTimeInput1.Value = DateTime.Parse(cbdt);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
cbdt = tmpdt.ToString();
|
||||
dateTimeInput1.Value = DateTime.Parse(cbdt);
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void btnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
MyProcConfig.Print_ChangeBarDate = dateTimeInput1.Value.ToString("MM/dd/yyyy 00:00:00");// ("MM/dd/yyyy HH:mm:ss");
|
||||
MyProcConfig.Print_ChangeBarDate = dateTimeInput1.Value.ToString("MM/dd/yyyy HH:mm:ss");// ("MM/dd/yyyy HH:mm:ss");
|
||||
}
|
||||
|
||||
|
||||
|
@@ -112,12 +112,12 @@
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<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 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>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
132
PROMS/VEPROMS User Interface/frmAnnotationsCleanup.Designer.cs
generated
Normal file
132
PROMS/VEPROMS User Interface/frmAnnotationsCleanup.Designer.cs
generated
Normal file
@@ -0,0 +1,132 @@
|
||||
|
||||
using VEPROMS.CSLA.Library;
|
||||
using Volian.Base.Library;
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class frmAnnotationsCleanup
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.lbAnnotationTypes = new System.Windows.Forms.ListBox();
|
||||
this.itemAnnotationsBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.lblAnnotationsList = new System.Windows.Forms.Label();
|
||||
this.btnClean = new System.Windows.Forms.Button();
|
||||
this.lblCountNumber = new System.Windows.Forms.Label();
|
||||
this.lblCount = new System.Windows.Forms.Label();
|
||||
this.btnClose = new System.Windows.Forms.Button();
|
||||
((System.ComponentModel.ISupportInitialize)(this.itemAnnotationsBindingSource)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// lbAnnotationTypes
|
||||
//
|
||||
this.lbAnnotationTypes.DataSource = this.itemAnnotationsBindingSource;
|
||||
this.lbAnnotationTypes.FormattingEnabled = true;
|
||||
this.lbAnnotationTypes.Location = new System.Drawing.Point(25, 48);
|
||||
this.lbAnnotationTypes.Name = "lbAnnotationTypes";
|
||||
this.lbAnnotationTypes.Size = new System.Drawing.Size(295, 433);
|
||||
this.lbAnnotationTypes.TabIndex = 0;
|
||||
//
|
||||
// lblAnnotationsList
|
||||
//
|
||||
this.lblAnnotationsList.AutoSize = true;
|
||||
this.lblAnnotationsList.Location = new System.Drawing.Point(26, 21);
|
||||
this.lblAnnotationsList.Name = "lblAnnotationsList";
|
||||
this.lblAnnotationsList.Size = new System.Drawing.Size(175, 13);
|
||||
this.lblAnnotationsList.TabIndex = 1;
|
||||
this.lblAnnotationsList.Text = "Select an Annotation Type to Clean";
|
||||
//
|
||||
// btnClean
|
||||
//
|
||||
this.btnClean.Location = new System.Drawing.Point(365, 164);
|
||||
this.btnClean.Name = "btnClean";
|
||||
this.btnClean.Size = new System.Drawing.Size(131, 36);
|
||||
this.btnClean.TabIndex = 2;
|
||||
this.btnClean.Text = "Proceed?";
|
||||
this.btnClean.UseVisualStyleBackColor = true;
|
||||
this.btnClean.Click += new System.EventHandler(this.button1_Click);
|
||||
//
|
||||
// lblCountNumber
|
||||
//
|
||||
this.lblCountNumber.AutoSize = true;
|
||||
this.lblCountNumber.Location = new System.Drawing.Point(395, 100);
|
||||
this.lblCountNumber.Name = "lblCountNumber";
|
||||
this.lblCountNumber.Size = new System.Drawing.Size(69, 13);
|
||||
this.lblCountNumber.TabIndex = 3;
|
||||
this.lblCountNumber.Text = "Delete Count";
|
||||
this.lblCountNumber.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// lblCount
|
||||
//
|
||||
this.lblCount.AutoSize = true;
|
||||
this.lblCount.Location = new System.Drawing.Point(331, 70);
|
||||
this.lblCount.Name = "lblCount";
|
||||
this.lblCount.Size = new System.Drawing.Size(206, 13);
|
||||
this.lblCount.TabIndex = 4;
|
||||
this.lblCount.Text = "Number of Annotations that will be deleted";
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.Location = new System.Drawing.Point(397, 457);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(75, 23);
|
||||
this.btnClose.TabIndex = 5;
|
||||
this.btnClose.Text = "Close";
|
||||
this.btnClose.UseVisualStyleBackColor = true;
|
||||
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
||||
//
|
||||
// frmAnnotationsCleanup
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(549, 535);
|
||||
this.Controls.Add(this.btnClose);
|
||||
this.Controls.Add(this.lblCount);
|
||||
this.Controls.Add(this.lblCountNumber);
|
||||
this.Controls.Add(this.btnClean);
|
||||
this.Controls.Add(this.lblAnnotationsList);
|
||||
this.Controls.Add(this.lbAnnotationTypes);
|
||||
this.Name = "frmAnnotationsCleanup";
|
||||
this.Text = "Clean Annotations";
|
||||
((System.ComponentModel.ISupportInitialize)(this.itemAnnotationsBindingSource)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.ListBox lbAnnotationTypes;
|
||||
private System.Windows.Forms.Label lblAnnotationsList;
|
||||
private System.Windows.Forms.BindingSource itemAnnotationsBindingSource;
|
||||
private System.Windows.Forms.Button btnClean;
|
||||
private System.Windows.Forms.Label lblCountNumber;
|
||||
private System.Windows.Forms.Label lblCount;
|
||||
private System.Windows.Forms.Button btnClose;
|
||||
}
|
||||
}
|
||||
|
158
PROMS/VEPROMS User Interface/frmAnnotationsCleanup.cs
Normal file
158
PROMS/VEPROMS User Interface/frmAnnotationsCleanup.cs
Normal file
@@ -0,0 +1,158 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using Volian.Base.Library;
|
||||
//using Volian.Pipe.Library;
|
||||
using System.Xml;
|
||||
using System.Diagnostics;
|
||||
using JR.Utils.GUI.Forms;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmAnnotationsCleanup : Form
|
||||
{
|
||||
Label mylab = new Label();
|
||||
string procList = "";
|
||||
string docvList = "";
|
||||
int AnnotationTyp;
|
||||
List<ProcedureInfo> pil2 = new List<ProcedureInfo>();
|
||||
List<DocVersionInfo> dvil2 = new List<DocVersionInfo>();
|
||||
private frmBatchRefresh mainForm = null;
|
||||
// frmAnnotationsCleanup constructor passes users procedure and docversion selections from frmBatchRefresh
|
||||
public frmAnnotationsCleanup(Form callingForm, List<ProcedureInfo> pil, List<DocVersionInfo> dvil)
|
||||
|
||||
{ // Set up link back to parent form.
|
||||
mainForm = callingForm as frmBatchRefresh;
|
||||
InitializeComponent();
|
||||
|
||||
pil2 = pil;
|
||||
dvil2 = dvil;
|
||||
|
||||
// Get list of annotation types for plant.
|
||||
myAnnotationTypeInfoList = AnnotationTypeInfoList.Get();
|
||||
lbAnnotationTypes.DataSource = myLocalAnnotationTypeInfoList = new LocalAnnotationTypeInfoList(myAnnotationTypeInfoList);
|
||||
|
||||
Dictionary<string, string> AnnotationsList = new Dictionary<string, string>();
|
||||
|
||||
// Add name and type ID to form.
|
||||
foreach (LocalAnnotationTypeInfo lati in myLocalAnnotationTypeInfoList)
|
||||
{
|
||||
AnnotationsList.Add(lati.TypeID.ToString(), lati.Name);
|
||||
//cbAnnotationTypes.Items.Add(new { Name = lati.Name, Value = lati.TypeID });
|
||||
}
|
||||
|
||||
lbAnnotationTypes.DataSource = new BindingSource(AnnotationsList, null);
|
||||
lbAnnotationTypes.DisplayMember = "Value";
|
||||
lbAnnotationTypes.ValueMember = "Key";
|
||||
lbAnnotationTypes.SelectedIndexChanged += lbAnnotationTypes_SelectedIndexChanged;
|
||||
|
||||
}
|
||||
// create comma delimited string of procedures selected by user.
|
||||
private string getAnnotationProcItems(List<ProcedureInfo> pil2)
|
||||
{
|
||||
procList = "";
|
||||
foreach (var p in pil2)
|
||||
{
|
||||
if (p.IsProcedure)
|
||||
{
|
||||
if (procList == "")
|
||||
{
|
||||
procList = procList + p.ItemID.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
procList = procList + "," + p.ItemID.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
return procList;
|
||||
}
|
||||
|
||||
// create comma delimited string of doc versions selected by user.
|
||||
private string getAnnotationDocvItems(List<DocVersionInfo> dvil2)
|
||||
{
|
||||
docvList = "";
|
||||
foreach (var d in dvil2)
|
||||
{
|
||||
if (d.IsDocVersion)
|
||||
{
|
||||
if (docvList == "")
|
||||
{
|
||||
docvList = docvList + d.VersionID.ToString();
|
||||
}
|
||||
else
|
||||
{
|
||||
docvList = docvList + "," + d.VersionID.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
return docvList;
|
||||
}
|
||||
|
||||
private AnnotationTypeInfoList myAnnotationTypeInfoList = null;
|
||||
private LocalAnnotationTypeInfoList myLocalAnnotationTypeInfoList = null;
|
||||
|
||||
// Process used to cleanup annotations "(Proceed?" button)
|
||||
private void button1_Click(object sender, EventArgs e)
|
||||
{
|
||||
foreach (var p in pil2)
|
||||
{
|
||||
if (p.IsProcedure)
|
||||
{
|
||||
TextBox frm2 = mainForm.GettxtProcess();
|
||||
frm2.AppendText(p.DisplayNumber + ' ' + p.DisplayText);
|
||||
AnnotationTyp = System.Convert.ToInt32(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Key);
|
||||
Annotation.DeleteAnnotationProcByType(AnnotationTyp, p.ItemID.ToString());
|
||||
lblCountNumber.Text = "0";
|
||||
}
|
||||
|
||||
}
|
||||
foreach (var d in dvil2)
|
||||
{
|
||||
if (d.IsDocVersion)
|
||||
{
|
||||
TextBox frm2 = mainForm.GettxtProcess();
|
||||
frm2.AppendText(d.ActiveParent.ToString());
|
||||
AnnotationTyp = System.Convert.ToInt32(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Key);
|
||||
Annotation.DeleteAnnotationDocvByType(AnnotationTyp, d.VersionID.ToString());
|
||||
lblCountNumber.Text = "0";
|
||||
}
|
||||
}
|
||||
}
|
||||
// Retrieve number of annotations that will be deleted.
|
||||
private void lbAnnotationTypes_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
btnClean.Enabled = false;
|
||||
lblCountNumber.Text = "";
|
||||
int deletecountProc = 0;
|
||||
int deletecountDocv = 0;
|
||||
if (pil2.Count > 0)
|
||||
{
|
||||
AnnotationTyp = System.Convert.ToInt32(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Key);
|
||||
deletecountProc = Annotation.getAnnotationProcCnt(AnnotationTyp, getAnnotationProcItems(pil2));
|
||||
}
|
||||
|
||||
if (dvil2.Count > 0)
|
||||
{
|
||||
AnnotationTyp = System.Convert.ToInt32(((KeyValuePair<string, string>)lbAnnotationTypes.SelectedItem).Key);
|
||||
deletecountDocv = Annotation.getAnnotationCountDocv(AnnotationTyp, getAnnotationDocvItems(dvil2));
|
||||
}
|
||||
lblCountNumber.Text = (deletecountProc + deletecountDocv).ToString();
|
||||
btnClean.Enabled = true;
|
||||
|
||||
}
|
||||
// Close form.
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
123
PROMS/VEPROMS User Interface/frmAnnotationsCleanup.resx
Normal file
123
PROMS/VEPROMS User Interface/frmAnnotationsCleanup.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?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>
|
||||
<metadata name="itemAnnotationsBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
985
PROMS/VEPROMS User Interface/frmBatchRefresh.Designer.cs
generated
985
PROMS/VEPROMS User Interface/frmBatchRefresh.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -22,12 +22,25 @@ namespace VEPROMS
|
||||
set { _MySessionInfo = value; }
|
||||
}
|
||||
private bool IsAdministratorUser = false; //C2020-035 used to control what Set Amins can do
|
||||
// C2017-030 - new Admin Tools user interface
|
||||
// pass in session info to constructor
|
||||
// C2017-030 - new Admin Tools user interface
|
||||
// pass in session info to constructor
|
||||
public frmBatchRefresh(SessionInfo sessionInfo)
|
||||
{
|
||||
InitializeComponent();
|
||||
_MySessionInfo = sessionInfo;
|
||||
|
||||
// When opening Admin tools Check tab will be default.
|
||||
this.sideNavItmCheck.Checked = true;
|
||||
|
||||
if (sideNavItmDelete.Checked)
|
||||
{
|
||||
AdminToolType = (E_AdminToolType)4;
|
||||
if (swDeleteFolder.Value)
|
||||
ResetDelTV(true);
|
||||
else
|
||||
ResetDelTV(false);
|
||||
}
|
||||
|
||||
setupProgessSteps1(); // C2017-030 - new Admin Tools user interface
|
||||
UserInfo ui = UserInfo.GetByUserID(MySessionInfo.UserID);
|
||||
IsAdministratorUser = ui.IsAdministrator();
|
||||
@@ -43,18 +56,25 @@ namespace VEPROMS
|
||||
swStandardHypenChars.Enabled = false;
|
||||
}
|
||||
}
|
||||
// Make txtProcess text box available to frmAnnotationsClean form.
|
||||
internal TextBox GettxtProcess()
|
||||
{
|
||||
return txtProcess;
|
||||
}
|
||||
// NOTE: removed the Refresh ROs and Refresh Transitions and ROs options (now only Transitions can be refreshed)
|
||||
// the Update ROs and Refresh ROs logic was merged together. The Update ROs will functionally do both
|
||||
// also annotations will be placed on step elements that have RO changes
|
||||
|
||||
// make all of the hyphen character consistant so they can all be found with the Search function
|
||||
|
||||
|
||||
private void FixHyphens()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Standardizing Hyphens");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int affectedRows = ESP_FixHyphens.Execute("vesp_FixHyphens") / 2;// Two results for each change
|
||||
@@ -65,7 +85,7 @@ namespace VEPROMS
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
@@ -125,6 +145,60 @@ namespace VEPROMS
|
||||
myTV.SelectedNode.Expand();
|
||||
this.Cursor = Cursors.Default;
|
||||
}
|
||||
private void ResetDelTV()
|
||||
{
|
||||
ResetDelTV(false);
|
||||
}
|
||||
private void ResetDelTV(bool noProcs)
|
||||
{
|
||||
btnFixLinks.Enabled = false;
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
myTVdel.Nodes.Clear();
|
||||
myDocVersions.Clear();
|
||||
FolderInfo fi = FolderInfo.GetTop();
|
||||
|
||||
if (fi.ChildFolderCount > 0)
|
||||
{
|
||||
if (noProcs)
|
||||
{
|
||||
LoadBottomLevelFolders(fi, myTVdel);
|
||||
}
|
||||
else
|
||||
{
|
||||
TreeNode tn = new TreeNode(fi.Name);
|
||||
tn.Tag = fi;
|
||||
tn.StateImageIndex = -1; // Hide the checkbox for the root node
|
||||
LoadChildFolders(fi, tn, noProcs);
|
||||
myTVdel.Nodes.Add(tn);
|
||||
}
|
||||
}
|
||||
|
||||
if (myTVdel.SelectedNode != null)
|
||||
myTVdel.SelectedNode.Expand();
|
||||
this.Cursor = Cursors.Default;
|
||||
|
||||
//btnFixLinks.Enabled = false;
|
||||
//this.Cursor = Cursors.WaitCursor;
|
||||
////myTreeNodePath = new List<string>();
|
||||
//myTVdel.Nodes.Clear();
|
||||
//myDocVersions.Clear();
|
||||
//FolderInfo fi = FolderInfo.GetTop();
|
||||
//TreeNode tn = myTVdel.Nodes.Add(fi.Name );
|
||||
//tn.Tag = fi;
|
||||
//if (fi.ChildFolderCount > 0)
|
||||
//{
|
||||
// if (noProcs)
|
||||
// {
|
||||
// LoadBottomLevelFolders(fi, myTVdel);
|
||||
// }
|
||||
// else
|
||||
// LoadChildFolders(fi, tn, noProcs);
|
||||
//}
|
||||
//if (myTVdel.SelectedNode != null)
|
||||
// myTVdel.SelectedNode.Expand();
|
||||
//this.Cursor = Cursors.Default;
|
||||
}
|
||||
|
||||
// B2021-060 Higher level folders where being removed from the tree even if there was a child folder that containe a working draft set
|
||||
private bool LoadChildFolders(FolderInfo fi, TreeNode tn, bool noProcs)
|
||||
{
|
||||
@@ -135,8 +209,8 @@ namespace VEPROMS
|
||||
TreeNode tnc = tn.Nodes.Add(fic.Name);
|
||||
tnc.Tag = fic;
|
||||
if (fic.ChildFolderCount > 0)
|
||||
if(LoadChildFolders(fic, tnc, noProcs))
|
||||
loadedChildWorkingDraft=true;
|
||||
if (LoadChildFolders(fic, tnc, noProcs))
|
||||
loadedChildWorkingDraft = true;
|
||||
// B2020-114 and C2020-035 only show folders the Set Admin can access
|
||||
if (fic.FolderDocVersionCount > 0)
|
||||
{
|
||||
@@ -151,6 +225,34 @@ namespace VEPROMS
|
||||
tn.Remove();
|
||||
return loadedWorkingDraft;
|
||||
}
|
||||
/// <summary>
|
||||
/// Load only bottom layer of folders into treenode.
|
||||
/// </summary>
|
||||
/// <param name="fi"></param>
|
||||
/// <param name="tn"></param>
|
||||
private void LoadBottomLevelFolders(FolderInfo fi, TreeView treeView)
|
||||
{
|
||||
foreach (FolderInfo fic in fi.SortedChildFolders)
|
||||
{
|
||||
if (fic.ChildFolderCount > 0)
|
||||
{
|
||||
// Recursively call for child folders
|
||||
LoadBottomLevelFolders(fic, treeView);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (fic.Name != "PROMS")
|
||||
{
|
||||
|
||||
|
||||
|
||||
// If the folder is a bottom-level folder (no child folders), add it directly to the TreeView
|
||||
TreeNode tnc = treeView.Nodes.Add(fic.Name);
|
||||
tnc.Tag = fic;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
private bool LoadDocVersions(FolderInfo fic, TreeNode tnc, bool noProcs)
|
||||
{
|
||||
bool rtnval = false;
|
||||
@@ -201,7 +303,7 @@ namespace VEPROMS
|
||||
private void UpdateROValues()
|
||||
{
|
||||
this.Cursor = Cursors.WaitCursor;
|
||||
List<ProcedureInfo> pil = new List<ProcedureInfo>(); // C2023-002: list of checked out procedures, used in frmBatchRefreshCheckedOut dialog
|
||||
List<ProcedureInfo> pil = new List<ProcedureInfo>(); // C2023-002: list of checked out procedures, used in frmBatchRefreshCheckedOut dialog
|
||||
List<DocVersionInfo> dvil = new List<DocVersionInfo>();
|
||||
foreach (TreeNode tn in myDocVersions.Keys)
|
||||
if (tn.Checked)
|
||||
@@ -251,7 +353,7 @@ namespace VEPROMS
|
||||
Application.DoEvents();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Application.DoEvents();
|
||||
// when processing more than one procedure set, display only one completed message after all are processed
|
||||
if (ROFstInfo.MessageList != null)
|
||||
@@ -273,7 +375,7 @@ namespace VEPROMS
|
||||
sb.AppendLine("Have you requested the users to close the procedures and do you want to continue the process?");
|
||||
frmBatchRefreshCheckedOut frmCO = new frmBatchRefreshCheckedOut(1);
|
||||
frmCO.MySessionInfo = MySessionInfo;
|
||||
frmCO.CheckedOutProcedures = pil; // C2023-002: set list of checked out procedures
|
||||
frmCO.CheckedOutProcedures = pil; // C2023-002: set list of checked out procedures
|
||||
frmCO.Location = new Point(Screen.PrimaryScreen.WorkingArea.Width - frmCO.Width, Screen.PrimaryScreen.WorkingArea.Height - frmCO.Height);
|
||||
// C2023-002: Allow close of dialog that has list of procedures that are checked out
|
||||
if (frmCO.ShowDialog(this) != DialogResult.Cancel)
|
||||
@@ -412,7 +514,7 @@ namespace VEPROMS
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Refresh Transitions");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText("Refresh Transitions");
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
@@ -449,19 +551,19 @@ namespace VEPROMS
|
||||
Application.DoEvents();
|
||||
}
|
||||
}
|
||||
if (numTransFixed == 0 && numTransConverted ==0)
|
||||
if (numTransFixed == 0 && numTransConverted == 0)
|
||||
{
|
||||
txtResults.AppendText("No Transitions Needed Updated.");
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
ContentInfo.StaticContentInfoChange -= new StaticContentInfoEvent(ContentInfo_StaticContentInfoChange);
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Transitions Checked: {0}",numTransProcessed));
|
||||
txtProcess.AppendText(string.Format("Transitions Checked: {0}", numTransProcessed));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
// B2018-002 - Invalid Transitions - Display Transition Refresh Statistics
|
||||
txtProcess.AppendText(string.Format("Transitions Correct As Is: {0}",numTransProcessed - (numTransConverted + numTransFixed)));
|
||||
txtProcess.AppendText(string.Format("Transitions Correct As Is: {0}", numTransProcessed - (numTransConverted + numTransFixed)));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Transitions Modified: {0}", numTransFixed));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
@@ -490,10 +592,10 @@ namespace VEPROMS
|
||||
}
|
||||
this.Cursor = Cursors.Default;
|
||||
// B2018-002 - Invalid Transitions - Display Transition Refresh Statisitic
|
||||
if (numTransFixed == 0 && numTransConverted ==0)
|
||||
MessageBox.Show(string.Format("{0} Transitions Checked.\n\nNo Transitions Modified.",numTransProcessed), "Refresh Transitions Completed");
|
||||
if (numTransFixed == 0 && numTransConverted == 0)
|
||||
MessageBox.Show(string.Format("{0} Transitions Checked.\n\nNo Transitions Modified.", numTransProcessed), "Refresh Transitions Completed");
|
||||
else
|
||||
MessageBox.Show(string.Format("{0} Transitions Checked.\n\n {1} Correct as is.\n\n {2} Transitions modified.\n\n {3} Transitions converted to text.", numTransProcessed, numTransProcessed - (numTransFixed + numTransConverted),numTransFixed, numTransConverted), "Refresh Transitions Completed");
|
||||
MessageBox.Show(string.Format("{0} Transitions Checked.\n\n {1} Correct as is.\n\n {2} Transitions modified.\n\n {3} Transitions converted to text.", numTransProcessed, numTransProcessed - (numTransFixed + numTransConverted), numTransFixed, numTransConverted), "Refresh Transitions Completed");
|
||||
}
|
||||
|
||||
// C2017-030 - new Admin Tools user interface
|
||||
@@ -506,7 +608,7 @@ namespace VEPROMS
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Refreshing Word Attachments");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int affectedRows = ESP_DeletePDFs.Execute("vesp_DeletePDFs");
|
||||
@@ -516,7 +618,7 @@ namespace VEPROMS
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
@@ -561,7 +663,7 @@ namespace VEPROMS
|
||||
private int RefreshForSearch()
|
||||
{
|
||||
int cntfix = 0;
|
||||
List<int> gids = GridInfoList.GetIds(); // get all grids in database
|
||||
List<int> gids = GridInfoList.GetIds(); // get all grids in database
|
||||
pbProcess.Minimum = 0;
|
||||
pbProcess.Maximum = gids.Count;
|
||||
pbProcess.Step = 1;
|
||||
@@ -570,7 +672,7 @@ namespace VEPROMS
|
||||
using (Content cc = Content.Get(cid))
|
||||
{
|
||||
StepConfig sc = new StepConfig(cc.Config);
|
||||
if (!sc.Step_FixedTblForSrch) // if not processed through this code already, get searchable text & save
|
||||
if (!sc.Step_FixedTblForSrch) // if not processed through this code already, get searchable text & save
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -588,7 +690,7 @@ namespace VEPROMS
|
||||
cc.UserID = Volian.Base.Library.VlnSettings.UserID;
|
||||
cc.DTS = DateTime.Now;
|
||||
cc.Text = srchtxt;
|
||||
|
||||
|
||||
}
|
||||
sc.Step_FixedTblForSrch = true;
|
||||
cc.Config = sc.ToString();
|
||||
@@ -615,7 +717,7 @@ namespace VEPROMS
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Orphan Items");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCount = ESP_IdentifyDisconnectedItems.Execute("vesp_GetDisconnectedItemsCount");
|
||||
@@ -636,7 +738,7 @@ namespace VEPROMS
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
@@ -652,7 +754,7 @@ namespace VEPROMS
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Purging Orphan Items");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCount = ESP_IdentifyDisconnectedItems.Execute("vesp_GetDisconnectedItemsCount");
|
||||
@@ -689,7 +791,7 @@ namespace VEPROMS
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
@@ -704,7 +806,7 @@ namespace VEPROMS
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Unused RoFsts and Figures");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCountRoFst = ESP_GetUnusedRoFsts.Execute("vesp_GetUnusedRoFstsCount");
|
||||
@@ -727,9 +829,9 @@ namespace VEPROMS
|
||||
}
|
||||
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
@@ -742,7 +844,7 @@ namespace VEPROMS
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Purging Unused RoFSTs and Figures Items");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCountRoFst = ESP_GetUnusedRoFsts.Execute("vesp_GetUnusedRoFstsCount");
|
||||
@@ -783,7 +885,7 @@ namespace VEPROMS
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
@@ -798,7 +900,7 @@ namespace VEPROMS
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Unused RO Associations");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCount = ESP_GetROAssoc.Execute("vesp_GetUnusedROAssociationsCount");
|
||||
@@ -817,7 +919,7 @@ namespace VEPROMS
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
@@ -832,7 +934,7 @@ namespace VEPROMS
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Purging Unused Referenced Object Associations");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
int rowCount = ESP_GetROAssoc.Execute("vesp_GetUnusedROAssociationsCount");
|
||||
@@ -866,7 +968,7 @@ namespace VEPROMS
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
@@ -881,11 +983,11 @@ namespace VEPROMS
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Identifing Hidden Item Locations");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
List<ItemInfo> myItems = ESP_IdentifyNonEditableItems.Execute("vesp_GetNonEditableItems");
|
||||
txtProcess.AppendText(string.Format("Hidden Items Count: {0}",myItems.Count));
|
||||
txtProcess.AppendText(string.Format("Hidden Items Count: {0}", myItems.Count));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
if (myItems.Count > 0)
|
||||
{
|
||||
@@ -906,7 +1008,7 @@ namespace VEPROMS
|
||||
txtResults.AppendText(Environment.NewLine);
|
||||
}
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
@@ -921,16 +1023,16 @@ namespace VEPROMS
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText("Show Users in PROMS");
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(string.Format("Started: {0}",pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Started: {0}", pStart.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
Application.DoEvents();
|
||||
txtResults.Clear();
|
||||
txtResults.AppendText(ESP_GetDatabaseSessions.Execute("vesp_GetDatabaseSessions"));
|
||||
DateTime pEnd = DateTime.Now;
|
||||
txtProcess.AppendText(string.Format("Completed: {0}",pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
txtProcess.AppendText(string.Format("Completed: {0}", pEnd.ToString("MM/dd/yyyy @ HH:mm")));
|
||||
Application.DoEvents();
|
||||
this.Cursor = Cursors.Default;
|
||||
MessageBox.Show( "Show Users Completed", "Show Users");
|
||||
MessageBox.Show("Show Users Completed", "Show Users");
|
||||
}
|
||||
|
||||
private void ProcessUpdateROValues(DocVersionInfo dq)
|
||||
@@ -1068,7 +1170,7 @@ namespace VEPROMS
|
||||
// show the changes made in the Results pannel, include the ItemId of the step element
|
||||
void ContentInfo_StaticContentInfoChange(object sender, StaticContentInfoEventArgs args)
|
||||
{
|
||||
|
||||
|
||||
if (args.Type == "TX")
|
||||
{
|
||||
myFixesCount++;
|
||||
@@ -1085,7 +1187,7 @@ namespace VEPROMS
|
||||
}
|
||||
else // B2018-002 - Invalid Transitions - Display Transition Cconversion Statistics
|
||||
{
|
||||
myFixes.AppendLine(string.Format("Converted Transition to text for {0}({1})", (sender as ItemInfo).ShortPath, (sender as ItemInfo).ItemID));
|
||||
myFixes.AppendLine(string.Format("Converted Transition to text for {0}({1})", (sender as ItemInfo).ShortPath, (sender as ItemInfo).ItemID));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1121,10 +1223,40 @@ namespace VEPROMS
|
||||
CheckChildNodes(e.Node, e.Node.Checked);
|
||||
}
|
||||
}
|
||||
if (swDeleteAnnotations.Value)
|
||||
{
|
||||
if (e.Node.Checked)
|
||||
{
|
||||
DiselectParentNodes(e.Node.Parent);
|
||||
DiselectChildNodes(e.Node.Nodes);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
btnFixLinks.Enabled = AtLeastOneNodeChecked(); // C2017-030 support for Refresh Transitions/Update RO Values
|
||||
}
|
||||
|
||||
private void DiselectParentNodes(TreeNode parent)
|
||||
{
|
||||
while (parent != null)
|
||||
{
|
||||
if (parent.Checked)
|
||||
parent.Checked = false;
|
||||
parent = parent.Parent;
|
||||
}
|
||||
}
|
||||
|
||||
private void DiselectChildNodes(TreeNodeCollection childes)
|
||||
{
|
||||
foreach (TreeNode oneChild in childes)
|
||||
{
|
||||
if (oneChild.Checked)
|
||||
oneChild.Checked = false;
|
||||
DiselectChildNodes(oneChild.Nodes);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void CheckChildNodes(TreeNode treeNode, bool ischecked)
|
||||
{
|
||||
foreach (TreeNode tn in treeNode.Nodes)
|
||||
@@ -1143,9 +1275,9 @@ namespace VEPROMS
|
||||
public ProgressBarItem ProgressBar
|
||||
{
|
||||
get { return _ProgressBar; }
|
||||
set
|
||||
{
|
||||
_ProgressBar = value;
|
||||
set
|
||||
{
|
||||
_ProgressBar = value;
|
||||
_ProgressBar.TextVisible = true;
|
||||
}
|
||||
}
|
||||
@@ -1246,6 +1378,25 @@ namespace VEPROMS
|
||||
this.Close();
|
||||
}
|
||||
|
||||
// new Admin Tools user interface for deletes
|
||||
private void sideNavItmDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
AdminToolType = E_AdminToolType.Delete;
|
||||
lblAdmToolProgressType.Text = "";
|
||||
setupProgessSteps1();
|
||||
|
||||
if (swDeleteFolder.Value)
|
||||
ResetDelTV(true);
|
||||
else
|
||||
ResetDelTV(false);
|
||||
}
|
||||
|
||||
// new Admin Tools user interface for deletes
|
||||
//private void sideNavItmDelete_Click_1(object sender, EventArgs e)
|
||||
//{
|
||||
|
||||
//}
|
||||
|
||||
#region On/Off Swiches
|
||||
|
||||
// C2017-030 new Admin Tools user interface
|
||||
@@ -1254,7 +1405,8 @@ namespace VEPROMS
|
||||
Check = 0,
|
||||
Repair = 1,
|
||||
Links = 2,
|
||||
Users = 3
|
||||
Users = 3,
|
||||
Delete = 4
|
||||
};
|
||||
private E_AdminToolType AdminToolType = 0;
|
||||
|
||||
@@ -1305,6 +1457,11 @@ namespace VEPROMS
|
||||
splitContainer3.Panel2Collapsed = true;
|
||||
progressSteps1.Visible = false;
|
||||
break;
|
||||
|
||||
case E_AdminToolType.Delete:
|
||||
splitContainer3.Panel2Collapsed = true;
|
||||
progressSteps1.Visible = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1500,5 +1657,138 @@ namespace VEPROMS
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
//C2024-005 Delete Annotations, Delete Folders
|
||||
private void swDeleteAnnotations_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
swDeleteFolder.Value = !swDeleteAnnotations.Value;
|
||||
if (swDeleteFolder.Value)
|
||||
ResetDelTV(true);
|
||||
else
|
||||
ResetDelTV(false);
|
||||
}
|
||||
|
||||
private void swDeleteFolder_ValueChanged(object sender, EventArgs e)
|
||||
{
|
||||
swDeleteAnnotations.Value = !swDeleteFolder.Value;
|
||||
if (swDeleteFolder.Value)
|
||||
ResetDelTV(true);
|
||||
else
|
||||
ResetDelTV(false);
|
||||
}
|
||||
|
||||
private void btnDeleteItems_Click(object sender, EventArgs e)
|
||||
{
|
||||
//clear
|
||||
txtResults.Clear();
|
||||
txtProcess.Clear();
|
||||
|
||||
|
||||
if (swDeleteFolder.Value)
|
||||
{
|
||||
//TODO process deletions of folders
|
||||
txtProcess.AppendText("Deleting Folders...");
|
||||
|
||||
//List<ProcedureInfo> pil = new List<ProcedureInfo>();
|
||||
//foreach (TreeNode tn in myProcedures.Keys)
|
||||
// if (tn.Checked)
|
||||
// pil.Add(myProcedures[tn]);
|
||||
|
||||
////Load Selected Folders
|
||||
Dictionary<int, string> folderData = new Dictionary<int, string>();
|
||||
|
||||
//List<FolderInfo> Flist = new List<FolderInfo>();
|
||||
//foreach (TreeNode tn in myDocVersions.Keys)
|
||||
// if (tn.Checked)
|
||||
// Flist.Add();
|
||||
|
||||
//List<DocVersionInfo> dvil = new List<DocVersionInfo>();
|
||||
//foreach (TreeNode tn in myDocVersions.Keys)
|
||||
// if (tn.Checked)
|
||||
// dvil.Add(myDocVersions[tn]);
|
||||
|
||||
//foreach (TreeNode tn in myTVdel.Nodes)
|
||||
//{
|
||||
// if (tn.Checked)
|
||||
// {
|
||||
// var itemInfo = myProcedures[tn];
|
||||
// folderData.Add(itemInfo.ItemID, itemInfo.DisplayText);
|
||||
// }
|
||||
//}
|
||||
|
||||
//ProcessDelete(dvil);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Write progress status
|
||||
txtProcess.AppendText("Deleting Annotations...");
|
||||
|
||||
// Create a list of procedures the user selected
|
||||
List<ProcedureInfo> pil = new List<ProcedureInfo>();
|
||||
foreach (TreeNode tn in myProcedures.Keys)
|
||||
if (tn.Checked)
|
||||
pil.Add(myProcedures[tn]);
|
||||
|
||||
// Create a list of doc versions the user selected
|
||||
List<DocVersionInfo> dvil = new List<DocVersionInfo>();
|
||||
foreach (TreeNode tn in myDocVersions.Keys)
|
||||
if (tn.Checked)
|
||||
dvil.Add(myDocVersions[tn]);
|
||||
|
||||
frmAnnotationsCleanup frmAnnoDel = new frmAnnotationsCleanup(this, pil, dvil);
|
||||
|
||||
frmAnnoDel.ShowDialog();
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void ProcessDelete(List<DocVersionInfo> foldersToDelete)
|
||||
{
|
||||
DateTime pStart = DateTime.Now;
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
txtProcess.AppendText(pStart.ToString("MM/dd/yyyy @ HH:mm"));
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
|
||||
foreach (var kvp in foldersToDelete)
|
||||
{
|
||||
int itemID = (int)kvp.ItemID;
|
||||
string folderName = kvp.Name;
|
||||
|
||||
// Perform the deletion operation
|
||||
// Assume DeleteFolderByID is a method that deletes the folder by its ItemID
|
||||
bool deletionSuccessful = DeleteFolderByID(itemID);
|
||||
|
||||
// Update txtProcess with the progress
|
||||
if (deletionSuccessful)
|
||||
{
|
||||
txtProcess.AppendText($"Successfully deleted folder: {folderName} (ID: {itemID})");
|
||||
}
|
||||
else
|
||||
{
|
||||
txtProcess.AppendText($"Failed to delete folder: {folderName} (ID: {itemID})");
|
||||
}
|
||||
txtProcess.AppendText(Environment.NewLine);
|
||||
}
|
||||
}
|
||||
// Example deletion method
|
||||
private bool DeleteFolderByID(int itemID)
|
||||
{
|
||||
// Implement your folder deletion logic here
|
||||
// Return true if deletion was successful, false otherwise
|
||||
return true; // Placeholder
|
||||
}
|
||||
|
||||
public List<ProcedureInfo> RetrieveChkAnnotations()
|
||||
{
|
||||
List<ProcedureInfo> pil = new List<ProcedureInfo>();
|
||||
foreach (TreeNode tn in myProcedures.Keys)
|
||||
if (tn.Checked)
|
||||
pil.Add(myProcedures[tn]);
|
||||
return pil;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@@ -117,74 +117,43 @@
|
||||
<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="warningBox3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAplJREFUOE+N
|
||||
k11IU2Ecxv9zouK8CULrzo8SU3QKaSYmOJ2uFL8SK4igEIok6qKUwggySTShC41CRiiGdWNfYBcVWiGl
|
||||
FqN0lh+UTaekzuWcuu2c9316nSdKLPEHz817/s/zPv9zOPQ/nlVQEGulF3ILPe+8SIHK8eYR5lusLwHy
|
||||
Oy08RqpXjjfHVCMlsydbGbekg4/r4HmwRbLWUZzyeGNqD5NK1O5lw8L8NQHckgh5SAdXA3UqIxuzZKSj
|
||||
8ssI8Il9wMQeYDoVfD4HrsdhsNdRgTL2b4yl5Ce1qL+xcQOWxpKxMzwAMVEayIv7IU8XwVnv8+XuEfJV
|
||||
xtfjMlKZ/CYG3JYJ96wOPj6EoCBfMCkfnJdguSMG89eoVBlfS+tJCpCafa1stgBYzAZbzoFGo0ZIiD84
|
||||
KwJ350P+UQxHtfr7vUPkp9j+4GqiM1K3FtyVB8h5wlSI4GB/RIQHgjtzwWaywMb1WHwYg7lKOq3YVrlz
|
||||
jPw8RrWFOUoAJhpwcaNciNDQQMRGB4FNpIMNp4B93A2pXw/7ZbWlufCvFguNdNzzOta7J5S6fP4AdkVq
|
||||
kKQVAQNJYO8TwHq0kD8kwdkWhZkLdMJrrsonlfu2yszmSsA9Bat1p0XdsTTcvxmJtpowyL1ar/m3PKYM
|
||||
2MpVgzcySUWTdWRwd+wAXzoo3r5B7CnqDqVg+lW89yuoVARrR/SaANm0F46mUFjOUjYtN9BTaVQYJzPA
|
||||
RlPB+hNF3XjvP3C9bDuqTm2D9DZuTcCKXN1psJ2ndhGgnpJGciENGyB9zoJk1kMezFonySw0oIf0KVOs
|
||||
oIO7L3MlYITstVTsrKNHCzXU5aimnvmrZPp5hfrtlWS2X6LBuQoatJWTWQz3C5mEeoS6hNqt5yj7FysJ
|
||||
zJwL4b/EAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<data name="swCkObsoleteROData.SuperTooltip" xml:space="preserve">
|
||||
<value>Referenced Objects databases are associated with a procedure set (such as Working Draft).
|
||||
<data name="swDeleteFolder.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to check referenced objects links in procedure step data for multiple working drafts in a batch mode.
|
||||
|
||||
Bad referenced bject links will be identified with an Bad RO Link annotation. Use the PROMS Search tool to list all of the steps that have this annotation.
|
||||
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
It is recommended that this be done during off hours.
|
||||
|
||||
RO paths, ROFST versions, and the contents of RO figures are stored in the database when referenced. This tool will identify stored RO Paths, ROFST versions, and Figures that are no longer used.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swHiddenDataLocs.SuperTooltip" xml:space="preserve">
|
||||
<value>Typically, a section in PROMS only has sub-sections or steps. When and existing section is divided into sub-sections, the resulting main section might have both.
|
||||
<data name="labelX13.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to check referenced objects links in procedure step data for multiple working drafts in a batch mode.
|
||||
|
||||
When this occurs, the step data in the main section can be marked as non-editable. The user can no longer get to these steps and they can become forgotten as PROMS will ignore these non-editable steps when the procedure is printed.
|
||||
Bad referenced bject links will be identified with an Bad RO Link annotation. Use the PROMS Search tool to list all of the steps that have this annotation.
|
||||
|
||||
This tool will identify if the database has non-editable steps and provide a listing of these steps. The use can then go to these main sections, make them editable via the property page, and delete or move these steps.
|
||||
Be sure a current backup of the database exists prior performing this function.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
It is recommended that this be done during off hours.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX3.SuperTooltip" xml:space="preserve">
|
||||
<value>Referenced Objects databases are associated with a procedure set (such as Working Draft).
|
||||
<data name="swDeleteAnnotations.SuperTooltip" xml:space="preserve">
|
||||
<value>This function will refresh transitions in all procedures selected below, whether they were selected individually or as a group via a procedure set.
|
||||
|
||||
RO paths, ROFST versions, and the contents of RO figures are stored in the database when referenced. This tool will identify stored RO Paths, ROFST versions, and Figures that are no longer used.
|
||||
</value>
|
||||
Be sure a current backup of the database exists prior to running this function.
|
||||
|
||||
If more than one procedure is selected, it is recommended that this be performed during off hours.</value>
|
||||
</data>
|
||||
<data name="labelX2.SuperTooltip" xml:space="preserve">
|
||||
<value>Typically, a section in PROMS only has sub-sections or steps. When and existing section is divided into sub-sections, the resulting main section might have both.
|
||||
<data name="labelX14.SuperTooltip" xml:space="preserve">
|
||||
<value>This function will refresh transitions in all procedures selected below, whether they were selected individually or as a group via a procedure set.
|
||||
|
||||
When this occurs, the step data in the main section can be marked as non-editable. The user can no longer get to these steps and they can become forgotten as PROMS will ignore these non-editable steps when the procedure is printed.
|
||||
Be sure a current backup of the database exists prior to running this function.
|
||||
|
||||
This tool will identify if the database has non-editable steps and provide a listing of these steps. The use can then go to these main sections, make them editable via the property page, and delete or move these steps.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swCkOrphanDataRecs.SuperTooltip" xml:space="preserve">
|
||||
<value>Everything in PROMS is inter-related. A working draft knows what is its first procedure and a procedure knows what is its first step. Likewise, a procedure knows what procedure is before it and after it.
|
||||
|
||||
Should an item become orphaned (disconnected) from the rest of the data, it will no longer be accessible. This tool detects any orphaned items in the database.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX1.SuperTooltip" xml:space="preserve">
|
||||
<value>Everything in PROMS is inter-related. A working draft knows what is its first procedure and a procedure knows what is its first step. Likewise, a procedure knows what procedure is before it and after it.
|
||||
|
||||
Should an item become orphaned (disconnected) from the rest of the data, it will no longer be accessible. This tool detects any orphaned items in the database.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
If more than one procedure is selected, it is recommended that this be performed during off hours.</value>
|
||||
</data>
|
||||
<data name="swCheckROLinks.SuperTooltip" xml:space="preserve">
|
||||
<value>This allows the user to check referenced objects links in procedure step data for multiple working drafts in a batch mode.
|
||||
@@ -207,6 +176,7 @@ Be sure a current backup of the database exists prior performing this function.
|
||||
It is recommended that this be done during off hours.
|
||||
</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="warningBox5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAplJREFUOE+N
|
||||
@@ -269,6 +239,71 @@ If more than one procedure is selected, it is recommended that this be performed
|
||||
RlPB+hNF3XjvP3C9bDuqTm2D9DZuTcCKXN1psJ2ndhGgnpJGciENGyB9zoJk1kMezFonySw0oIf0KVOs
|
||||
oIO7L3MlYITstVTsrKNHCzXU5aimnvmrZPp5hfrtlWS2X6LBuQoatJWTWQz3C5mEeoS6hNqt5yj7FysJ
|
||||
zJwL4b/EAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="warningBox3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAplJREFUOE+N
|
||||
k11IU2Ecxv9zouK8CULrzo8SU3QKaSYmOJ2uFL8SK4igEIok6qKUwggySTShC41CRiiGdWNfYBcVWiGl
|
||||
FqN0lh+UTaekzuWcuu2c9316nSdKLPEHz817/s/zPv9zOPQ/nlVQEGulF3ILPe+8SIHK8eYR5lusLwHy
|
||||
Oy08RqpXjjfHVCMlsydbGbekg4/r4HmwRbLWUZzyeGNqD5NK1O5lw8L8NQHckgh5SAdXA3UqIxuzZKSj
|
||||
8ssI8Il9wMQeYDoVfD4HrsdhsNdRgTL2b4yl5Ce1qL+xcQOWxpKxMzwAMVEayIv7IU8XwVnv8+XuEfJV
|
||||
xtfjMlKZ/CYG3JYJ96wOPj6EoCBfMCkfnJdguSMG89eoVBlfS+tJCpCafa1stgBYzAZbzoFGo0ZIiD84
|
||||
KwJ350P+UQxHtfr7vUPkp9j+4GqiM1K3FtyVB8h5wlSI4GB/RIQHgjtzwWaywMb1WHwYg7lKOq3YVrlz
|
||||
jPw8RrWFOUoAJhpwcaNciNDQQMRGB4FNpIMNp4B93A2pXw/7ZbWlufCvFguNdNzzOta7J5S6fP4AdkVq
|
||||
kKQVAQNJYO8TwHq0kD8kwdkWhZkLdMJrrsonlfu2yszmSsA9Bat1p0XdsTTcvxmJtpowyL1ar/m3PKYM
|
||||
2MpVgzcySUWTdWRwd+wAXzoo3r5B7CnqDqVg+lW89yuoVARrR/SaANm0F46mUFjOUjYtN9BTaVQYJzPA
|
||||
RlPB+hNF3XjvP3C9bDuqTm2D9DZuTcCKXN1psJ2ndhGgnpJGciENGyB9zoJk1kMezFonySw0oIf0KVOs
|
||||
oIO7L3MlYITstVTsrKNHCzXU5aimnvmrZPp5hfrtlWS2X6LBuQoatJWTWQz3C5mEeoS6hNqt5yj7FysJ
|
||||
zJwL4b/EAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="swCkObsoleteROData.SuperTooltip" xml:space="preserve">
|
||||
<value>Referenced Objects databases are associated with a procedure set (such as Working Draft).
|
||||
|
||||
RO paths, ROFST versions, and the contents of RO figures are stored in the database when referenced. This tool will identify stored RO Paths, ROFST versions, and Figures that are no longer used.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swHiddenDataLocs.SuperTooltip" xml:space="preserve">
|
||||
<value>Typically, a section in PROMS only has sub-sections or steps. When and existing section is divided into sub-sections, the resulting main section might have both.
|
||||
|
||||
When this occurs, the step data in the main section can be marked as non-editable. The user can no longer get to these steps and they can become forgotten as PROMS will ignore these non-editable steps when the procedure is printed.
|
||||
|
||||
This tool will identify if the database has non-editable steps and provide a listing of these steps. The use can then go to these main sections, make them editable via the property page, and delete or move these steps.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX3.SuperTooltip" xml:space="preserve">
|
||||
<value>Referenced Objects databases are associated with a procedure set (such as Working Draft).
|
||||
|
||||
RO paths, ROFST versions, and the contents of RO figures are stored in the database when referenced. This tool will identify stored RO Paths, ROFST versions, and Figures that are no longer used.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX2.SuperTooltip" xml:space="preserve">
|
||||
<value>Typically, a section in PROMS only has sub-sections or steps. When and existing section is divided into sub-sections, the resulting main section might have both.
|
||||
|
||||
When this occurs, the step data in the main section can be marked as non-editable. The user can no longer get to these steps and they can become forgotten as PROMS will ignore these non-editable steps when the procedure is printed.
|
||||
|
||||
This tool will identify if the database has non-editable steps and provide a listing of these steps. The use can then go to these main sections, make them editable via the property page, and delete or move these steps.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swCkOrphanDataRecs.SuperTooltip" xml:space="preserve">
|
||||
<value>Everything in PROMS is inter-related. A working draft knows what is its first procedure and a procedure knows what is its first step. Likewise, a procedure knows what procedure is before it and after it.
|
||||
|
||||
Should an item become orphaned (disconnected) from the rest of the data, it will no longer be accessible. This tool detects any orphaned items in the database.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="labelX1.SuperTooltip" xml:space="preserve">
|
||||
<value>Everything in PROMS is inter-related. A working draft knows what is its first procedure and a procedure knows what is its first step. Likewise, a procedure knows what procedure is before it and after it.
|
||||
|
||||
Should an item become orphaned (disconnected) from the rest of the data, it will no longer be accessible. This tool detects any orphaned items in the database.
|
||||
|
||||
This tool may take an extended period of time to execute.
|
||||
</value>
|
||||
</data>
|
||||
<data name="swRefreshTblsForSrch.SuperTooltip" xml:space="preserve">
|
||||
@@ -368,6 +403,6 @@ Should an item become orphaned (disconnected) from the rest of the data, it will
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>38</value>
|
||||
<value>46</value>
|
||||
</metadata>
|
||||
</root>
|
||||
</root>
|
@@ -91,15 +91,13 @@ namespace VEPROMS
|
||||
get { return _DidAll; }
|
||||
set { _DidAll = value; }
|
||||
}
|
||||
// C2024-003 parameter contains parent section itemid, child section itemid, issubsection flag.
|
||||
// C2024-003 values needed to print section.
|
||||
private int[] _prtSectID = new int[] { -1, -1, 0 };
|
||||
public int[] PrtSectID
|
||||
private int _prtSectID = -1;
|
||||
public int PrtSectID
|
||||
{
|
||||
get { return _prtSectID; }
|
||||
set { _prtSectID = value; }
|
||||
}
|
||||
public frmPDFStatusForm(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, bool openPDF, bool overWrite, string pdfPath, ChangeBarDefinition cbd, string pdfFile, Point newLocation, bool insertBlankPages, bool allOrAuto, string prefix, bool saveLinks, int removeTrailingHardReturnsAndManualPageBreaks, bool showPROMSVer, bool didAll, string blankPageText, MergedPdf mergedPdf, string watermarkColor, int[] PrtSectID = null)
|
||||
public frmPDFStatusForm(ItemInfo myItem, string rev, string watermark, bool debugOutput, bool origPgBrk, bool openPDF, bool overWrite, string pdfPath, ChangeBarDefinition cbd, string pdfFile, Point newLocation, bool insertBlankPages, bool allOrAuto, string prefix, bool saveLinks, int removeTrailingHardReturnsAndManualPageBreaks, bool showPROMSVer, bool didAll, string blankPageText, MergedPdf mergedPdf, string watermarkColor, int PrtSectID = -1)
|
||||
{
|
||||
// B2021-088 moved this if/else from CreatePDF() so that the Approval logic will have access to this logic
|
||||
ProcedureInfo MyProcedure = myItem as ProcedureInfo;
|
||||
@@ -109,7 +107,7 @@ namespace VEPROMS
|
||||
if (MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave > 0 || MyProcedure.ActiveFormat.PlantFormat.FormatData.TransData.UseTransitionModifier || MyProcedure.ActiveFormat.PlantFormat.FormatData.TransData.UseSpecificTransitionModifier)
|
||||
{
|
||||
// B2023-035 Pass in the select child (selectedSlave) which may be different than docversionconfig's SelectedSlave
|
||||
MyProcedure = ProcedureInfo.GetItemAndChildrenByUnit(MyProcedure.ItemID, 0, MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave, allOrAuto, MyProcedure.SelectedChildToPrint);
|
||||
MyProcedure = ProcedureInfo.GetItemAndChildrenByUnit(MyProcedure.ItemID, 0, MyProcedure.MyDocVersion.DocVersionConfig.SelectedSlave, allOrAuto, MyProcedure.SelectedChildToPrint);
|
||||
}
|
||||
else
|
||||
MyProcedure = ProcedureInfo.GetItemAndChildren(MyProcedure.ItemID, allOrAuto);
|
||||
@@ -131,11 +129,11 @@ namespace VEPROMS
|
||||
// if the version number of PROMS is 1.0, then we are running a Demo version.
|
||||
// When running a Demo version, force a "Sample" watermark when printing.
|
||||
// B2020-022 append a ".pdf" extension if the file name does on have one.
|
||||
MyPromsPrinter = new PromsPrinter(myItem, rev, (VlnSettings.ReleaseMode.Equals("DEMO")) ? "Sample" : watermark, debugOutput, origPgBrk, pdfPath + @"\Compare", false, overWrite, cbd, (pdfFile.ToUpper().EndsWith(".PDF")) ? pdfFile : pdfFile + ".pdf", insertBlankPages, allOrAuto, Prefix, saveLinks, removeTrailingHardReturnsAndManualPageBreaks, blankPageText, DidAll, mergedPdf, watermarkColor);
|
||||
|
||||
MyPromsPrinter = new PromsPrinter(myItem, rev, (VlnSettings.ReleaseMode.Equals("DEMO")) ? "Sample" : watermark, debugOutput, origPgBrk, pdfPath + @"\Compare", false, overWrite, cbd, (pdfFile.ToUpper().EndsWith(".PDF"))?pdfFile:pdfFile+".pdf", insertBlankPages, allOrAuto,Prefix,saveLinks,removeTrailingHardReturnsAndManualPageBreaks, blankPageText, DidAll, mergedPdf, watermarkColor);
|
||||
|
||||
MyPromsPrinter.PromsVersion = (showPROMSVer) ? AboutVEPROMS.PROMSVersion : ""; //C2018-009 print PROMS version
|
||||
|
||||
|
||||
|
||||
|
||||
PDFPath = pdfPath;
|
||||
this.Text = "Creating PDF of " + myItem.DisplayNumber;
|
||||
_NewLocation = newLocation;
|
||||
@@ -298,8 +296,8 @@ namespace VEPROMS
|
||||
|
||||
}
|
||||
while (!MyPromsPrinter.MergeNotIncluded && _PdfFile == null && MessageBox.Show("Try Again?", "PDF Creation Failed", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes);
|
||||
|
||||
|
||||
|
||||
|
||||
if (_PdfFile == null)
|
||||
{
|
||||
this.Close();
|
||||
@@ -320,7 +318,7 @@ namespace VEPROMS
|
||||
DateTime tEnd = DateTime.Now;
|
||||
MyStatus = _PdfFile + " created.";
|
||||
MyStatus = string.Format("{0} created in {1:0.} milliseconds", _PdfFile, (TimeSpan.FromTicks(tEnd.Ticks - tStart.Ticks).TotalMilliseconds));
|
||||
|
||||
|
||||
if (OpenPDF)
|
||||
{
|
||||
OpenPDFandPlacekeeper(_PdfFile);
|
||||
@@ -334,8 +332,8 @@ namespace VEPROMS
|
||||
if (UserInfo.CanEdit(frmVEPROMS.SMyUserInfo, MyPromsPrinter.MyItem.MyDocVersion))
|
||||
{
|
||||
// C2023-018: Clarify message on temporary/permanent removal of returns/spaces & page breaks
|
||||
if (FlexibleMessageBox.Show(this, "The procedure PDF file was created by temporarily removing certain hard returns,\r\ntrailing spaces, and/or manual page breaks that could affect the pagination\r\n" +
|
||||
"of the procedure.\r\n\r\nAfter reviewing the PDF file, do you want to permanently remove the deleted hard returns, \r\nspaces and/or manual page breaks?\r\n\r\n" +
|
||||
if (FlexibleMessageBox.Show(this, "The procedure PDF file was created by temporarily removing certain hard returns,\r\ntrailing spaces, and/or manual page breaks that could affect the pagination\r\n"+
|
||||
"of the procedure.\r\n\r\nAfter reviewing the PDF file, do you want to permanently remove the deleted hard returns, \r\nspaces and/or manual page breaks?\r\n\r\n"+
|
||||
"An annotation will be added to every location where data has been deleted. The locations \r\ncan be found by performing a Global Search for the \"Manual Pagination Issues\" annotation type.",
|
||||
"Confirm Pagination Changes", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
@@ -347,7 +345,7 @@ namespace VEPROMS
|
||||
}
|
||||
|
||||
btnOpenFolder.Visible = btnOpenPDF.Visible = true;
|
||||
|
||||
|
||||
if (CloseWhenDone)
|
||||
{
|
||||
OpenPDFandPlacekeeper(null);
|
||||
@@ -424,7 +422,7 @@ namespace VEPROMS
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string str = string.Format("{0} - {1} - {2}", pdffile, ex.GetType().Name, ex.Message);
|
||||
string str = string.Format("{0} - {1} - {2}",pdffile,ex.GetType().Name,ex.Message);
|
||||
MessageBox.Show(str, "Error Opening PDFFile", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
|
||||
}
|
||||
}
|
||||
|
29
PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
generated
29
PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
generated
@@ -45,7 +45,6 @@ namespace VEPROMS
|
||||
this.itemContainer3 = new DevComponents.DotNetBar.ItemContainer();
|
||||
this.btnNew = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnOpen = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnPrint = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnPrepare = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnAdmin = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnUpdateFormats = new DevComponents.DotNetBar.ButtonItem();
|
||||
@@ -68,6 +67,7 @@ namespace VEPROMS
|
||||
this.cbScrunch = new System.Windows.Forms.CheckBox();
|
||||
this.btnNext = new System.Windows.Forms.Button();
|
||||
this.cmbFont = new System.Windows.Forms.ComboBox();
|
||||
this.lblDummy = new System.Windows.Forms.Label();
|
||||
this.labelItem10 = new DevComponents.DotNetBar.LabelItem();
|
||||
this.bottomProgBar = new DevComponents.DotNetBar.ProgressBarItem();
|
||||
this.labelItem9 = new DevComponents.DotNetBar.LabelItem();
|
||||
@@ -214,7 +214,7 @@ namespace VEPROMS
|
||||
this.btnSendErrorLog,
|
||||
this.btnShowErrFld,
|
||||
this.btnShowPrtFld,
|
||||
this.btnHelpAbout}); ;
|
||||
this.btnHelpAbout});
|
||||
this.btnHelp.Text = "Help";
|
||||
//
|
||||
// btnHelpManual
|
||||
@@ -338,7 +338,6 @@ namespace VEPROMS
|
||||
this.itemContainer3.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.btnNew,
|
||||
this.btnOpen,
|
||||
this.btnPrint,
|
||||
this.btnPrepare,
|
||||
this.btnAdmin});
|
||||
//
|
||||
@@ -364,16 +363,7 @@ namespace VEPROMS
|
||||
this.btnOpen.SubItemsExpandWidth = 24;
|
||||
this.btnOpen.Text = "&Open...";
|
||||
this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
|
||||
//
|
||||
// btnPrint
|
||||
//
|
||||
this.btnPrint.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnPrint.Enabled = false;
|
||||
this.btnPrint.Image = ((System.Drawing.Image)(resources.GetObject("btnPrint.Image")));
|
||||
this.btnPrint.Name = "btnPrint";
|
||||
this.btnPrint.SubItemsExpandWidth = 24;
|
||||
this.btnPrint.Text = "Create &PDF";
|
||||
this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
|
||||
|
||||
//
|
||||
// btnPrepare
|
||||
//
|
||||
@@ -514,6 +504,7 @@ namespace VEPROMS
|
||||
this.bottomBar.Controls.Add(this.cbScrunch);
|
||||
this.bottomBar.Controls.Add(this.btnNext);
|
||||
this.bottomBar.Controls.Add(this.cmbFont);
|
||||
this.bottomBar.Controls.Add(this.lblDummy);
|
||||
this.bottomBar.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||
this.bottomBar.Font = new System.Drawing.Font("Segoe UI", 9F);
|
||||
this.bottomBar.IsMaximized = false;
|
||||
@@ -601,6 +592,15 @@ namespace VEPROMS
|
||||
this.cmbFont.TabIndex = 0;
|
||||
this.cmbFont.SelectedIndexChanged += new System.EventHandler(this.cmbFont_SelectedIndexChanged);
|
||||
//
|
||||
// lblDummy
|
||||
//
|
||||
this.lblDummy.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.lblDummy.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.lblDummy.Location = new System.Drawing.Point(1013, 0);
|
||||
this.lblDummy.Name = "lblDummy";
|
||||
this.lblDummy.Size = new System.Drawing.Size(10, 25);
|
||||
this.lblDummy.Visible = false;
|
||||
//
|
||||
// labelItem10
|
||||
//
|
||||
this.labelItem10.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
|
||||
@@ -1635,7 +1635,6 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.ButtonItem btnNew;
|
||||
private DevComponents.DotNetBar.ButtonItem btnOpen;
|
||||
private DevComponents.DotNetBar.ButtonItem btnPrepare;
|
||||
private DevComponents.DotNetBar.ButtonItem btnPrint;
|
||||
private DevComponents.DotNetBar.ItemContainer icRecentDocs;
|
||||
private DevComponents.DotNetBar.LabelItem labelItem8;
|
||||
private DevComponents.DotNetBar.ItemContainer itemContainer5;
|
||||
@@ -1732,6 +1731,7 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.ButtonItem btnShortCuts;
|
||||
private DevComponents.DotNetBar.LabelItem lblItemID;
|
||||
private System.Windows.Forms.ComboBox cmbFont;
|
||||
private System.Windows.Forms.Label lblDummy;
|
||||
private DevComponents.DotNetBar.LabelItem lblResolution;
|
||||
private DevComponents.DotNetBar.LabelItem lblUser;
|
||||
private DevComponents.DotNetBar.LabelItem lblLastChange;
|
||||
@@ -1763,3 +1763,4 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@@ -116,7 +116,7 @@ namespace VEPROMS
|
||||
|
||||
//added by jcb 20130718 to support create pdf button when multi-unit and user selects a unit
|
||||
pi.MyDocVersion.DocVersionConfig.SelectedSlave = pi.ProcedureConfig.SelectedSlave;
|
||||
|
||||
|
||||
DlgPrintProcedure prnDlg = new DlgPrintProcedure(pi);
|
||||
|
||||
//added by jcb 20130718 to support create pdf button when multi-unit and user selects a unit
|
||||
@@ -356,12 +356,12 @@ namespace VEPROMS
|
||||
cmbFont.SelectedIndex = -1;
|
||||
string[] parameters = System.Environment.CommandLine.Split(" ".ToCharArray());
|
||||
string db = Volian.Base.Library.VlnSettings.GetDB();
|
||||
|
||||
|
||||
if (db != null)
|
||||
Database.SelectedDatabase = db;
|
||||
|
||||
//B2018-129 Most Recently Used list was being cleared. Needed to remove a (string) type case in the IF statement
|
||||
if (!string.IsNullOrEmpty((string)Properties.Settings.Default["DefaultDB"]))
|
||||
if (!string.IsNullOrEmpty((string)Properties.Settings.Default["DefaultDB"]))
|
||||
Database.LastDatabase = Properties.Settings.Default.DefaultDB;
|
||||
|
||||
// Setup the Context menu for DisplaySearch including the symbols
|
||||
@@ -400,7 +400,7 @@ namespace VEPROMS
|
||||
// B2019-107 Error Log message for inconsistent PromsFixes
|
||||
_MyLog.InfoFormat("\r\nSession Beginning\r\n<===={0}[SQL:{1:yyMM.ddHH}]====== User: {2}/{3} Started {4} ===============>{5}"
|
||||
, Application.ProductVersion, Database.RevDate, Environment.UserDomainName, Environment.UserName, DateTime.Now.ToString("dddd MMMM d, yyyy h:mm:ss tt"), FormatInfo.Failed ?? "");
|
||||
|
||||
|
||||
// C2022-030 Notify the user if the stored procedure in the database are not update to date
|
||||
// with those in the PROMSFixes.sql delivered with the PROMS executable
|
||||
string pfVersion = ExeInfo.GetAssocicatedPROMSFixesVersion();
|
||||
@@ -418,8 +418,8 @@ namespace VEPROMS
|
||||
sbMsg.Append("\n\nPlease have your DBA update the database with the PROMSFixes.sql script file that was\ndelivered with this PROMS executable.");
|
||||
sbMsg.Append("\n\nThe PROMSFixes.sql file is included with the PROMS installation download.");
|
||||
sbMsg.Append("\n\nIt can also be found in your PROMS executable folder:");
|
||||
sbMsg.AppendFormat("\n\t{0}", ExeInfo.PROMSExecutableFolderPath());
|
||||
FlexibleMessageBox.Show(sbMsg.ToString(), "SQL Stored Procedures Version Difference");
|
||||
sbMsg.AppendFormat("\n\t{0}",ExeInfo.PROMSExecutableFolderPath());
|
||||
FlexibleMessageBox.Show(sbMsg.ToString(),"SQL Stored Procedures Version Difference");
|
||||
}
|
||||
|
||||
foreach (string parameter in parameters)
|
||||
@@ -527,7 +527,7 @@ namespace VEPROMS
|
||||
tv.ViewPDF += new vlnTreeViewPdfEvent(tv_ViewPDF);
|
||||
|
||||
displayApplicability.ApplicabilityViewModeChanged += new DisplayApplicability.DisplayApplicabilityEvent(displayApplicability_ApplicabilityViewModeChanged);
|
||||
|
||||
|
||||
tv.ExportImportProcedureSets += new vlnTreeViewEvent(tv_ExportImportProcedureSets);
|
||||
tv.PrintTransitionReport += new vlnTreeViewEvent(tv_PrintTransitionReport);
|
||||
tv.ProcessingComplete += tv_ProcessingComplete;
|
||||
@@ -690,7 +690,7 @@ namespace VEPROMS
|
||||
else
|
||||
{
|
||||
int ownerid = MySessionInfo.CheckOutItem(fi.FolderID, CheckOutType.Session);
|
||||
|
||||
|
||||
dlgExportImport dlg = new dlgExportImport(args.Index == 0 ? "Export" : "Import", fi, this, (E_UCFImportOptions)Properties.Settings.Default.UCFImportOpt);//Added frmVEPROMS Parameter
|
||||
dlg.ShowDialog(this);
|
||||
|
||||
@@ -1139,7 +1139,7 @@ namespace VEPROMS
|
||||
|
||||
dvi.DocVersionConfig.SelectedSlave = 0;
|
||||
}
|
||||
|
||||
|
||||
void tv_PrintProcedure(object sender, vlnTreeEventArgs args)
|
||||
{
|
||||
ProcedureInfo pi = (args.Node as VETreeNode).VEObject as ProcedureInfo;
|
||||
@@ -1178,8 +1178,8 @@ namespace VEPROMS
|
||||
pi.MyDocVersion.DocVersionConfig.SelectedSlave = 0;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
catch(Exception ex)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.AppendLine("Could not create PDF Print");
|
||||
@@ -1197,21 +1197,7 @@ namespace VEPROMS
|
||||
{
|
||||
//args.Node.Parent.
|
||||
SectionInfo si2 = (args.Node as VETreeNode).VEObject as SectionInfo;
|
||||
int[] _prtSectID = new int[3]; // C2024-003 parameter contains parent section itemid, child section itemid, issubsection flag.
|
||||
if (si2.IsSubsection == true)
|
||||
{
|
||||
// If section is a subsection. Assigned values are section and subsection.
|
||||
_prtSectID[0] = si2.MyParent.ItemID; // section
|
||||
_prtSectID[1] = si2.ItemID; // sub section
|
||||
_prtSectID[2] = Convert.ToInt32(si2.IsSubsection); // IsSubSection flag
|
||||
}
|
||||
else
|
||||
{
|
||||
// If section is a regular section. assign values is section is not a subsection.
|
||||
_prtSectID[0] = si2.ItemID; // section
|
||||
_prtSectID[1] = -1; // sub section
|
||||
_prtSectID[2] = Convert.ToInt32(si2.IsSubsection); // IsSubSection flag
|
||||
}
|
||||
int _prtSectID = si2.ItemID;
|
||||
|
||||
if (si2 == null) return;
|
||||
|
||||
@@ -1221,7 +1207,7 @@ namespace VEPROMS
|
||||
|
||||
using (DlgPrintProcedure prnDlg = new DlgPrintProcedure(si2.MyProcedure))
|
||||
{
|
||||
prnDlg.PrtSectID = _prtSectID; // Assign Section print values to parameter used in print secetions / sub sections.
|
||||
prnDlg.PrtSectID = _prtSectID;
|
||||
prnDlg.SelectedSlave = args.UnitIndex;
|
||||
prnDlg.MySessionInfo = MySessionInfo;
|
||||
prnDlg.SetupForProcedure(); // Setup filename
|
||||
@@ -1655,11 +1641,11 @@ namespace VEPROMS
|
||||
if (!_WeAreExitingPROMS && !ClosingWithError && tc.SelectedDisplayTabItem != null && tc._MyDisplayTabItems.Count > 0)
|
||||
{
|
||||
// B2019-071 dialog to ask user if we are to close one tab or exit
|
||||
DlgCloseTabsOrExit dctoe = new DlgCloseTabsOrExit(MyParent == null, PROMSWindowForms.Count > 0);
|
||||
DlgCloseTabsOrExit dctoe = new DlgCloseTabsOrExit(MyParent == null, PROMSWindowForms.Count > 0);
|
||||
dctoe.ShowDialog();
|
||||
|
||||
// B2019-101 flag that we are exiting from PROMS main window (separate windows)
|
||||
_WeAreExitingPROMS = (MyParent == null && dctoe.ExitPROMS);
|
||||
_WeAreExitingPROMS = (MyParent == null && dctoe.ExitPROMS);
|
||||
|
||||
if (dctoe.Cancel) // B2019-071 user decided to not close any tab and not exit PROMS - so do nothing and continue working
|
||||
{
|
||||
@@ -1681,7 +1667,7 @@ namespace VEPROMS
|
||||
tc.CloseTabItem(tc.SelectedDisplayTabItem);
|
||||
|
||||
// B2019-071 close just the current tab and continue working
|
||||
if (!dctoe.ExitPROMS)
|
||||
if (!dctoe.ExitPROMS)
|
||||
{
|
||||
n = 0;
|
||||
e.Cancel = true;
|
||||
@@ -1714,7 +1700,7 @@ namespace VEPROMS
|
||||
}
|
||||
|
||||
// This keeps PROMS from Hanging under certain circumstances
|
||||
tc.ShuttingDown = true;
|
||||
tc.ShuttingDown = true;
|
||||
|
||||
// B2019-161 When shutting down output the timing information (to the error log)
|
||||
if (VolianTimer.TimingsOn)
|
||||
@@ -1896,12 +1882,12 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.ButtonItem btnUserControlOfFormatsExport;
|
||||
private DevComponents.DotNetBar.ButtonItem btnUserControlOfFormatsImport;
|
||||
private TabItemsToClose _MyCloseTabList = new TabItemsToClose();
|
||||
|
||||
|
||||
public TabItemsToClose MyCloseTabList
|
||||
{
|
||||
get { return _MyCloseTabList; }
|
||||
}
|
||||
|
||||
|
||||
private bool _DisablePing = false;
|
||||
public bool DisablePing
|
||||
{
|
||||
@@ -2011,7 +1997,7 @@ namespace VEPROMS
|
||||
if (ContentInfo.IsInCache(id))
|
||||
{
|
||||
ContentInfo ci = ContentInfo.Get(id);
|
||||
|
||||
|
||||
if (MySessionInfo.LastContentChange >= ci.LastChangedInt64)
|
||||
{
|
||||
using (Content c = Content.Get(id))
|
||||
@@ -2035,7 +2021,7 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
catch { }
|
||||
|
||||
|
||||
//MySemaphore.Release();
|
||||
//_MyLog.DebugFormat("{0},{1:X},{2:X},{3:X}", DateTime.Now.ToLongTimeString(), lastChanged, MySessionInfo.LastContentChange, MySessionInfo.LastChangedInt64);
|
||||
}
|
||||
@@ -2106,13 +2092,12 @@ namespace VEPROMS
|
||||
btnResetSecurity = new ButtonItem("btnResetSecurity", "Reset Security");
|
||||
btnSecurity.SubItems.Add(btnResetSecurity);
|
||||
btnResetSecurity.Click += new EventHandler(btnResetSecurity_Click);
|
||||
|
||||
|
||||
//batch refresh transitions
|
||||
btnAdministrativeTools = new ButtonItem("btnAdministrativeTools", "Administrative Tools");
|
||||
btnAdministrativeTools.Click += new EventHandler(btnAdministrativeTools_Click);
|
||||
btnAdmin.SubItems.Add(btnAdministrativeTools);
|
||||
|
||||
this.superTooltip1.SetSuperTooltip(btnPrint, new SuperTooltipInfo("Create PDF", null, null, null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnExit, new SuperTooltipInfo("Exit", null, null, null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnOptions, new SuperTooltipInfo("Options", null, null, null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnManageSecurity, new SuperTooltipInfo("Manage Security", null, null, null, null, eTooltipColor.Gray));
|
||||
@@ -2120,7 +2105,7 @@ namespace VEPROMS
|
||||
this.superTooltip1.SetSuperTooltip(btnResetSecurity, new SuperTooltipInfo("Reset Security", null, null, null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnAdministrativeTools, new SuperTooltipInfo("Administrative Tools", null, null, null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnUpdateFormats, new SuperTooltipInfo("Update Formats", null, null, null, null, eTooltipColor.Gray));
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
MyUserInfo = UserInfo.GetByUserID(VlnSettings.UserID);
|
||||
@@ -2167,7 +2152,7 @@ namespace VEPROMS
|
||||
btnFormats.Visible = isVisible;
|
||||
btnSecurity.Visible = isVisible;
|
||||
btnAdmin.Enabled = (isVisible || HasSetAdministrator(MyUserInfo));
|
||||
|
||||
|
||||
tmrCloseTabItems = new Timer();
|
||||
tmrCloseTabItems.Interval = 100;
|
||||
tmrCloseTabItems.Tick += new EventHandler(tmrCloseTabItems_Tick);
|
||||
@@ -2175,7 +2160,7 @@ namespace VEPROMS
|
||||
|
||||
CloseSessionsNoLongerActive();
|
||||
MySessionInfo = SessionInfo.BeginSession(Environment.MachineName, System.Diagnostics.Process.GetCurrentProcess().Id);
|
||||
|
||||
|
||||
if (MySessionInfo == null)
|
||||
{
|
||||
MessageBox.Show("This database is locked by the Administrator. Please try again later", "PROMS is Locked");
|
||||
@@ -2219,7 +2204,7 @@ namespace VEPROMS
|
||||
if (Settings.Default["Size"] != null) this.Size = Settings.Default.Size;
|
||||
//if (Settings.Default["WindowState"] != null) this.WindowState = Settings.Default.WindowState;
|
||||
//if (Settings.Default.SaveTreeviewExpanded) epProcedures.Expanded = Settings.Default.TreeviewExpanded;
|
||||
|
||||
|
||||
// if the Procedures panel was left open from the last session, then open it
|
||||
epProcedures.Expanded = Settings.Default.TreeviewExpanded;
|
||||
if (Settings.Default["QATItems"] != null) ribbonControl1.QatLayout = Settings.Default.QATItems;
|
||||
@@ -2391,7 +2376,7 @@ namespace VEPROMS
|
||||
TurnChangeManagerOn.Execute();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// C2015-022 Separate Windows. This is a dictionary of child PROMS windows forms (frmVEPROMS)
|
||||
//
|
||||
Dictionary<int, frmVEPROMS> _PROMSWindowForms = null;
|
||||
@@ -2439,7 +2424,7 @@ namespace VEPROMS
|
||||
while (!(_tn.VEObject is FolderInfo))
|
||||
{
|
||||
// back up to the first folder tree node
|
||||
_tn = (VETreeNode)_tn.Parent;
|
||||
_tn = (VETreeNode)_tn.Parent;
|
||||
}
|
||||
|
||||
_tn.Nodes.Clear(); // remove the child nodes from main window - child window now has this part of the procedure tree
|
||||
@@ -2536,7 +2521,7 @@ namespace VEPROMS
|
||||
}
|
||||
|
||||
DialogResult dr = System.Windows.Forms.DialogResult.Yes;
|
||||
|
||||
|
||||
// RHM20150507 Table Scrunch
|
||||
Rtf2Pdf.AllowTableScrunching = cbScrunch.Checked ? _DefaultScrunchingRules : TableScrunching.None;
|
||||
|
||||
@@ -2768,7 +2753,7 @@ namespace VEPROMS
|
||||
tmrCloseTabItems.Enabled = false;
|
||||
|
||||
_TimeActivity1.Open();
|
||||
|
||||
|
||||
while (MyCloseTabList.CountDTI > 0)
|
||||
{
|
||||
DisplayTabItem dti = MyCloseTabList.PopDTI();
|
||||
@@ -3140,22 +3125,44 @@ namespace VEPROMS
|
||||
if (dvi != null)
|
||||
{
|
||||
DlgPrintProcedure prnDlg = new DlgPrintProcedure(dvi, true);
|
||||
if (dvi.MultiUnitCount == 0) prnDlg.SelectedSlave = -1;
|
||||
if (dvi.MultiUnitCount == 0)
|
||||
{
|
||||
prnDlg.SelectedSlave = -1;
|
||||
}
|
||||
else if (dvi.MultiUnitCount > 0)
|
||||
{
|
||||
string[] arguments = Environment.GetCommandLineArgs();
|
||||
for (int i = 0; i < arguments.Length; i++)
|
||||
{
|
||||
if (arguments[i].Contains("/C="))
|
||||
{
|
||||
Console.WriteLine("In arguments loop");
|
||||
//int num;
|
||||
string[] childarg = arguments[i].Split('=');
|
||||
if (int.TryParse(childarg[1], out int num))
|
||||
{
|
||||
prnDlg.SelectedSlave = num;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
prnDlg.AllowDateTimePrefixSuffix = false; //C2018-033 don't append any selected date/time pdf file prefix or suffix (defined in working draft properties)
|
||||
prnDlg.ShowDialog(this); // RHM 20120925 - Center dialog over PROMS window
|
||||
//prnDlg.FormClosed += new FormClosedEventHandler(prnDlg_FormClosed);
|
||||
//while (!_RunNext) Application.DoEvents();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
ranAuto = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (ranAuto)
|
||||
{
|
||||
this.Close();
|
||||
if (ranAuto)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3216,6 +3223,14 @@ namespace VEPROMS
|
||||
txtSearch.Visible = false;
|
||||
lblLastChange.Visible = false;
|
||||
btnStepRTF.Visible = false;
|
||||
lblDummy.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
// C2024-007: On Proms main form, allow for control of whether the FontMenu
|
||||
// combo box is displayed. Only done when running in debugmode
|
||||
cmbFont.Visible = Volian.Base.Library.VlnSettings.GetCommandFlag("FontMenu");
|
||||
lblDummy.Visible = !Volian.Base.Library.VlnSettings.GetCommandFlag("FontMenu");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3880,7 +3895,7 @@ namespace VEPROMS
|
||||
{
|
||||
infoPanel.Expanded = true;
|
||||
infoTabs.SelectedTab = infotabRO;
|
||||
|
||||
|
||||
displayRO.ProgressBar = bottomProgBar;
|
||||
|
||||
displayRO.MyRTB = (SelectedStepTabPanel == null) ? null :
|
||||
@@ -4039,7 +4054,7 @@ namespace VEPROMS
|
||||
|
||||
// need this to update RO Tree after UpdateRofst (B2015-226)
|
||||
// B2022-026 RO Memory reduction coding (Jakes Merge)
|
||||
displayRO.MyROFST = SelectedROFst;
|
||||
displayRO.MyROFST = SelectedROFst;
|
||||
displayRO.LoadTree();
|
||||
|
||||
// resetting the MyROFSTLookup for the search & reports panels will refresh the RO trees after UpdateRofst in each of those panels (B2015-226)
|
||||
@@ -4082,7 +4097,7 @@ namespace VEPROMS
|
||||
|
||||
SetCaption(tv.SelectedNode as VETreeNode);
|
||||
displayApplicability.MyDisplayTabItem = tc.SelectedDisplayTabItem;
|
||||
|
||||
|
||||
if (tc.SelectedDisplayTabItem.MyItemInfo.MyDocVersion.DocVersionAssociationCount > 0)
|
||||
{
|
||||
displayRO.MyROFST = tc.SelectedDisplayTabItem.MyItemInfo.MyDocVersion.DocVersionAssociations[0].MyROFst;
|
||||
@@ -4098,10 +4113,6 @@ namespace VEPROMS
|
||||
|
||||
lblUser.Text = tc.SelectedDisplayTabItem.MyUserRole;
|
||||
|
||||
if (tc.SelectedDisplayTabItem.MyItemInfo.MyDocVersion.MultiUnitCount > 1)
|
||||
btnPrint.Visible = false;
|
||||
else
|
||||
btnPrint.Visible = true;
|
||||
|
||||
// Reset the ribbon buttons B2016-148 (ex. a copystep done in a different procedure tab my require the paste step options to be active
|
||||
if (tc.SelectedDisplayTabItem != null && tc.SelectedDisplayTabItem.MyStepTabPanel != null) // MyStepTabPanel will be null if the active tab is a Word Attachment
|
||||
@@ -4297,7 +4308,7 @@ namespace VEPROMS
|
||||
// B2022-026 RO Memory reduction coding (Jakes Merge)
|
||||
displayRO.ProgressBar = bottomProgBar;
|
||||
displayRO.MyRTB = args.MyEditItem.MyStepRTB;
|
||||
displayRO.LoadTree();
|
||||
displayRO.LoadTree();
|
||||
|
||||
displayBookMarks.MyEditItem = args.MyEditItem;
|
||||
displayHistory.MyEditItem = args.MyEditItem;
|
||||
@@ -4316,7 +4327,7 @@ namespace VEPROMS
|
||||
|
||||
displayRO.ROTypeFilter = SelectedStepTabPanel.MyStepPanel.SelectedEditItem is Volian.Controls.Library.GridItem && (SelectedStepTabPanel.MyStepPanel.SelectedEditItem as Volian.Controls.Library.GridItem).MyFlexGrid.IsRoTable ?
|
||||
E_ROValueType.Table : (SelectedStepTabPanel.MyStepPanel.SelectedEditItem.MyItemInfo.IsFigure) ? E_ROValueType.Image : E_ROValueType.Text;
|
||||
|
||||
|
||||
if (_LastStepRTB.IsRoTable && _LastStepRTB.MyItemInfo.MyContent.ContentRoUsageCount > 0)
|
||||
displayRO.CurROLink = _LastStepRTB.MyItemInfo.MyContent.ContentRoUsages[0];
|
||||
|
||||
@@ -4356,7 +4367,6 @@ namespace VEPROMS
|
||||
ctrlAnnotationDetails.UpdateAnnotationGrid(_CurrentItem); // set the CurrentItem (send Message) when the MSWord section is opened.
|
||||
}
|
||||
|
||||
btnPrint.Enabled = (_CurrentItem != null);
|
||||
}
|
||||
|
||||
void _LastStepRTB_EditModeChanged(object sender, EventArgs args)
|
||||
@@ -4434,7 +4444,7 @@ namespace VEPROMS
|
||||
|
||||
displayRO.ROTypeFilter = SelectedStepTabPanel.MyStepPanel.SelectedEditItem is Volian.Controls.Library.GridItem && (SelectedStepTabPanel.MyStepPanel.SelectedEditItem as Volian.Controls.Library.GridItem).MyFlexGrid.IsRoTable ?
|
||||
E_ROValueType.Table : (SelectedStepTabPanel.MyStepPanel.SelectedEditItem.MyItemInfo.IsFigure) ? E_ROValueType.Image : E_ROValueType.Text;
|
||||
|
||||
|
||||
displayRO.ProgressBar = bottomProgBar;
|
||||
displayRO.MyRTB = SelectedStepTabPanel.MyStepPanel.SelectedEditItem.MyStepRTB;
|
||||
displayRO.CurROLink = args.MyLinkText.MyRoUsageInfo;
|
||||
@@ -4460,7 +4470,7 @@ namespace VEPROMS
|
||||
if (!tv.Focused && tc.SelectedDisplayTabItem != null && tc.SelectedDisplayTabItem.SelectedItemInfo != null)
|
||||
tv.AdjustTree(tc.SelectedDisplayTabItem.SelectedItemInfo);
|
||||
|
||||
VETreeNode vtn = tv.SelectedNode as VETreeNode;
|
||||
VETreeNode vtn = tv.SelectedNode as VETreeNode;
|
||||
if (vtn == null) return;
|
||||
StepInfo stpinf = vtn.VEObject as StepInfo;
|
||||
if (stpinf == null || !stpinf.IsRNOPart) //B2017-037 is this a RNO step type element - don't allow insert before/after
|
||||
@@ -4848,12 +4858,7 @@ namespace VEPROMS
|
||||
StepRTB.MyFontFamily = cmbFont.SelectedValue as FontFamily;
|
||||
}
|
||||
|
||||
private void btnPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
DlgPrintProcedure prnDlg = new DlgPrintProcedure(this._CurrentItem.MyProcedure);
|
||||
prnDlg.MySessionInfo = MySessionInfo;
|
||||
prnDlg.ShowDialog(this); // RHM 20120925 - Center dialog over PROMS window
|
||||
}
|
||||
|
||||
|
||||
private void lblResolution_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -4898,7 +4903,7 @@ namespace VEPROMS
|
||||
|
||||
private void btnUpdateFormat_Click(object sender, EventArgs e)
|
||||
{
|
||||
UpdateFormats(null);
|
||||
UpdateFormats(null);
|
||||
}
|
||||
|
||||
private void UpdateFormats(string mypath)
|
||||
@@ -4969,7 +4974,7 @@ namespace VEPROMS
|
||||
try
|
||||
{
|
||||
frmSendErrorLog frm = new frmSendErrorLog(Properties.Settings.Default.OutlookEmail, Properties.Settings.Default["SMTPServer"].ToString(), Properties.Settings.Default["SMTPUser"].ToString(), ErrorLogFileName);
|
||||
|
||||
|
||||
if (frm.ShowDialog(this) == DialogResult.OK)
|
||||
{
|
||||
Properties.Settings.Default.OutlookEmail = frm.OutlookEmail;
|
||||
|
@@ -30,8 +30,8 @@ namespace VEPROMS
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVersionsProperties));
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.ppBtnCancel = new System.Windows.Forms.Button();
|
||||
this.ppBtnOK = new System.Windows.Forms.Button();
|
||||
this.ppBtnDefaultChgBar = new DevComponents.DotNetBar.ButtonX();
|
||||
@@ -95,17 +95,14 @@ namespace VEPROMS
|
||||
this.ppLblDefSettingsInfo = new System.Windows.Forms.Label();
|
||||
this.dlgROFolder = new System.Windows.Forms.FolderBrowserDialog();
|
||||
this.tcVersions = new DevComponents.DotNetBar.TabControl();
|
||||
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpRefereceObjects = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.ppBtnRoToSql = new System.Windows.Forms.Button();
|
||||
this.tbRoDb = new System.Windows.Forms.TextBox();
|
||||
this.ppBtnRoDbBrowse = new System.Windows.Forms.Button();
|
||||
this.btnRoDbProperties = new DevComponents.DotNetBar.ButtonX();
|
||||
this.cmbRoDb = new System.Windows.Forms.ComboBox();
|
||||
this.ppGpbxUpROvals = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.tiRefObjs = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.gpxMOSLandLocation = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.ppCmbxMOSLandcornerLoc = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.tbxMOSLandyloc = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.tbxMOSLandxloc = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.lblMOSLandcorner = new System.Windows.Forms.Label();
|
||||
this.lblMOSLandyloc = new System.Windows.Forms.Label();
|
||||
this.lblMOSLandxloc = new System.Windows.Forms.Label();
|
||||
this.ppChbxMOSview = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.gpxMOSLocation = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.ppCmbxMOScornerLoc = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
@@ -124,6 +121,16 @@ namespace VEPROMS
|
||||
this.ppCmbxMOSformat = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.lblMOSformat = new System.Windows.Forms.Label();
|
||||
this.tiMergedOutputSettings = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tcpRefereceObjects = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.ppBtnRoToSql = new System.Windows.Forms.Button();
|
||||
this.tbRoDb = new System.Windows.Forms.TextBox();
|
||||
this.ppBtnRoDbBrowse = new System.Windows.Forms.Button();
|
||||
this.btnRoDbProperties = new DevComponents.DotNetBar.ButtonX();
|
||||
this.cmbRoDb = new System.Windows.Forms.ComboBox();
|
||||
this.ppGpbxUpROvals = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.tiRefObjs = new DevComponents.DotNetBar.TabItem(this.components);
|
||||
this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.ppChbxEnhancedAllowMods = new System.Windows.Forms.CheckBox();
|
||||
this.btnUnlinkDocVersion = new System.Windows.Forms.Button();
|
||||
@@ -210,25 +217,19 @@ namespace VEPROMS
|
||||
this.ROPrefixBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.PDFLocationBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
|
||||
this.formatInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.gpxMOSLandLocation = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
this.ppCmbxMOSLandcornerLoc = new DevComponents.DotNetBar.Controls.ComboBoxEx();
|
||||
this.tbxMOSLandyloc = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.tbxMOSLandxloc = new DevComponents.DotNetBar.Controls.TextBoxX();
|
||||
this.lblMOSLandcorner = new System.Windows.Forms.Label();
|
||||
this.lblMOSLandyloc = new System.Windows.Forms.Label();
|
||||
this.lblMOSLandxloc = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.docVersionConfigBindingSource)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.imageCodecInfoBindingSource)).BeginInit();
|
||||
this.ppGpbxUserSpecCB.SuspendLayout();
|
||||
this.ppGpbxUserSpecTxt.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcVersions)).BeginInit();
|
||||
this.tcVersions.SuspendLayout();
|
||||
this.tabControlPanel2.SuspendLayout();
|
||||
this.gpxMOSLandLocation.SuspendLayout();
|
||||
this.gpxMOSLocation.SuspendLayout();
|
||||
this.gpxMOSfont.SuspendLayout();
|
||||
this.tcpGeneral.SuspendLayout();
|
||||
this.tcpRefereceObjects.SuspendLayout();
|
||||
this.ppGpbxUpROvals.SuspendLayout();
|
||||
this.tabControlPanel2.SuspendLayout();
|
||||
this.gpxMOSLocation.SuspendLayout();
|
||||
this.gpxMOSfont.SuspendLayout();
|
||||
this.tabControlPanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsMiniEnhanced)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsEnhanced)).BeginInit();
|
||||
@@ -247,14 +248,13 @@ namespace VEPROMS
|
||||
this.panVerBtns.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit();
|
||||
this.gpxMOSLandLocation.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// ppBtnCancel
|
||||
//
|
||||
this.ppBtnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ppBtnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
||||
this.ppBtnCancel.Location = new System.Drawing.Point(742, 342);
|
||||
this.ppBtnCancel.Location = new System.Drawing.Point(742, 338);
|
||||
this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnCancel.Name = "ppBtnCancel";
|
||||
this.ppBtnCancel.Size = new System.Drawing.Size(56, 21);
|
||||
@@ -266,7 +266,7 @@ namespace VEPROMS
|
||||
// ppBtnOK
|
||||
//
|
||||
this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ppBtnOK.Location = new System.Drawing.Point(669, 342);
|
||||
this.ppBtnOK.Location = new System.Drawing.Point(669, 338);
|
||||
this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnOK.Name = "ppBtnOK";
|
||||
this.ppBtnOK.Size = new System.Drawing.Size(56, 21);
|
||||
@@ -1102,9 +1102,9 @@ namespace VEPROMS
|
||||
this.tcVersions.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tcVersions.BackColor = System.Drawing.Color.Transparent;
|
||||
this.tcVersions.CanReorderTabs = true;
|
||||
this.tcVersions.Controls.Add(this.tabControlPanel2);
|
||||
this.tcVersions.Controls.Add(this.tcpGeneral);
|
||||
this.tcVersions.Controls.Add(this.tcpRefereceObjects);
|
||||
this.tcVersions.Controls.Add(this.tcpGeneral);
|
||||
this.tcVersions.Controls.Add(this.tabControlPanel2);
|
||||
this.tcVersions.Controls.Add(this.tabControlPanel1);
|
||||
this.tcVersions.Controls.Add(this.tcpApplicability);
|
||||
this.tcVersions.Controls.Add(this.tabControlPanel5);
|
||||
@@ -1130,173 +1130,6 @@ namespace VEPROMS
|
||||
this.tcVersions.TabsVisible = false;
|
||||
this.tcVersions.Text = "tabControl1";
|
||||
//
|
||||
// tcpGeneral
|
||||
//
|
||||
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.tcpGeneral.Controls.Add(this.ppCmbxProcSetType);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtName);
|
||||
this.tcpGeneral.Controls.Add(this.label9);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtProcSetRev);
|
||||
this.tcpGeneral.Controls.Add(this.lblProcSetRev);
|
||||
this.tcpGeneral.Controls.Add(this.label4);
|
||||
this.tcpGeneral.Controls.Add(this.label3);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtTitle);
|
||||
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
|
||||
this.tcpGeneral.Controls.Add(this.ppDTPicker);
|
||||
this.tcpGeneral.Controls.Add(this.label2);
|
||||
this.tcpGeneral.Controls.Add(this.label1);
|
||||
this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpGeneral.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpGeneral.Name = "tcpGeneral";
|
||||
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.tcpGeneral.Size = new System.Drawing.Size(625, 311);
|
||||
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpGeneral.Style.GradientAngle = 90;
|
||||
this.tcpGeneral.TabIndex = 1;
|
||||
this.tcpGeneral.TabItem = this.tiGeneral;
|
||||
//
|
||||
// tiGeneral
|
||||
//
|
||||
this.tiGeneral.AttachedControl = this.tcpGeneral;
|
||||
this.tiGeneral.Name = "tiGeneral";
|
||||
this.tiGeneral.Text = "General";
|
||||
//
|
||||
// tcpRefereceObjects
|
||||
//
|
||||
this.tcpRefereceObjects.Controls.Add(this.ppBtnRoToSql);
|
||||
this.tcpRefereceObjects.Controls.Add(this.tbRoDb);
|
||||
this.tcpRefereceObjects.Controls.Add(this.ppBtnRoDbBrowse);
|
||||
this.tcpRefereceObjects.Controls.Add(this.btnRoDbProperties);
|
||||
this.tcpRefereceObjects.Controls.Add(this.cmbRoDb);
|
||||
this.tcpRefereceObjects.Controls.Add(this.ppGpbxUpROvals);
|
||||
this.tcpRefereceObjects.Controls.Add(this.label6);
|
||||
this.tcpRefereceObjects.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpRefereceObjects.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpRefereceObjects.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpRefereceObjects.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpRefereceObjects.Name = "tcpRefereceObjects";
|
||||
this.tcpRefereceObjects.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.tcpRefereceObjects.Size = new System.Drawing.Size(625, 311);
|
||||
this.tcpRefereceObjects.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpRefereceObjects.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpRefereceObjects.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpRefereceObjects.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpRefereceObjects.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpRefereceObjects.Style.GradientAngle = 90;
|
||||
this.tcpRefereceObjects.TabIndex = 2;
|
||||
this.tcpRefereceObjects.TabItem = this.tiRefObjs;
|
||||
this.tcpRefereceObjects.Enter += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// ppBtnRoToSql
|
||||
//
|
||||
this.ppBtnRoToSql.Location = new System.Drawing.Point(337, 146);
|
||||
this.ppBtnRoToSql.Name = "ppBtnRoToSql";
|
||||
this.ppBtnRoToSql.Size = new System.Drawing.Size(163, 46);
|
||||
this.ppBtnRoToSql.TabIndex = 48;
|
||||
this.ppBtnRoToSql.Text = "Migrate Data to Sql";
|
||||
this.ppBtnRoToSql.UseVisualStyleBackColor = true;
|
||||
this.ppBtnRoToSql.Visible = false;
|
||||
this.ppBtnRoToSql.Click += new System.EventHandler(this.ppBtnRoToSql_Click);
|
||||
//
|
||||
// tbRoDb
|
||||
//
|
||||
this.tbRoDb.Enabled = false;
|
||||
this.tbRoDb.Location = new System.Drawing.Point(80, 13);
|
||||
this.tbRoDb.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbRoDb.Name = "tbRoDb";
|
||||
this.tbRoDb.Size = new System.Drawing.Size(318, 20);
|
||||
this.tbRoDb.TabIndex = 20;
|
||||
//
|
||||
// ppBtnRoDbBrowse
|
||||
//
|
||||
this.ppBtnRoDbBrowse.Location = new System.Drawing.Point(406, 34);
|
||||
this.ppBtnRoDbBrowse.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnRoDbBrowse.Name = "ppBtnRoDbBrowse";
|
||||
this.ppBtnRoDbBrowse.Size = new System.Drawing.Size(51, 20);
|
||||
this.ppBtnRoDbBrowse.TabIndex = 22;
|
||||
this.ppBtnRoDbBrowse.Text = "Browse...";
|
||||
this.ppBtnRoDbBrowse.UseVisualStyleBackColor = true;
|
||||
this.ppBtnRoDbBrowse.Click += new System.EventHandler(this.ppBtnRoDbBrowse_Click);
|
||||
//
|
||||
// btnRoDbProperties
|
||||
//
|
||||
this.btnRoDbProperties.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnRoDbProperties.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnRoDbProperties.Image = ((System.Drawing.Image)(resources.GetObject("btnRoDbProperties.Image")));
|
||||
this.btnRoDbProperties.Location = new System.Drawing.Point(406, 10);
|
||||
this.btnRoDbProperties.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnRoDbProperties.Name = "btnRoDbProperties";
|
||||
this.btnRoDbProperties.Size = new System.Drawing.Size(33, 23);
|
||||
this.btnRoDbProperties.TabIndex = 21;
|
||||
this.btnRoDbProperties.Click += new System.EventHandler(this.btnRoDbProperties_Click);
|
||||
//
|
||||
// cmbRoDb
|
||||
//
|
||||
this.cmbRoDb.FormattingEnabled = true;
|
||||
this.cmbRoDb.Location = new System.Drawing.Point(80, 13);
|
||||
this.cmbRoDb.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cmbRoDb.Name = "cmbRoDb";
|
||||
this.cmbRoDb.Size = new System.Drawing.Size(318, 21);
|
||||
this.cmbRoDb.TabIndex = 47;
|
||||
this.cmbRoDb.SelectedIndexChanged += new System.EventHandler(this.cmbRoDb_SelectedIndexChanged);
|
||||
//
|
||||
// ppGpbxUpROvals
|
||||
//
|
||||
this.ppGpbxUpROvals.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppGpbxUpROvals.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.ppGpbxUpROvals.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.ppGpbxUpROvals.Controls.Add(this.ppBtnResetRoVals);
|
||||
this.ppGpbxUpROvals.Controls.Add(this.ppBtnUpRoVals);
|
||||
this.ppGpbxUpROvals.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.ppGpbxUpROvals.Location = new System.Drawing.Point(34, 69);
|
||||
this.ppGpbxUpROvals.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppGpbxUpROvals.Name = "ppGpbxUpROvals";
|
||||
this.ppGpbxUpROvals.Size = new System.Drawing.Size(112, 162);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxUpROvals.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.ppGpbxUpROvals.Style.BackColorGradientAngle = 90;
|
||||
this.ppGpbxUpROvals.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.ppGpbxUpROvals.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxUpROvals.Style.BorderBottomWidth = 1;
|
||||
this.ppGpbxUpROvals.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.ppGpbxUpROvals.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxUpROvals.Style.BorderLeftWidth = 1;
|
||||
this.ppGpbxUpROvals.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxUpROvals.Style.BorderRightWidth = 1;
|
||||
this.ppGpbxUpROvals.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxUpROvals.Style.BorderTopWidth = 1;
|
||||
this.ppGpbxUpROvals.Style.CornerDiameter = 4;
|
||||
this.ppGpbxUpROvals.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.ppGpbxUpROvals.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.ppGpbxUpROvals.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.ppGpbxUpROvals.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxUpROvals.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxUpROvals.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.ppGpbxUpROvals.TabIndex = 46;
|
||||
this.ppGpbxUpROvals.Text = "RO Values";
|
||||
//
|
||||
// tiRefObjs
|
||||
//
|
||||
this.tiRefObjs.AttachedControl = this.tcpRefereceObjects;
|
||||
this.tiRefObjs.Name = "tiRefObjs";
|
||||
this.tiRefObjs.Text = "Referenced Objects";
|
||||
//
|
||||
// tabControlPanel2
|
||||
//
|
||||
this.tabControlPanel2.Controls.Add(this.gpxMOSLandLocation);
|
||||
@@ -1324,6 +1157,128 @@ namespace VEPROMS
|
||||
this.tabControlPanel2.TabIndex = 30;
|
||||
this.tabControlPanel2.TabItem = this.tiMergedOutputSettings;
|
||||
//
|
||||
// gpxMOSLandLocation
|
||||
//
|
||||
this.gpxMOSLandLocation.BackColor = System.Drawing.Color.Transparent;
|
||||
this.gpxMOSLandLocation.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.gpxMOSLandLocation.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpxMOSLandLocation.Controls.Add(this.ppCmbxMOSLandcornerLoc);
|
||||
this.gpxMOSLandLocation.Controls.Add(this.tbxMOSLandyloc);
|
||||
this.gpxMOSLandLocation.Controls.Add(this.tbxMOSLandxloc);
|
||||
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandcorner);
|
||||
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandyloc);
|
||||
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandxloc);
|
||||
this.gpxMOSLandLocation.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpxMOSLandLocation.Location = new System.Drawing.Point(284, 164);
|
||||
this.gpxMOSLandLocation.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.gpxMOSLandLocation.Name = "gpxMOSLandLocation";
|
||||
this.gpxMOSLandLocation.Size = new System.Drawing.Size(209, 98);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpxMOSLandLocation.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.gpxMOSLandLocation.Style.BackColorGradientAngle = 90;
|
||||
this.gpxMOSLandLocation.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.gpxMOSLandLocation.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpxMOSLandLocation.Style.BorderBottomWidth = 1;
|
||||
this.gpxMOSLandLocation.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.gpxMOSLandLocation.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpxMOSLandLocation.Style.BorderLeftWidth = 1;
|
||||
this.gpxMOSLandLocation.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpxMOSLandLocation.Style.BorderRightWidth = 1;
|
||||
this.gpxMOSLandLocation.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpxMOSLandLocation.Style.BorderTopWidth = 1;
|
||||
this.gpxMOSLandLocation.Style.CornerDiameter = 4;
|
||||
this.gpxMOSLandLocation.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.gpxMOSLandLocation.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.gpxMOSLandLocation.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.gpxMOSLandLocation.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpxMOSLandLocation.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpxMOSLandLocation.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.gpxMOSLandLocation.TabIndex = 7;
|
||||
this.gpxMOSLandLocation.Text = "Landscape Location";
|
||||
//
|
||||
// ppCmbxMOSLandcornerLoc
|
||||
//
|
||||
this.ppCmbxMOSLandcornerLoc.DisplayMember = "Text";
|
||||
this.ppCmbxMOSLandcornerLoc.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.ppCmbxMOSLandcornerLoc.FormattingEnabled = true;
|
||||
this.ppCmbxMOSLandcornerLoc.ItemHeight = 16;
|
||||
this.ppCmbxMOSLandcornerLoc.Location = new System.Drawing.Point(59, 53);
|
||||
this.ppCmbxMOSLandcornerLoc.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCmbxMOSLandcornerLoc.Name = "ppCmbxMOSLandcornerLoc";
|
||||
this.ppCmbxMOSLandcornerLoc.Size = new System.Drawing.Size(144, 22);
|
||||
this.ppCmbxMOSLandcornerLoc.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.ppCmbxMOSLandcornerLoc.TabIndex = 9;
|
||||
this.ppCmbxMOSLandcornerLoc.WatermarkText = "corner location";
|
||||
//
|
||||
// tbxMOSLandyloc
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbxMOSLandyloc.Border.Class = "TextBoxBorder";
|
||||
this.tbxMOSLandyloc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbxMOSLandyloc.Location = new System.Drawing.Point(62, 30);
|
||||
this.tbxMOSLandyloc.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbxMOSLandyloc.Name = "tbxMOSLandyloc";
|
||||
this.tbxMOSLandyloc.PreventEnterBeep = true;
|
||||
this.tbxMOSLandyloc.Size = new System.Drawing.Size(75, 20);
|
||||
this.tbxMOSLandyloc.TabIndex = 8;
|
||||
//
|
||||
// tbxMOSLandxloc
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbxMOSLandxloc.Border.Class = "TextBoxBorder";
|
||||
this.tbxMOSLandxloc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbxMOSLandxloc.Location = new System.Drawing.Point(62, 10);
|
||||
this.tbxMOSLandxloc.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbxMOSLandxloc.Name = "tbxMOSLandxloc";
|
||||
this.tbxMOSLandxloc.PreventEnterBeep = true;
|
||||
this.tbxMOSLandxloc.Size = new System.Drawing.Size(75, 20);
|
||||
this.tbxMOSLandxloc.TabIndex = 7;
|
||||
//
|
||||
// lblMOSLandcorner
|
||||
//
|
||||
this.lblMOSLandcorner.AutoSize = true;
|
||||
this.lblMOSLandcorner.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblMOSLandcorner.Location = new System.Drawing.Point(14, 54);
|
||||
this.lblMOSLandcorner.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.lblMOSLandcorner.Name = "lblMOSLandcorner";
|
||||
this.lblMOSLandcorner.Size = new System.Drawing.Size(41, 13);
|
||||
this.lblMOSLandcorner.TabIndex = 6;
|
||||
this.lblMOSLandcorner.Text = "Corner:";
|
||||
//
|
||||
// lblMOSLandyloc
|
||||
//
|
||||
this.lblMOSLandyloc.AutoSize = true;
|
||||
this.lblMOSLandyloc.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblMOSLandyloc.Location = new System.Drawing.Point(14, 32);
|
||||
this.lblMOSLandyloc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.lblMOSLandyloc.Name = "lblMOSLandyloc";
|
||||
this.lblMOSLandyloc.Size = new System.Drawing.Size(34, 13);
|
||||
this.lblMOSLandyloc.TabIndex = 5;
|
||||
this.lblMOSLandyloc.Text = "Y (in):";
|
||||
//
|
||||
// lblMOSLandxloc
|
||||
//
|
||||
this.lblMOSLandxloc.AutoSize = true;
|
||||
this.lblMOSLandxloc.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblMOSLandxloc.Location = new System.Drawing.Point(14, 10);
|
||||
this.lblMOSLandxloc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.lblMOSLandxloc.Name = "lblMOSLandxloc";
|
||||
this.lblMOSLandxloc.Size = new System.Drawing.Size(34, 13);
|
||||
this.lblMOSLandxloc.TabIndex = 4;
|
||||
this.lblMOSLandxloc.Text = "X (in):";
|
||||
//
|
||||
// ppChbxMOSview
|
||||
//
|
||||
this.ppChbxMOSview.BackColor = System.Drawing.Color.Transparent;
|
||||
@@ -1613,6 +1568,174 @@ namespace VEPROMS
|
||||
this.tiMergedOutputSettings.Name = "tiMergedOutputSettings";
|
||||
this.tiMergedOutputSettings.Text = "Merged Output Settings";
|
||||
//
|
||||
// tcpGeneral
|
||||
//
|
||||
this.tcpGeneral.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.tcpGeneral.Controls.Add(this.ppCmbxProcSetType);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtName);
|
||||
this.tcpGeneral.Controls.Add(this.label9);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtProcSetRev);
|
||||
this.tcpGeneral.Controls.Add(this.lblProcSetRev);
|
||||
this.tcpGeneral.Controls.Add(this.label4);
|
||||
this.tcpGeneral.Controls.Add(this.label3);
|
||||
this.tcpGeneral.Controls.Add(this.ppRTxtTitle);
|
||||
this.tcpGeneral.Controls.Add(this.ppTxtBxUserID);
|
||||
this.tcpGeneral.Controls.Add(this.ppDTPicker);
|
||||
this.tcpGeneral.Controls.Add(this.label2);
|
||||
this.tcpGeneral.Controls.Add(this.label1);
|
||||
this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpGeneral.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpGeneral.Name = "tcpGeneral";
|
||||
this.tcpGeneral.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.tcpGeneral.Size = new System.Drawing.Size(625, 311);
|
||||
this.tcpGeneral.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpGeneral.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpGeneral.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpGeneral.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpGeneral.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpGeneral.Style.GradientAngle = 90;
|
||||
this.tcpGeneral.TabIndex = 1;
|
||||
this.tcpGeneral.TabItem = this.tiGeneral;
|
||||
//
|
||||
// tiGeneral
|
||||
//
|
||||
this.tiGeneral.AttachedControl = this.tcpGeneral;
|
||||
this.tiGeneral.Name = "tiGeneral";
|
||||
this.tiGeneral.Text = "General";
|
||||
//
|
||||
// tcpRefereceObjects
|
||||
//
|
||||
this.tcpRefereceObjects.Controls.Add(this.ppBtnRoToSql);
|
||||
this.tcpRefereceObjects.Controls.Add(this.tbRoDb);
|
||||
this.tcpRefereceObjects.Controls.Add(this.ppBtnRoDbBrowse);
|
||||
this.tcpRefereceObjects.Controls.Add(this.btnRoDbProperties);
|
||||
this.tcpRefereceObjects.Controls.Add(this.cmbRoDb);
|
||||
this.tcpRefereceObjects.Controls.Add(this.ppGpbxUpROvals);
|
||||
this.tcpRefereceObjects.Controls.Add(this.label6);
|
||||
this.tcpRefereceObjects.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.tcpRefereceObjects.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tcpRefereceObjects.Location = new System.Drawing.Point(0, 22);
|
||||
this.tcpRefereceObjects.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tcpRefereceObjects.Name = "tcpRefereceObjects";
|
||||
this.tcpRefereceObjects.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.tcpRefereceObjects.Size = new System.Drawing.Size(625, 311);
|
||||
this.tcpRefereceObjects.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254)))));
|
||||
this.tcpRefereceObjects.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227)))));
|
||||
this.tcpRefereceObjects.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.tcpRefereceObjects.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199)))));
|
||||
this.tcpRefereceObjects.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
|
||||
| DevComponents.DotNetBar.eBorderSide.Bottom)));
|
||||
this.tcpRefereceObjects.Style.GradientAngle = 90;
|
||||
this.tcpRefereceObjects.TabIndex = 2;
|
||||
this.tcpRefereceObjects.TabItem = this.tiRefObjs;
|
||||
this.tcpRefereceObjects.Enter += new System.EventHandler(this.tabpage_Enter);
|
||||
//
|
||||
// ppBtnRoToSql
|
||||
//
|
||||
this.ppBtnRoToSql.Location = new System.Drawing.Point(337, 146);
|
||||
this.ppBtnRoToSql.Name = "ppBtnRoToSql";
|
||||
this.ppBtnRoToSql.Size = new System.Drawing.Size(163, 46);
|
||||
this.ppBtnRoToSql.TabIndex = 48;
|
||||
this.ppBtnRoToSql.Text = "Migrate Data to Sql";
|
||||
this.ppBtnRoToSql.UseVisualStyleBackColor = true;
|
||||
this.ppBtnRoToSql.Visible = false;
|
||||
this.ppBtnRoToSql.Click += new System.EventHandler(this.ppBtnRoToSql_Click);
|
||||
//
|
||||
// tbRoDb
|
||||
//
|
||||
this.tbRoDb.Enabled = false;
|
||||
this.tbRoDb.Location = new System.Drawing.Point(80, 13);
|
||||
this.tbRoDb.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbRoDb.Name = "tbRoDb";
|
||||
this.tbRoDb.Size = new System.Drawing.Size(318, 20);
|
||||
this.tbRoDb.TabIndex = 20;
|
||||
this.tbRoDb.TextChanged += new System.EventHandler(this.tbRoDb_TextChanged);
|
||||
//
|
||||
// ppBtnRoDbBrowse
|
||||
//
|
||||
this.ppBtnRoDbBrowse.Location = new System.Drawing.Point(406, 34);
|
||||
this.ppBtnRoDbBrowse.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppBtnRoDbBrowse.Name = "ppBtnRoDbBrowse";
|
||||
this.ppBtnRoDbBrowse.Size = new System.Drawing.Size(51, 20);
|
||||
this.ppBtnRoDbBrowse.TabIndex = 22;
|
||||
this.ppBtnRoDbBrowse.Text = "Browse...";
|
||||
this.ppBtnRoDbBrowse.UseVisualStyleBackColor = true;
|
||||
this.ppBtnRoDbBrowse.Click += new System.EventHandler(this.ppBtnRoDbBrowse_Click);
|
||||
//
|
||||
// btnRoDbProperties
|
||||
//
|
||||
this.btnRoDbProperties.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnRoDbProperties.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnRoDbProperties.Image = ((System.Drawing.Image)(resources.GetObject("btnRoDbProperties.Image")));
|
||||
this.btnRoDbProperties.Location = new System.Drawing.Point(406, 10);
|
||||
this.btnRoDbProperties.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnRoDbProperties.Name = "btnRoDbProperties";
|
||||
this.btnRoDbProperties.Size = new System.Drawing.Size(33, 23);
|
||||
this.btnRoDbProperties.TabIndex = 21;
|
||||
this.btnRoDbProperties.Click += new System.EventHandler(this.btnRoDbProperties_Click);
|
||||
//
|
||||
// cmbRoDb
|
||||
//
|
||||
this.cmbRoDb.FormattingEnabled = true;
|
||||
this.cmbRoDb.Location = new System.Drawing.Point(80, 13);
|
||||
this.cmbRoDb.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cmbRoDb.Name = "cmbRoDb";
|
||||
this.cmbRoDb.Size = new System.Drawing.Size(318, 21);
|
||||
this.cmbRoDb.TabIndex = 47;
|
||||
this.cmbRoDb.SelectedIndexChanged += new System.EventHandler(this.cmbRoDb_SelectedIndexChanged);
|
||||
//
|
||||
// ppGpbxUpROvals
|
||||
//
|
||||
this.ppGpbxUpROvals.BackColor = System.Drawing.Color.Transparent;
|
||||
this.ppGpbxUpROvals.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.ppGpbxUpROvals.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.ppGpbxUpROvals.Controls.Add(this.ppBtnResetRoVals);
|
||||
this.ppGpbxUpROvals.Controls.Add(this.ppBtnUpRoVals);
|
||||
this.ppGpbxUpROvals.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.ppGpbxUpROvals.Location = new System.Drawing.Point(34, 69);
|
||||
this.ppGpbxUpROvals.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppGpbxUpROvals.Name = "ppGpbxUpROvals";
|
||||
this.ppGpbxUpROvals.Size = new System.Drawing.Size(112, 162);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxUpROvals.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.ppGpbxUpROvals.Style.BackColorGradientAngle = 90;
|
||||
this.ppGpbxUpROvals.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.ppGpbxUpROvals.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxUpROvals.Style.BorderBottomWidth = 1;
|
||||
this.ppGpbxUpROvals.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.ppGpbxUpROvals.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxUpROvals.Style.BorderLeftWidth = 1;
|
||||
this.ppGpbxUpROvals.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxUpROvals.Style.BorderRightWidth = 1;
|
||||
this.ppGpbxUpROvals.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.ppGpbxUpROvals.Style.BorderTopWidth = 1;
|
||||
this.ppGpbxUpROvals.Style.CornerDiameter = 4;
|
||||
this.ppGpbxUpROvals.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.ppGpbxUpROvals.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.ppGpbxUpROvals.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.ppGpbxUpROvals.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxUpROvals.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.ppGpbxUpROvals.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.ppGpbxUpROvals.TabIndex = 46;
|
||||
this.ppGpbxUpROvals.Text = "RO Values";
|
||||
//
|
||||
// tiRefObjs
|
||||
//
|
||||
this.tiRefObjs.AttachedControl = this.tcpRefereceObjects;
|
||||
this.tiRefObjs.Name = "tiRefObjs";
|
||||
this.tiRefObjs.Text = "Referenced Objects";
|
||||
//
|
||||
// tabControlPanel1
|
||||
//
|
||||
this.tabControlPanel1.Controls.Add(this.ppChbxEnhancedAllowMods);
|
||||
@@ -2172,14 +2295,14 @@ namespace VEPROMS
|
||||
this.documentEntryCountDataGridViewTextBoxColumn,
|
||||
this.libTitleDataGridViewTextBoxColumn});
|
||||
this.ppGrdLibDocList.DataSource = this.documentInfoListBindingSource;
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.ppGrdLibDocList.DefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.ppGrdLibDocList.DefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.ppGrdLibDocList.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ppGrdLibDocList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
||||
this.ppGrdLibDocList.HighlightSelectedColumnHeaders = false;
|
||||
@@ -2196,8 +2319,8 @@ namespace VEPROMS
|
||||
// documentEntryCountDataGridViewTextBoxColumn
|
||||
//
|
||||
this.documentEntryCountDataGridViewTextBoxColumn.DataPropertyName = "DocumentEntryCount";
|
||||
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.documentEntryCountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.documentEntryCountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.documentEntryCountDataGridViewTextBoxColumn.HeaderText = "Number of Usages";
|
||||
this.documentEntryCountDataGridViewTextBoxColumn.Name = "documentEntryCountDataGridViewTextBoxColumn";
|
||||
this.documentEntryCountDataGridViewTextBoxColumn.ReadOnly = true;
|
||||
@@ -2664,132 +2787,14 @@ namespace VEPROMS
|
||||
this.btnGeneral.Text = "General";
|
||||
this.btnGeneral.Click += new System.EventHandler(this.btnGeneral_Click);
|
||||
//
|
||||
// ROPrefixBindingSource
|
||||
//
|
||||
this.ROPrefixBindingSource.CurrentChanged += new System.EventHandler(this.ROPrefixBindingSource_CurrentChanged);
|
||||
//
|
||||
// formatInfoListBindingSource
|
||||
//
|
||||
this.formatInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.FormatInfo);
|
||||
//
|
||||
// gpxMOSLandLocation
|
||||
//
|
||||
this.gpxMOSLandLocation.BackColor = System.Drawing.Color.Transparent;
|
||||
this.gpxMOSLandLocation.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.gpxMOSLandLocation.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.gpxMOSLandLocation.Controls.Add(this.ppCmbxMOSLandcornerLoc);
|
||||
this.gpxMOSLandLocation.Controls.Add(this.tbxMOSLandyloc);
|
||||
this.gpxMOSLandLocation.Controls.Add(this.tbxMOSLandxloc);
|
||||
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandcorner);
|
||||
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandyloc);
|
||||
this.gpxMOSLandLocation.Controls.Add(this.lblMOSLandxloc);
|
||||
this.gpxMOSLandLocation.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.gpxMOSLandLocation.Location = new System.Drawing.Point(284, 164);
|
||||
this.gpxMOSLandLocation.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.gpxMOSLandLocation.Name = "gpxMOSLandLocation";
|
||||
this.gpxMOSLandLocation.Size = new System.Drawing.Size(209, 98);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpxMOSLandLocation.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.gpxMOSLandLocation.Style.BackColorGradientAngle = 90;
|
||||
this.gpxMOSLandLocation.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.gpxMOSLandLocation.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpxMOSLandLocation.Style.BorderBottomWidth = 1;
|
||||
this.gpxMOSLandLocation.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.gpxMOSLandLocation.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpxMOSLandLocation.Style.BorderLeftWidth = 1;
|
||||
this.gpxMOSLandLocation.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpxMOSLandLocation.Style.BorderRightWidth = 1;
|
||||
this.gpxMOSLandLocation.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.gpxMOSLandLocation.Style.BorderTopWidth = 1;
|
||||
this.gpxMOSLandLocation.Style.CornerDiameter = 4;
|
||||
this.gpxMOSLandLocation.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.gpxMOSLandLocation.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.gpxMOSLandLocation.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.gpxMOSLandLocation.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpxMOSLandLocation.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.gpxMOSLandLocation.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.gpxMOSLandLocation.TabIndex = 7;
|
||||
this.gpxMOSLandLocation.Text = "Landscape Location";
|
||||
//
|
||||
// ppCmbxMOSLandcornerLoc
|
||||
//
|
||||
this.ppCmbxMOSLandcornerLoc.DisplayMember = "Text";
|
||||
this.ppCmbxMOSLandcornerLoc.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
||||
this.ppCmbxMOSLandcornerLoc.FormattingEnabled = true;
|
||||
this.ppCmbxMOSLandcornerLoc.ItemHeight = 16;
|
||||
this.ppCmbxMOSLandcornerLoc.Location = new System.Drawing.Point(59, 53);
|
||||
this.ppCmbxMOSLandcornerLoc.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ppCmbxMOSLandcornerLoc.Name = "ppCmbxMOSLandcornerLoc";
|
||||
this.ppCmbxMOSLandcornerLoc.Size = new System.Drawing.Size(144, 22);
|
||||
this.ppCmbxMOSLandcornerLoc.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.ppCmbxMOSLandcornerLoc.TabIndex = 9;
|
||||
this.ppCmbxMOSLandcornerLoc.WatermarkText = "corner location";
|
||||
//
|
||||
// tbxMOSLandyloc
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbxMOSLandyloc.Border.Class = "TextBoxBorder";
|
||||
this.tbxMOSLandyloc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbxMOSLandyloc.Location = new System.Drawing.Point(62, 30);
|
||||
this.tbxMOSLandyloc.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbxMOSLandyloc.Name = "tbxMOSLandyloc";
|
||||
this.tbxMOSLandyloc.PreventEnterBeep = true;
|
||||
this.tbxMOSLandyloc.Size = new System.Drawing.Size(75, 20);
|
||||
this.tbxMOSLandyloc.TabIndex = 8;
|
||||
//
|
||||
// tbxMOSLandxloc
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.tbxMOSLandxloc.Border.Class = "TextBoxBorder";
|
||||
this.tbxMOSLandxloc.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.tbxMOSLandxloc.Location = new System.Drawing.Point(62, 10);
|
||||
this.tbxMOSLandxloc.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.tbxMOSLandxloc.Name = "tbxMOSLandxloc";
|
||||
this.tbxMOSLandxloc.PreventEnterBeep = true;
|
||||
this.tbxMOSLandxloc.Size = new System.Drawing.Size(75, 20);
|
||||
this.tbxMOSLandxloc.TabIndex = 7;
|
||||
//
|
||||
// lblMOSLandcorner
|
||||
//
|
||||
this.lblMOSLandcorner.AutoSize = true;
|
||||
this.lblMOSLandcorner.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblMOSLandcorner.Location = new System.Drawing.Point(14, 54);
|
||||
this.lblMOSLandcorner.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.lblMOSLandcorner.Name = "lblMOSLandcorner";
|
||||
this.lblMOSLandcorner.Size = new System.Drawing.Size(41, 13);
|
||||
this.lblMOSLandcorner.TabIndex = 6;
|
||||
this.lblMOSLandcorner.Text = "Corner:";
|
||||
//
|
||||
// lblMOSLandyloc
|
||||
//
|
||||
this.lblMOSLandyloc.AutoSize = true;
|
||||
this.lblMOSLandyloc.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblMOSLandyloc.Location = new System.Drawing.Point(14, 32);
|
||||
this.lblMOSLandyloc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.lblMOSLandyloc.Name = "lblMOSLandyloc";
|
||||
this.lblMOSLandyloc.Size = new System.Drawing.Size(34, 13);
|
||||
this.lblMOSLandyloc.TabIndex = 5;
|
||||
this.lblMOSLandyloc.Text = "Y (in):";
|
||||
//
|
||||
// lblMOSLandxloc
|
||||
//
|
||||
this.lblMOSLandxloc.AutoSize = true;
|
||||
this.lblMOSLandxloc.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblMOSLandxloc.Location = new System.Drawing.Point(14, 10);
|
||||
this.lblMOSLandxloc.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
|
||||
this.lblMOSLandxloc.Name = "lblMOSLandxloc";
|
||||
this.lblMOSLandxloc.Size = new System.Drawing.Size(34, 13);
|
||||
this.lblMOSLandxloc.TabIndex = 4;
|
||||
this.lblMOSLandxloc.Text = "X (in):";
|
||||
//
|
||||
// frmVersionsProperties
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
@@ -2797,7 +2802,7 @@ namespace VEPROMS
|
||||
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.CancelButton = this.ppBtnCancel;
|
||||
this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.ClientSize = new System.Drawing.Size(806, 365);
|
||||
this.ClientSize = new System.Drawing.Size(802, 361);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.panVerBtns);
|
||||
this.Controls.Add(this.tcVersions);
|
||||
@@ -2824,17 +2829,19 @@ namespace VEPROMS
|
||||
this.ppGpbxUserSpecTxt.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcVersions)).EndInit();
|
||||
this.tcVersions.ResumeLayout(false);
|
||||
this.tabControlPanel2.ResumeLayout(false);
|
||||
this.tabControlPanel2.PerformLayout();
|
||||
this.gpxMOSLandLocation.ResumeLayout(false);
|
||||
this.gpxMOSLandLocation.PerformLayout();
|
||||
this.gpxMOSLocation.ResumeLayout(false);
|
||||
this.gpxMOSLocation.PerformLayout();
|
||||
this.gpxMOSfont.ResumeLayout(false);
|
||||
this.gpxMOSfont.PerformLayout();
|
||||
this.tcpGeneral.ResumeLayout(false);
|
||||
this.tcpGeneral.PerformLayout();
|
||||
this.tcpRefereceObjects.ResumeLayout(false);
|
||||
this.tcpRefereceObjects.PerformLayout();
|
||||
this.ppGpbxUpROvals.ResumeLayout(false);
|
||||
this.tabControlPanel2.ResumeLayout(false);
|
||||
this.tabControlPanel2.PerformLayout();
|
||||
this.gpxMOSLocation.ResumeLayout(false);
|
||||
this.gpxMOSLocation.PerformLayout();
|
||||
this.gpxMOSfont.ResumeLayout(false);
|
||||
this.gpxMOSfont.PerformLayout();
|
||||
this.tabControlPanel1.ResumeLayout(false);
|
||||
this.tabControlPanel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bsMiniEnhanced)).EndInit();
|
||||
@@ -2859,8 +2866,6 @@ namespace VEPROMS
|
||||
this.panVerBtns.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).EndInit();
|
||||
this.gpxMOSLandLocation.ResumeLayout(false);
|
||||
this.gpxMOSLandLocation.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
|
@@ -29,6 +29,7 @@ namespace VEPROMS
|
||||
private List<MiniConfig> _DeletedApples;
|
||||
private List<EnhancedMiniConfig> _Enhanced;
|
||||
private DocVersionConfig _DocVersionConfig;
|
||||
private string _OrgPDFPath; // B2024-030 used to save last PDF path
|
||||
|
||||
// Default values
|
||||
private string _DefaultFormatName = null;
|
||||
@@ -97,6 +98,7 @@ namespace VEPROMS
|
||||
|
||||
_Initializing = true;
|
||||
InitializeComponent();
|
||||
_OrgPDFPath = _DocVersionConfig.Print_PDFLocation; // B2024-030 save last PDF path
|
||||
btnGeneral.PerformClick(); // always start with General tab or button
|
||||
_Initializing = false;
|
||||
|
||||
@@ -323,8 +325,6 @@ namespace VEPROMS
|
||||
tiApplicability.Visible = false;
|
||||
}
|
||||
|
||||
ppTxtBxPDFLoc.TextChanged += new EventHandler(ppTxtBxPDFLoc_TextChanged);
|
||||
|
||||
//end add new applicability stuff
|
||||
lblProcSetRev.Visible = ppRTxtProcSetRev.Visible = _DocVersionConfig.MyDocVersion.MyDocVersionInfo.ActiveFormat.MyStepSectionPrintData.UseXtraRevNumber;
|
||||
|
||||
@@ -538,11 +538,32 @@ namespace VEPROMS
|
||||
}
|
||||
}
|
||||
|
||||
// The following code was added to fix Bug B2013-117
|
||||
private void ppTxtBxPDFLoc_TextChanged(object sender, EventArgs e)
|
||||
//B2024-030 Check the PDF Location path and prompt to create the folders if needed
|
||||
private void CheckPDFLocationPath()
|
||||
{
|
||||
if (_Initializing == false)
|
||||
_DocVersionConfig.Print_PDFLocation = ppTxtBxPDFLoc.Text;
|
||||
string pdfloc = ppTxtBxPDFLoc.Text;
|
||||
if (pdfloc == string.Empty) return;
|
||||
if (!Directory.Exists(ppTxtBxPDFLoc.Text))
|
||||
{
|
||||
string msg = string.Format(" The Folder: '{0}' does not exist. \n\nCreate it?", ppTxtBxPDFLoc.Text);
|
||||
DialogResult dr = MessageBox.Show(msg, "PDF Location Folder Not Found", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
|
||||
if (dr == DialogResult.Yes)
|
||||
{
|
||||
try
|
||||
{
|
||||
Directory.CreateDirectory(ppTxtBxPDFLoc.Text);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show(ex.Message, "Error trying to create folder", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
_DocVersionConfig.Print_PDFLocation = _OrgPDFPath; // reset to the path we started with
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
_DocVersionConfig.Print_PDFLocation = _OrgPDFPath; // reset to the path we started with
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private string AddSlaveNode(MiniConfig mc)
|
||||
@@ -588,6 +609,9 @@ namespace VEPROMS
|
||||
|
||||
private void btnVersionsPropOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
//B2024-030 Check the PDF Location path and prompt to create the folders if needed
|
||||
CheckPDFLocationPath();
|
||||
|
||||
docVersionConfigBindingSource.EndEdit(); // need to end the edit session first or any format selection chanage will not stick B2015-157
|
||||
|
||||
// if there is a change to the format, clean up any overridden formats that point to the selected item before saving the format change:
|
||||
@@ -773,7 +797,6 @@ namespace VEPROMS
|
||||
|
||||
// B2019-132 update the association count for this working draft
|
||||
_DocVersionConfig.MyDocVersion.MyDocVersionInfo.RefreshDocVersionAssociations();
|
||||
|
||||
this.Close();
|
||||
}
|
||||
|
||||
@@ -1928,6 +1951,16 @@ namespace VEPROMS
|
||||
#endregion
|
||||
|
||||
#endregion
|
||||
|
||||
private void tbRoDb_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void ROPrefixBindingSource_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@@ -123,6 +123,12 @@
|
||||
<metadata name="docVersionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>415, 17</value>
|
||||
</metadata>
|
||||
<metadata name="docVersionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>415, 17</value>
|
||||
</metadata>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>643, 17</value>
|
||||
</metadata>
|
||||
<data name="ppCmbxFormat.SuperTooltip" xml:space="preserve">
|
||||
<value>Allows you to specify the default format to use for all procedures in this set.
|
||||
|
||||
@@ -210,9 +216,21 @@ Check "Show Default Settings" to display the "default" duplexing setting (below
|
||||
<metadata name="bsEnhanced.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>817, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bsMiniEnhanced.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 65</value>
|
||||
</metadata>
|
||||
<metadata name="bsEnhanced.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>817, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bsMiniApple.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>118, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bsMiniApple.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>118, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bsApples.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
<metadata name="bsApples.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
|
@@ -285,16 +285,22 @@ namespace VEPROMS.CSLA.Library
|
||||
#region ROTextConvertMethods
|
||||
// B2023-037: Handle <=, >=, +-, -> and <- symbols. Convert to unicode for output, i.e. print and edit/view (when editing
|
||||
// step, will show as 2 characters, not unicode, unless ro inserted when code replaced link text with unicode.
|
||||
public static string ROConvertSymbols(string retval)
|
||||
public static string ROConvertSymbols(string retval, bool arr1, bool arr2)
|
||||
{
|
||||
retval = retval.Replace("\\u8209?>", @"\u8594?"); // Right Arrow
|
||||
retval = retval.Replace("<\\u8209?", @"\u8592?"); // Left Arrow
|
||||
retval = retval.Replace("->", @"\u8594?"); // Right Arrow
|
||||
retval = retval.Replace("<-", @"\u8592?"); // Left Arrow
|
||||
retval = retval.Replace("<=", @"\u8804?"); // Less than or Equal
|
||||
retval = retval.Replace(">=", @"\u8805?"); // Greater than or Equal
|
||||
retval = retval.Replace("+\\u8209?", @"\'b1"); // plus minus
|
||||
retval = retval.Replace("+-", @"\'b1"); // plus minus
|
||||
if (arr1)
|
||||
{
|
||||
retval = retval.Replace("\\u8209?>", @"\u8594?"); // Right Arrow
|
||||
retval = retval.Replace("<\\u8209?", @"\u8592?"); // Left Arrow
|
||||
retval = retval.Replace("->", @"\u8594?"); // Right Arrow
|
||||
retval = retval.Replace("<-", @"\u8592?"); // Left Arrow
|
||||
}
|
||||
if (arr2)
|
||||
{
|
||||
retval = retval.Replace("<=", @"\u8804?"); // Less than or Equal
|
||||
retval = retval.Replace(">=", @"\u8805?"); // Greater than or Equal
|
||||
retval = retval.Replace("+\\u8209?", @"\'b1"); // plus minus
|
||||
retval = retval.Replace("+-", @"\'b1"); // plus minus
|
||||
}
|
||||
return retval;
|
||||
}
|
||||
#endregion
|
||||
@@ -484,7 +490,7 @@ namespace VEPROMS.CSLA.Library
|
||||
return rc;
|
||||
}
|
||||
|
||||
public string GetTranslatedRoValue(string roid, bool DoCaret, bool DoDOSSuperSubScript, bool convertRoSymbols)
|
||||
public string GetTranslatedRoValue(string roid, bool DoCaret, bool DoDOSSuperSubScript, bool convertRoSymbols, ItemInfo myiteminfo)
|
||||
{
|
||||
roid = FormatRoidKey(roid, true);
|
||||
|
||||
@@ -496,7 +502,13 @@ namespace VEPROMS.CSLA.Library
|
||||
retval = ReplaceUnicode(retval, DoCaret);
|
||||
// B2023-037: Handle <=, >=, +-, -> and <- symbols. Convert to unicode for output, i.e. print and edit/view (when editing
|
||||
// step, will show as 2 characters, not unicode, unless ro inserted when code replaced link text with unicode.
|
||||
if (convertRoSymbols) retval = ROFSTLookup.ROConvertSymbols(retval);
|
||||
|
||||
//(_MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue ||
|
||||
// _MyItemInfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue))
|
||||
bool arrows1 = myiteminfo.ActiveFormat.PlantFormat.FormatData.SectData.UseDashGreaterLessThenForArrowsInROValue;
|
||||
bool arrows2 = myiteminfo.ActiveFormat.PlantFormat.FormatData.SectData.ConvertGTELTEPMinROValue;
|
||||
|
||||
if (convertRoSymbols) retval = ROFSTLookup.ROConvertSymbols(retval, arrows1, arrows2);
|
||||
|
||||
retval = ConvertFortranFormatToScienctificNotation(retval);
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user