Compare commits
108 Commits
Developmen
...
master
Author | SHA1 | Date | |
---|---|---|---|
9d5cc43d71 | |||
bc1370ab29 | |||
eaf2b14cfc | |||
1cf7d81aa5 | |||
f11a9536f0 | |||
c7bdcf0104 | |||
df026499d5 | |||
a3aa4157b8 | |||
8f3268e1bc | |||
5721d440e9 | |||
505c396283 | |||
643e6bc94f | |||
76502e6d97 | |||
851a0b3810 | |||
fd8dbb4c8b | |||
4ffd994c5e | |||
a34828113a | |||
461329468c | |||
35de5df04d | |||
4f0548fd60 | |||
5c1d96cc51 | |||
57049c0c52 | |||
31326e1c91 | |||
3c60994a0a | |||
773cc42346 | |||
f46a1f39dc | |||
b7175bf77f | |||
ec22232aa8 | |||
f303cd2236 | |||
f40cef4416 | |||
fbca97d38d | |||
28bd2cba5c | |||
4b35f73bbf | |||
f4706eb126 | |||
21bcb90558 | |||
ae48ac0cae | |||
cb4979d5bc | |||
7d3ae74e1f | |||
9d680aa500 | |||
0d50b1c2fe | |||
75e034863f | |||
3b42de1571 | |||
668472286e | |||
e00d34c99d | |||
9fb496dfb3 | |||
f4eaa4a3ef | |||
5d50ed6bdf | |||
d7ace4eaf9 | |||
16a4d335ea | |||
ba69bb0772 | |||
455940caa2 | |||
439344757e | |||
ad912691c9 | |||
237144aff6 | |||
810332d558 | |||
f8431d0ba1 | |||
57c3bfa16a | |||
61f1077608 | |||
8877e968b9 | |||
4575c90bee | |||
21279a87ae | |||
3d5ad4a17e | |||
9bb7b044a8 | |||
dc8f2f7561 | |||
829dbf84da | |||
7b156c17f8 | |||
cbf7cbc164 | |||
b04faa816e | |||
517ebe2902 | |||
03d0d314e3 | |||
3e804c5cce | |||
ee2b8b538e | |||
fdfd34fe92 | |||
2d6fb6523b | |||
3084bf3982 | |||
5ba51e8392 | |||
fb5eb43e34 | |||
b154056276 | |||
c67b8f9ca1 | |||
95e4181360 | |||
32dffbe56b | |||
6b3c8d373b | |||
db29107f47 | |||
355537f2ab | |||
0729ef0c21 | |||
6fe82bfd0f | |||
39bf072363 | |||
da7c384fd8 | |||
95130fd9a0 | |||
978e2344a3 | |||
c9bf45602c | |||
aa160b2036 | |||
f82b32d351 | |||
e519dc9a57 | |||
f020c37db9 | |||
5a4ec3b6b1 | |||
2602d6c9d2 | |||
ff403583d7 | |||
c5577cc2bd | |||
78be6e5dc1 | |||
b954a41375 | |||
0100a11cfe | |||
04cf2e8534 | |||
be00724818 | |||
274d93c61a | |||
7dc4c30436 | |||
028ef4bc31 | |||
42124d65c7 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
17
PROMS/Formats/frmFormatCopy.Designer.cs
generated
17
PROMS/Formats/frmFormatCopy.Designer.cs
generated
@ -35,7 +35,6 @@ namespace Formats
|
||||
this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
|
||||
this.labelX2 = new DevComponents.DotNetBar.LabelX();
|
||||
this.LstBxExcludeFiles = new DevComponents.DotNetBar.ListBoxAdv();
|
||||
this.cbIncludeDemoFormats = new DevComponents.DotNetBar.Controls.CheckBoxX();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// txbxPROMSFormatsPath
|
||||
@ -132,26 +131,11 @@ namespace Formats
|
||||
this.LstBxExcludeFiles.TabIndex = 6;
|
||||
this.LstBxExcludeFiles.Text = "listBoxAdv1";
|
||||
//
|
||||
// cbIncludeDemoFormats
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
this.cbIncludeDemoFormats.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbIncludeDemoFormats.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.cbIncludeDemoFormats.Location = new System.Drawing.Point(43, 156);
|
||||
this.cbIncludeDemoFormats.Name = "cbIncludeDemoFormats";
|
||||
this.cbIncludeDemoFormats.Size = new System.Drawing.Size(160, 23);
|
||||
this.cbIncludeDemoFormats.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2010;
|
||||
this.cbIncludeDemoFormats.TabIndex = 7;
|
||||
this.cbIncludeDemoFormats.Text = "Include Demo Formats";
|
||||
//
|
||||
// frmFormatCopy
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(496, 191);
|
||||
this.Controls.Add(this.cbIncludeDemoFormats);
|
||||
this.Controls.Add(this.LstBxExcludeFiles);
|
||||
this.Controls.Add(this.labelX2);
|
||||
this.Controls.Add(this.buttonX2);
|
||||
@ -174,7 +158,6 @@ namespace Formats
|
||||
private DevComponents.DotNetBar.ButtonX buttonX2;
|
||||
private DevComponents.DotNetBar.LabelX labelX2;
|
||||
private DevComponents.DotNetBar.ListBoxAdv LstBxExcludeFiles;
|
||||
private DevComponents.DotNetBar.Controls.CheckBoxX cbIncludeDemoFormats;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -96,17 +96,13 @@ namespace Formats
|
||||
if (!txbxPROMSFormatsPath.Text.EndsWith(@"\")) txbxPROMSFormatsPath.Text += @"\";
|
||||
}
|
||||
|
||||
// Added a PROMSDemo to the list of excluded format files
|
||||
public string[] excludeThese = { "WPS", "WPB", "VCBEPP", "PROMSDemo" };
|
||||
public string[] excludeThese = { "WPS", "WPB", "VCBEPP" };
|
||||
|
||||
// Added logic to support in inclusion of the PROMSDemo formats if the checkbox on the
|
||||
// dialog is check
|
||||
private bool ExcludeFromCopy(string fn)
|
||||
{
|
||||
// don't copy formats whos file name starts with..
|
||||
foreach (string excludeThis in excludeThese)
|
||||
if (fn.ToUpper().StartsWith(excludeThis)
|
||||
&& !(cbIncludeDemoFormats.Checked && fn.ToUpper().StartsWith("PROMSDEMO"))) return true;
|
||||
if (fn.ToUpper().StartsWith(excludeThis)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -165,5 +161,5 @@ namespace Formats
|
||||
Application.Exit();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1192,27 +1192,14 @@ namespace ctlXMLEditLib
|
||||
// C2021-026 Event handler for Parent/Child child textbox
|
||||
// if the textbox text is same as parent, then or nothing is entered in the textbox
|
||||
// then use the parent value and set the text color to gray
|
||||
// B2025-028 RO Editor - Parent Child Applicability - Default Values
|
||||
// Were always setting to the Group parent value instead of individual parent values
|
||||
// When leaving the textbox
|
||||
private void txtBox_Leave(object sender, EventArgs e)
|
||||
{
|
||||
TextBox tb = sender as TextBox;
|
||||
string dfTxt = "";
|
||||
try
|
||||
{
|
||||
ctlXMLEdit tmp = (ctlXMLEdit)tb?.Parent;
|
||||
if (!string.IsNullOrEmpty(tmp?.ActiveControl.Text))
|
||||
dfTxt = tmp.ActiveControl.Text;
|
||||
}
|
||||
catch
|
||||
{
|
||||
string parName = pcGrpBox.Name.Substring(5);
|
||||
object o = myHT[parName];
|
||||
if (o != null)
|
||||
dfTxt = (o as TextBox).Text; // set to use the parent's value (default)
|
||||
}
|
||||
|
||||
if (dosaveflag) mysavexml = true;
|
||||
if (tb.Text.Length == 0 || tb.Text == dfTxt)
|
||||
{
|
||||
|
@ -1099,7 +1099,7 @@ namespace VEPROMS
|
||||
this.btnReset.Location = new System.Drawing.Point(194, 492);
|
||||
this.btnReset.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.btnReset.Name = "btnReset";
|
||||
this.btnReset.RightToLeft = System.Windows.Forms.RightToLeft.No;
|
||||
this.btnReset.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||
this.btnReset.Size = new System.Drawing.Size(79, 19);
|
||||
this.superTooltip1.SetSuperTooltip(this.btnReset, new DevComponents.DotNetBar.SuperTooltipInfo("Default Settings", "", "This will reset saved user settings back to the Proms system default.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(140, 95)));
|
||||
this.btnReset.TabIndex = 3;
|
||||
|
71
PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
generated
71
PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
generated
@ -47,13 +47,13 @@ namespace VEPROMS
|
||||
this.btnOpen = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnPrepare = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnAdmin = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnUpdateFormats = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.icRecentDocs = new DevComponents.DotNetBar.ItemContainer();
|
||||
this.labelItem8 = new DevComponents.DotNetBar.LabelItem();
|
||||
this.itemContainer5 = new DevComponents.DotNetBar.ItemContainer();
|
||||
this.btnOptions = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnExit = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.qatCustomizeItem1 = new DevComponents.DotNetBar.QatCustomizeItem();
|
||||
this.btnUpdateFormats = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.galleryGroup1 = new DevComponents.DotNetBar.GalleryGroup();
|
||||
this.galleryGroup2 = new DevComponents.DotNetBar.GalleryGroup();
|
||||
this.galleryGroup3 = new DevComponents.DotNetBar.GalleryGroup();
|
||||
@ -250,6 +250,7 @@ namespace VEPROMS
|
||||
//
|
||||
// btnShowErrFld
|
||||
//
|
||||
//this.btnShowErrFld.Image = global::VEPROMS.Properties.Resources.GoToParentFolderHS;
|
||||
this.btnShowErrFld.Image = ((System.Drawing.Image)(resources.GetObject("btnShowErrFld.Image")));
|
||||
this.btnShowErrFld.Name = "btnShowErrFld";
|
||||
this.btnShowErrFld.Text = "Open Log Folder";
|
||||
@ -257,11 +258,14 @@ namespace VEPROMS
|
||||
//
|
||||
// btnShowPrtFld
|
||||
//
|
||||
//this.btnShowPrtFld.Image = global::VEPROMS.Properties.Resources.GoToParentFolderHS;
|
||||
this.btnShowPrtFld.Image = ((System.Drawing.Image)(resources.GetObject("btnShowPrtFld.Image")));
|
||||
this.btnShowPrtFld.Name = "btnShowPrtFld";
|
||||
this.btnShowPrtFld.Text = "Open Default Print Folder";
|
||||
this.btnShowPrtFld.Click += new System.EventHandler(this.btnShowPrtFld_Click);
|
||||
//
|
||||
//
|
||||
//
|
||||
// btnHelpAbout
|
||||
//
|
||||
this.btnHelpAbout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
@ -299,10 +303,6 @@ namespace VEPROMS
|
||||
this.itemContainer1.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.itemContainer2,
|
||||
this.itemContainer5});
|
||||
//
|
||||
//
|
||||
//
|
||||
this.itemContainer1.TitleMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -320,10 +320,6 @@ namespace VEPROMS
|
||||
this.itemContainer2.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.itemContainer3,
|
||||
this.icRecentDocs});
|
||||
//
|
||||
//
|
||||
//
|
||||
this.itemContainer2.TitleMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -344,10 +340,6 @@ namespace VEPROMS
|
||||
this.btnOpen,
|
||||
this.btnPrepare,
|
||||
this.btnAdmin});
|
||||
//
|
||||
//
|
||||
//
|
||||
this.itemContainer3.TitleMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -371,6 +363,7 @@ namespace VEPROMS
|
||||
this.btnOpen.SubItemsExpandWidth = 24;
|
||||
this.btnOpen.Text = "&Open...";
|
||||
this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
|
||||
|
||||
//
|
||||
// btnPrepare
|
||||
//
|
||||
@ -389,8 +382,16 @@ namespace VEPROMS
|
||||
this.btnAdmin.CanCustomize = false;
|
||||
this.btnAdmin.Image = global::VEPROMS.Properties.Resources.Admin;
|
||||
this.btnAdmin.Name = "btnAdmin";
|
||||
//this.btnAdmin.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
//this.btnUpdateFormats});
|
||||
this.btnAdmin.Text = "A&dministration";
|
||||
//
|
||||
// btnUpdateFormats
|
||||
//
|
||||
this.btnUpdateFormats.Name = "btnUpdateFormats";
|
||||
this.btnUpdateFormats.Text = "Update Formats";
|
||||
this.btnUpdateFormats.Click += new System.EventHandler(this.btnUpdateFormat_Click);
|
||||
//
|
||||
// icRecentDocs
|
||||
//
|
||||
//
|
||||
@ -403,10 +404,6 @@ namespace VEPROMS
|
||||
this.icRecentDocs.Name = "icRecentDocs";
|
||||
this.icRecentDocs.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.labelItem8});
|
||||
//
|
||||
//
|
||||
//
|
||||
this.icRecentDocs.TitleMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -435,10 +432,6 @@ namespace VEPROMS
|
||||
this.itemContainer5.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
this.btnOptions,
|
||||
this.btnExit});
|
||||
//
|
||||
//
|
||||
//
|
||||
this.itemContainer5.TitleMouseOverStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
//
|
||||
//
|
||||
//
|
||||
@ -451,7 +444,6 @@ namespace VEPROMS
|
||||
this.btnOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnOptions.Image")));
|
||||
this.btnOptions.Name = "btnOptions";
|
||||
this.btnOptions.SubItemsExpandWidth = 24;
|
||||
this.superTooltip1.SetSuperTooltip(this.btnOptions, new DevComponents.DotNetBar.SuperTooltipInfo("Options", "", "Set User-Based PROMS Editing Preferences", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.btnOptions.Text = "Opt&ions";
|
||||
this.btnOptions.Click += new System.EventHandler(this.btnOptions_Click);
|
||||
//
|
||||
@ -462,7 +454,6 @@ namespace VEPROMS
|
||||
this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image")));
|
||||
this.btnExit.Name = "btnExit";
|
||||
this.btnExit.SubItemsExpandWidth = 24;
|
||||
this.superTooltip1.SetSuperTooltip(this.btnExit, new DevComponents.DotNetBar.SuperTooltipInfo("Exit", "", "Close and Exit PROMS", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.btnExit.Text = "E&xit";
|
||||
this.btnExit.Click += new System.EventHandler(this.btnExit_Click);
|
||||
//
|
||||
@ -470,12 +461,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.qatCustomizeItem1.Name = "qatCustomizeItem1";
|
||||
//
|
||||
// btnUpdateFormats
|
||||
//
|
||||
this.btnUpdateFormats.Name = "btnUpdateFormats";
|
||||
this.btnUpdateFormats.Text = "Update Formats";
|
||||
this.btnUpdateFormats.Click += new System.EventHandler(this.btnUpdateFormat_Click);
|
||||
//
|
||||
// galleryGroup1
|
||||
//
|
||||
this.galleryGroup1.Name = "galleryGroup1";
|
||||
@ -550,7 +535,7 @@ namespace VEPROMS
|
||||
//
|
||||
this.txtSearch.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.txtSearch.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F);
|
||||
this.txtSearch.Location = new System.Drawing.Point(810, 0);
|
||||
this.txtSearch.Location = new System.Drawing.Point(820, 0);
|
||||
this.txtSearch.Multiline = true;
|
||||
this.txtSearch.Name = "txtSearch";
|
||||
this.txtSearch.Size = new System.Drawing.Size(100, 25);
|
||||
@ -559,7 +544,7 @@ namespace VEPROMS
|
||||
// btnPrevious
|
||||
//
|
||||
this.btnPrevious.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btnPrevious.Location = new System.Drawing.Point(910, 0);
|
||||
this.btnPrevious.Location = new System.Drawing.Point(920, 0);
|
||||
this.btnPrevious.Name = "btnPrevious";
|
||||
this.btnPrevious.Size = new System.Drawing.Size(23, 25);
|
||||
this.btnPrevious.TabIndex = 1;
|
||||
@ -569,7 +554,7 @@ namespace VEPROMS
|
||||
// btnPrint1
|
||||
//
|
||||
this.btnPrint1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btnPrint1.Location = new System.Drawing.Point(933, 0);
|
||||
this.btnPrint1.Location = new System.Drawing.Point(943, 0);
|
||||
this.btnPrint1.Name = "btnPrint1";
|
||||
this.btnPrint1.Size = new System.Drawing.Size(23, 25);
|
||||
this.btnPrint1.TabIndex = 2;
|
||||
@ -581,7 +566,7 @@ namespace VEPROMS
|
||||
this.cbScrunch.Checked = true;
|
||||
this.cbScrunch.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.cbScrunch.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.cbScrunch.Location = new System.Drawing.Point(956, 0);
|
||||
this.cbScrunch.Location = new System.Drawing.Point(966, 0);
|
||||
this.cbScrunch.Name = "cbScrunch";
|
||||
this.cbScrunch.Size = new System.Drawing.Size(24, 25);
|
||||
this.cbScrunch.TabIndex = 3;
|
||||
@ -590,7 +575,7 @@ namespace VEPROMS
|
||||
// btnNext
|
||||
//
|
||||
this.btnNext.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btnNext.Location = new System.Drawing.Point(980, 0);
|
||||
this.btnNext.Location = new System.Drawing.Point(990, 0);
|
||||
this.btnNext.Name = "btnNext";
|
||||
this.btnNext.Size = new System.Drawing.Size(23, 25);
|
||||
this.btnNext.TabIndex = 4;
|
||||
@ -601,7 +586,7 @@ namespace VEPROMS
|
||||
//
|
||||
this.cmbFont.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.cmbFont.FormattingEnabled = true;
|
||||
this.cmbFont.Location = new System.Drawing.Point(1003, 0);
|
||||
this.cmbFont.Location = new System.Drawing.Point(1013, 0);
|
||||
this.cmbFont.Name = "cmbFont";
|
||||
this.cmbFont.Size = new System.Drawing.Size(172, 23);
|
||||
this.cmbFont.TabIndex = 0;
|
||||
@ -611,10 +596,9 @@ namespace VEPROMS
|
||||
//
|
||||
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(1175, 0);
|
||||
this.lblDummy.Location = new System.Drawing.Point(1013, 0);
|
||||
this.lblDummy.Name = "lblDummy";
|
||||
this.lblDummy.Size = new System.Drawing.Size(10, 25);
|
||||
this.lblDummy.TabIndex = 5;
|
||||
this.lblDummy.Visible = false;
|
||||
//
|
||||
// labelItem10
|
||||
@ -750,9 +734,8 @@ namespace VEPROMS
|
||||
// ctrlAnnotationDetails
|
||||
//
|
||||
this.ctrlAnnotationDetails.AnnotationDirty = false;
|
||||
this.ctrlAnnotationDetails.AnnotationRTFText = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\nouicompat\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 " +
|
||||
"Microsoft Sans Serif;}}\r\n{\\*\\generator Riched20 10.0.26100}\\viewkind4\\uc1 \r\n\\par" +
|
||||
"d\\f0\\fs20\\par\r\n}\r\n";
|
||||
this.ctrlAnnotationDetails.AnnotationRTFText = "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft S" +
|
||||
"ans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs20\\par\r\n}\r\n";
|
||||
this.ctrlAnnotationDetails.Annotations = null;
|
||||
this.ctrlAnnotationDetails.AnnotationText = "";
|
||||
this.ctrlAnnotationDetails.ClientProcess = null;
|
||||
@ -823,7 +806,6 @@ namespace VEPROMS
|
||||
// tv
|
||||
//
|
||||
this.tv.AllowDrop = true;
|
||||
this.tv.DelProcReason = null;
|
||||
this.tv.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tv.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.tv.HideSelection = false;
|
||||
@ -944,7 +926,7 @@ namespace VEPROMS
|
||||
this.displayTags.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.displayTags.IsVisible = false;
|
||||
this.displayTags.Location = new System.Drawing.Point(0, 0);
|
||||
this.displayTags.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.displayTags.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.displayTags.MinimumSize = new System.Drawing.Size(100, 630);
|
||||
this.displayTags.MyEditItem = null;
|
||||
this.displayTags.Name = "displayTags";
|
||||
@ -1129,8 +1111,8 @@ namespace VEPROMS
|
||||
this.displayRO.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.displayRO.Location = new System.Drawing.Point(1, 1);
|
||||
this.displayRO.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.displayRO.MyDvi = null;
|
||||
this.displayRO.MyROFST = null;
|
||||
//this.displayRO.MyROFSTLookup = null;
|
||||
this.displayRO.MyRTB = null;
|
||||
this.displayRO.Name = "displayRO";
|
||||
this.displayRO.ProgressBar = null;
|
||||
@ -1144,7 +1126,6 @@ namespace VEPROMS
|
||||
this.tc.ChgId = null;
|
||||
this.tc.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tc.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.tc.LastSelectedDisplayTabItem = null;
|
||||
this.tc.Location = new System.Drawing.Point(334, 57);
|
||||
this.tc.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tc.MyAnnotationDetails = null;
|
||||
@ -1392,7 +1373,6 @@ namespace VEPROMS
|
||||
// displaySearch1
|
||||
//
|
||||
this.displaySearch1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.displaySearch1.LastSearchWasAnnotations = false;
|
||||
this.displaySearch1.LoadingList = false;
|
||||
this.displaySearch1.Location = new System.Drawing.Point(1, 1);
|
||||
this.displaySearch1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
|
||||
@ -1402,7 +1382,6 @@ namespace VEPROMS
|
||||
this.displaySearch1.ProgressBar = null;
|
||||
this.displaySearch1.ReportTitle = null;
|
||||
this.displaySearch1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
|
||||
this.displaySearch1.SearchIncTransII = null;
|
||||
this.displaySearch1.SearchResults = null;
|
||||
this.displaySearch1.SearchString = null;
|
||||
this.displaySearch1.Size = new System.Drawing.Size(314, 462);
|
||||
|
@ -2167,12 +2167,13 @@ namespace VEPROMS
|
||||
btnAdministrativeTools.Click += new EventHandler(btnAdministrativeTools_Click);
|
||||
btnAdmin.SubItems.Add(btnAdministrativeTools);
|
||||
|
||||
this.superTooltip1.SetSuperTooltip(btnManageSecurity, new SuperTooltipInfo("Manage Security", "", "Add, Modify, and Delete PROMS User Access", null, null, eTooltipColor.Gray));
|
||||
// remove commented out line below when User Control of Formats code is deleted
|
||||
//this.superTooltip1.SetSuperTooltip(btnUserControlOfFormats, new SuperTooltipInfo("User Control Of Formats", null, null, null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnResetSecurity, new SuperTooltipInfo("Reset Security", "", "WARNING this will \nREMOVE ALL PROMS USERS and Reset to\nthe Oringal Volian Defaults", null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnAdministrativeTools, new SuperTooltipInfo("Administrative Tools", "", "Open the PROMS Adminstation Tools Window", null, null, eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(btnUpdateFormats, new SuperTooltipInfo("Update Formats", "", "Install New Formats \n or Re-Install Formats", 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));
|
||||
this.superTooltip1.SetSuperTooltip(btnUserControlOfFormats, new SuperTooltipInfo("User Control Of Formats", null, null, null, null, eTooltipColor.Gray));
|
||||
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
|
||||
{
|
||||
@ -2195,9 +2196,6 @@ namespace VEPROMS
|
||||
}
|
||||
|
||||
ctrlAnnotationDetails.MyUserInfo = MyUserInfo;
|
||||
// re-set to old RTF initialization to older RFT string
|
||||
ctrlAnnotationDetails.AnnotationRTFText= "{\\rtf1\\ansi\\ansicpg1252\\deff0\\deflang1033{\\fonttbl{\\f0\\fnil\\fcharset0 Microsoft Sans Serif;}}\r\n\\viewkind4\\uc1\\pard\\f0\\fs20\\par\r\n}\r\n";
|
||||
|
||||
DisplayRO.MyUserInfo = MyUserInfo; // set the user's security information in the properties RO panel
|
||||
StepTabRibbon.MyUserInfo = MyUserInfo; // set the user's security information in the ribbon
|
||||
DisplayTransition.MyUserInfo = MyUserInfo; // set the user's security information in the Transition panel
|
||||
|
@ -172,16 +172,16 @@
|
||||
</data>
|
||||
<data name="btnShowErrFld.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
EwAACxMBAJqcGAAAADRJREFUOE9jYKAUfGoS/I8Nf2wU6EBXixWgayTZEHRN6JigIf+X6f2nBI8aMGoA
|
||||
dQwYcAAA71z+QkP4emIAAAAASUVORK5CYII=
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA0SURBVDhPY2CgFHxqEvyPDX9sFOhAV4sVoGsk2RB0TeiY
|
||||
oCH/l+n9pwSPGjBqAHUMGHAAAO9c/kJD+HpiAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnShowPrtFld.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL
|
||||
EwAACxMBAJqcGAAAADRJREFUOE9jYKAUfGoS/I8Nf2wU6EBXixWgayTZEHRN6JigIf+X6f2nBI8aMGoA
|
||||
dQwYcAAA71z+QkP4emIAAAAASUVORK5CYII=
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||
YQUAAAAJcEhZcwAACxMAAAsTAQCanBgAAAA0SURBVDhPY2CgFHxqEvyPDX9sFOhAV4sVoGsk2RB0TeiY
|
||||
oCH/l+n9pwSPGjBqAHUMGHAAAO9c/kJD+HpiAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="btnHelpAbout.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
@ -339,9 +339,6 @@
|
||||
HM29CO23pWh3l/Bz4QZPYlnkk5YA/gbYS8m5Qty18AAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>240, 17</value>
|
||||
</metadata>
|
||||
<data name="btnExit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6
|
||||
@ -392,6 +389,9 @@
|
||||
2AlZGRmMVIjXgI7OLub6xkaVtLS0ovT09IjCwkIWdDUgDAAMn43RSw4q2AAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>240, 17</value>
|
||||
</metadata>
|
||||
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>651, 17</value>
|
||||
</metadata>
|
||||
|
@ -896,8 +896,12 @@ namespace Volian.Controls.Library
|
||||
AnnotationInfo ai = AnnotationInfo.RestoreAnnotation(aai);
|
||||
// B2023-072: Don't crash if annotation type was deleted for the restore annotation
|
||||
if (ai == null)
|
||||
{
|
||||
AnnotationTypeInfo ati = AnnotationTypeInfo.Get(aai.TypeID);
|
||||
if (ati == null)
|
||||
{
|
||||
FlexibleMessageBox.Show(this, "Annotation Type was deleted, cannot restore Annotation Type\r\nCopy text from window in Change Details and paste into new annotation to restore the text.", "Annotation Type Deleted", MessageBoxButtons.OK, MessageBoxIcon.Warning);
|
||||
}
|
||||
return;
|
||||
}
|
||||
OnAnnotationRestored(ai, ai.MyItem);
|
||||
|
@ -97,6 +97,21 @@ namespace Volian.Controls.Library
|
||||
set { if (Visible != value) Visible = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Expose text properties for height and widht to handle selecting RO Image Types.
|
||||
/// </summary>
|
||||
public string TbFSwd
|
||||
{
|
||||
get {return tbFSWd.Text;}
|
||||
set { tbFSWd.Text = value; tbFSWd.Refresh(); } // trBarFS.Value = Convert.ToInt32(value);
|
||||
}
|
||||
|
||||
public string TbFSht
|
||||
{
|
||||
get { return tbFSHt.Text; }
|
||||
set { tbFSHt.Text = value; tbFSHt.Refresh(); _origFigureSizeRatio = float.Parse(value) / float.Parse(tbFSWd.Text); }
|
||||
}
|
||||
|
||||
#endregion
|
||||
#region Constructor
|
||||
public DisplayTags()
|
||||
@ -157,18 +172,6 @@ namespace Volian.Controls.Library
|
||||
tbFSWd.SelectionLength = 0;
|
||||
tbFSWd.SelectionStart = tbFSWd.TextLength; // position to the end of the Width text box
|
||||
}
|
||||
/// <summary>
|
||||
/// Update text properties for height and width for new RO Image Types.
|
||||
/// </summary>
|
||||
public void SetNewImageHeightAndWidth(int height, int width)
|
||||
{
|
||||
tbFSHt.Text = height.ToString();
|
||||
tbFSWd.Text = width.ToString();
|
||||
tbFSWd.Refresh();
|
||||
tbFSHt.Refresh();
|
||||
_origFigureSizeWidth = width;
|
||||
_origFigureSizeRatio = (float)height / (float)width;
|
||||
}
|
||||
public void ToggleChangeBar() // for use with shortcut keystoke <ALT><F2>
|
||||
{
|
||||
if (rbChgBarOff.Checked)
|
||||
|
@ -340,8 +340,9 @@ namespace Volian.Controls.Library
|
||||
this.Height = MyPictureBox.Height + 10;
|
||||
if (_displayTags != null)
|
||||
{
|
||||
// Set the Height and Width on the step properties page for the new image
|
||||
_displayTags.SetNewImageHeightAndWidth(ht, wd);
|
||||
_displayTags._origFigureSizeWidth = wd;
|
||||
_displayTags.TbFSwd = wd.ToString();
|
||||
_displayTags.TbFSht = ht.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2074,6 +2074,7 @@ namespace Volian.Controls.Library
|
||||
case "Paste Procedure After":
|
||||
case "Paste Section":
|
||||
case "Paste Section Before":
|
||||
case "Replace Existing Section":
|
||||
case "Paste Section After":
|
||||
case "Paste Step":
|
||||
case "Paste Step Before":
|
||||
@ -2082,18 +2083,8 @@ namespace Volian.Controls.Library
|
||||
case "Paste Subsection":
|
||||
tv_NodePaste(mi.Text);
|
||||
break;
|
||||
case "Replace Existing Section":
|
||||
//C2025-032 - Add check if user is sure want to paste replace section
|
||||
DialogResult ovewriteExPS = FlexibleMessageBox.Show("This will overwrite the selected section with the one you copied, would you like to overwrite it?\r\n\r\nSelecting 'Cancel' will cancel the paste action.", "Overwrite the section?", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
|
||||
|
||||
if (ovewriteExPS == DialogResult.Cancel) break;
|
||||
else
|
||||
{
|
||||
tv_NodePaste(mi.Text);
|
||||
break;
|
||||
}
|
||||
case "Replace Existing Procedure":
|
||||
DialogResult ovewriteEx = FlexibleMessageBox.Show("This will overwrite the selected procedure with the one you copied, would you like to overwrite it?\r\n\r\nSelecting 'Cancel' will cancel the paste action.", "Overwrite the procedure?", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);// == DialogResult.Yes;
|
||||
DialogResult ovewriteEx = FlexibleMessageBox.Show("This will overwrite the selected procedure with then one you copied, would you like to overwrite it?\r\n\r\nSelecting 'Cancel' will cancel the paste action.", "Overwrite the procedure?", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);// == DialogResult.Yes;
|
||||
|
||||
if (ovewriteEx == DialogResult.Cancel) break;
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user