Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44c86e5d80 | ||
|
|
d5859f2a01 | ||
|
|
506c826eb3 | ||
|
|
96839f8379 | ||
|
|
f6e42d933e | ||
|
|
28b79bf81b | ||
|
|
a87e23af7e | ||
|
|
1e0e3a7114 |
+11
-9
@@ -1,4 +1,6 @@
|
||||
|
||||
using System;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
partial class dlgCheckOpenTabs
|
||||
@@ -42,12 +44,12 @@ namespace VEPROMS
|
||||
//
|
||||
this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.labelX1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.labelX1.Location = new System.Drawing.Point(23, 2);
|
||||
this.labelX1.Location = new System.Drawing.Point(23, 5);
|
||||
this.labelX1.Name = "labelX1";
|
||||
this.labelX1.Size = new System.Drawing.Size(363, 78);
|
||||
this.labelX1.Size = new System.Drawing.Size(363, 90);
|
||||
this.labelX1.TabIndex = 0;
|
||||
this.labelX1.Text = "Would you like for PROMS to reopen the tabs that you had open during your last se" +
|
||||
"ssion?";
|
||||
"ssion?" + Environment.NewLine + Environment.NewLine + "NOTE: This will not apply to Word section tabs that were previously open.";
|
||||
this.labelX1.WordWrap = true;
|
||||
//
|
||||
// cbRemember
|
||||
@@ -56,20 +58,20 @@ namespace VEPROMS
|
||||
//
|
||||
//
|
||||
this.cbRemember.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.cbRemember.Location = new System.Drawing.Point(23, 75);
|
||||
this.cbRemember.Location = new System.Drawing.Point(23, 100);
|
||||
this.cbRemember.Name = "cbRemember";
|
||||
this.cbRemember.Size = new System.Drawing.Size(376, 47);
|
||||
this.cbRemember.Size = new System.Drawing.Size(376, 55);
|
||||
this.cbRemember.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.cbRemember.TabIndex = 1;
|
||||
this.cbRemember.Text = "Check this box to not be prompted in the future when opening PROMS. \nNote that th" +
|
||||
"ese settings can be adjusted at any time from the \nOPTIONS menu for PROMS.";
|
||||
"ese settings can be adjusted at any time from the \nOPTIONS menu for PROMS.";
|
||||
//
|
||||
// btnOpenTabs
|
||||
//
|
||||
this.btnOpenTabs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnOpenTabs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnOpenTabs.DialogResult = System.Windows.Forms.DialogResult.Yes;
|
||||
this.btnOpenTabs.Location = new System.Drawing.Point(23, 139);
|
||||
this.btnOpenTabs.Location = new System.Drawing.Point(23, 165);
|
||||
this.btnOpenTabs.Name = "btnOpenTabs";
|
||||
this.btnOpenTabs.Size = new System.Drawing.Size(150, 42);
|
||||
this.btnOpenTabs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
@@ -82,7 +84,7 @@ namespace VEPROMS
|
||||
this.btnNoTabs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
|
||||
this.btnNoTabs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnNoTabs.DialogResult = System.Windows.Forms.DialogResult.No;
|
||||
this.btnNoTabs.Location = new System.Drawing.Point(216, 139);
|
||||
this.btnNoTabs.Location = new System.Drawing.Point(216, 165);
|
||||
this.btnNoTabs.Name = "btnNoTabs";
|
||||
this.btnNoTabs.Size = new System.Drawing.Size(150, 42);
|
||||
this.btnNoTabs.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
@@ -94,7 +96,7 @@ namespace VEPROMS
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(411, 193);
|
||||
this.ClientSize = new System.Drawing.Size(411, 220);
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.btnNoTabs);
|
||||
this.Controls.Add(this.btnOpenTabs);
|
||||
|
||||
@@ -2561,13 +2561,16 @@ namespace VEPROMS
|
||||
// B2026-074 added flag (LoadingSavedProcTabs) to supress unnecessary event calls
|
||||
// this will help prevent PROMS from getting stuck continuously looping through the same events
|
||||
// when Word procedure tabs are restored.
|
||||
tc.LoadingSavedProcTabs = true;
|
||||
// C2026-053 leaving this flag in her for now should we decide to trouble-shoot reopening of Word tabs later on.
|
||||
tc.LoadingSavedProcTabs = true; // we check for this flag in DSOTabPanel.cs when opening Word sections
|
||||
foreach (DataRow TabState in DisPlayTabState.Rows)
|
||||
{
|
||||
int _ItemID = (int)TabState["ItemID"];
|
||||
ItemInfo _Procedure = ItemInfo.Get(_ItemID);
|
||||
// Open procedure in the editor.
|
||||
if (_Procedure == null) continue; //skip and continue with foreach
|
||||
// C2026-053 Open procedure tab but only if it's NOT a Word section
|
||||
// Needed to disable opening saved Word sections - at least for now.
|
||||
// We were running into performace and random hanging issues with the Word tabs - maybe windows event related.
|
||||
if (_Procedure == null || _Procedure.HasWordContent) continue; //skip and continue with foreach
|
||||
OpenItem(_Procedure);
|
||||
if (tc.MyEditItem == null) continue; // skip and continue with foreach
|
||||
// SelectedStepTabPanel needs to be set so the print buttons on the ribbon will work.
|
||||
|
||||
+1
-1
@@ -747,7 +747,7 @@ namespace Volian.Controls.Library
|
||||
this.cbxFndUnLnkROVals.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.cbxFndUnLnkROVals.Name = "cbxFndUnLnkROVals";
|
||||
this.cbxFndUnLnkROVals.Size = new System.Drawing.Size(176, 19);
|
||||
this.superTooltip1.SetSuperTooltip(this.cbxFndUnLnkROVals, new DevComponents.DotNetBar.SuperTooltipInfo("Find Linked Values", "", "Finding unlinked values does the search for a specific RO.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.superTooltip1.SetSuperTooltip(this.cbxFndUnLnkROVals, new DevComponents.DotNetBar.SuperTooltipInfo("Find Unlinked Values", "", "Finding unlinked values does the search for a specific RO.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray));
|
||||
this.cbxFndUnLnkROVals.TabIndex = 2;
|
||||
this.cbxFndUnLnkROVals.Text = "Find Unlinked Values of Selected RO";
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user