Compare commits
14 Commits
B2025-018
...
ACME_forma
Author | SHA1 | Date | |
---|---|---|---|
64124cc0f7 | |||
3828da2f8f | |||
1554d3cc33 | |||
d808b306b6 | |||
45aeb808fa | |||
74f9fc0c18 | |||
c2c90a2c2e | |||
05ab077dda | |||
1ae422c74e | |||
5da62c3a5d | |||
86a98118fb | |||
6a51208a13 | |||
0749f5e724 | |||
f65644f553 |
BIN
PROMS/Formats/fmtall/ACMEBCKall.xml
Normal file
BIN
PROMS/Formats/fmtall/ACMEBCKall.xml
Normal file
Binary file not shown.
BIN
PROMS/Formats/fmtall/ACMEall.xml
Normal file
BIN
PROMS/Formats/fmtall/ACMEall.xml
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
49
PROMS/Formats/frmFormatCopy.Designer.cs
generated
49
PROMS/Formats/frmFormatCopy.Designer.cs
generated
@@ -33,6 +33,8 @@ namespace Formats
|
||||
this.btnCopyFormats = new DevComponents.DotNetBar.ButtonX();
|
||||
this.btnBrowse = new DevComponents.DotNetBar.ButtonX();
|
||||
this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
|
||||
this.labelX2 = new DevComponents.DotNetBar.LabelX();
|
||||
this.LstBxExcludeFiles = new DevComponents.DotNetBar.ListBoxAdv();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// txbxPROMSFormatsPath
|
||||
@@ -64,7 +66,7 @@ namespace Formats
|
||||
//
|
||||
this.btnCopyFormats.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnCopyFormats.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnCopyFormats.Location = new System.Drawing.Point(152, 68);
|
||||
this.btnCopyFormats.Location = new System.Drawing.Point(232, 156);
|
||||
this.btnCopyFormats.Name = "btnCopyFormats";
|
||||
this.btnCopyFormats.Size = new System.Drawing.Size(84, 27);
|
||||
this.btnCopyFormats.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
@@ -88,7 +90,7 @@ namespace Formats
|
||||
//
|
||||
this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.buttonX2.Location = new System.Drawing.Point(329, 68);
|
||||
this.buttonX2.Location = new System.Drawing.Point(409, 156);
|
||||
this.buttonX2.Name = "buttonX2";
|
||||
this.buttonX2.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
@@ -96,17 +98,52 @@ namespace Formats
|
||||
this.buttonX2.Text = "Exit";
|
||||
this.buttonX2.Click += new System.EventHandler(this.buttonX2_Click);
|
||||
//
|
||||
// Form1
|
||||
// labelX2
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.labelX2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX2.Location = new System.Drawing.Point(12, 41);
|
||||
this.labelX2.Name = "labelX2";
|
||||
this.labelX2.Size = new System.Drawing.Size(200, 23);
|
||||
this.labelX2.TabIndex = 5;
|
||||
this.labelX2.Text = "Excluding Format Files that Start with:";
|
||||
//
|
||||
// LstBxExcludeFiles
|
||||
//
|
||||
this.LstBxExcludeFiles.AutoScroll = true;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.LstBxExcludeFiles.BackgroundStyle.Class = "ListBoxAdv";
|
||||
this.LstBxExcludeFiles.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.LstBxExcludeFiles.CausesValidation = false;
|
||||
this.LstBxExcludeFiles.CheckStateMember = null;
|
||||
this.LstBxExcludeFiles.ContainerControlProcessDialogKey = true;
|
||||
this.LstBxExcludeFiles.DragDropSupport = true;
|
||||
this.LstBxExcludeFiles.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.LstBxExcludeFiles.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F";
|
||||
this.LstBxExcludeFiles.Location = new System.Drawing.Point(57, 70);
|
||||
this.LstBxExcludeFiles.Name = "LstBxExcludeFiles";
|
||||
this.LstBxExcludeFiles.ShowToolTips = false;
|
||||
this.LstBxExcludeFiles.Size = new System.Drawing.Size(134, 76);
|
||||
this.LstBxExcludeFiles.TabIndex = 6;
|
||||
this.LstBxExcludeFiles.Text = "listBoxAdv1";
|
||||
//
|
||||
// frmFormatCopy
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(496, 107);
|
||||
this.ClientSize = new System.Drawing.Size(496, 191);
|
||||
this.Controls.Add(this.LstBxExcludeFiles);
|
||||
this.Controls.Add(this.labelX2);
|
||||
this.Controls.Add(this.buttonX2);
|
||||
this.Controls.Add(this.btnBrowse);
|
||||
this.Controls.Add(this.btnCopyFormats);
|
||||
this.Controls.Add(this.labelX1);
|
||||
this.Controls.Add(this.txbxPROMSFormatsPath);
|
||||
this.Name = "Form1";
|
||||
this.Name = "frmFormatCopy";
|
||||
this.Text = "Form1";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@@ -119,6 +156,8 @@ namespace Formats
|
||||
private DevComponents.DotNetBar.ButtonX btnCopyFormats;
|
||||
private DevComponents.DotNetBar.ButtonX btnBrowse;
|
||||
private DevComponents.DotNetBar.ButtonX buttonX2;
|
||||
private DevComponents.DotNetBar.LabelX labelX2;
|
||||
private DevComponents.DotNetBar.ListBoxAdv LstBxExcludeFiles;
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -14,7 +14,11 @@ namespace Formats
|
||||
public frmFormatCopy()
|
||||
{
|
||||
InitializeComponent();
|
||||
SetDefaults();
|
||||
foreach (string excludeThis in excludeThese)
|
||||
{
|
||||
LstBxExcludeFiles.Items.Add(excludeThis);
|
||||
}
|
||||
SetDefaults();
|
||||
}
|
||||
|
||||
private void SetDefaults()
|
||||
@@ -92,10 +96,11 @@ namespace Formats
|
||||
if (!txbxPROMSFormatsPath.Text.EndsWith(@"\")) txbxPROMSFormatsPath.Text += @"\";
|
||||
}
|
||||
|
||||
public string[] excludeThese = { "WPS", "WPB", "VCBEPP" };
|
||||
|
||||
private bool ExcludeFromCopy(string fn)
|
||||
{
|
||||
// don't copy formats whos file name starts with..
|
||||
string[] excludeThese = { "WPS", "WEP", "WPB", "VCBEPP" };
|
||||
foreach (string excludeThis in excludeThese)
|
||||
if (fn.ToUpper().StartsWith(excludeThis)) return true;
|
||||
return false;
|
||||
|
@@ -112,9 +112,9 @@
|
||||
<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>
|
||||
</root>
|
BIN
PROMS/Formats/genmacall/ACME.svg
Normal file
BIN
PROMS/Formats/genmacall/ACME.svg
Normal file
Binary file not shown.
BIN
PROMS/Formats/genmacall/acmebck.svg
Normal file
BIN
PROMS/Formats/genmacall/acmebck.svg
Normal file
Binary file not shown.
@@ -42,7 +42,7 @@ namespace VEPROMS
|
||||
this.btnGeneral = new DevComponents.DotNetBar.ButtonX();
|
||||
this.tcSysOpts = new DevComponents.DotNetBar.TabControl();
|
||||
this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel();
|
||||
this.grPanUCFImpOpt = new DevComponents.DotNetBar.Controls.GroupPanel();
|
||||
//this.grPanUCFImpOpt = new DevComponents.DotNetBar.Controls.GroupPanel(); // C2024-041 remove from Options panel in V button.
|
||||
this.cbUCFLForSetOnly = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbUCFLUseAll = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.cbUCFLOnlyImport = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
@@ -86,7 +86,7 @@ namespace VEPROMS
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcSysOpts)).BeginInit();
|
||||
this.tcSysOpts.SuspendLayout();
|
||||
this.tabControlPanel3.SuspendLayout();
|
||||
this.grPanUCFImpOpt.SuspendLayout();
|
||||
//this.grPanUCFImpOpt.SuspendLayout(); // C2024-041 remove from Options panel in V button.
|
||||
this.gpVisioPath.SuspendLayout();
|
||||
this.gpSeparateWindows.SuspendLayout();
|
||||
this.gpEnhancedDocs.SuspendLayout();
|
||||
@@ -305,7 +305,7 @@ namespace VEPROMS
|
||||
//
|
||||
this.tabControlPanel3.Controls.Add(this.gpOpenTabs);
|
||||
this.tabControlPanel3.Controls.Add(this.gpShwRplWords);
|
||||
this.tabControlPanel3.Controls.Add(this.grPanUCFImpOpt);
|
||||
//this.tabControlPanel3.Controls.Add(this.grPanUCFImpOpt); // C2024-041 remove from Options panel in V button.
|
||||
this.tabControlPanel3.Controls.Add(this.gpVisioPath);
|
||||
this.tabControlPanel3.Controls.Add(this.gpSeparateWindows);
|
||||
this.tabControlPanel3.Controls.Add(this.gpEnhancedDocs);
|
||||
@@ -334,48 +334,50 @@ namespace VEPROMS
|
||||
//
|
||||
// grPanUCFImpOpt
|
||||
//
|
||||
this.grPanUCFImpOpt.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.grPanUCFImpOpt.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFLForSetOnly);
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFLUseAll);
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFLOnlyImport);
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFLNotUsed);
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFIgnore);
|
||||
this.grPanUCFImpOpt.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.grPanUCFImpOpt.Location = new System.Drawing.Point(313, 12);
|
||||
this.grPanUCFImpOpt.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.grPanUCFImpOpt.Name = "grPanUCFImpOpt";
|
||||
this.grPanUCFImpOpt.Size = new System.Drawing.Size(146, 138);
|
||||
// C2024-041 remove from Options panel in V button.
|
||||
/*this.grPanUCFImpOpt.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.grPanUCFImpOpt.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; // C2024-041 remove from Options panel in V button.
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFLForSetOnly); // C2024-041 remove from Options panel in V button.
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFLUseAll); // C2024-041 remove from Options panel in V button.
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFLOnlyImport);
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFLNotUsed);
|
||||
this.grPanUCFImpOpt.Controls.Add(this.cbUCFIgnore);
|
||||
this.grPanUCFImpOpt.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.grPanUCFImpOpt.Location = new System.Drawing.Point(313, 12);
|
||||
this.grPanUCFImpOpt.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.grPanUCFImpOpt.Name = "grPanUCFImpOpt";
|
||||
this.grPanUCFImpOpt.Size = new System.Drawing.Size(146, 138);
|
||||
//
|
||||
//
|
||||
//
|
||||
this.grPanUCFImpOpt.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.grPanUCFImpOpt.Style.BackColorGradientAngle = 90;
|
||||
this.grPanUCFImpOpt.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.grPanUCFImpOpt.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.grPanUCFImpOpt.Style.BorderBottomWidth = 1;
|
||||
this.grPanUCFImpOpt.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.grPanUCFImpOpt.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.grPanUCFImpOpt.Style.BorderLeftWidth = 1;
|
||||
this.grPanUCFImpOpt.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.grPanUCFImpOpt.Style.BorderRightWidth = 1;
|
||||
this.grPanUCFImpOpt.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.grPanUCFImpOpt.Style.BorderTopWidth = 1;
|
||||
this.grPanUCFImpOpt.Style.CornerDiameter = 4;
|
||||
this.grPanUCFImpOpt.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.grPanUCFImpOpt.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.grPanUCFImpOpt.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.grPanUCFImpOpt.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
this.grPanUCFImpOpt.Style.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
this.grPanUCFImpOpt.Style.BackColorGradientAngle = 90;
|
||||
this.grPanUCFImpOpt.Style.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.grPanUCFImpOpt.Style.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.grPanUCFImpOpt.Style.BorderBottomWidth = 1;
|
||||
this.grPanUCFImpOpt.Style.BorderColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.grPanUCFImpOpt.Style.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.grPanUCFImpOpt.Style.BorderLeftWidth = 1;
|
||||
this.grPanUCFImpOpt.Style.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.grPanUCFImpOpt.Style.BorderRightWidth = 1;
|
||||
this.grPanUCFImpOpt.Style.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
|
||||
this.grPanUCFImpOpt.Style.BorderTopWidth = 1;
|
||||
this.grPanUCFImpOpt.Style.CornerDiameter = 4;
|
||||
this.grPanUCFImpOpt.Style.CornerType = DevComponents.DotNetBar.eCornerType.Rounded;
|
||||
this.grPanUCFImpOpt.Style.TextAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Center;
|
||||
this.grPanUCFImpOpt.Style.TextColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.grPanUCFImpOpt.Style.TextLineAlignment = DevComponents.DotNetBar.eStyleTextAlignment.Near;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.grPanUCFImpOpt.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.grPanUCFImpOpt.StyleMouseDown.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
this.grPanUCFImpOpt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.grPanUCFImpOpt.TabIndex = 12;
|
||||
this.grPanUCFImpOpt.Text = "UCF Import Options";
|
||||
this.grPanUCFImpOpt.StyleMouseOver.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.grPanUCFImpOpt.TabIndex = 12;
|
||||
this.grPanUCFImpOpt.Text = "UCF Import Options";
|
||||
*/ // C2024-041 remove from Options panel in V button.
|
||||
//
|
||||
// cbUCFLForSetOnly
|
||||
//
|
||||
@@ -1263,7 +1265,7 @@ namespace VEPROMS
|
||||
((System.ComponentModel.ISupportInitialize)(this.tcSysOpts)).EndInit();
|
||||
this.tcSysOpts.ResumeLayout(false);
|
||||
this.tabControlPanel3.ResumeLayout(false);
|
||||
this.grPanUCFImpOpt.ResumeLayout(false);
|
||||
//this.grPanUCFImpOpt.ResumeLayout(false); // C2024-041 remove from Options panel in V button.
|
||||
this.gpVisioPath.ResumeLayout(false);
|
||||
this.gpSeparateWindows.ResumeLayout(false);
|
||||
this.gpEnhancedDocs.ResumeLayout(false);
|
||||
@@ -1323,8 +1325,8 @@ namespace VEPROMS
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbSeparateWindows;
|
||||
private DevComponents.DotNetBar.Controls.GroupPanel gpVisioPath;
|
||||
private DevComponents.DotNetBar.Controls.TextBoxX txbxVisioPath;
|
||||
private DevComponents.DotNetBar.Controls.GroupPanel grPanUCFImpOpt;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbUCFLForSetOnly;
|
||||
//private DevComponents.DotNetBar.Controls.GroupPanel grPanUCFImpOpt; // C2024-041 remove from Options panel in V button.
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbUCFLForSetOnly;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbUCFLUseAll;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbUCFLOnlyImport;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbUCFLNotUsed;
|
||||
|
@@ -2118,24 +2118,45 @@ namespace VEPROMS
|
||||
InitializeSecurity();
|
||||
UpdateUser();
|
||||
|
||||
//btnSecurity = new ButtonItem("btnSecurity", "Security"); // C2019-002: move security & format items into submenus
|
||||
//btnFormats = new ButtonItem("btnFormats", "Formats");
|
||||
//btnAdmin.SubItems.Add(btnSecurity);
|
||||
//btnAdmin.SubItems.Add(btnFormats);
|
||||
//btnUserControlOfFormats = new ButtonItem("btnUserControlOfFormats", "User Control of Formats");
|
||||
//btnFormats.SubItems.Add(btnUpdateFormats);
|
||||
//btnFormats.SubItems.Add(btnUserControlOfFormats);
|
||||
//btnUserControlOfFormats.Click += new EventHandler(btnUserControlOfFormats_Click);
|
||||
//btnUserControlOfFormatsExport = new ButtonItem("btnUserControlOfFormatsExport", "Export User Control of Formats");
|
||||
//btnFormats.SubItems.Add(btnUserControlOfFormatsExport);
|
||||
//btnUserControlOfFormatsExport.Click += new EventHandler(btnUserControlOfFormatsExport_Click);
|
||||
//btnUserControlOfFormatsImport = new ButtonItem("btnUserControlOfFormatsImport", "Import User Control of Formats");
|
||||
//btnFormats.SubItems.Add(btnUserControlOfFormatsImport);
|
||||
//btnUserControlOfFormatsImport.Click += new EventHandler(btnUserControlOfFormatsImport_Click);
|
||||
//btnManageSecurity = new ButtonItem("btnManageSecurity", "Manage Security");
|
||||
//btnSecurity.SubItems.Add(btnManageSecurity);
|
||||
//btnManageSecurity.Click += new EventHandler(btnManageSecurity_Click);
|
||||
|
||||
|
||||
btnSecurity = new ButtonItem("btnSecurity", "Security"); // C2019-002: move security & format items into submenus
|
||||
btnFormats = new ButtonItem("btnFormats", "Formats");
|
||||
btnAdmin.SubItems.Add(btnSecurity);
|
||||
btnAdmin.SubItems.Add(btnFormats);
|
||||
// btnAdmin.SubItems.Add(btnFormats); // C2024 - 041 remove from Admin(V button) menu
|
||||
btnAdmin.SubItems.Add(btnUpdateFormats); // C2024 - 041 remove from Admin(V button) menu
|
||||
btnUserControlOfFormats = new ButtonItem("btnUserControlOfFormats", "User Control of Formats");
|
||||
btnFormats.SubItems.Add(btnUpdateFormats);
|
||||
btnFormats.SubItems.Add(btnUserControlOfFormats);
|
||||
//btnFormats.SubItems.Add(btnUpdateFormats);
|
||||
//btnFormats.SubItems.Add(btnUserControlOfFormats); // C2024-041 remove from Admin (V button) menu
|
||||
btnUserControlOfFormats.Click += new EventHandler(btnUserControlOfFormats_Click);
|
||||
btnUserControlOfFormatsExport = new ButtonItem("btnUserControlOfFormatsExport", "Export User Control of Formats");
|
||||
btnFormats.SubItems.Add(btnUserControlOfFormatsExport);
|
||||
//btnFormats.SubItems.Add(btnUserControlOfFormatsExport); // C2024-041 remove from Admin (V button) menu
|
||||
btnUserControlOfFormatsExport.Click += new EventHandler(btnUserControlOfFormatsExport_Click);
|
||||
btnUserControlOfFormatsImport = new ButtonItem("btnUserControlOfFormatsImport", "Import User Control of Formats");
|
||||
btnFormats.SubItems.Add(btnUserControlOfFormatsImport);
|
||||
//btnFormats.SubItems.Add(btnUserControlOfFormatsImport); // C2024-041 remove from Admin (V button) menu
|
||||
btnUserControlOfFormatsImport.Click += new EventHandler(btnUserControlOfFormatsImport_Click);
|
||||
btnManageSecurity = new ButtonItem("btnManageSecurity", "Manage Security");
|
||||
btnSecurity.SubItems.Add(btnManageSecurity);
|
||||
btnManageSecurity.Click += new EventHandler(btnManageSecurity_Click);
|
||||
|
||||
|
||||
//added by jcb: menu item to reset security requires password to implement
|
||||
btnResetSecurity = new ButtonItem("btnResetSecurity", "Reset Security");
|
||||
btnSecurity.SubItems.Add(btnResetSecurity);
|
||||
|
@@ -805,7 +805,21 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// B2025-020 Null Reference fix. Added check for valid index into the TransitionTypeList
|
||||
if (!forceConvertToText)
|
||||
{
|
||||
if (traninfo.TranType >= itemInfo.ActiveFormat.PlantFormat.FormatData.TransData.TransTypeList.Count)
|
||||
{
|
||||
forceConvertToText = true;
|
||||
TranFixCount++;
|
||||
itemInfo.MyContent.FixTransitionText(traninfo, itemInfo, "Reason for Change: Transition type is not available");
|
||||
using (Content content = Content.Get(itemInfo.MyContent.ContentID))
|
||||
{
|
||||
content.FixTransitionText(traninfo, true);
|
||||
content.Save();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!forceConvertToText)
|
||||
{
|
||||
if (itemInfo.MyProcedure.ItemID != traninfo.MyItemToID.MyProcedure.ItemID) //different proc
|
||||
|
@@ -983,19 +983,22 @@ namespace Volian.Controls.Library
|
||||
SectionInfo si2 = (tn as VETreeNode).VEObject as SectionInfo;
|
||||
if (si2.MyDocVersion.MultiUnitCount > 1)
|
||||
{
|
||||
MenuItem mps = new MenuItem("Print Section");
|
||||
int k = 0;
|
||||
foreach (string s in si2.MyDocVersion.UnitNames)
|
||||
if (!si2.IsSubsection)
|
||||
{
|
||||
k++;
|
||||
MenuItem mp = mps.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
||||
mp.Tag = k;
|
||||
MenuItem mps = new MenuItem("Print Section");
|
||||
int k = 0;
|
||||
foreach (string s in si2.MyDocVersion.UnitNames)
|
||||
{
|
||||
k++;
|
||||
MenuItem mp = mps.MenuItems.Add(s, new EventHandler(miMultiUnit_Click));
|
||||
mp.Tag = k;
|
||||
}
|
||||
cm.MenuItems.Add(mps);
|
||||
}
|
||||
cm.MenuItems.Add(mps);
|
||||
}
|
||||
else
|
||||
{
|
||||
cm.MenuItems.Add("Print Section", new EventHandler(mi_Click));
|
||||
if(!si2.IsSubsection) cm.MenuItems.Add("Print Section", new EventHandler(mi_Click));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user