From 77cdf81736bd8d449e8479435c1e888a5208f9a2 Mon Sep 17 00:00:00 2001 From: Kathy Date: Wed, 20 Jan 2016 16:35:48 +0000 Subject: [PATCH] =?UTF-8?q?Enhanced=20Documents=20=E2=80=93=20various=20im?= =?UTF-8?q?provements=20Enhanced=20Documents=20=E2=80=93=20existing=20docv?= =?UTF-8?q?ersion=20properties=20UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/VEPROMS User Interface/frmVEPROMS.cs | 423 ++++-- .../frmVersionsProperties.Designer.cs | 1201 ++++++++++------- .../frmVersionsProperties.cs | 336 ++++- .../frmVersionsProperties.resx | 22 +- 4 files changed, 1353 insertions(+), 629 deletions(-) diff --git a/PROMS/VEPROMS User Interface/frmVEPROMS.cs b/PROMS/VEPROMS User Interface/frmVEPROMS.cs index 83621a8e..a34955a0 100644 --- a/PROMS/VEPROMS User Interface/frmVEPROMS.cs +++ b/PROMS/VEPROMS User Interface/frmVEPROMS.cs @@ -150,6 +150,44 @@ namespace VEPROMS set { _SelectedROFst = value; } } #endregion + private frmVEPROMS _MyParent; + public frmVEPROMS MyParent + { + get { return _MyParent; } + set { _MyParent = value; } + } + //private FolderInfo _MyFolder = null; + //public FolderInfo MyFolder + //{ + // get { return _MyFolder; } + // set { _MyFolder = value; } + //} + private DocVersionInfo _MyDocVersion = null; + + public DocVersionInfo MyDocVersion + { + get { return _MyDocVersion; } + set { _MyDocVersion = value; } + } + public frmVEPROMS(frmVEPROMS myParent, DocVersionInfo myDocVersion) + { + MyParent = myParent; + MyDocVersion=myDocVersion; + InitializeComponent(); + SetupFolder(MyDocVersion.FolderID); + tc.MySessionInfo = MyParent.MySessionInfo; + displaySearch1.TopFolderID = myDocVersion.FolderID; + SelectedDVI = myDocVersion; + tc.VersionID = myDocVersion.VersionID; + } + public void OpenItem(ItemInfo myItemInfo) + { + tc.OpenItem(myItemInfo); + } + public void RefreshItem(ItemInfo myItemInfo) + { + tc.RefreshItem(myItemInfo); + } public frmVEPROMS() { // The following Try/Catch was added to protect against a problem seen by Kathy and Michelle @@ -280,7 +318,13 @@ namespace VEPROMS else if (parameter.ToUpper().StartsWith("/UF")) UpdateFormats(null); } - VETreeNode tn = VETreeNode.GetFolder(1); + SetupFolder(1); + tc.VersionID = 0; + } + + private void SetupFolder(int folderID) + { + VETreeNode tn = VETreeNode.GetFolder(folderID); tv.Nodes.Add(tn); tv.NodePSI += new vlnTreeViewPSIEvent(tv_NodePSI); tv.NodeSI += new vlnTreeViewSIEvent(tv_NodeSI); @@ -293,9 +337,9 @@ namespace VEPROMS tv.NodeInsert += new vlnTreeViewEvent(tv_NodeInsert); tv.PasteItemInfo += new vlnTreeViewItemInfoPasteEvent(tv_PasteItemInfo); tv.GetChangeId += new vlnTreeViewGetChangeIdEvent(tv_GetChangeId); - tv.NodeCopy += new vlnTreeViewEvent(tv_NodeCopy); - tv.ClipboardStatus += new vlnTreeViewClipboardStatusEvent(tv_ClipboardStatus); - tv.ProgressBar = bottomProgBar; + tv.NodeCopy += new vlnTreeViewEvent(tv_NodeCopy); + tv.ClipboardStatus += new vlnTreeViewClipboardStatusEvent(tv_ClipboardStatus); + tv.ProgressBar = bottomProgBar; tc.ItemPaste += new StepPanelItemPastedEvent(tc_ItemPasted); displayHistory.HistorySelectionChanged += new DisplayHistoryEvent(displayHistory_HistorySelectionChanged); _CommentTitleBckColor = epAnnotations.TitleStyle.BackColor1.Color; @@ -329,7 +373,7 @@ namespace VEPROMS tv.ProcedureCheckedOutTo += new vlnTreeViewEvent(tv_ProcedureCheckedOutTo); tv.ViewPDF += new vlnTreeViewPdfEvent(tv_ViewPDF); displayApplicability.ApplicabilityViewModeChanged += new DisplayApplicability.DisplayApplicabilityEvent(displayApplicability_ApplicabilityViewModeChanged); - tv.ExportImportProcedureSets += new vlnTreeViewEvent(tv_ExportImportProcedureSets); + tv.ExportImportProcedureSets += new vlnTreeViewEvent(tv_ExportImportProcedureSets); tv.PrintTransitionReport += new vlnTreeViewEvent(tv_PrintTransitionReport); tv.ProcessingComplete += tv_ProcessingComplete; tv.Processing += tv_Processing; @@ -923,22 +967,25 @@ namespace VEPROMS } private void frmVEPROMS_FormClosing(object sender, FormClosingEventArgs e) { - if (MyActivityTimer != null)MyActivityTimer.Dispose(); - if(MySessionInfo != null)MySessionInfo.EndSession(); - // Save the location and size of the VE-PROMS appication for this user - if (this.WindowState == FormWindowState.Normal) + if (MyParent == null) { - Settings.Default.Location = this.Location; - Settings.Default.Size = this.Size; + if (MyActivityTimer != null) MyActivityTimer.Dispose(); + if (MySessionInfo != null) MySessionInfo.EndSession(); + // Save the location and size of the VE-PROMS appication for this user + if (this.WindowState == FormWindowState.Normal) + { + Settings.Default.Location = this.Location; + Settings.Default.Size = this.Size; + } + if (this.MyVersionWindowList != null) + Settings.Default.VersionWindows = this.MyVersionWindowList.ToSettings(); + Settings.Default.WindowState = this.WindowState; + Settings.Default.QATItems = ribbonControl1.QatLayout; + SaveMRU(); + //Settings.Default.Save(); + Volian.Base.Library.DebugPagination.Close(); + Volian.Base.Library.DebugText.Close(); } - if(this.MyVersionWindowList != null) - Settings.Default.VersionWindows = this.MyVersionWindowList.ToSettings(); - Settings.Default.WindowState = this.WindowState; - Settings.Default.QATItems = ribbonControl1.QatLayout; - SaveMRU(); - //Settings.Default.Save(); - Volian.Base.Library.DebugPagination.Close(); - Volian.Base.Library.DebugText.Close(); } void frmVEPROMS_FormClosed(object sender, System.Windows.Forms.FormClosedEventArgs e) { @@ -947,13 +994,16 @@ namespace VEPROMS // RHM 20121010 // Something was causing the process to remain in memory for an extended period of time // after printing procedures. The following lines kills the process immediately. - try + if (MyParent == null) { - System.Diagnostics.Process.GetCurrentProcess().Kill(); - } - catch (Exception ex) - { - _MyLog.Warn("Attempting to Close", ex); + try + { + System.Diagnostics.Process.GetCurrentProcess().Kill(); + } + catch (Exception ex) + { + _MyLog.Warn("Attempting to Close", ex); + } } } // Get the "Procedures" Panel Heading (title). @@ -1022,7 +1072,16 @@ namespace VEPROMS } } - private SessionInfo MySessionInfo; + private SessionInfo _MySessionInfo; + public SessionInfo MySessionInfo + { + get { + if (_MySessionInfo == null) + _MySessionInfo = MyParent.MySessionInfo; + return _MySessionInfo; + } + set { _MySessionInfo = value; } + } private System.Threading.Timer MyActivityTimer; private System.Threading.Timer MyRefreshTimer; private DevComponents.DotNetBar.ButtonItem btnManageSecurity; @@ -1204,20 +1263,20 @@ namespace VEPROMS tmrCloseTabItems.Enabled = true; 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"); + Application.Exit(); + } this.LastContentChange = MySessionInfo.LastContentChange; _MyLog.WarnFormat("Original last content change {0}", this.LastContentChange); RefreshLastChange(); - if (MySessionInfo == null) - { - MessageBox.Show("This database is locked by the Administrator. Please try again later", "PROMS is Locked"); - Application.Exit(); - } tc.MySessionInfo = MySessionInfo; tv.MySessionInfo = MySessionInfo; System.Threading.AutoResetEvent autoEvent = new System.Threading.AutoResetEvent(false); //System.Threading.TimerCallback timerDelegate = new System.Threading.TimerCallback(MySessionInfo.PingSession); //System.Diagnostics.Process xyzzy = System.Diagnostics.Process.GetCurrentProcess(); - if(!System.Diagnostics.Debugger.IsAttached)// running in Production Mode (Not in the debugger) + if (!System.Diagnostics.Debugger.IsAttached)// running in Production Mode (Not in the debugger) { System.Threading.TimerCallback timerDelegate = new System.Threading.TimerCallback(this.PingSession); MyActivityTimer = new System.Threading.Timer(timerDelegate, autoEvent, 10000, 10000); @@ -1232,7 +1291,7 @@ namespace VEPROMS // get the saved location and size of the VE-PROMS appication for this user this.txtSearch.KeyPress += new KeyPressEventHandler(txtSearch_KeyPress); this.txtSearch.KeyUp += txtSearch_KeyUp; // RHM20150506 Multiline ItemID TextBox - this.txtSearch.TextChanged+=txtSearch_TextChanged; // RHM20150506 Multiline ItemID TextBox + this.txtSearch.TextChanged += txtSearch_TextChanged; // RHM20150506 Multiline ItemID TextBox this.btnNext.Click += btnNext_Click; // RHM20150506 Multiline ItemID TextBox this.btnPrint1.Click += btnPrint1_Click; // RHM20150506 Multiline ItemID TextBox this.btnPrevious.Click += btnPrevious_Click; // RHM20150506 Multiline ItemID TextBox @@ -1243,7 +1302,7 @@ namespace VEPROMS // 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; - + // See if any database 'changes' need done and do them: MakeDatabaseChanges(); @@ -1253,11 +1312,14 @@ namespace VEPROMS // if the user selected to "Remember Last" (was "Save Expanded") then use the MRU list to // expand the tree to the last opened procedure //if (epProcedures.Expanded && _MyMRIList.Count > 0) - if (Settings.Default.SaveTreeviewExpanded && _MyMRIList.Count > 0) + if (MyParent == null) { - tv.AdjustTree(_MyMRIList[0].MyItemInfo.MyProcedure); - tv.SelectedNode.Expand(); - SetCaption(tv.SelectedNode as VETreeNode); + if (Settings.Default.SaveTreeviewExpanded && _MyMRIList.Count > 0) + { + tv.AdjustTree(_MyMRIList[0].MyItemInfo.MyProcedure); + tv.SelectedNode.Expand(); + SetCaption(tv.SelectedNode as VETreeNode); + } } //get version windows settings MyVersionWindowList = VersionWindowList.GetVersionWindowList(Properties.Settings.Default.VersionWindows); @@ -1273,13 +1335,14 @@ namespace VEPROMS ctrlAnnotationDetails.SetupAnnotations(displaySearch1); SetupButtons(); displayBookMarks.MyDisplayTabControl = tc; // allows bookmark selection to bring up steps/docs - office2007StartButton1.MouseDown +=new MouseEventHandler(office2007StartButton1_MouseDown); + office2007StartButton1.MouseDown += new MouseEventHandler(office2007StartButton1_MouseDown); //displayRO.EnabledChanged += new EventHandler(displayRO_EnabledChanged); tc.Enter += new EventHandler(tc_Enter); tc.Leave += new EventHandler(tc_Leave); tc.StatusChanged += new DisplayTabControlStatusEvent(tc_StatusChanged); tc.ToggleRibbonExpanded += new DisplayTabControlEvent(tc_ToggleRibbonExpanded); tc.OpenEnhancedDocument += tc_OpenEnhancedDocument; + tc.RefreshEnhancedDocument += tc_RefreshEnhancedDocument; this.Deactivate += new EventHandler(frmVEPROMS_Deactivate); if (VlnSettings.DemoMode) StepRTB.MyFontFamily = GetFamily("Bookman Old Style"); displaySearch1.Enter += new EventHandler(displaySearch1_Enter); @@ -1300,7 +1363,7 @@ namespace VEPROMS // btnAdmin.Visible = false; StepTabRibbon.PasteNoReturnsSetting = Properties.Settings.Default.PasteNoReturns; StepTabRibbon.PastePlainTextSetting = Properties.Settings.Default.PastePlainText; - Activate(); + Activate(); //FolderInfo fi = FolderInfo.Get(1); //FormatInfo frmI = FormatInfo.Get(fi.FormatID ?? 1); //if (frmI.PlantFormat.FormatData.ProcData.ChangeBarData.ChangeIds) @@ -1308,12 +1371,34 @@ namespace VEPROMS // dlgChgId dlgCI = new dlgChgId(tc); // dlgCI.ShowDialog(this); //} - // RHM20150506 Multiline ItemID TextBox - this.txtSearch.Text = Volian.Base.Library.VlnSettings.GetItemIDs().Replace(",","\r\n"); - // Open First Item - if (this.txtSearch.Text.Length > 0 && !this.txtSearch.Text.Contains("\r\n")) - CurrentID = txtSearch.Text; + // RHM20150506 Multiline ItemID TextBox + if (MyParent == null) + { + this.txtSearch.Text = Volian.Base.Library.VlnSettings.GetItemIDs().Replace(",", "\r\n"); + // Open First Item + if (this.txtSearch.Text.Length > 0 && !this.txtSearch.Text.Contains("\r\n")) + CurrentID = txtSearch.Text; + } } + void tc_RefreshEnhancedDocument(object sender, ItemSelectedChangedEventArgs args) + { + // if the procedure is opened then move to the select step + if (!Properties.Settings.Default.SeparateWindows) + { + tc.RefreshItem(args.MyItemInfo); + } + else + { + int versionID = args.MyItemInfo.MyDocVersion.VersionID; + frmVEPROMS child = null; + if (EnhancedForms.ContainsKey(versionID)) + { + child = EnhancedForms[versionID]; + child.RefreshItem(args.MyItemInfo); + } + } + } + /// /// This looks for sessions associated with the current PC and user which are no longer active and removes them. /// This will in-turn close any related procedure owner records and allow the user to re-open a previously open procedure. @@ -1342,6 +1427,22 @@ namespace VEPROMS // return true; // return false; //} + Dictionary _EnhancedForms=null; + public Dictionary EnhancedForms + { + get + { + if(_EnhancedForms == null) + { + if (_MyParent == null) + _EnhancedForms = new Dictionary(); + else + _EnhancedForms = MyParent.EnhancedForms; + } + return _EnhancedForms; + } + set { _EnhancedForms = value; } + } void tc_OpenEnhancedDocument(object sender, ItemSelectedChangedEventArgs args) { if (!Properties.Settings.Default.SeparateWindows) @@ -1350,45 +1451,75 @@ namespace VEPROMS } else { - if (!tc.dicEnhancedDocuments.ContainsKey(args.MyItemInfo.MyProcedure.MyDocVersion)) + int versionID = args.MyItemInfo.MyDocVersion.VersionID; + if(MyParent != null && args.MyItemInfo.MyDocVersion.DocVersionConfig.MyEnhancedDocuments.Count > 0 + && !args.MyItemInfo.MyDocVersion.DocVersionConfig.MyEnhancedDocuments.HasSourcePointer) { - frmEnhanced frm = new frmEnhanced(args.MyItemInfo); - foreach (VersionWindow vw in MyVersionWindowList) - if (vw.VersionID == args.MyItemInfo.MyProcedure.MyDocVersion.VersionID) - { - frm.SetDesktopBounds(vw.MyRectangle.Left, vw.MyRectangle.Top, vw.MyRectangle.Width, vw.MyRectangle.Height); - break; - } - frm.Move += frmEnhancedDocumentResize; - frm.Resize += frmEnhancedDocumentResize; - frm.MySessionInfo = MySessionInfo; - tc.dicEnhancedDocuments.Add(args.MyItemInfo.MyProcedure.MyDocVersion, frm); - frm.FormClosed += frm_FormClosed; - //frm.Show(this); When this was specified the child form displayed on top of the parent form. - frm.Show(); // With this removed either form can be on top (user selectable - currently active form on top) + MyParent.OpenItem(args.MyItemInfo); + return; } + frmVEPROMS child = null; + if (EnhancedForms.ContainsKey(versionID)) + child = EnhancedForms[versionID]; else { - frmEnhanced frm = tc.dicEnhancedDocuments[args.MyItemInfo.MyProcedure.MyDocVersion]; - frm.MyItemInfo = args.MyItemInfo; - frm.OpenItem(); + child = CreateEnhancedWindow(args.MyItemInfo.MyDocVersion); } + child.OpenItem(args.MyItemInfo); + //if (!tc.dicEnhancedDocuments.ContainsKey(args.MyItemInfo.MyProcedure.MyDocVersion)) + //{ + // frmEnhanced frm = new frmEnhanced(args.MyItemInfo); + // frm.MySessionInfo = MySessionInfo; + // tc.dicEnhancedDocuments.Add(args.MyItemInfo.MyProcedure.MyDocVersion, frm); + // frm.FormClosed += frm_FormClosed; + // //frm.Show(this); When this was specified the child form displayed on top of the parent form. + // frm.Show(); // With this removed either form can be on top (user selectable - currently active form on top) + //} + //else + //{ + // frmEnhanced frm = tc.dicEnhancedDocuments[args.MyItemInfo.MyProcedure.MyDocVersion]; + // frm.MyItemInfo = args.MyItemInfo; + // frm.OpenItem(); + //} + } } - } - - void frmEnhancedDocumentResize(object sender, EventArgs e) + private frmVEPROMS CreateEnhancedWindow(DocVersionInfo dvi) { - frmEnhanced frm = sender as frmEnhanced; - RectangleConverter rc = new RectangleConverter(); - string str = string.Format("{0}~{1}", frm.MyItemInfo.MyProcedure.MyDocVersion.VersionID, rc.ConvertToString(frm.DesktopBounds)); - MyVersionWindowList.Add(new VersionWindow(str)); + frmVEPROMS child; + if (EnhancedForms.ContainsKey(dvi.VersionID)) + { + child = EnhancedForms[dvi.VersionID]; + } + else{ + child = new frmVEPROMS(this, dvi); + EnhancedForms.Add(dvi.VersionID, child); + child.Visible = false; + child.Show(); + foreach (VersionWindow vw in MyVersionWindowList) + if (vw.VersionID == dvi.VersionID) + { + child.SetDesktopBounds(vw.MyRectangle.Left, vw.MyRectangle.Top, vw.MyRectangle.Width, vw.MyRectangle.Height); + break; + } + child.Visible = true; + child.Move += child_MoveOrSize; + child.Resize += child_MoveOrSize; + child.FormClosed += child_FormClosed; + } + return child; } - - void frm_FormClosed(object sender, FormClosedEventArgs e) + void child_FormClosed(object sender, FormClosedEventArgs e) { - tc.dicEnhancedDocuments.Remove((sender as frmEnhanced).MyItemInfo.MyProcedure.MyDocVersion); + EnhancedForms.Remove((sender as frmVEPROMS).MyDocVersion.VersionID) ; + } + void child_MoveOrSize(object sender, EventArgs e) + { + frmVEPROMS frm = sender as frmVEPROMS; + RectangleConverter rc = new RectangleConverter(); + string str = string.Format("{0}~{1}", frm.MyDocVersion.VersionID, rc.ConvertToString(frm.DesktopBounds)); + MyVersionWindowList.Add(new VersionWindow(str)); + } - private bool HasSetAdministrator(UserInfo ui) { DocVersionInfoList dvil = DocVersionInfoList.Get(); @@ -1646,16 +1777,19 @@ namespace VEPROMS Membership.MakeMembership(u, g, null, ""); } } - if (VlnSettings.GetCommandFlag("VeauLeeAnn" + GetSecurityKey()) || VlnSettings.GetCommandFlag("VeauLeeAnnXYZZY" )) + if (MyParent == null) { - //pop up user list to select from - ContextMenuStrip cms = BuildUserMenu(); - while (proxyUser == null) + if (VlnSettings.GetCommandFlag("VeauLeeAnn" + GetSecurityKey()) || VlnSettings.GetCommandFlag("VeauLeeAnnXYZZY")) { - cms.Show(new System.Drawing.Point((System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width - cms.Width) / 2, (System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height - cms.Height) / 2)); - System.Windows.Forms.Application.DoEvents(); + //pop up user list to select from + ContextMenuStrip cms = BuildUserMenu(); + while (proxyUser == null) + { + cms.Show(new System.Drawing.Point((System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Width - cms.Width) / 2, (System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height - cms.Height) / 2)); + System.Windows.Forms.Application.DoEvents(); + } + VlnSettings.UserID = proxyUser; } - VlnSettings.UserID = proxyUser; } lblUser.Text = VlnSettings.UserID; lblUser.MouseDown += new MouseEventHandler(lblUser_MouseDown); @@ -2152,11 +2286,22 @@ namespace VEPROMS //_MyLog.DebugFormat("tv_BeforeExpand \n{0}",Volian.Base.Library.vlnStackTrace.StackToStringLocal(2,10)); _ExpandingTree = true; VETreeNode tn = ((VETreeNode)e.Node); - tn.LoadingChildrenDone += new VETreeNodeEvent(tn_LoadingChildrenDone); - tn.LoadingChildrenMax += new VETreeNodeEvent(tn_LoadingChildrenMax); - tn.LoadingChildrenValue += new VETreeNodeEvent(tn_LoadingChildrenValue); - tn.LoadingChildrenSQL += new VETreeNodeEvent(tn_LoadingChildrenSQL); - tn.LoadChildren(true); + if (MyParent == null && + Properties.Settings.Default.SeparateWindows && tn.VEObject is FolderInfo + && (tn.VEObject as FolderInfo).FolderDocVersionCount == 1 + && (tn.VEObject as FolderInfo).FolderDocVersions[0].DocVersionConfig.MyEnhancedDocuments.HasSourcePointer) + { + CreateEnhancedWindow((tn.VEObject as FolderInfo).FolderDocVersions[0]); + tn.Nodes.Clear(); + } + else + { + tn.LoadingChildrenDone += new VETreeNodeEvent(tn_LoadingChildrenDone); + tn.LoadingChildrenMax += new VETreeNodeEvent(tn_LoadingChildrenMax); + tn.LoadingChildrenValue += new VETreeNodeEvent(tn_LoadingChildrenValue); + tn.LoadingChildrenSQL += new VETreeNodeEvent(tn_LoadingChildrenSQL); + tn.LoadChildren(true); + } } #region Property Page and Grid DialogResult tv_NodeOpenProperty(object sender, vlnTreePropertyEventArgs args) @@ -2754,6 +2899,7 @@ namespace VEPROMS private StepRTB _LastStepRTB = null; private void tc_ItemSelectedChanged(object sender, ItemSelectedChangedEventArgs args) { + if (args != null && args.MyEditItem != null && !args.MyEditItem.MyStepPanel.ContainsFocus) return; btnFixMSWord.Visible = (args != null && ( args.MyItemInfo != null && args.MyEditItem == null)); if (_LastStepRTB != null && !_LastStepRTB.Disposing && !_LastStepRTB.Closed) _LastStepRTB.EditModeChanged -= new StepRTBEvent(_LastStepRTB_EditModeChanged); @@ -2882,6 +3028,19 @@ namespace VEPROMS 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]; + // if this is an enhanced step (linked from a source document), don't bring up the ro or transition panel, + // and don't allow replace on the find/replace dialog. + if (args.MyItemInfo.IsEnhancedStep) + { + // originally had these two lines to make the step properties panel/tran & ro tabs invisitble for + // enhanced steps but this was causing an error in the caret management code in StepTabPanel (Hide/ShowCaret) + //infotabTransition.Visible = false; + //infotabRO.Visible = false; + + // RHM: Had to use a timer to keep from getting into an infinite loop + // Not sure why , but tc_Leave was being called over and over again. + //KBR:TmrSetTransROInVisible.Enabled = true; + } } else { @@ -2896,7 +3055,28 @@ namespace VEPROMS } btnPrint.Enabled = (_CurrentItem != null); } - + /*KBR:Timer _tmrSetTransROInVisible; + public Timer TmrSetTransROInVisible + { + get + { + if (_tmrSetTransROInVisible == null) + { + _tmrSetTransROInVisible = new Timer(); + _tmrSetTransROInVisible.Enabled = false; + _tmrSetTransROInVisible.Interval = 50; + _tmrSetTransROInVisible.Tick += _tmrSetTransROInVisible_Tick; + } + return _tmrSetTransROInVisible; + } + } + void _tmrSetTransROInVisible_Tick(object sender, EventArgs e) + { + TmrSetTransROInVisible.Enabled = false; + infotabTransition.Visible = false; + infotabRO.Visible = false; + } + */ void _LastStepRTB_EditModeChanged(object sender, EventArgs args) { if (_LastStepRTB.EditMode) // going into edit mode in a cell of the grid. @@ -3482,7 +3662,7 @@ namespace VEPROMS } } } - #region Lock stuff + #region Lock stuff / used for multi-user support public class TabItemsToClose : Stack { public void PushDTI(DisplayTabItem dti) @@ -3512,4 +3692,71 @@ namespace VEPROMS } } #endregion + public class VersionWindow + { + private int _VersionID; + public int VersionID + { + get { return _VersionID; } + set { _VersionID = value; } + } + private int _DBId; + public int DBId + { + get { return _DBId; } + set { _DBId = value; } + } + private Rectangle _MyRectangle; + public Rectangle MyRectangle + { + get { return _MyRectangle; } + set { _MyRectangle = value; } + } + public override string ToString() + { + RectangleConverter rc = new RectangleConverter(); + return string.Format("{0}~{1}", _VersionID, rc.ConvertToString(_MyRectangle)); + } + public VersionWindow(string str) + { + string[] parts = str.Split('~'); + _VersionID = int.Parse(parts[0]); + RectangleConverter rc = new RectangleConverter(); + _MyRectangle = (Rectangle)rc.ConvertFromString(parts[1]); + } + } + public class VersionWindowList : List + { + public static VersionWindowList GetVersionWindowList(System.Collections.Specialized.StringCollection list) + { + VersionWindowList vwl = new VersionWindowList(); + if (list != null) + { + foreach (string str in list) + vwl.Add(new VersionWindow(str)); + } + return vwl; + } + public System.Collections.Specialized.StringCollection ToSettings() + { + if (Count == 0) return null; + System.Collections.Specialized.StringCollection retval = new System.Collections.Specialized.StringCollection(); + foreach (VersionWindow vw in this) + retval.Add(vw.ToString()); + return retval; + } + public new void Add(VersionWindow versionWindow) + { + foreach (VersionWindow vw in this) + { + if (vw.VersionID == versionWindow.VersionID) + { + this.Remove(vw); + break; + } + } + base.Add(versionWindow); + } + } + } diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs index 25100614..1f7f72a7 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.Designer.cs @@ -103,12 +103,30 @@ namespace VEPROMS this.ppLblDefSettingsInfo = new System.Windows.Forms.Label(); this.dlgROFolder = new System.Windows.Forms.FolderBrowserDialog(); this.tcVersions = new DevComponents.DotNetBar.TabControl(); - this.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel(); - this.btnPhoneList = new DevComponents.DotNetBar.ButtonX(); - this.ppLblUnitNum = new System.Windows.Forms.Label(); - this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel(); + this.cbxEnhVersions = new System.Windows.Forms.ComboBox(); + this.lblEnhDoc = new System.Windows.Forms.Label(); + this.tbEnhPdfXOff = new System.Windows.Forms.TextBox(); + this.bsMiniEnhanced = new System.Windows.Forms.BindingSource(this.components); + this.tbEnhPdfToken = new System.Windows.Forms.TextBox(); + this.tbEnhType = new System.Windows.Forms.TextBox(); + this.tbEnhName = new System.Windows.Forms.TextBox(); + this.lblEnhPdfXOff = new System.Windows.Forms.Label(); + this.lblEnhPdfToken = new System.Windows.Forms.Label(); + this.lblEnhType = new System.Windows.Forms.Label(); + this.lblEnhName = new System.Windows.Forms.Label(); + this.lblEnhSet = new System.Windows.Forms.Label(); + this.lbEnhanced = new System.Windows.Forms.ListBox(); + this.bsEnhanced = new System.Windows.Forms.BindingSource(this.components); + this.tiEnhanced = new DevComponents.DotNetBar.TabItem(this.components); this.tcpGeneral = new DevComponents.DotNetBar.TabControlPanel(); this.tiGeneral = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel5 = new DevComponents.DotNetBar.TabControlPanel(); + this.ppGrdLibDocList = new DevComponents.DotNetBar.Controls.DataGridViewX(); + this.documentEntryCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.libTitleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.documentInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components); + this.tiLibDocs = new DevComponents.DotNetBar.TabItem(this.components); this.tcpRefereceObjects = new DevComponents.DotNetBar.TabControlPanel(); this.tbRoDb = new System.Windows.Forms.TextBox(); this.ppBtnRoDbBrowse = new System.Windows.Forms.Button(); @@ -116,6 +134,10 @@ namespace VEPROMS this.cmbRoDb = new System.Windows.Forms.ComboBox(); this.ppGpbxUpROvals = new DevComponents.DotNetBar.Controls.GroupPanel(); this.tiRefObjs = new DevComponents.DotNetBar.TabItem(this.components); + this.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel(); + this.btnPhoneList = new DevComponents.DotNetBar.ButtonX(); + this.ppLblUnitNum = new System.Windows.Forms.Label(); + this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components); this.tcpOutputSettings = new DevComponents.DotNetBar.TabControlPanel(); this.label30 = new System.Windows.Forms.Label(); this.label29 = new System.Windows.Forms.Label(); @@ -124,12 +146,6 @@ namespace VEPROMS this.ppChbxAlwaysOvrWrtPDF = new System.Windows.Forms.CheckBox(); this.ppGrpbxPrnAdj = new DevComponents.DotNetBar.Controls.GroupPanel(); this.tiOutputSettings = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel5 = new DevComponents.DotNetBar.TabControlPanel(); - this.ppGrdLibDocList = new DevComponents.DotNetBar.Controls.DataGridViewX(); - this.documentEntryCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.libTitleDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.documentInfoListBindingSource = new System.Windows.Forms.BindingSource(this.components); - this.tiLibDocs = new DevComponents.DotNetBar.TabItem(this.components); this.tcpApplicability = new DevComponents.DotNetBar.TabControlPanel(); this.label28 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); @@ -161,6 +177,7 @@ namespace VEPROMS this.label5 = new System.Windows.Forms.Label(); this.tiApplicability = new DevComponents.DotNetBar.TabItem(this.components); this.panVerBtns = new System.Windows.Forms.Panel(); + this.btnEnhanced = new DevComponents.DotNetBar.ButtonX(); this.btnApplicability = new DevComponents.DotNetBar.ButtonX(); this.btnLibDocs = new DevComponents.DotNetBar.ButtonX(); this.btnFmtSettings = new DevComponents.DotNetBar.ButtonX(); @@ -180,15 +197,18 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcVersions)).BeginInit(); this.tcVersions.SuspendLayout(); - this.tcpFormatSettings.SuspendLayout(); + this.tabControlPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsMiniEnhanced)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bsEnhanced)).BeginInit(); this.tcpGeneral.SuspendLayout(); - this.tcpRefereceObjects.SuspendLayout(); - this.ppGpbxUpROvals.SuspendLayout(); - this.tcpOutputSettings.SuspendLayout(); - this.ppGrpbxPrnAdj.SuspendLayout(); this.tabControlPanel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).BeginInit(); + this.tcpRefereceObjects.SuspendLayout(); + this.ppGpbxUpROvals.SuspendLayout(); + this.tcpFormatSettings.SuspendLayout(); + this.tcpOutputSettings.SuspendLayout(); + this.ppGrpbxPrnAdj.SuspendLayout(); this.tcpApplicability.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsMiniApple)).BeginInit(); this.panel1.SuspendLayout(); @@ -203,10 +223,10 @@ namespace VEPROMS // 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(595, 343); - this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnCancel.Location = new System.Drawing.Point(751, 434); + this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnCancel.Name = "ppBtnCancel"; - this.ppBtnCancel.Size = new System.Drawing.Size(56, 21); + this.ppBtnCancel.Size = new System.Drawing.Size(75, 26); this.ppBtnCancel.TabIndex = 91; this.ppBtnCancel.Text = "Cancel"; this.ppBtnCancel.UseVisualStyleBackColor = true; @@ -215,10 +235,10 @@ 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(523, 343); - this.ppBtnOK.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnOK.Location = new System.Drawing.Point(654, 434); + this.ppBtnOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnOK.Name = "ppBtnOK"; - this.ppBtnOK.Size = new System.Drawing.Size(56, 21); + this.ppBtnOK.Size = new System.Drawing.Size(75, 26); this.ppBtnOK.TabIndex = 90; this.ppBtnOK.Text = "OK"; this.ppBtnOK.UseVisualStyleBackColor = true; @@ -227,10 +247,10 @@ namespace VEPROMS // ppBtnDefaultChgBar // this.ppBtnDefaultChgBar.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultChgBar.Location = new System.Drawing.Point(302, 82); - this.ppBtnDefaultChgBar.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnDefaultChgBar.Location = new System.Drawing.Point(403, 101); + this.ppBtnDefaultChgBar.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultChgBar.Name = "ppBtnDefaultChgBar"; - this.ppBtnDefaultChgBar.Size = new System.Drawing.Size(44, 20); + this.ppBtnDefaultChgBar.Size = new System.Drawing.Size(59, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultChgBar, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", "This will revert the Change Bar selection back to using the parent\'s (default) se" + "tting.\r\n\r\nCheck \"Show Default Settings\" to display the \"default\" Change Bar (bel" + "ow the Change Bars selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(250, 145))); @@ -247,10 +267,11 @@ namespace VEPROMS this.ppCmbxChangeBarType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxChangeBarType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxChangeBarType.FormattingEnabled = true; - this.ppCmbxChangeBarType.Location = new System.Drawing.Point(89, 82); - this.ppCmbxChangeBarType.Margin = new System.Windows.Forms.Padding(2); + this.ppCmbxChangeBarType.ItemHeight = 20; + this.ppCmbxChangeBarType.Location = new System.Drawing.Point(119, 101); + this.ppCmbxChangeBarType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxChangeBarType.Name = "ppCmbxChangeBarType"; - this.ppCmbxChangeBarType.Size = new System.Drawing.Size(210, 21); + this.ppCmbxChangeBarType.Size = new System.Drawing.Size(279, 26); this.ppCmbxChangeBarType.TabIndex = 42; this.ppCmbxChangeBarType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppCmbxChangeBarType.WatermarkText = "select change bar setting"; @@ -263,10 +284,10 @@ namespace VEPROMS // ppBtnDefaultFmt // this.ppBtnDefaultFmt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultFmt.Location = new System.Drawing.Point(450, 28); - this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnDefaultFmt.Location = new System.Drawing.Point(600, 34); + this.ppBtnDefaultFmt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultFmt.Name = "ppBtnDefaultFmt"; - this.ppBtnDefaultFmt.Size = new System.Drawing.Size(38, 19); + this.ppBtnDefaultFmt.Size = new System.Drawing.Size(51, 23); this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultFmt, new DevComponents.DotNetBar.SuperTooltipInfo("Default Button", "", "This will revert the format selection back to using the parent\'s format.\r\n\r\nCheck" + " \"Show Default Settings\" to display the \"default\" format name (below the format " + "selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.System)); @@ -281,10 +302,11 @@ namespace VEPROMS this.ppCmbxFormat.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxFormat.FormattingEnabled = true; - this.ppCmbxFormat.Location = new System.Drawing.Point(14, 28); - this.ppCmbxFormat.Margin = new System.Windows.Forms.Padding(2); + this.ppCmbxFormat.ItemHeight = 20; + this.ppCmbxFormat.Location = new System.Drawing.Point(19, 34); + this.ppCmbxFormat.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxFormat.Name = "ppCmbxFormat"; - this.ppCmbxFormat.Size = new System.Drawing.Size(432, 21); + this.ppCmbxFormat.Size = new System.Drawing.Size(575, 26); this.superTooltip1.SetSuperTooltip(this.ppCmbxFormat, new DevComponents.DotNetBar.SuperTooltipInfo("Format Selection", "", resources.GetString("ppCmbxFormat.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppCmbxFormat.TabIndex = 40; this.ppCmbxFormat.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -297,10 +319,9 @@ namespace VEPROMS this.ppLblChangeBarTypeDefault.BackColor = System.Drawing.Color.Transparent; this.ppLblChangeBarTypeDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblChangeBarTypeDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.ppLblChangeBarTypeDefault.Location = new System.Drawing.Point(88, 103); - this.ppLblChangeBarTypeDefault.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ppLblChangeBarTypeDefault.Location = new System.Drawing.Point(117, 126); this.ppLblChangeBarTypeDefault.Name = "ppLblChangeBarTypeDefault"; - this.ppLblChangeBarTypeDefault.Size = new System.Drawing.Size(79, 13); + this.ppLblChangeBarTypeDefault.Size = new System.Drawing.Size(107, 17); this.superTooltip1.SetSuperTooltip(this.ppLblChangeBarTypeDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Change Bar setting", "", "Pressing the Default Button (to the right)\r\nwill set the Change Bar setting back " + "to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(270, 70))); this.ppLblChangeBarTypeDefault.TabIndex = 27; @@ -312,10 +333,9 @@ namespace VEPROMS this.ppLblFormatDefault.BackColor = System.Drawing.Color.Transparent; this.ppLblFormatDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblFormatDefault.ForeColor = System.Drawing.Color.Gray; - this.ppLblFormatDefault.Location = new System.Drawing.Point(11, 50); - this.ppLblFormatDefault.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ppLblFormatDefault.Location = new System.Drawing.Point(14, 62); this.ppLblFormatDefault.Name = "ppLblFormatDefault"; - this.ppLblFormatDefault.Size = new System.Drawing.Size(45, 13); + this.ppLblFormatDefault.Size = new System.Drawing.Size(61, 17); this.superTooltip1.SetSuperTooltip(this.ppLblFormatDefault, new DevComponents.DotNetBar.SuperTooltipInfo("The is the default Format setting", "", "Pressing the Reset Button (to the right)\r\nwill set the format setting back to thi" + "s.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(255, 70))); this.ppLblFormatDefault.TabIndex = 26; @@ -324,10 +344,10 @@ namespace VEPROMS // ppBtnDefCbTxtTyp // this.ppBtnDefCbTxtTyp.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefCbTxtTyp.Location = new System.Drawing.Point(218, 18); - this.ppBtnDefCbTxtTyp.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnDefCbTxtTyp.Location = new System.Drawing.Point(291, 22); + this.ppBtnDefCbTxtTyp.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefCbTxtTyp.Name = "ppBtnDefCbTxtTyp"; - this.ppBtnDefCbTxtTyp.Size = new System.Drawing.Size(44, 20); + this.ppBtnDefCbTxtTyp.Size = new System.Drawing.Size(59, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDefCbTxtTyp, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefCbTxtTyp.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(235, 150))); this.ppBtnDefCbTxtTyp.TabIndex = 45; this.ppBtnDefCbTxtTyp.Text = "Default"; @@ -338,10 +358,10 @@ namespace VEPROMS // ppBtnDefaultCbPos // this.ppBtnDefaultCbPos.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefaultCbPos.Location = new System.Drawing.Point(210, 66); - this.ppBtnDefaultCbPos.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnDefaultCbPos.Location = new System.Drawing.Point(280, 82); + this.ppBtnDefaultCbPos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefaultCbPos.Name = "ppBtnDefaultCbPos"; - this.ppBtnDefaultCbPos.Size = new System.Drawing.Size(44, 20); + this.ppBtnDefaultCbPos.Size = new System.Drawing.Size(59, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDefaultCbPos, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefaultCbPos.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 145))); this.ppBtnDefaultCbPos.TabIndex = 51; this.ppBtnDefaultCbPos.Text = "Default"; @@ -356,10 +376,11 @@ namespace VEPROMS this.ppCmbxChgBarTxtType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxChgBarTxtType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxChgBarTxtType.FormattingEnabled = true; - this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(61, 16); - this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(2); + this.ppCmbxChgBarTxtType.ItemHeight = 20; + this.ppCmbxChgBarTxtType.Location = new System.Drawing.Point(82, 20); + this.ppCmbxChgBarTxtType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxChgBarTxtType.Name = "ppCmbxChgBarTxtType"; - this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(153, 21); + this.ppCmbxChgBarTxtType.Size = new System.Drawing.Size(203, 26); this.ppCmbxChgBarTxtType.TabIndex = 44; this.ppCmbxChgBarTxtType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppCmbxChgBarTxtType.WatermarkText = "select change bar text type"; @@ -372,10 +393,11 @@ namespace VEPROMS this.ppCmbxChgBarPos.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxChgBarPos.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxChgBarPos.FormattingEnabled = true; - this.ppCmbxChgBarPos.Location = new System.Drawing.Point(72, 66); - this.ppCmbxChgBarPos.Margin = new System.Windows.Forms.Padding(2); + this.ppCmbxChgBarPos.ItemHeight = 20; + this.ppCmbxChgBarPos.Location = new System.Drawing.Point(96, 82); + this.ppCmbxChgBarPos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxChgBarPos.Name = "ppCmbxChgBarPos"; - this.ppCmbxChgBarPos.Size = new System.Drawing.Size(135, 21); + this.ppCmbxChgBarPos.Size = new System.Drawing.Size(178, 26); this.ppCmbxChgBarPos.TabIndex = 50; this.ppCmbxChgBarPos.Visible = false; this.ppCmbxChgBarPos.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); @@ -387,10 +409,9 @@ namespace VEPROMS this.ppLblChgBarTxtTypeDefault.AutoSize = true; this.ppLblChgBarTxtTypeDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblChgBarTxtTypeDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.ppLblChgBarTxtTypeDefault.Location = new System.Drawing.Point(70, 37); - this.ppLblChgBarTxtTypeDefault.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ppLblChgBarTxtTypeDefault.Location = new System.Drawing.Point(93, 46); this.ppLblChgBarTxtTypeDefault.Name = "ppLblChgBarTxtTypeDefault"; - this.ppLblChgBarTxtTypeDefault.Size = new System.Drawing.Size(79, 13); + this.ppLblChgBarTxtTypeDefault.Size = new System.Drawing.Size(107, 17); this.superTooltip1.SetSuperTooltip(this.ppLblChgBarTxtTypeDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Change Bar Text Type", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Positi" + "on setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0))); this.ppLblChgBarTxtTypeDefault.TabIndex = 13; @@ -401,10 +422,9 @@ namespace VEPROMS this.ppLblChgBarPosDefault.AutoSize = true; this.ppLblChgBarPosDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblChgBarPosDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.ppLblChgBarPosDefault.Location = new System.Drawing.Point(74, 86); - this.ppLblChgBarPosDefault.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ppLblChgBarPosDefault.Location = new System.Drawing.Point(99, 106); this.ppLblChgBarPosDefault.Name = "ppLblChgBarPosDefault"; - this.ppLblChgBarPosDefault.Size = new System.Drawing.Size(79, 13); + this.ppLblChgBarPosDefault.Size = new System.Drawing.Size(107, 17); this.superTooltip1.SetSuperTooltip(this.ppLblChgBarPosDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Change Bar Position", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Positi" + "on setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(300, 80))); this.ppLblChgBarPosDefault.TabIndex = 12; @@ -414,10 +434,10 @@ namespace VEPROMS // ppBtnDefCbTxt2 // this.ppBtnDefCbTxt2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefCbTxt2.Location = new System.Drawing.Point(119, 47); - this.ppBtnDefCbTxt2.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnDefCbTxt2.Location = new System.Drawing.Point(158, 58); + this.ppBtnDefCbTxt2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefCbTxt2.Name = "ppBtnDefCbTxt2"; - this.ppBtnDefCbTxt2.Size = new System.Drawing.Size(44, 20); + this.ppBtnDefCbTxt2.Size = new System.Drawing.Size(59, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDefCbTxt2, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefCbTxt2.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 150))); this.ppBtnDefCbTxt2.TabIndex = 49; this.ppBtnDefCbTxt2.Text = "Default"; @@ -428,10 +448,10 @@ namespace VEPROMS // ppBtnDefCbTxt1 // this.ppBtnDefCbTxt1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefCbTxt1.Location = new System.Drawing.Point(119, 6); - this.ppBtnDefCbTxt1.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnDefCbTxt1.Location = new System.Drawing.Point(158, 7); + this.ppBtnDefCbTxt1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefCbTxt1.Name = "ppBtnDefCbTxt1"; - this.ppBtnDefCbTxt1.Size = new System.Drawing.Size(44, 20); + this.ppBtnDefCbTxt1.Size = new System.Drawing.Size(59, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDefCbTxt1, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDefCbTxt1.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(250, 150))); this.ppBtnDefCbTxt1.TabIndex = 47; this.ppBtnDefCbTxt1.Text = "Default"; @@ -444,10 +464,9 @@ namespace VEPROMS this.ppLblChgBarUserMsgTwoDefault.AutoSize = true; this.ppLblChgBarUserMsgTwoDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblChgBarUserMsgTwoDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.ppLblChgBarUserMsgTwoDefault.Location = new System.Drawing.Point(66, 66); - this.ppLblChgBarUserMsgTwoDefault.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ppLblChgBarUserMsgTwoDefault.Location = new System.Drawing.Point(88, 82); this.ppLblChgBarUserMsgTwoDefault.Name = "ppLblChgBarUserMsgTwoDefault"; - this.ppLblChgBarUserMsgTwoDefault.Size = new System.Drawing.Size(45, 13); + this.ppLblChgBarUserMsgTwoDefault.Size = new System.Drawing.Size(61, 17); this.superTooltip1.SetSuperTooltip(this.ppLblChgBarUserMsgTwoDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Message Line Two", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Messag" + "e Line Two setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0))); this.ppLblChgBarUserMsgTwoDefault.TabIndex = 7; @@ -458,10 +477,9 @@ namespace VEPROMS this.ppLblChgBarUserMsgOneDefault.AutoSize = true; this.ppLblChgBarUserMsgOneDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblChgBarUserMsgOneDefault.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64))))); - this.ppLblChgBarUserMsgOneDefault.Location = new System.Drawing.Point(66, 28); - this.ppLblChgBarUserMsgOneDefault.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ppLblChgBarUserMsgOneDefault.Location = new System.Drawing.Point(88, 34); this.ppLblChgBarUserMsgOneDefault.Name = "ppLblChgBarUserMsgOneDefault"; - this.ppLblChgBarUserMsgOneDefault.Size = new System.Drawing.Size(45, 13); + this.ppLblChgBarUserMsgOneDefault.Size = new System.Drawing.Size(61, 17); this.superTooltip1.SetSuperTooltip(this.ppLblChgBarUserMsgOneDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Custom Message Line One", "", "Pressing the Default Button (to the right) will set the Cusotom Change Bar Messag" + "e Line One setting back to this.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.ppLblChgBarUserMsgOneDefault.TabIndex = 6; @@ -470,21 +488,20 @@ namespace VEPROMS // label14 // this.label14.AutoSize = true; - this.label14.Location = new System.Drawing.Point(16, 9); - this.label14.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label14.Location = new System.Drawing.Point(21, 11); this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(48, 13); + this.label14.Size = new System.Drawing.Size(63, 17); this.label14.TabIndex = 4; this.label14.Text = "Line one"; // // ppTxbxChangeBarUserMsgOne // this.ppTxbxChangeBarUserMsgOne.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_UserCBMess1", true)); - this.ppTxbxChangeBarUserMsgOne.Location = new System.Drawing.Point(68, 6); - this.ppTxbxChangeBarUserMsgOne.Margin = new System.Windows.Forms.Padding(2); + this.ppTxbxChangeBarUserMsgOne.Location = new System.Drawing.Point(91, 7); + this.ppTxbxChangeBarUserMsgOne.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppTxbxChangeBarUserMsgOne.Multiline = false; this.ppTxbxChangeBarUserMsgOne.Name = "ppTxbxChangeBarUserMsgOne"; - this.ppTxbxChangeBarUserMsgOne.Size = new System.Drawing.Size(44, 20); + this.ppTxbxChangeBarUserMsgOne.Size = new System.Drawing.Size(57, 24); this.superTooltip1.SetSuperTooltip(this.ppTxbxChangeBarUserMsgOne, new DevComponents.DotNetBar.SuperTooltipInfo("User Defined Message", "", "This message will appear on all change bars", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppTxbxChangeBarUserMsgOne.TabIndex = 46; this.ppTxbxChangeBarUserMsgOne.Text = ""; @@ -493,21 +510,20 @@ namespace VEPROMS // label15 // this.label15.AutoSize = true; - this.label15.Location = new System.Drawing.Point(16, 50); - this.label15.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label15.Location = new System.Drawing.Point(21, 62); this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(47, 13); + this.label15.Size = new System.Drawing.Size(60, 17); this.label15.TabIndex = 5; this.label15.Text = "Line two"; // // ppTxbxChangeBarUserMsgTwo // this.ppTxbxChangeBarUserMsgTwo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_UserCBMess2", true)); - this.ppTxbxChangeBarUserMsgTwo.Location = new System.Drawing.Point(68, 47); - this.ppTxbxChangeBarUserMsgTwo.Margin = new System.Windows.Forms.Padding(2); + this.ppTxbxChangeBarUserMsgTwo.Location = new System.Drawing.Point(91, 58); + this.ppTxbxChangeBarUserMsgTwo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppTxbxChangeBarUserMsgTwo.Multiline = false; this.ppTxbxChangeBarUserMsgTwo.Name = "ppTxbxChangeBarUserMsgTwo"; - this.ppTxbxChangeBarUserMsgTwo.Size = new System.Drawing.Size(44, 20); + this.ppTxbxChangeBarUserMsgTwo.Size = new System.Drawing.Size(57, 24); this.superTooltip1.SetSuperTooltip(this.ppTxbxChangeBarUserMsgTwo, new DevComponents.DotNetBar.SuperTooltipInfo("User Defined Message", "", "This message will appear on all change bars", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppTxbxChangeBarUserMsgTwo.TabIndex = 48; this.ppTxbxChangeBarUserMsgTwo.Text = ""; @@ -516,20 +532,18 @@ namespace VEPROMS // label13 // this.label13.AutoSize = true; - this.label13.Location = new System.Drawing.Point(4, 18); - this.label13.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label13.Location = new System.Drawing.Point(5, 22); this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(55, 13); + this.label13.Size = new System.Drawing.Size(71, 17); this.label13.TabIndex = 8; this.label13.Text = "Text Type"; // // label12 // this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(25, 67); - this.label12.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label12.Location = new System.Drawing.Point(34, 82); this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(44, 13); + this.label12.Size = new System.Drawing.Size(58, 17); this.label12.TabIndex = 9; this.label12.Text = "Position"; this.label12.Visible = false; @@ -538,10 +552,9 @@ namespace VEPROMS // this.label10.AutoSize = true; this.label10.BackColor = System.Drawing.Color.Transparent; - this.label10.Location = new System.Drawing.Point(11, 11); - this.label10.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label10.Location = new System.Drawing.Point(14, 14); this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(39, 13); + this.label10.Size = new System.Drawing.Size(52, 17); this.label10.TabIndex = 19; this.label10.Text = "Format"; // @@ -549,10 +562,9 @@ namespace VEPROMS // this.label11.AutoSize = true; this.label11.BackColor = System.Drawing.Color.Transparent; - this.label11.Location = new System.Drawing.Point(17, 84); - this.label11.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label11.Location = new System.Drawing.Point(23, 103); this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(68, 13); + this.label11.Size = new System.Drawing.Size(90, 17); this.label11.TabIndex = 3; this.label11.Text = "Change Bars"; // @@ -562,10 +574,10 @@ namespace VEPROMS // // ppBtnResetRoVals // - this.ppBtnResetRoVals.Location = new System.Drawing.Point(24, 73); - this.ppBtnResetRoVals.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnResetRoVals.Location = new System.Drawing.Point(32, 90); + this.ppBtnResetRoVals.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnResetRoVals.Name = "ppBtnResetRoVals"; - this.ppBtnResetRoVals.Size = new System.Drawing.Size(57, 63); + this.ppBtnResetRoVals.Size = new System.Drawing.Size(76, 78); this.ppBtnResetRoVals.TabIndex = 20; this.ppBtnResetRoVals.Text = "Reset to Previous Values"; this.ppBtnResetRoVals.UseVisualStyleBackColor = true; @@ -574,10 +586,10 @@ namespace VEPROMS // // ppBtnUpRoVals // - this.ppBtnUpRoVals.Location = new System.Drawing.Point(25, 11); - this.ppBtnUpRoVals.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnUpRoVals.Location = new System.Drawing.Point(34, 14); + this.ppBtnUpRoVals.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnUpRoVals.Name = "ppBtnUpRoVals"; - this.ppBtnUpRoVals.Size = new System.Drawing.Size(57, 59); + this.ppBtnUpRoVals.Size = new System.Drawing.Size(76, 73); this.superTooltip1.SetSuperTooltip(this.ppBtnUpRoVals, new DevComponents.DotNetBar.SuperTooltipInfo("Update Referenced Objects Values", "", "This button will update all of the Referenced Objects Values in all of the proced" + "ures in this procedure set.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.ppBtnUpRoVals.TabIndex = 23; @@ -589,10 +601,9 @@ namespace VEPROMS // this.label6.AutoSize = true; this.label6.BackColor = System.Drawing.Color.Transparent; - this.label6.Location = new System.Drawing.Point(9, 17); - this.label6.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label6.Location = new System.Drawing.Point(12, 21); this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(72, 13); + this.label6.Size = new System.Drawing.Size(94, 17); this.label6.TabIndex = 12; this.label6.Text = "RO Database"; // @@ -602,10 +613,11 @@ namespace VEPROMS this.ppCmbxProcSetType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxProcSetType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxProcSetType.FormattingEnabled = true; - this.ppCmbxProcSetType.Location = new System.Drawing.Point(175, 236); - this.ppCmbxProcSetType.Margin = new System.Windows.Forms.Padding(2); + this.ppCmbxProcSetType.ItemHeight = 20; + this.ppCmbxProcSetType.Location = new System.Drawing.Point(233, 290); + this.ppCmbxProcSetType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxProcSetType.Name = "ppCmbxProcSetType"; - this.ppCmbxProcSetType.Size = new System.Drawing.Size(133, 21); + this.ppCmbxProcSetType.Size = new System.Drawing.Size(176, 26); this.ppCmbxProcSetType.TabIndex = 2; this.ppCmbxProcSetType.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppCmbxProcSetType.WatermarkText = "select procedure set type"; @@ -614,21 +626,20 @@ namespace VEPROMS // this.label9.AutoSize = true; this.label9.BackColor = System.Drawing.Color.Transparent; - this.label9.Location = new System.Drawing.Point(24, 238); - this.label9.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label9.Location = new System.Drawing.Point(32, 293); this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(145, 13); + this.label9.Size = new System.Drawing.Size(195, 17); this.label9.TabIndex = 16; this.label9.Text = "Procedure Set Type (version)"; // // ppRTxtName // this.ppRTxtName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Name", true)); - this.ppRTxtName.Location = new System.Drawing.Point(56, 15); - this.ppRTxtName.Margin = new System.Windows.Forms.Padding(2); + this.ppRTxtName.Location = new System.Drawing.Point(75, 18); + this.ppRTxtName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppRTxtName.Multiline = false; this.ppRTxtName.Name = "ppRTxtName"; - this.ppRTxtName.Size = new System.Drawing.Size(210, 19); + this.ppRTxtName.Size = new System.Drawing.Size(279, 22); this.ppRTxtName.TabIndex = 0; this.ppRTxtName.Text = ""; this.ppRTxtName.Leave += new System.EventHandler(this.ppRTxtName_Leave); @@ -637,31 +648,30 @@ namespace VEPROMS // this.lblProcSetRev.AutoSize = true; this.lblProcSetRev.BackColor = System.Drawing.Color.Transparent; - this.lblProcSetRev.Location = new System.Drawing.Point(24, 204); - this.lblProcSetRev.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.lblProcSetRev.Location = new System.Drawing.Point(32, 251); this.lblProcSetRev.Name = "lblProcSetRev"; - this.lblProcSetRev.Size = new System.Drawing.Size(119, 13); + this.lblProcSetRev.Size = new System.Drawing.Size(157, 17); this.lblProcSetRev.TabIndex = 66; this.lblProcSetRev.Text = "Procedure Set Revision"; // // ppRTxtProcSetRev // this.ppRTxtProcSetRev.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "ProcedureSetRev", true)); - this.ppRTxtProcSetRev.Location = new System.Drawing.Point(175, 201); - this.ppRTxtProcSetRev.Margin = new System.Windows.Forms.Padding(2); + this.ppRTxtProcSetRev.Location = new System.Drawing.Point(233, 247); + this.ppRTxtProcSetRev.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppRTxtProcSetRev.Multiline = false; this.ppRTxtProcSetRev.Name = "ppRTxtProcSetRev"; - this.ppRTxtProcSetRev.Size = new System.Drawing.Size(210, 19); + this.ppRTxtProcSetRev.Size = new System.Drawing.Size(279, 22); this.ppRTxtProcSetRev.TabIndex = 0; this.ppRTxtProcSetRev.Text = ""; // // ppRTxtTitle // this.ppRTxtTitle.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Title", true)); - this.ppRTxtTitle.Location = new System.Drawing.Point(56, 57); - this.ppRTxtTitle.Margin = new System.Windows.Forms.Padding(2); + this.ppRTxtTitle.Location = new System.Drawing.Point(75, 70); + this.ppRTxtTitle.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppRTxtTitle.Name = "ppRTxtTitle"; - this.ppRTxtTitle.Size = new System.Drawing.Size(407, 50); + this.ppRTxtTitle.Size = new System.Drawing.Size(541, 61); this.ppRTxtTitle.TabIndex = 1; this.ppRTxtTitle.Text = ""; this.ppRTxtTitle.Visible = false; @@ -671,10 +681,10 @@ namespace VEPROMS this.ppDTPicker.CustomFormat = "MM\'/\'dd\'/\'yyyy hh\':\'mm:ss tt"; this.ppDTPicker.Enabled = false; this.ppDTPicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom; - this.ppDTPicker.Location = new System.Drawing.Point(80, 123); - this.ppDTPicker.Margin = new System.Windows.Forms.Padding(2); + this.ppDTPicker.Location = new System.Drawing.Point(107, 151); + this.ppDTPicker.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppDTPicker.Name = "ppDTPicker"; - this.ppDTPicker.Size = new System.Drawing.Size(130, 20); + this.ppDTPicker.Size = new System.Drawing.Size(172, 22); this.ppDTPicker.TabIndex = 12; this.ppDTPicker.TabStop = false; this.ppDTPicker.Visible = false; @@ -683,10 +693,9 @@ namespace VEPROMS // this.label1.AutoSize = true; this.label1.BackColor = System.Drawing.Color.Transparent; - this.label1.Location = new System.Drawing.Point(26, 59); - this.label1.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label1.Location = new System.Drawing.Point(35, 73); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(27, 13); + this.label1.Size = new System.Drawing.Size(35, 17); this.label1.TabIndex = 3; this.label1.Text = "Title"; this.label1.Visible = false; @@ -695,20 +704,19 @@ namespace VEPROMS // this.label2.AutoSize = true; this.label2.BackColor = System.Drawing.Color.Transparent; - this.label2.Location = new System.Drawing.Point(17, 18); - this.label2.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label2.Location = new System.Drawing.Point(23, 22); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(35, 13); + this.label2.Size = new System.Drawing.Size(45, 17); this.label2.TabIndex = 4; this.label2.Text = "Name"; // // ppTxtBxUserID // this.ppTxtBxUserID.Enabled = false; - this.ppTxtBxUserID.Location = new System.Drawing.Point(71, 169); - this.ppTxtBxUserID.Margin = new System.Windows.Forms.Padding(2); + this.ppTxtBxUserID.Location = new System.Drawing.Point(94, 208); + this.ppTxtBxUserID.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppTxtBxUserID.Name = "ppTxtBxUserID"; - this.ppTxtBxUserID.Size = new System.Drawing.Size(116, 20); + this.ppTxtBxUserID.Size = new System.Drawing.Size(153, 22); this.ppTxtBxUserID.TabIndex = 10; this.ppTxtBxUserID.TabStop = false; this.ppTxtBxUserID.Visible = false; @@ -717,10 +725,9 @@ namespace VEPROMS // this.label3.AutoSize = true; this.label3.BackColor = System.Drawing.Color.Transparent; - this.label3.Location = new System.Drawing.Point(26, 171); - this.label3.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label3.Location = new System.Drawing.Point(35, 210); this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(43, 13); + this.label3.Size = new System.Drawing.Size(55, 17); this.label3.TabIndex = 5; this.label3.Text = "User ID"; this.label3.Visible = false; @@ -729,10 +736,9 @@ namespace VEPROMS // this.label4.AutoSize = true; this.label4.BackColor = System.Drawing.Color.Transparent; - this.label4.Location = new System.Drawing.Point(20, 125); - this.label4.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label4.Location = new System.Drawing.Point(27, 154); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(58, 13); + this.label4.Size = new System.Drawing.Size(73, 17); this.label4.TabIndex = 6; this.label4.Text = "Date/Time"; this.label4.Visible = false; @@ -741,19 +747,19 @@ namespace VEPROMS // this.ppBtnPDFLoc.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.ppBtnPDFLoc.Image = ((System.Drawing.Image)(resources.GetObject("ppBtnPDFLoc.Image"))); - this.ppBtnPDFLoc.Location = new System.Drawing.Point(465, 19); - this.ppBtnPDFLoc.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnPDFLoc.Location = new System.Drawing.Point(620, 23); + this.ppBtnPDFLoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnPDFLoc.Name = "ppBtnPDFLoc"; - this.ppBtnPDFLoc.Size = new System.Drawing.Size(16, 19); + this.ppBtnPDFLoc.Size = new System.Drawing.Size(21, 23); this.ppBtnPDFLoc.TabIndex = 31; this.ppBtnPDFLoc.Click += new System.EventHandler(this.ppBtnPDFLoc_Click); // // ppNumUpDwnOvrdPrnPenWidth // - this.ppNumUpDwnOvrdPrnPenWidth.Location = new System.Drawing.Point(178, 14); - this.ppNumUpDwnOvrdPrnPenWidth.Margin = new System.Windows.Forms.Padding(2); + this.ppNumUpDwnOvrdPrnPenWidth.Location = new System.Drawing.Point(237, 18); + this.ppNumUpDwnOvrdPrnPenWidth.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppNumUpDwnOvrdPrnPenWidth.Name = "ppNumUpDwnOvrdPrnPenWidth"; - this.ppNumUpDwnOvrdPrnPenWidth.Size = new System.Drawing.Size(37, 20); + this.ppNumUpDwnOvrdPrnPenWidth.Size = new System.Drawing.Size(50, 22); this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnOvrdPrnPenWidth, new DevComponents.DotNetBar.SuperTooltipInfo("Normal Pen Width", "", "This will allow you to override pen width used for normal text and line drawing.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppNumUpDwnOvrdPrnPenWidth.TabIndex = 1; // @@ -761,10 +767,9 @@ namespace VEPROMS // this.label19.AutoSize = true; this.label19.BackColor = System.Drawing.Color.Transparent; - this.label19.Location = new System.Drawing.Point(5, 16); - this.label19.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label19.Location = new System.Drawing.Point(7, 20); this.label19.Name = "label19"; - this.label19.Size = new System.Drawing.Size(165, 13); + this.label19.Size = new System.Drawing.Size(222, 17); this.label19.TabIndex = 0; this.label19.Text = "Override Normal Pen Width (dots)"; // @@ -772,28 +777,27 @@ namespace VEPROMS // this.label20.AutoSize = true; this.label20.BackColor = System.Drawing.Color.Transparent; - this.label20.Location = new System.Drawing.Point(6, 47); - this.label20.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label20.Location = new System.Drawing.Point(8, 58); this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(153, 13); + this.label20.Size = new System.Drawing.Size(205, 17); this.label20.TabIndex = 2; this.label20.Text = "Override Bold Pen Width (dots)"; // // ppNumUpDwnOverdPrnPenBoldWidth // - this.ppNumUpDwnOverdPrnPenBoldWidth.Location = new System.Drawing.Point(178, 46); - this.ppNumUpDwnOverdPrnPenBoldWidth.Margin = new System.Windows.Forms.Padding(2); + this.ppNumUpDwnOverdPrnPenBoldWidth.Location = new System.Drawing.Point(237, 57); + this.ppNumUpDwnOverdPrnPenBoldWidth.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppNumUpDwnOverdPrnPenBoldWidth.Name = "ppNumUpDwnOverdPrnPenBoldWidth"; - this.ppNumUpDwnOverdPrnPenBoldWidth.Size = new System.Drawing.Size(37, 20); + this.ppNumUpDwnOverdPrnPenBoldWidth.Size = new System.Drawing.Size(50, 22); this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnOverdPrnPenBoldWidth, new DevComponents.DotNetBar.SuperTooltipInfo("Bold Pen Width", "", "This will allow you to override the width used for bold text.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppNumUpDwnOverdPrnPenBoldWidth.TabIndex = 3; // // ppNumUpDwnOvrdPrnPenULineWidth // - this.ppNumUpDwnOvrdPrnPenULineWidth.Location = new System.Drawing.Point(422, 14); - this.ppNumUpDwnOvrdPrnPenULineWidth.Margin = new System.Windows.Forms.Padding(2); + this.ppNumUpDwnOvrdPrnPenULineWidth.Location = new System.Drawing.Point(563, 18); + this.ppNumUpDwnOvrdPrnPenULineWidth.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppNumUpDwnOvrdPrnPenULineWidth.Name = "ppNumUpDwnOvrdPrnPenULineWidth"; - this.ppNumUpDwnOvrdPrnPenULineWidth.Size = new System.Drawing.Size(37, 20); + this.ppNumUpDwnOvrdPrnPenULineWidth.Size = new System.Drawing.Size(50, 22); this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnOvrdPrnPenULineWidth, new DevComponents.DotNetBar.SuperTooltipInfo("Underline Thickness", "", "This will allow you to change the thickness of the uderline.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppNumUpDwnOvrdPrnPenULineWidth.TabIndex = 5; // @@ -801,24 +805,23 @@ namespace VEPROMS // this.label21.AutoSize = true; this.label21.BackColor = System.Drawing.Color.Transparent; - this.label21.Location = new System.Drawing.Point(239, 16); - this.label21.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label21.Location = new System.Drawing.Point(318, 20); this.label21.Name = "label21"; - this.label21.Size = new System.Drawing.Size(176, 13); + this.label21.Size = new System.Drawing.Size(237, 17); this.label21.TabIndex = 4; this.label21.Text = "Override Underline Thickness (dots)"; // // ppNumUpDwnAdjPrnStartPos // - this.ppNumUpDwnAdjPrnStartPos.Location = new System.Drawing.Point(422, 46); - this.ppNumUpDwnAdjPrnStartPos.Margin = new System.Windows.Forms.Padding(2); + this.ppNumUpDwnAdjPrnStartPos.Location = new System.Drawing.Point(563, 57); + this.ppNumUpDwnAdjPrnStartPos.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppNumUpDwnAdjPrnStartPos.Maximum = new decimal(new int[] { 500, 0, 0, 0}); this.ppNumUpDwnAdjPrnStartPos.Name = "ppNumUpDwnAdjPrnStartPos"; - this.ppNumUpDwnAdjPrnStartPos.Size = new System.Drawing.Size(37, 20); + this.ppNumUpDwnAdjPrnStartPos.Size = new System.Drawing.Size(50, 22); this.superTooltip1.SetSuperTooltip(this.ppNumUpDwnAdjPrnStartPos, new DevComponents.DotNetBar.SuperTooltipInfo("Starting Print Position", "", "Allows you to move the starting point on the page of where text and boarder begin" + " printing.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppNumUpDwnAdjPrnStartPos.TabIndex = 7; @@ -827,20 +830,19 @@ namespace VEPROMS // this.label22.AutoSize = true; this.label22.BackColor = System.Drawing.Color.Transparent; - this.label22.Location = new System.Drawing.Point(228, 48); - this.label22.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label22.Location = new System.Drawing.Point(304, 59); this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(187, 13); + this.label22.Size = new System.Drawing.Size(252, 17); this.label22.TabIndex = 6; this.label22.Text = "Adjust Starting Position on Page (dots)"; // // ppBtnDeftDisAutoDuplx // this.ppBtnDeftDisAutoDuplx.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDeftDisAutoDuplx.Location = new System.Drawing.Point(433, 60); - this.ppBtnDeftDisAutoDuplx.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnDeftDisAutoDuplx.Location = new System.Drawing.Point(578, 74); + this.ppBtnDeftDisAutoDuplx.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDeftDisAutoDuplx.Name = "ppBtnDeftDisAutoDuplx"; - this.ppBtnDeftDisAutoDuplx.Size = new System.Drawing.Size(44, 20); + this.ppBtnDeftDisAutoDuplx.Size = new System.Drawing.Size(59, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDeftDisAutoDuplx, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", resources.GetString("ppBtnDeftDisAutoDuplx.SuperTooltip"), null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(255, 150))); this.ppBtnDeftDisAutoDuplx.TabIndex = 35; this.ppBtnDeftDisAutoDuplx.Text = "Default"; @@ -850,10 +852,10 @@ namespace VEPROMS // ppBtnDefWatermark // this.ppBtnDefWatermark.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.ppBtnDefWatermark.Location = new System.Drawing.Point(203, 58); - this.ppBtnDefWatermark.Margin = new System.Windows.Forms.Padding(2); + this.ppBtnDefWatermark.Location = new System.Drawing.Point(270, 71); + this.ppBtnDefWatermark.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnDefWatermark.Name = "ppBtnDefWatermark"; - this.ppBtnDefWatermark.Size = new System.Drawing.Size(40, 20); + this.ppBtnDefWatermark.Size = new System.Drawing.Size(53, 25); this.superTooltip1.SetSuperTooltip(this.ppBtnDefWatermark, new DevComponents.DotNetBar.SuperTooltipInfo("The Default Button", "", "This will revert the watermark selection back to using the parent\'s (default) set" + "ting.\r\n\r\nCheck \"Show Default Settings\" to display the \"default\" watermark (below" + " the Watermark selection box).", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, true, new System.Drawing.Size(255, 145))); @@ -870,10 +872,11 @@ namespace VEPROMS this.ppCmbxWatermark.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; this.ppCmbxWatermark.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.ppCmbxWatermark.FormattingEnabled = true; - this.ppCmbxWatermark.Location = new System.Drawing.Point(74, 58); - this.ppCmbxWatermark.Margin = new System.Windows.Forms.Padding(2); + this.ppCmbxWatermark.ItemHeight = 20; + this.ppCmbxWatermark.Location = new System.Drawing.Point(99, 71); + this.ppCmbxWatermark.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCmbxWatermark.Name = "ppCmbxWatermark"; - this.ppCmbxWatermark.Size = new System.Drawing.Size(126, 21); + this.ppCmbxWatermark.Size = new System.Drawing.Size(167, 26); this.ppCmbxWatermark.TabIndex = 32; this.ppCmbxWatermark.WatermarkFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, ((System.Drawing.FontStyle)((System.Drawing.FontStyle.Bold | System.Drawing.FontStyle.Italic))), System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppCmbxWatermark.WatermarkText = "select watermark option"; @@ -885,10 +888,9 @@ namespace VEPROMS this.ppLblWatermarkDefault.BackColor = System.Drawing.Color.Transparent; this.ppLblWatermarkDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblWatermarkDefault.ForeColor = System.Drawing.Color.Gray; - this.ppLblWatermarkDefault.Location = new System.Drawing.Point(69, 80); - this.ppLblWatermarkDefault.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ppLblWatermarkDefault.Location = new System.Drawing.Point(92, 98); this.ppLblWatermarkDefault.Name = "ppLblWatermarkDefault"; - this.ppLblWatermarkDefault.Size = new System.Drawing.Size(45, 13); + this.ppLblWatermarkDefault.Size = new System.Drawing.Size(61, 17); this.superTooltip1.SetSuperTooltip(this.ppLblWatermarkDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the default Watermark settings", "", "Pressing the Default Button (to the right)\r\nwill reset the watermark setting back" + " to \r\nthis default.\r\n", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0))); this.ppLblWatermarkDefault.TabIndex = 57; @@ -897,20 +899,19 @@ namespace VEPROMS // ppTxtBxPDFLoc // this.ppTxtBxPDFLoc.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_PDFLocation", true)); - this.ppTxtBxPDFLoc.Location = new System.Drawing.Point(83, 19); - this.ppTxtBxPDFLoc.Margin = new System.Windows.Forms.Padding(2); + this.ppTxtBxPDFLoc.Location = new System.Drawing.Point(110, 23); + this.ppTxtBxPDFLoc.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppTxtBxPDFLoc.Name = "ppTxtBxPDFLoc"; - this.ppTxtBxPDFLoc.Size = new System.Drawing.Size(379, 20); + this.ppTxtBxPDFLoc.Size = new System.Drawing.Size(504, 22); this.ppTxtBxPDFLoc.TabIndex = 30; // // label18 // this.label18.AutoSize = true; this.label18.BackColor = System.Drawing.Color.Transparent; - this.label18.Location = new System.Drawing.Point(4, 22); - this.label18.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label18.Location = new System.Drawing.Point(5, 27); this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(72, 13); + this.label18.Size = new System.Drawing.Size(93, 17); this.label18.TabIndex = 54; this.label18.Text = "PDF Location"; // @@ -920,10 +921,9 @@ namespace VEPROMS this.ppLblAutoDuplexDefault.BackColor = System.Drawing.Color.Transparent; this.ppLblAutoDuplexDefault.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.ppLblAutoDuplexDefault.ForeColor = System.Drawing.Color.Gray; - this.ppLblAutoDuplexDefault.Location = new System.Drawing.Point(286, 79); - this.ppLblAutoDuplexDefault.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ppLblAutoDuplexDefault.Location = new System.Drawing.Point(381, 98); this.ppLblAutoDuplexDefault.Name = "ppLblAutoDuplexDefault"; - this.ppLblAutoDuplexDefault.Size = new System.Drawing.Size(64, 13); + this.ppLblAutoDuplexDefault.Size = new System.Drawing.Size(86, 17); this.superTooltip1.SetSuperTooltip(this.ppLblAutoDuplexDefault, new DevComponents.DotNetBar.SuperTooltipInfo("This is the Automatic Duplex default setting", "", "Pressing the Default Button (to the right)\r\nwill reset the Automatic Duplex setti" + "ng back\r\nto this default.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0))); this.ppLblAutoDuplexDefault.TabIndex = 53; @@ -934,10 +934,10 @@ namespace VEPROMS this.ppChbxDisAutoDuplex.AutoSize = true; this.ppChbxDisAutoDuplex.BackColor = System.Drawing.Color.Transparent; this.ppChbxDisAutoDuplex.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_DisableDuplex", true)); - this.ppChbxDisAutoDuplex.Location = new System.Drawing.Point(272, 60); - this.ppChbxDisAutoDuplex.Margin = new System.Windows.Forms.Padding(2); + this.ppChbxDisAutoDuplex.Location = new System.Drawing.Point(363, 74); + this.ppChbxDisAutoDuplex.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppChbxDisAutoDuplex.Name = "ppChbxDisAutoDuplex"; - this.ppChbxDisAutoDuplex.Size = new System.Drawing.Size(161, 17); + this.ppChbxDisAutoDuplex.Size = new System.Drawing.Size(209, 21); this.superTooltip1.SetSuperTooltip(this.ppChbxDisAutoDuplex, new DevComponents.DotNetBar.SuperTooltipInfo("Disable Automatic Duplex", "", "Checking this box will turn OFF the automatic duplexing used in some formats for " + "Foldout pages.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray, true, false, new System.Drawing.Size(0, 0))); this.ppChbxDisAutoDuplex.TabIndex = 34; @@ -949,15 +949,15 @@ namespace VEPROMS // this.label17.AutoSize = true; this.label17.BackColor = System.Drawing.Color.Transparent; - this.label17.Location = new System.Drawing.Point(9, 62); - this.label17.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label17.Location = new System.Drawing.Point(12, 76); this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(59, 13); + this.label17.Size = new System.Drawing.Size(77, 17); this.label17.TabIndex = 27; this.label17.Text = "Watermark"; // // superTooltip1 // + this.superTooltip1.DefaultTooltipSettings = new DevComponents.DotNetBar.SuperTooltipInfo("", "", "", null, null, DevComponents.DotNetBar.eTooltipColor.Gray); this.superTooltip1.LicenseKey = "F962CEC7-CD8F-4911-A9E9-CAB39962FC1F"; // // ppCbShwDefSettings @@ -967,10 +967,10 @@ namespace VEPROMS // // this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.ppCbShwDefSettings.Location = new System.Drawing.Point(17, 437); - this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(2); + this.ppCbShwDefSettings.Location = new System.Drawing.Point(23, 603); + this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppCbShwDefSettings.Name = "ppCbShwDefSettings"; - this.ppCbShwDefSettings.Size = new System.Drawing.Size(154, 20); + this.ppCbShwDefSettings.Size = new System.Drawing.Size(205, 25); this.superTooltip1.SetSuperTooltip(this.ppCbShwDefSettings, new DevComponents.DotNetBar.SuperTooltipInfo("Show Default Settings", "", "When checked, the default (parent\'s) setting will appear below the overridden sel" + "ection.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppCbShwDefSettings.TabIndex = 92; @@ -991,10 +991,11 @@ namespace VEPROMS this.ppGpbxUserSpecCB.Controls.Add(this.label13); this.ppGpbxUserSpecCB.Controls.Add(this.ppLblChgBarPosDefault); this.ppGpbxUserSpecCB.Controls.Add(this.ppLblChgBarTxtTypeDefault); - this.ppGpbxUserSpecCB.Location = new System.Drawing.Point(14, 136); - this.ppGpbxUserSpecCB.Margin = new System.Windows.Forms.Padding(2); + this.ppGpbxUserSpecCB.DisabledBackColor = System.Drawing.Color.Empty; + this.ppGpbxUserSpecCB.Location = new System.Drawing.Point(19, 167); + this.ppGpbxUserSpecCB.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppGpbxUserSpecCB.Name = "ppGpbxUserSpecCB"; - this.ppGpbxUserSpecCB.Size = new System.Drawing.Size(466, 130); + this.ppGpbxUserSpecCB.Size = new System.Drawing.Size(621, 160); // // // @@ -1039,10 +1040,11 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.Controls.Add(this.label15); this.ppGpbxUserSpecTxt.Controls.Add(this.ppLblChgBarUserMsgOneDefault); this.ppGpbxUserSpecTxt.Controls.Add(this.ppTxbxChangeBarUserMsgOne); - this.ppGpbxUserSpecTxt.Location = new System.Drawing.Point(267, 6); - this.ppGpbxUserSpecTxt.Margin = new System.Windows.Forms.Padding(2); + this.ppGpbxUserSpecTxt.DisabledBackColor = System.Drawing.Color.Empty; + this.ppGpbxUserSpecTxt.Location = new System.Drawing.Point(356, 7); + this.ppGpbxUserSpecTxt.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppGpbxUserSpecTxt.Name = "ppGpbxUserSpecTxt"; - this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(184, 103); + this.ppGpbxUserSpecTxt.Size = new System.Drawing.Size(245, 126); // // // @@ -1077,9 +1079,10 @@ namespace VEPROMS // ppTxtBxPdfPre // this.ppTxtBxPdfPre.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_PDFFilePrefix", true)); - this.ppTxtBxPdfPre.Location = new System.Drawing.Point(90, 105); + this.ppTxtBxPdfPre.Location = new System.Drawing.Point(120, 130); + this.ppTxtBxPdfPre.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.ppTxtBxPdfPre.Name = "ppTxtBxPdfPre"; - this.ppTxtBxPdfPre.Size = new System.Drawing.Size(100, 20); + this.ppTxtBxPdfPre.Size = new System.Drawing.Size(132, 22); this.superTooltip1.SetSuperTooltip(this.ppTxtBxPdfPre, new DevComponents.DotNetBar.SuperTooltipInfo("PDF File Prefix", "", "The text entered here will be appended to the beginning of PDF file name when a p" + "rocedure is printed.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.ppTxtBxPdfPre.TabIndex = 68; @@ -1087,20 +1090,21 @@ namespace VEPROMS // ppTxtBxPDFSuf // this.ppTxtBxPDFSuf.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.docVersionConfigBindingSource, "Print_PDFFileSuffix", true)); - this.ppTxtBxPDFSuf.Location = new System.Drawing.Point(301, 105); + this.ppTxtBxPDFSuf.Location = new System.Drawing.Point(402, 130); + this.ppTxtBxPDFSuf.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4); this.ppTxtBxPDFSuf.Name = "ppTxtBxPDFSuf"; - this.ppTxtBxPDFSuf.Size = new System.Drawing.Size(100, 20); + this.ppTxtBxPDFSuf.Size = new System.Drawing.Size(132, 22); this.superTooltip1.SetSuperTooltip(this.ppTxtBxPDFSuf, new DevComponents.DotNetBar.SuperTooltipInfo("PDF File Suffix", "", "The text entered here will be appended to the end of PDF file name when a procedu" + "re is printed.", null, null, DevComponents.DotNetBar.eTooltipColor.Gray)); this.ppTxtBxPDFSuf.TabIndex = 68; // // ppTxbxUnitNum // - this.ppTxbxUnitNum.Location = new System.Drawing.Point(256, 275); - this.ppTxbxUnitNum.Margin = new System.Windows.Forms.Padding(2); + this.ppTxbxUnitNum.Location = new System.Drawing.Point(341, 338); + this.ppTxbxUnitNum.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppTxbxUnitNum.Multiline = false; this.ppTxbxUnitNum.Name = "ppTxbxUnitNum"; - this.ppTxbxUnitNum.Size = new System.Drawing.Size(44, 20); + this.ppTxbxUnitNum.Size = new System.Drawing.Size(57, 24); this.superTooltip1.SetSuperTooltip(this.ppTxbxUnitNum, new DevComponents.DotNetBar.SuperTooltipInfo("User Defined Message", "", "This message will appear on all change bars", null, null, DevComponents.DotNetBar.eTooltipColor.System)); this.ppTxbxUnitNum.TabIndex = 51; this.ppTxbxUnitNum.Text = ""; @@ -1110,10 +1114,9 @@ namespace VEPROMS this.ppLblDefSettingsInfo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.ppLblDefSettingsInfo.AutoSize = true; this.ppLblDefSettingsInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(11, 418); - this.ppLblDefSettingsInfo.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(14, 580); this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo"; - this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(156, 13); + this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(205, 17); this.ppLblDefSettingsInfo.TabIndex = 25; this.ppLblDefSettingsInfo.Text = "* Default values shown in italics"; // @@ -1127,17 +1130,18 @@ namespace VEPROMS this.tcVersions.BackColor = System.Drawing.Color.Transparent; this.tcVersions.CanReorderTabs = true; this.tcVersions.Controls.Add(this.tcpGeneral); - this.tcVersions.Controls.Add(this.tcpFormatSettings); - this.tcVersions.Controls.Add(this.tcpRefereceObjects); - this.tcVersions.Controls.Add(this.tcpOutputSettings); + this.tcVersions.Controls.Add(this.tabControlPanel1); this.tcVersions.Controls.Add(this.tabControlPanel5); + this.tcVersions.Controls.Add(this.tcpRefereceObjects); + this.tcVersions.Controls.Add(this.tcpFormatSettings); + this.tcVersions.Controls.Add(this.tcpOutputSettings); this.tcVersions.Controls.Add(this.tcpApplicability); - this.tcVersions.Location = new System.Drawing.Point(167, 2); - this.tcVersions.Margin = new System.Windows.Forms.Padding(2); + this.tcVersions.Location = new System.Drawing.Point(211, 2); + this.tcVersions.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tcVersions.Name = "tcVersions"; this.tcVersions.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Bold); this.tcVersions.SelectedTabIndex = 0; - this.tcVersions.Size = new System.Drawing.Size(502, 337); + this.tcVersions.Size = new System.Drawing.Size(684, 414); this.tcVersions.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock; this.tcVersions.TabIndex = 28; this.tcVersions.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; @@ -1147,69 +1151,171 @@ namespace VEPROMS this.tcVersions.Tabs.Add(this.tiFmtSettings); this.tcVersions.Tabs.Add(this.tiLibDocs); this.tcVersions.Tabs.Add(this.tiApplicability); + this.tcVersions.Tabs.Add(this.tiEnhanced); this.tcVersions.TabsVisible = false; this.tcVersions.Text = "tabControl1"; // - // tcpFormatSettings + // tabControlPanel1 // - this.tcpFormatSettings.Controls.Add(this.btnPhoneList); - this.tcpFormatSettings.Controls.Add(this.ppTxbxUnitNum); - this.tcpFormatSettings.Controls.Add(this.ppLblUnitNum); - this.tcpFormatSettings.Controls.Add(this.ppGpbxUserSpecCB); - this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultChgBar); - this.tcpFormatSettings.Controls.Add(this.ppCmbxFormat); - this.tcpFormatSettings.Controls.Add(this.ppCmbxChangeBarType); - this.tcpFormatSettings.Controls.Add(this.label11); - this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultFmt); - this.tcpFormatSettings.Controls.Add(this.label10); - this.tcpFormatSettings.Controls.Add(this.ppLblChangeBarTypeDefault); - this.tcpFormatSettings.Controls.Add(this.ppLblFormatDefault); - this.tcpFormatSettings.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpFormatSettings.Location = new System.Drawing.Point(0, 22); - this.tcpFormatSettings.Margin = new System.Windows.Forms.Padding(2); - this.tcpFormatSettings.Name = "tcpFormatSettings"; - this.tcpFormatSettings.Padding = new System.Windows.Forms.Padding(1); - this.tcpFormatSettings.Size = new System.Drawing.Size(502, 315); - this.tcpFormatSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tcpFormatSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - this.tcpFormatSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tcpFormatSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tcpFormatSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + this.tabControlPanel1.Controls.Add(this.cbxEnhVersions); + this.tabControlPanel1.Controls.Add(this.lblEnhDoc); + this.tabControlPanel1.Controls.Add(this.tbEnhPdfXOff); + this.tabControlPanel1.Controls.Add(this.tbEnhPdfToken); + this.tabControlPanel1.Controls.Add(this.tbEnhType); + this.tabControlPanel1.Controls.Add(this.tbEnhName); + this.tabControlPanel1.Controls.Add(this.lblEnhPdfXOff); + this.tabControlPanel1.Controls.Add(this.lblEnhPdfToken); + this.tabControlPanel1.Controls.Add(this.lblEnhType); + this.tabControlPanel1.Controls.Add(this.lblEnhName); + this.tabControlPanel1.Controls.Add(this.lblEnhSet); + this.tabControlPanel1.Controls.Add(this.lbEnhanced); + this.tabControlPanel1.DisabledBackColor = System.Drawing.Color.Empty; + this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel1.Location = new System.Drawing.Point(0, 24); + this.tabControlPanel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tabControlPanel1.Name = "tabControlPanel1"; + this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel1.Size = new System.Drawing.Size(684, 390); + this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tabControlPanel1.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tcpFormatSettings.Style.GradientAngle = 90; - this.tcpFormatSettings.TabIndex = 4; - this.tcpFormatSettings.TabItem = this.tiFmtSettings; - this.tcpFormatSettings.Enter += new System.EventHandler(this.tabpage_Enter); + this.tabControlPanel1.Style.GradientAngle = 90; + this.tabControlPanel1.TabIndex = 20; + this.tabControlPanel1.TabItem = this.tiEnhanced; // - // btnPhoneList + // cbxEnhVersions // - this.btnPhoneList.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnPhoneList.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnPhoneList.Location = new System.Drawing.Point(324, 274); - this.btnPhoneList.Margin = new System.Windows.Forms.Padding(2); - this.btnPhoneList.Name = "btnPhoneList"; - this.btnPhoneList.Size = new System.Drawing.Size(74, 20); - this.btnPhoneList.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnPhoneList.TabIndex = 52; - this.btnPhoneList.Text = "Phone List"; - this.btnPhoneList.Click += new System.EventHandler(this.btnPhoneList_Click); + this.cbxEnhVersions.FormattingEnabled = true; + this.cbxEnhVersions.Location = new System.Drawing.Point(180, 45); + this.cbxEnhVersions.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.cbxEnhVersions.Name = "cbxEnhVersions"; + this.cbxEnhVersions.Size = new System.Drawing.Size(430, 24); + this.cbxEnhVersions.TabIndex = 11; // - // ppLblUnitNum + // lblEnhDoc // - this.ppLblUnitNum.AutoSize = true; - this.ppLblUnitNum.BackColor = System.Drawing.Color.Transparent; - this.ppLblUnitNum.Location = new System.Drawing.Point(12, 281); - this.ppLblUnitNum.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); - this.ppLblUnitNum.Name = "ppLblUnitNum"; - this.ppLblUnitNum.Size = new System.Drawing.Size(235, 13); - this.ppLblUnitNum.TabIndex = 50; - this.ppLblUnitNum.Text = "Unit Number for Cover and Header page printing"; + this.lblEnhDoc.AutoSize = true; + this.lblEnhDoc.BackColor = System.Drawing.Color.Transparent; + this.lblEnhDoc.Location = new System.Drawing.Point(181, 22); + this.lblEnhDoc.Name = "lblEnhDoc"; + this.lblEnhDoc.Size = new System.Drawing.Size(56, 17); + this.lblEnhDoc.TabIndex = 10; + this.lblEnhDoc.Text = "Version"; // - // tiFmtSettings + // tbEnhPdfXOff // - this.tiFmtSettings.AttachedControl = this.tcpFormatSettings; - this.tiFmtSettings.Name = "tiFmtSettings"; - this.tiFmtSettings.Text = "Format Settings"; + this.tbEnhPdfXOff.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniEnhanced, "PdfXOffset", true)); + this.tbEnhPdfXOff.Location = new System.Drawing.Point(436, 105); + this.tbEnhPdfXOff.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tbEnhPdfXOff.Name = "tbEnhPdfXOff"; + this.tbEnhPdfXOff.Size = new System.Drawing.Size(64, 22); + this.tbEnhPdfXOff.TabIndex = 9; + // + // bsMiniEnhanced + // + this.bsMiniEnhanced.DataSource = typeof(VEPROMS.EnhancedMiniConfig); + // + // tbEnhPdfToken + // + this.tbEnhPdfToken.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniEnhanced, "PdfToken", true)); + this.tbEnhPdfToken.Location = new System.Drawing.Point(364, 104); + this.tbEnhPdfToken.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tbEnhPdfToken.Name = "tbEnhPdfToken"; + this.tbEnhPdfToken.Size = new System.Drawing.Size(68, 22); + this.tbEnhPdfToken.TabIndex = 8; + // + // tbEnhType + // + this.tbEnhType.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniEnhanced, "Type", true)); + this.tbEnhType.Location = new System.Drawing.Point(313, 104); + this.tbEnhType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tbEnhType.Name = "tbEnhType"; + this.tbEnhType.Size = new System.Drawing.Size(46, 22); + this.tbEnhType.TabIndex = 7; + // + // tbEnhName + // + this.tbEnhName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniEnhanced, "Name", true)); + this.tbEnhName.Location = new System.Drawing.Point(180, 104); + this.tbEnhName.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tbEnhName.Name = "tbEnhName"; + this.tbEnhName.Size = new System.Drawing.Size(128, 22); + this.tbEnhName.TabIndex = 6; + // + // lblEnhPdfXOff + // + this.lblEnhPdfXOff.AutoSize = true; + this.lblEnhPdfXOff.BackColor = System.Drawing.Color.Transparent; + this.lblEnhPdfXOff.Location = new System.Drawing.Point(436, 85); + this.lblEnhPdfXOff.Name = "lblEnhPdfXOff"; + this.lblEnhPdfXOff.Size = new System.Drawing.Size(84, 17); + this.lblEnhPdfXOff.TabIndex = 5; + this.lblEnhPdfXOff.Text = "Pdf X Offset"; + // + // lblEnhPdfToken + // + this.lblEnhPdfToken.AutoSize = true; + this.lblEnhPdfToken.BackColor = System.Drawing.Color.Transparent; + this.lblEnhPdfToken.Location = new System.Drawing.Point(362, 84); + this.lblEnhPdfToken.Name = "lblEnhPdfToken"; + this.lblEnhPdfToken.Size = new System.Drawing.Size(73, 17); + this.lblEnhPdfToken.TabIndex = 4; + this.lblEnhPdfToken.Text = "Pdf Token"; + // + // lblEnhType + // + this.lblEnhType.AutoSize = true; + this.lblEnhType.BackColor = System.Drawing.Color.Transparent; + this.lblEnhType.Location = new System.Drawing.Point(313, 84); + this.lblEnhType.Name = "lblEnhType"; + this.lblEnhType.Size = new System.Drawing.Size(40, 17); + this.lblEnhType.TabIndex = 3; + this.lblEnhType.Text = "Type"; + // + // lblEnhName + // + this.lblEnhName.AutoSize = true; + this.lblEnhName.BackColor = System.Drawing.Color.Transparent; + this.lblEnhName.Location = new System.Drawing.Point(180, 87); + this.lblEnhName.Name = "lblEnhName"; + this.lblEnhName.Size = new System.Drawing.Size(45, 17); + this.lblEnhName.TabIndex = 2; + this.lblEnhName.Text = "Name"; + // + // lblEnhSet + // + this.lblEnhSet.AutoSize = true; + this.lblEnhSet.BackColor = System.Drawing.Color.Transparent; + this.lblEnhSet.Location = new System.Drawing.Point(5, 3); + this.lblEnhSet.Name = "lblEnhSet"; + this.lblEnhSet.Size = new System.Drawing.Size(147, 17); + this.lblEnhSet.TabIndex = 1; + this.lblEnhSet.Text = "Enhanced Documents"; + // + // lbEnhanced + // + this.lbEnhanced.DataSource = this.bsEnhanced; + this.lbEnhanced.FormattingEnabled = true; + this.lbEnhanced.ItemHeight = 16; + this.lbEnhanced.Location = new System.Drawing.Point(0, 21); + this.lbEnhanced.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.lbEnhanced.Name = "lbEnhanced"; + this.lbEnhanced.Size = new System.Drawing.Size(152, 148); + this.lbEnhanced.TabIndex = 0; + this.lbEnhanced.SelectedIndexChanged += new System.EventHandler(this.lbEnhanced_SelectedIndexChanged); + // + // bsEnhanced + // + this.bsEnhanced.DataSource = typeof(VEPROMS.EnhancedMiniConfig); + // + // tiEnhanced + // + this.tiEnhanced.AttachedControl = this.tabControlPanel1; + this.tiEnhanced.Name = "tiEnhanced"; + this.tiEnhanced.Text = "Enhanced"; // // tcpGeneral // @@ -1226,11 +1332,13 @@ namespace VEPROMS this.tcpGeneral.Controls.Add(this.ppDTPicker); this.tcpGeneral.Controls.Add(this.label2); this.tcpGeneral.Controls.Add(this.label1); - this.tcpGeneral.Location = new System.Drawing.Point(0, 22); - this.tcpGeneral.Margin = new System.Windows.Forms.Padding(2); + this.tcpGeneral.DisabledBackColor = System.Drawing.Color.Empty; + this.tcpGeneral.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpGeneral.Location = new System.Drawing.Point(0, 24); + this.tcpGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tcpGeneral.Name = "tcpGeneral"; - this.tcpGeneral.Padding = new System.Windows.Forms.Padding(1); - this.tcpGeneral.Size = new System.Drawing.Size(488, 315); + this.tcpGeneral.Padding = new System.Windows.Forms.Padding(2); + this.tcpGeneral.Size = new System.Drawing.Size(684, 390); 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; @@ -1247,6 +1355,86 @@ namespace VEPROMS this.tiGeneral.Name = "tiGeneral"; this.tiGeneral.Text = "General"; // + // tabControlPanel5 + // + this.tabControlPanel5.AutoScroll = true; + this.tabControlPanel5.Controls.Add(this.ppGrdLibDocList); + this.tabControlPanel5.DisabledBackColor = System.Drawing.Color.Empty; + this.tabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel5.Location = new System.Drawing.Point(0, 24); + this.tabControlPanel5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tabControlPanel5.Name = "tabControlPanel5"; + this.tabControlPanel5.Padding = new System.Windows.Forms.Padding(2); + this.tabControlPanel5.Size = new System.Drawing.Size(684, 390); + this.tabControlPanel5.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tabControlPanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tabControlPanel5.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel5.Style.GradientAngle = 90; + this.tabControlPanel5.TabIndex = 5; + this.tabControlPanel5.TabItem = this.tiLibDocs; + this.tabControlPanel5.Enter += new System.EventHandler(this.tabpage_Enter); + // + // ppGrdLibDocList + // + this.ppGrdLibDocList.AllowUserToAddRows = false; + this.ppGrdLibDocList.AutoGenerateColumns = false; + this.ppGrdLibDocList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.ppGrdLibDocList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + 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; + 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; + this.ppGrdLibDocList.Location = new System.Drawing.Point(2, 2); + this.ppGrdLibDocList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.ppGrdLibDocList.Name = "ppGrdLibDocList"; + this.ppGrdLibDocList.RowHeadersVisible = false; + this.ppGrdLibDocList.RowTemplate.Height = 24; + this.ppGrdLibDocList.SelectAllSignVisible = false; + this.ppGrdLibDocList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; + this.ppGrdLibDocList.Size = new System.Drawing.Size(680, 386); + this.ppGrdLibDocList.TabIndex = 1; + // + // documentEntryCountDataGridViewTextBoxColumn + // + this.documentEntryCountDataGridViewTextBoxColumn.DataPropertyName = "DocumentEntryCount"; + dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.documentEntryCountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1; + this.documentEntryCountDataGridViewTextBoxColumn.HeaderText = "Number of Usages"; + this.documentEntryCountDataGridViewTextBoxColumn.Name = "documentEntryCountDataGridViewTextBoxColumn"; + this.documentEntryCountDataGridViewTextBoxColumn.ReadOnly = true; + this.documentEntryCountDataGridViewTextBoxColumn.Width = 95; + // + // libTitleDataGridViewTextBoxColumn + // + this.libTitleDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.libTitleDataGridViewTextBoxColumn.DataPropertyName = "LibTitle"; + this.libTitleDataGridViewTextBoxColumn.HeaderText = "Library Document Title"; + this.libTitleDataGridViewTextBoxColumn.Name = "libTitleDataGridViewTextBoxColumn"; + this.libTitleDataGridViewTextBoxColumn.ReadOnly = true; + // + // documentInfoListBindingSource + // + this.documentInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.DocumentInfo); + // + // tiLibDocs + // + this.tiLibDocs.AttachedControl = this.tabControlPanel5; + this.tiLibDocs.Name = "tiLibDocs"; + this.tiLibDocs.Text = "Library Docs"; + // // tcpRefereceObjects // this.tcpRefereceObjects.Controls.Add(this.tbRoDb); @@ -1255,12 +1443,13 @@ namespace VEPROMS 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.Location = new System.Drawing.Point(0, 24); + this.tcpRefereceObjects.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tcpRefereceObjects.Name = "tcpRefereceObjects"; - this.tcpRefereceObjects.Padding = new System.Windows.Forms.Padding(1); - this.tcpRefereceObjects.Size = new System.Drawing.Size(502, 315); + this.tcpRefereceObjects.Padding = new System.Windows.Forms.Padding(2); + this.tcpRefereceObjects.Size = new System.Drawing.Size(684, 390); 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; @@ -1275,18 +1464,18 @@ namespace VEPROMS // 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.Location = new System.Drawing.Point(107, 16); + this.tbRoDb.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tbRoDb.Name = "tbRoDb"; - this.tbRoDb.Size = new System.Drawing.Size(318, 20); + this.tbRoDb.Size = new System.Drawing.Size(423, 22); 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.Location = new System.Drawing.Point(541, 42); + this.ppBtnRoDbBrowse.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppBtnRoDbBrowse.Name = "ppBtnRoDbBrowse"; - this.ppBtnRoDbBrowse.Size = new System.Drawing.Size(51, 20); + this.ppBtnRoDbBrowse.Size = new System.Drawing.Size(68, 25); this.ppBtnRoDbBrowse.TabIndex = 22; this.ppBtnRoDbBrowse.Text = "Browse..."; this.ppBtnRoDbBrowse.UseVisualStyleBackColor = true; @@ -1297,20 +1486,20 @@ namespace VEPROMS 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.Location = new System.Drawing.Point(541, 12); + this.btnRoDbProperties.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnRoDbProperties.Name = "btnRoDbProperties"; - this.btnRoDbProperties.Size = new System.Drawing.Size(33, 23); + this.btnRoDbProperties.Size = new System.Drawing.Size(44, 28); 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.Location = new System.Drawing.Point(107, 16); + this.cmbRoDb.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.cmbRoDb.Name = "cmbRoDb"; - this.cmbRoDb.Size = new System.Drawing.Size(318, 21); + this.cmbRoDb.Size = new System.Drawing.Size(423, 24); this.cmbRoDb.TabIndex = 47; this.cmbRoDb.SelectedIndexChanged += new System.EventHandler(this.cmbRoDb_SelectedIndexChanged); // @@ -1321,10 +1510,11 @@ namespace VEPROMS this.ppGpbxUpROvals.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.ppGpbxUpROvals.Controls.Add(this.ppBtnResetRoVals); this.ppGpbxUpROvals.Controls.Add(this.ppBtnUpRoVals); - this.ppGpbxUpROvals.Location = new System.Drawing.Point(34, 69); - this.ppGpbxUpROvals.Margin = new System.Windows.Forms.Padding(2); + this.ppGpbxUpROvals.DisabledBackColor = System.Drawing.Color.Empty; + this.ppGpbxUpROvals.Location = new System.Drawing.Point(45, 85); + this.ppGpbxUpROvals.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppGpbxUpROvals.Name = "ppGpbxUpROvals"; - this.ppGpbxUpROvals.Size = new System.Drawing.Size(112, 162); + this.ppGpbxUpROvals.Size = new System.Drawing.Size(149, 199); // // // @@ -1362,6 +1552,67 @@ namespace VEPROMS this.tiRefObjs.Name = "tiRefObjs"; this.tiRefObjs.Text = "Referenced Objects"; // + // tcpFormatSettings + // + this.tcpFormatSettings.Controls.Add(this.btnPhoneList); + this.tcpFormatSettings.Controls.Add(this.ppTxbxUnitNum); + this.tcpFormatSettings.Controls.Add(this.ppLblUnitNum); + this.tcpFormatSettings.Controls.Add(this.ppGpbxUserSpecCB); + this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultChgBar); + this.tcpFormatSettings.Controls.Add(this.ppCmbxFormat); + this.tcpFormatSettings.Controls.Add(this.ppCmbxChangeBarType); + this.tcpFormatSettings.Controls.Add(this.label11); + this.tcpFormatSettings.Controls.Add(this.ppBtnDefaultFmt); + this.tcpFormatSettings.Controls.Add(this.label10); + this.tcpFormatSettings.Controls.Add(this.ppLblChangeBarTypeDefault); + this.tcpFormatSettings.Controls.Add(this.ppLblFormatDefault); + this.tcpFormatSettings.DisabledBackColor = System.Drawing.Color.Empty; + this.tcpFormatSettings.Dock = System.Windows.Forms.DockStyle.Fill; + this.tcpFormatSettings.Location = new System.Drawing.Point(0, 24); + this.tcpFormatSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.tcpFormatSettings.Name = "tcpFormatSettings"; + this.tcpFormatSettings.Padding = new System.Windows.Forms.Padding(2); + this.tcpFormatSettings.Size = new System.Drawing.Size(684, 390); + this.tcpFormatSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); + this.tcpFormatSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); + this.tcpFormatSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tcpFormatSettings.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); + this.tcpFormatSettings.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tcpFormatSettings.Style.GradientAngle = 90; + this.tcpFormatSettings.TabIndex = 4; + this.tcpFormatSettings.TabItem = this.tiFmtSettings; + this.tcpFormatSettings.Enter += new System.EventHandler(this.tabpage_Enter); + // + // btnPhoneList + // + this.btnPhoneList.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnPhoneList.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnPhoneList.Location = new System.Drawing.Point(432, 338); + this.btnPhoneList.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnPhoneList.Name = "btnPhoneList"; + this.btnPhoneList.Size = new System.Drawing.Size(99, 25); + this.btnPhoneList.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btnPhoneList.TabIndex = 52; + this.btnPhoneList.Text = "Phone List"; + this.btnPhoneList.Click += new System.EventHandler(this.btnPhoneList_Click); + // + // ppLblUnitNum + // + this.ppLblUnitNum.AutoSize = true; + this.ppLblUnitNum.BackColor = System.Drawing.Color.Transparent; + this.ppLblUnitNum.Location = new System.Drawing.Point(16, 346); + this.ppLblUnitNum.Name = "ppLblUnitNum"; + this.ppLblUnitNum.Size = new System.Drawing.Size(315, 17); + this.ppLblUnitNum.TabIndex = 50; + this.ppLblUnitNum.Text = "Unit Number for Cover and Header page printing"; + // + // tiFmtSettings + // + this.tiFmtSettings.AttachedControl = this.tcpFormatSettings; + this.tiFmtSettings.Name = "tiFmtSettings"; + this.tiFmtSettings.Text = "Format Settings"; + // // tcpOutputSettings // this.tcpOutputSettings.Controls.Add(this.ppTxtBxPDFSuf); @@ -1382,12 +1633,13 @@ namespace VEPROMS this.tcpOutputSettings.Controls.Add(this.ppLblAutoDuplexDefault); this.tcpOutputSettings.Controls.Add(this.ppCmbxWatermark); this.tcpOutputSettings.Controls.Add(this.ppLblWatermarkDefault); + this.tcpOutputSettings.DisabledBackColor = System.Drawing.Color.Empty; this.tcpOutputSettings.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpOutputSettings.Location = new System.Drawing.Point(0, 22); - this.tcpOutputSettings.Margin = new System.Windows.Forms.Padding(2); + this.tcpOutputSettings.Location = new System.Drawing.Point(0, 24); + this.tcpOutputSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tcpOutputSettings.Name = "tcpOutputSettings"; - this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(1); - this.tcpOutputSettings.Size = new System.Drawing.Size(502, 315); + this.tcpOutputSettings.Padding = new System.Windows.Forms.Padding(2); + this.tcpOutputSettings.Size = new System.Drawing.Size(684, 390); this.tcpOutputSettings.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tcpOutputSettings.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tcpOutputSettings.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; @@ -1403,9 +1655,10 @@ namespace VEPROMS // this.label30.AutoSize = true; this.label30.BackColor = System.Drawing.Color.Transparent; - this.label30.Location = new System.Drawing.Point(219, 108); + this.label30.Location = new System.Drawing.Point(292, 133); + this.label30.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label30.Name = "label30"; - this.label30.Size = new System.Drawing.Size(76, 13); + this.label30.Size = new System.Drawing.Size(99, 17); this.label30.TabIndex = 67; this.label30.Text = "PDF File Suffix"; // @@ -1413,9 +1666,10 @@ namespace VEPROMS // this.label29.AutoSize = true; this.label29.BackColor = System.Drawing.Color.Transparent; - this.label29.Location = new System.Drawing.Point(8, 108); + this.label29.Location = new System.Drawing.Point(11, 133); + this.label29.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.label29.Name = "label29"; - this.label29.Size = new System.Drawing.Size(76, 13); + this.label29.Size = new System.Drawing.Size(100, 17); this.label29.TabIndex = 67; this.label29.Text = "PDF File Prefix"; // @@ -1424,10 +1678,10 @@ namespace VEPROMS this.ppChbxAddBlankPgs.AutoSize = true; this.ppChbxAddBlankPgs.BackColor = System.Drawing.Color.Transparent; this.ppChbxAddBlankPgs.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AddBlankPagesWhenUsingDuplexFoldouts", true)); - this.ppChbxAddBlankPgs.Location = new System.Drawing.Point(9, 285); - this.ppChbxAddBlankPgs.Margin = new System.Windows.Forms.Padding(2); + this.ppChbxAddBlankPgs.Location = new System.Drawing.Point(12, 350); + this.ppChbxAddBlankPgs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppChbxAddBlankPgs.Name = "ppChbxAddBlankPgs"; - this.ppChbxAddBlankPgs.Size = new System.Drawing.Size(249, 17); + this.ppChbxAddBlankPgs.Size = new System.Drawing.Size(324, 21); this.ppChbxAddBlankPgs.TabIndex = 66; this.ppChbxAddBlankPgs.Text = "Add Blank Pages When Using Duplex Foldouts"; this.ppChbxAddBlankPgs.UseVisualStyleBackColor = false; @@ -1437,10 +1691,10 @@ namespace VEPROMS this.ppChbxAlwaysViewPDF.AutoSize = true; this.ppChbxAlwaysViewPDF.BackColor = System.Drawing.Color.Transparent; this.ppChbxAlwaysViewPDF.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysViewPDFAfterCreate", true)); - this.ppChbxAlwaysViewPDF.Location = new System.Drawing.Point(9, 263); - this.ppChbxAlwaysViewPDF.Margin = new System.Windows.Forms.Padding(2); + this.ppChbxAlwaysViewPDF.Location = new System.Drawing.Point(12, 324); + this.ppChbxAlwaysViewPDF.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppChbxAlwaysViewPDF.Name = "ppChbxAlwaysViewPDF"; - this.ppChbxAlwaysViewPDF.Size = new System.Drawing.Size(175, 17); + this.ppChbxAlwaysViewPDF.Size = new System.Drawing.Size(227, 21); this.ppChbxAlwaysViewPDF.TabIndex = 37; this.ppChbxAlwaysViewPDF.Text = "Always View PDF after Creation"; this.ppChbxAlwaysViewPDF.UseVisualStyleBackColor = false; @@ -1450,10 +1704,10 @@ namespace VEPROMS this.ppChbxAlwaysOvrWrtPDF.AutoSize = true; this.ppChbxAlwaysOvrWrtPDF.BackColor = System.Drawing.Color.Transparent; this.ppChbxAlwaysOvrWrtPDF.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.docVersionConfigBindingSource, "Print_AlwaysOverwritePDF", true)); - this.ppChbxAlwaysOvrWrtPDF.Location = new System.Drawing.Point(9, 241); - this.ppChbxAlwaysOvrWrtPDF.Margin = new System.Windows.Forms.Padding(2); + this.ppChbxAlwaysOvrWrtPDF.Location = new System.Drawing.Point(12, 297); + this.ppChbxAlwaysOvrWrtPDF.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppChbxAlwaysOvrWrtPDF.Name = "ppChbxAlwaysOvrWrtPDF"; - this.ppChbxAlwaysOvrWrtPDF.Size = new System.Drawing.Size(131, 17); + this.ppChbxAlwaysOvrWrtPDF.Size = new System.Drawing.Size(168, 21); this.ppChbxAlwaysOvrWrtPDF.TabIndex = 36; this.ppChbxAlwaysOvrWrtPDF.Text = "Always Overwrite PDF"; this.ppChbxAlwaysOvrWrtPDF.UseVisualStyleBackColor = false; @@ -1471,10 +1725,11 @@ namespace VEPROMS this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnOverdPrnPenBoldWidth); this.ppGrpbxPrnAdj.Controls.Add(this.label21); this.ppGrpbxPrnAdj.Controls.Add(this.ppNumUpDwnOvrdPrnPenULineWidth); - this.ppGrpbxPrnAdj.Location = new System.Drawing.Point(8, 141); - this.ppGrpbxPrnAdj.Margin = new System.Windows.Forms.Padding(2); + this.ppGrpbxPrnAdj.DisabledBackColor = System.Drawing.Color.Empty; + this.ppGrpbxPrnAdj.Location = new System.Drawing.Point(11, 174); + this.ppGrpbxPrnAdj.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.ppGrpbxPrnAdj.Name = "ppGrpbxPrnAdj"; - this.ppGrpbxPrnAdj.Size = new System.Drawing.Size(467, 97); + this.ppGrpbxPrnAdj.Size = new System.Drawing.Size(622, 119); // // // @@ -1513,85 +1768,6 @@ namespace VEPROMS this.tiOutputSettings.Name = "tiOutputSettings"; this.tiOutputSettings.Text = "Output Settings"; // - // tabControlPanel5 - // - this.tabControlPanel5.AutoScroll = true; - this.tabControlPanel5.Controls.Add(this.ppGrdLibDocList); - this.tabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel5.Location = new System.Drawing.Point(0, 22); - this.tabControlPanel5.Margin = new System.Windows.Forms.Padding(2); - this.tabControlPanel5.Name = "tabControlPanel5"; - this.tabControlPanel5.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel5.Size = new System.Drawing.Size(502, 315); - this.tabControlPanel5.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); - this.tabControlPanel5.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); - this.tabControlPanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel5.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(146)))), ((int)(((byte)(165)))), ((int)(((byte)(199))))); - this.tabControlPanel5.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tabControlPanel5.Style.GradientAngle = 90; - this.tabControlPanel5.TabIndex = 5; - this.tabControlPanel5.TabItem = this.tiLibDocs; - this.tabControlPanel5.Enter += new System.EventHandler(this.tabpage_Enter); - // - // ppGrdLibDocList - // - this.ppGrdLibDocList.AllowUserToAddRows = false; - this.ppGrdLibDocList.AutoGenerateColumns = false; - this.ppGrdLibDocList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.ppGrdLibDocList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - 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; - 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; - this.ppGrdLibDocList.Location = new System.Drawing.Point(1, 1); - this.ppGrdLibDocList.Margin = new System.Windows.Forms.Padding(2); - this.ppGrdLibDocList.Name = "ppGrdLibDocList"; - this.ppGrdLibDocList.RowHeadersVisible = false; - this.ppGrdLibDocList.RowTemplate.Height = 24; - this.ppGrdLibDocList.SelectAllSignVisible = false; - this.ppGrdLibDocList.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.ppGrdLibDocList.Size = new System.Drawing.Size(500, 313); - this.ppGrdLibDocList.TabIndex = 1; - // - // documentEntryCountDataGridViewTextBoxColumn - // - this.documentEntryCountDataGridViewTextBoxColumn.DataPropertyName = "DocumentEntryCount"; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.documentEntryCountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle1; - this.documentEntryCountDataGridViewTextBoxColumn.HeaderText = "Number of Usages"; - this.documentEntryCountDataGridViewTextBoxColumn.Name = "documentEntryCountDataGridViewTextBoxColumn"; - this.documentEntryCountDataGridViewTextBoxColumn.ReadOnly = true; - this.documentEntryCountDataGridViewTextBoxColumn.Width = 95; - // - // libTitleDataGridViewTextBoxColumn - // - this.libTitleDataGridViewTextBoxColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - this.libTitleDataGridViewTextBoxColumn.DataPropertyName = "LibTitle"; - this.libTitleDataGridViewTextBoxColumn.HeaderText = "Library Document Title"; - this.libTitleDataGridViewTextBoxColumn.Name = "libTitleDataGridViewTextBoxColumn"; - this.libTitleDataGridViewTextBoxColumn.ReadOnly = true; - // - // documentInfoListBindingSource - // - this.documentInfoListBindingSource.DataSource = typeof(VEPROMS.CSLA.Library.DocumentInfo); - // - // tiLibDocs - // - this.tiLibDocs.AttachedControl = this.tabControlPanel5; - this.tiLibDocs.Name = "tiLibDocs"; - this.tiLibDocs.Text = "Library Documents"; - // // tcpApplicability // this.tcpApplicability.Controls.Add(this.label28); @@ -1615,12 +1791,13 @@ namespace VEPROMS this.tcpApplicability.Controls.Add(this.textBox2); this.tcpApplicability.Controls.Add(this.textBox1); this.tcpApplicability.Controls.Add(this.panel1); + this.tcpApplicability.DisabledBackColor = System.Drawing.Color.Empty; this.tcpApplicability.Dock = System.Windows.Forms.DockStyle.Fill; - this.tcpApplicability.Location = new System.Drawing.Point(0, 22); - this.tcpApplicability.Margin = new System.Windows.Forms.Padding(2); + this.tcpApplicability.Location = new System.Drawing.Point(0, 24); + this.tcpApplicability.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.tcpApplicability.Name = "tcpApplicability"; - this.tcpApplicability.Padding = new System.Windows.Forms.Padding(1); - this.tcpApplicability.Size = new System.Drawing.Size(502, 315); + this.tcpApplicability.Padding = new System.Windows.Forms.Padding(2); + this.tcpApplicability.Size = new System.Drawing.Size(684, 390); this.tcpApplicability.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(253)))), ((int)(((byte)(254))))); this.tcpApplicability.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(157)))), ((int)(((byte)(188)))), ((int)(((byte)(227))))); this.tcpApplicability.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; @@ -1635,10 +1812,9 @@ namespace VEPROMS // this.label28.AutoSize = true; this.label28.BackColor = System.Drawing.Color.Transparent; - this.label28.Location = new System.Drawing.Point(160, 161); - this.label28.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label28.Location = new System.Drawing.Point(213, 198); this.label28.Name = "label28"; - this.label28.Size = new System.Drawing.Size(54, 13); + this.label28.Size = new System.Drawing.Size(70, 17); this.label28.TabIndex = 21; this.label28.Text = "Set Name"; // @@ -1646,10 +1822,9 @@ namespace VEPROMS // this.label27.AutoSize = true; this.label27.BackColor = System.Drawing.Color.Transparent; - this.label27.Location = new System.Drawing.Point(177, 140); - this.label27.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label27.Location = new System.Drawing.Point(236, 172); this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(37, 13); + this.label27.Size = new System.Drawing.Size(46, 17); this.label27.TabIndex = 20; this.label27.Text = "Set ID"; // @@ -1657,10 +1832,9 @@ namespace VEPROMS // this.label26.AutoSize = true; this.label26.BackColor = System.Drawing.Color.Transparent; - this.label26.Location = new System.Drawing.Point(118, 119); - this.label26.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label26.Location = new System.Drawing.Point(157, 146); this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(96, 13); + this.label26.Size = new System.Drawing.Size(128, 17); this.label26.TabIndex = 19; this.label26.Text = "Procedure Number"; // @@ -1668,10 +1842,9 @@ namespace VEPROMS // this.label25.AutoSize = true; this.label25.BackColor = System.Drawing.Color.Transparent; - this.label25.Location = new System.Drawing.Point(129, 85); - this.label25.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label25.Location = new System.Drawing.Point(172, 105); this.label25.Name = "label25"; - this.label25.Size = new System.Drawing.Size(28, 13); + this.label25.Size = new System.Drawing.Size(35, 17); this.label25.TabIndex = 18; this.label25.Text = "Text"; // @@ -1679,10 +1852,9 @@ namespace VEPROMS // this.label24.AutoSize = true; this.label24.BackColor = System.Drawing.Color.Transparent; - this.label24.Location = new System.Drawing.Point(118, 64); - this.label24.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label24.Location = new System.Drawing.Point(157, 78); this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(44, 13); + this.label24.Size = new System.Drawing.Size(58, 17); this.label24.TabIndex = 17; this.label24.Text = "Number"; // @@ -1690,10 +1862,9 @@ namespace VEPROMS // this.label23.AutoSize = true; this.label23.BackColor = System.Drawing.Color.Transparent; - this.label23.Location = new System.Drawing.Point(124, 44); - this.label23.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label23.Location = new System.Drawing.Point(165, 54); this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(35, 13); + this.label23.Size = new System.Drawing.Size(45, 17); this.label23.TabIndex = 16; this.label23.Text = "Name"; // @@ -1701,10 +1872,9 @@ namespace VEPROMS // this.label16.AutoSize = true; this.label16.BackColor = System.Drawing.Color.Transparent; - this.label16.Location = new System.Drawing.Point(136, 23); - this.label16.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label16.Location = new System.Drawing.Point(181, 28); this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(18, 13); + this.label16.Size = new System.Drawing.Size(21, 17); this.label16.TabIndex = 15; this.label16.Text = "ID"; // @@ -1712,10 +1882,9 @@ namespace VEPROMS // this.label8.AutoSize = true; this.label8.BackColor = System.Drawing.Color.Transparent; - this.label8.Location = new System.Drawing.Point(330, 6); - this.label8.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label8.Location = new System.Drawing.Point(440, 7); this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(128, 13); + this.label8.Size = new System.Drawing.Size(166, 17); this.label8.TabIndex = 14; this.label8.Text = "Other Unit/Train/Channel"; // @@ -1723,20 +1892,19 @@ namespace VEPROMS // this.label7.AutoSize = true; this.label7.BackColor = System.Drawing.Color.Transparent; - this.label7.Location = new System.Drawing.Point(165, 6); - this.label7.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); + this.label7.Location = new System.Drawing.Point(220, 7); this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(99, 13); + this.label7.Size = new System.Drawing.Size(126, 17); this.label7.TabIndex = 13; this.label7.Text = "Unit/Train/Channel"; // // textBox11 // this.textBox11.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "OtherText", true)); - this.textBox11.Location = new System.Drawing.Point(330, 83); - this.textBox11.Margin = new System.Windows.Forms.Padding(2); + this.textBox11.Location = new System.Drawing.Point(440, 102); + this.textBox11.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox11.Name = "textBox11"; - this.textBox11.Size = new System.Drawing.Size(151, 20); + this.textBox11.Size = new System.Drawing.Size(200, 22); this.textBox11.TabIndex = 12; // // bsMiniApple @@ -1746,91 +1914,91 @@ namespace VEPROMS // textBox10 // this.textBox10.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "OtherNumber", true)); - this.textBox10.Location = new System.Drawing.Point(330, 62); - this.textBox10.Margin = new System.Windows.Forms.Padding(2); + this.textBox10.Location = new System.Drawing.Point(440, 76); + this.textBox10.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox10.Name = "textBox10"; - this.textBox10.Size = new System.Drawing.Size(151, 20); + this.textBox10.Size = new System.Drawing.Size(200, 22); this.textBox10.TabIndex = 11; // // textBox9 // this.textBox9.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "OtherName", true)); - this.textBox9.Location = new System.Drawing.Point(330, 41); - this.textBox9.Margin = new System.Windows.Forms.Padding(2); + this.textBox9.Location = new System.Drawing.Point(440, 50); + this.textBox9.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox9.Name = "textBox9"; - this.textBox9.Size = new System.Drawing.Size(151, 20); + this.textBox9.Size = new System.Drawing.Size(200, 22); this.textBox9.TabIndex = 10; // // textBox8 // this.textBox8.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "OtherID", true)); - this.textBox8.Location = new System.Drawing.Point(330, 20); - this.textBox8.Margin = new System.Windows.Forms.Padding(2); + this.textBox8.Location = new System.Drawing.Point(440, 25); + this.textBox8.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox8.Name = "textBox8"; - this.textBox8.Size = new System.Drawing.Size(151, 20); + this.textBox8.Size = new System.Drawing.Size(200, 22); this.textBox8.TabIndex = 9; // // textBox7 // this.textBox7.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "SetName", true)); - this.textBox7.Location = new System.Drawing.Point(225, 158); - this.textBox7.Margin = new System.Windows.Forms.Padding(2); + this.textBox7.Location = new System.Drawing.Point(300, 194); + this.textBox7.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox7.Name = "textBox7"; - this.textBox7.Size = new System.Drawing.Size(151, 20); + this.textBox7.Size = new System.Drawing.Size(200, 22); this.textBox7.TabIndex = 8; // // textBox6 // this.textBox6.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "SetID", true)); - this.textBox6.Location = new System.Drawing.Point(225, 137); - this.textBox6.Margin = new System.Windows.Forms.Padding(2); + this.textBox6.Location = new System.Drawing.Point(300, 169); + this.textBox6.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox6.Name = "textBox6"; - this.textBox6.Size = new System.Drawing.Size(151, 20); + this.textBox6.Size = new System.Drawing.Size(200, 22); this.textBox6.TabIndex = 7; // // textBox5 // this.textBox5.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "ProcedureNumber", true)); - this.textBox5.Location = new System.Drawing.Point(225, 116); - this.textBox5.Margin = new System.Windows.Forms.Padding(2); + this.textBox5.Location = new System.Drawing.Point(300, 142); + this.textBox5.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox5.Name = "textBox5"; - this.textBox5.Size = new System.Drawing.Size(151, 20); + this.textBox5.Size = new System.Drawing.Size(200, 22); this.textBox5.TabIndex = 6; // // textBox4 // this.textBox4.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "Text", true)); - this.textBox4.Location = new System.Drawing.Point(165, 83); - this.textBox4.Margin = new System.Windows.Forms.Padding(2); + this.textBox4.Location = new System.Drawing.Point(220, 102); + this.textBox4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox4.Name = "textBox4"; - this.textBox4.Size = new System.Drawing.Size(151, 20); + this.textBox4.Size = new System.Drawing.Size(200, 22); this.textBox4.TabIndex = 5; // // textBox3 // this.textBox3.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "Number", true)); - this.textBox3.Location = new System.Drawing.Point(165, 62); - this.textBox3.Margin = new System.Windows.Forms.Padding(2); + this.textBox3.Location = new System.Drawing.Point(220, 76); + this.textBox3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox3.Name = "textBox3"; - this.textBox3.Size = new System.Drawing.Size(151, 20); + this.textBox3.Size = new System.Drawing.Size(200, 22); this.textBox3.TabIndex = 4; // // textBox2 // this.textBox2.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "Name", true)); - this.textBox2.Location = new System.Drawing.Point(165, 41); - this.textBox2.Margin = new System.Windows.Forms.Padding(2); + this.textBox2.Location = new System.Drawing.Point(220, 50); + this.textBox2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox2.Name = "textBox2"; - this.textBox2.Size = new System.Drawing.Size(151, 20); + this.textBox2.Size = new System.Drawing.Size(200, 22); this.textBox2.TabIndex = 3; // // textBox1 // this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bsMiniApple, "ID", true)); - this.textBox1.Location = new System.Drawing.Point(165, 20); - this.textBox1.Margin = new System.Windows.Forms.Padding(2); + this.textBox1.Location = new System.Drawing.Point(220, 25); + this.textBox1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.textBox1.Name = "textBox1"; - this.textBox1.Size = new System.Drawing.Size(151, 20); + this.textBox1.Size = new System.Drawing.Size(200, 22); this.textBox1.TabIndex = 2; // // panel1 @@ -1840,10 +2008,10 @@ namespace VEPROMS this.panel1.Controls.Add(this.lbApplicabilities); this.panel1.Controls.Add(this.label5); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; - this.panel1.Location = new System.Drawing.Point(1, 1); - this.panel1.Margin = new System.Windows.Forms.Padding(2); + this.panel1.Location = new System.Drawing.Point(2, 2); + this.panel1.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(112, 313); + this.panel1.Size = new System.Drawing.Size(149, 386); this.panel1.TabIndex = 1; // // panel2 @@ -1851,19 +2019,19 @@ namespace VEPROMS this.panel2.Controls.Add(this.btnDelApple); this.panel2.Controls.Add(this.btnNewApple); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel2.Location = new System.Drawing.Point(0, 290); - this.panel2.Margin = new System.Windows.Forms.Padding(2); + this.panel2.Location = new System.Drawing.Point(0, 358); + this.panel2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(112, 23); + this.panel2.Size = new System.Drawing.Size(149, 28); this.panel2.TabIndex = 1; // // btnDelApple // this.btnDelApple.Dock = System.Windows.Forms.DockStyle.Fill; - this.btnDelApple.Location = new System.Drawing.Point(56, 0); - this.btnDelApple.Margin = new System.Windows.Forms.Padding(2); + this.btnDelApple.Location = new System.Drawing.Point(75, 0); + this.btnDelApple.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnDelApple.Name = "btnDelApple"; - this.btnDelApple.Size = new System.Drawing.Size(56, 23); + this.btnDelApple.Size = new System.Drawing.Size(74, 28); this.btnDelApple.TabIndex = 1; this.btnDelApple.Text = "Remove"; this.btnDelApple.UseVisualStyleBackColor = true; @@ -1873,9 +2041,9 @@ namespace VEPROMS // this.btnNewApple.Dock = System.Windows.Forms.DockStyle.Left; this.btnNewApple.Location = new System.Drawing.Point(0, 0); - this.btnNewApple.Margin = new System.Windows.Forms.Padding(2); + this.btnNewApple.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnNewApple.Name = "btnNewApple"; - this.btnNewApple.Size = new System.Drawing.Size(56, 23); + this.btnNewApple.Size = new System.Drawing.Size(75, 28); this.btnNewApple.TabIndex = 0; this.btnNewApple.Text = "New"; this.btnNewApple.UseVisualStyleBackColor = true; @@ -1886,10 +2054,11 @@ namespace VEPROMS this.lbApplicabilities.DataSource = this.bsApples; this.lbApplicabilities.Dock = System.Windows.Forms.DockStyle.Fill; this.lbApplicabilities.FormattingEnabled = true; - this.lbApplicabilities.Location = new System.Drawing.Point(0, 17); - this.lbApplicabilities.Margin = new System.Windows.Forms.Padding(2); + this.lbApplicabilities.ItemHeight = 16; + this.lbApplicabilities.Location = new System.Drawing.Point(0, 20); + this.lbApplicabilities.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.lbApplicabilities.Name = "lbApplicabilities"; - this.lbApplicabilities.Size = new System.Drawing.Size(112, 296); + this.lbApplicabilities.Size = new System.Drawing.Size(149, 366); this.lbApplicabilities.TabIndex = 0; this.lbApplicabilities.SelectedIndexChanged += new System.EventHandler(this.lbApplicabilities_SelectedIndexChanged); // @@ -1902,9 +2071,8 @@ namespace VEPROMS this.label5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.label5.Dock = System.Windows.Forms.DockStyle.Top; this.label5.Location = new System.Drawing.Point(0, 0); - this.label5.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(112, 17); + this.label5.Size = new System.Drawing.Size(149, 20); this.label5.TabIndex = 0; this.label5.Text = "Applicabilities"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1918,27 +2086,41 @@ namespace VEPROMS // panVerBtns // this.panVerBtns.BackColor = System.Drawing.Color.Transparent; + this.panVerBtns.Controls.Add(this.btnEnhanced); this.panVerBtns.Controls.Add(this.btnApplicability); this.panVerBtns.Controls.Add(this.btnLibDocs); this.panVerBtns.Controls.Add(this.btnFmtSettings); this.panVerBtns.Controls.Add(this.btnOutputSettings); this.panVerBtns.Controls.Add(this.btnRefObjs); this.panVerBtns.Controls.Add(this.btnGeneral); - this.panVerBtns.Location = new System.Drawing.Point(5, 2); - this.panVerBtns.Margin = new System.Windows.Forms.Padding(2); + this.panVerBtns.Location = new System.Drawing.Point(7, 2); + this.panVerBtns.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.panVerBtns.Name = "panVerBtns"; - this.panVerBtns.Size = new System.Drawing.Size(151, 280); + this.panVerBtns.Size = new System.Drawing.Size(201, 345); this.panVerBtns.TabIndex = 27; // + // btnEnhanced + // + this.btnEnhanced.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btnEnhanced.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btnEnhanced.Dock = System.Windows.Forms.DockStyle.Top; + this.btnEnhanced.Location = new System.Drawing.Point(0, 130); + this.btnEnhanced.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); + this.btnEnhanced.Name = "btnEnhanced"; + this.btnEnhanced.Size = new System.Drawing.Size(201, 18); + this.btnEnhanced.TabIndex = 99; + this.btnEnhanced.Text = "Enhanced"; + this.btnEnhanced.Click += new System.EventHandler(this.btnEnhanced_Click); + // // btnApplicability // this.btnApplicability.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnApplicability.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnApplicability.Dock = System.Windows.Forms.DockStyle.Top; - this.btnApplicability.Location = new System.Drawing.Point(0, 92); - this.btnApplicability.Margin = new System.Windows.Forms.Padding(2); + this.btnApplicability.Location = new System.Drawing.Point(0, 112); + this.btnApplicability.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnApplicability.Name = "btnApplicability"; - this.btnApplicability.Size = new System.Drawing.Size(151, 15); + this.btnApplicability.Size = new System.Drawing.Size(201, 18); this.btnApplicability.TabIndex = 98; this.btnApplicability.Text = "Applicability"; this.btnApplicability.Click += new System.EventHandler(this.btnApplicability_Click); @@ -1948,10 +2130,10 @@ namespace VEPROMS this.btnLibDocs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnLibDocs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnLibDocs.Dock = System.Windows.Forms.DockStyle.Top; - this.btnLibDocs.Location = new System.Drawing.Point(0, 73); - this.btnLibDocs.Margin = new System.Windows.Forms.Padding(2); + this.btnLibDocs.Location = new System.Drawing.Point(0, 89); + this.btnLibDocs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnLibDocs.Name = "btnLibDocs"; - this.btnLibDocs.Size = new System.Drawing.Size(151, 19); + this.btnLibDocs.Size = new System.Drawing.Size(201, 23); this.btnLibDocs.TabIndex = 97; this.btnLibDocs.Text = "Library Documents"; this.btnLibDocs.Click += new System.EventHandler(this.btnLibDocs_Click); @@ -1961,10 +2143,10 @@ namespace VEPROMS this.btnFmtSettings.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnFmtSettings.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnFmtSettings.Dock = System.Windows.Forms.DockStyle.Top; - this.btnFmtSettings.Location = new System.Drawing.Point(0, 54); - this.btnFmtSettings.Margin = new System.Windows.Forms.Padding(2); + this.btnFmtSettings.Location = new System.Drawing.Point(0, 66); + this.btnFmtSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnFmtSettings.Name = "btnFmtSettings"; - this.btnFmtSettings.Size = new System.Drawing.Size(151, 19); + this.btnFmtSettings.Size = new System.Drawing.Size(201, 23); this.btnFmtSettings.TabIndex = 96; this.btnFmtSettings.Text = "Format Settings"; this.btnFmtSettings.Click += new System.EventHandler(this.btnFmtSettings_Click); @@ -1974,10 +2156,10 @@ namespace VEPROMS this.btnOutputSettings.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnOutputSettings.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnOutputSettings.Dock = System.Windows.Forms.DockStyle.Top; - this.btnOutputSettings.Location = new System.Drawing.Point(0, 35); - this.btnOutputSettings.Margin = new System.Windows.Forms.Padding(2); + this.btnOutputSettings.Location = new System.Drawing.Point(0, 43); + this.btnOutputSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnOutputSettings.Name = "btnOutputSettings"; - this.btnOutputSettings.Size = new System.Drawing.Size(151, 19); + this.btnOutputSettings.Size = new System.Drawing.Size(201, 23); this.btnOutputSettings.TabIndex = 95; this.btnOutputSettings.Text = "Output Settings"; this.btnOutputSettings.Click += new System.EventHandler(this.btnOutputSettings_Click); @@ -1987,10 +2169,10 @@ namespace VEPROMS this.btnRefObjs.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.btnRefObjs.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnRefObjs.Dock = System.Windows.Forms.DockStyle.Top; - this.btnRefObjs.Location = new System.Drawing.Point(0, 19); - this.btnRefObjs.Margin = new System.Windows.Forms.Padding(2); + this.btnRefObjs.Location = new System.Drawing.Point(0, 23); + this.btnRefObjs.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnRefObjs.Name = "btnRefObjs"; - this.btnRefObjs.Size = new System.Drawing.Size(151, 16); + this.btnRefObjs.Size = new System.Drawing.Size(201, 20); this.btnRefObjs.TabIndex = 94; this.btnRefObjs.Text = "Referenced Objects"; this.btnRefObjs.Click += new System.EventHandler(this.btnRefObjs_Click); @@ -2001,9 +2183,9 @@ namespace VEPROMS this.btnGeneral.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnGeneral.Dock = System.Windows.Forms.DockStyle.Top; this.btnGeneral.Location = new System.Drawing.Point(0, 0); - this.btnGeneral.Margin = new System.Windows.Forms.Padding(2); + this.btnGeneral.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.btnGeneral.Name = "btnGeneral"; - this.btnGeneral.Size = new System.Drawing.Size(151, 19); + this.btnGeneral.Size = new System.Drawing.Size(201, 23); this.btnGeneral.TabIndex = 93; this.btnGeneral.Text = "General"; this.btnGeneral.Click += new System.EventHandler(this.btnGeneral_Click); @@ -2014,12 +2196,12 @@ namespace VEPROMS // // frmVersionsProperties // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 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(662, 370); + this.ClientSize = new System.Drawing.Size(844, 461); this.ControlBox = false; this.Controls.Add(this.panVerBtns); this.Controls.Add(this.tcVersions); @@ -2029,7 +2211,7 @@ namespace VEPROMS this.Controls.Add(this.ppBtnOK); this.DoubleBuffered = true; this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; - this.Margin = new System.Windows.Forms.Padding(2); + this.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmVersionsProperties"; @@ -2050,20 +2232,24 @@ namespace VEPROMS this.ppGpbxUserSpecTxt.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tcVersions)).EndInit(); this.tcVersions.ResumeLayout(false); - this.tcpFormatSettings.ResumeLayout(false); - this.tcpFormatSettings.PerformLayout(); + this.tabControlPanel1.ResumeLayout(false); + this.tabControlPanel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.bsMiniEnhanced)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bsEnhanced)).EndInit(); this.tcpGeneral.ResumeLayout(false); this.tcpGeneral.PerformLayout(); + this.tabControlPanel5.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).EndInit(); this.tcpRefereceObjects.ResumeLayout(false); this.tcpRefereceObjects.PerformLayout(); this.ppGpbxUpROvals.ResumeLayout(false); + this.tcpFormatSettings.ResumeLayout(false); + this.tcpFormatSettings.PerformLayout(); this.tcpOutputSettings.ResumeLayout(false); this.tcpOutputSettings.PerformLayout(); this.ppGrpbxPrnAdj.ResumeLayout(false); this.ppGrpbxPrnAdj.PerformLayout(); - this.tabControlPanel5.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).EndInit(); this.tcpApplicability.ResumeLayout(false); this.tcpApplicability.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.bsMiniApple)).EndInit(); @@ -2221,5 +2407,22 @@ namespace VEPROMS private System.Windows.Forms.RichTextBox ppTxbxUnitNum; private System.Windows.Forms.Label ppLblUnitNum; private DevComponents.DotNetBar.ButtonX btnPhoneList; + private DevComponents.DotNetBar.TabControlPanel tabControlPanel1; + private DevComponents.DotNetBar.TabItem tiEnhanced; + private DevComponents.DotNetBar.ButtonX btnEnhanced; + private System.Windows.Forms.BindingSource bsEnhanced; + private System.Windows.Forms.ListBox lbEnhanced; + private System.Windows.Forms.Label lblEnhSet; + private System.Windows.Forms.Label lblEnhPdfXOff; + private System.Windows.Forms.Label lblEnhPdfToken; + private System.Windows.Forms.Label lblEnhType; + private System.Windows.Forms.Label lblEnhName; + private System.Windows.Forms.TextBox tbEnhPdfXOff; + private System.Windows.Forms.TextBox tbEnhPdfToken; + private System.Windows.Forms.TextBox tbEnhType; + private System.Windows.Forms.TextBox tbEnhName; + private System.Windows.Forms.BindingSource bsMiniEnhanced; + private System.Windows.Forms.ComboBox cbxEnhVersions; + private System.Windows.Forms.Label lblEnhDoc; } } \ No newline at end of file diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs index 94cec880..4a643608 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.cs +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.cs @@ -22,6 +22,7 @@ namespace VEPROMS { private List _Apples; private List _DeletedApples; + private List _Enhanced; private bool _Initializing = false; private DocVersionConfig _DocVersionConfig; @@ -78,7 +79,7 @@ namespace VEPROMS } max++; System.Xml.XmlNode nn = xd.CreateElement("Slave"); - AddSlaveAttribute(nn,"index",max.ToString()); + AddSlaveAttribute(nn, "index", max.ToString()); AddSlaveAttribute(nn, "ID", mc.ID); AddSlaveAttribute(nn, "Name", mc.Name); AddSlaveAttribute(nn, "Number", mc.Number); @@ -94,7 +95,7 @@ namespace VEPROMS sn.AppendChild(nn); return xd.OuterXml; } - private void AddSlaveAttribute(System.Xml.XmlNode nn,string name,string value) + private void AddSlaveAttribute(System.Xml.XmlNode nn, string name, string value) { System.Xml.XmlAttribute xa = nn.OwnerDocument.CreateAttribute(name); xa.InnerText = value; @@ -106,7 +107,7 @@ namespace VEPROMS { if (_DeletedApples != null && _DeletedApples.Count > 0) { - foreach(MiniConfig mc in _DeletedApples) + foreach (MiniConfig mc in _DeletedApples) _DocVersionConfig.RemoveSlave(mc.Index); } foreach (MiniConfig mc in _Apples) @@ -138,6 +139,27 @@ namespace VEPROMS } } } + if (_Enhanced != null) + { + foreach (EnhancedMiniConfig emc in _Enhanced) + { + if (emc.IsDirty) + { + foreach (DVEnhancedDocument dved in _DocVersionConfig.MyEnhancedDocuments) + { + if (dved.Type == Convert.ToInt32(emc.Type)) + { + // pdfxoffset must be int? how to check + dved.Name = emc.Name; + dved.PdfToken = emc.PdfToken; + dved.PdfX = Convert.ToInt32(emc.PdfXOffset); + } + } + } + } + _DocVersionConfig.SaveDVEnhancedDocuments(); + } + _DocVersionConfig.Print_UnitNumberForPageList = ppTxbxUnitNum.Text; docVersionConfigBindingSource.EndEdit(); @@ -296,7 +318,7 @@ namespace VEPROMS ppCmbxProcSetType.DisplayMember = "Description"; ppCmbxProcSetType.ValueMember = "EValue"; ppCmbxProcSetType.Enabled = false; // maybe enable this if used for version creation - + // check active format to see if the unit number text box on the format tab is visible. if (_DocVersionConfig.MyDocVersion.MyDocVersionInfo.ActiveFormat.PlantFormat.FormatData.PrintData.UnitNumber) { @@ -355,35 +377,174 @@ namespace VEPROMS } else { - Button btnPC = new Button(); - btnPC.Text = "Add Applicability to Working Draft"; - btnPC.Width = 250; - btnPC.Location = new Point(25, 271); - btnPC.Parent = tcpGeneral; - btnPC.Click += new EventHandler(btnPC_Click); - btnApplicability.Visible = false; - tiApplicability.Visible = false; + Button btnPC = new Button(); + btnPC.Text = "Add Applicability to Working Draft"; + btnPC.Width = 250; + btnPC.Location = new Point(25, 271); + btnPC.Parent = tcpGeneral; + btnPC.Click += new EventHandler(btnPC_Click); + btnApplicability.Visible = false; + tiApplicability.Visible = false; } ppTxtBxPDFLoc.TextChanged += new EventHandler(ppTxtBxPDFLoc_TextChanged); //end add new applicability stuff lblProcSetRev.Visible = ppRTxtProcSetRev.Visible = _DocVersionConfig.MyDocVersion.MyDocVersionInfo.ActiveFormat.MyStepSectionPrintData.UseXtraRevNumber; - _Initializing = false; // the phone list button is only visible if the format has the print/phonelist format flag. btnPhoneList.Visible = _DocVersionConfig.MyDocVersion.MyDocVersionInfo.ActiveFormat.PlantFormat.FormatData.SectData.PrintPhoneList; - } - void btnPC_Click(object sender, EventArgs e) - { - if (MessageBox.Show(this, "Are you sure you want to add Applicability to this Working Draft?", "Add Applicability", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Stop) == DialogResult.Yes) - { - btnApplicability.Visible = true; - tiApplicability.Visible = true; - Button btnPC = (Button)sender; - btnPC.Visible = false; - btnApplicability_Click(sender, e); - } - } + InitEnhanced(); + _Initializing = false; + } + private void InitEnhanced() + { + // first determine if enhanced tab should be turned off: KBR HOW? + + + // get enhanced tab's data if: + // 1) hasEnhancedPO: this is source and format file has the purchase options for enhanced deviation or enhanced background + // 2) isEnhanced: this docversion has a config/enhanced node that defines it as an enhanced document. + bool hasEnhancedPO = true; // for now all can be enhanced + bool isEnhanced = (_DocVersionConfig.MyEnhancedDocuments != null && _DocVersionConfig.MyEnhancedDocuments.Count == 1 && _DocVersionConfig.MyEnhancedDocuments[0].Type == 0); + // isEnhanced is an already existing enhanced document. Only allow the user to change the Pdf settings: + if (isEnhanced) + { + _Enhanced = new List(); + // only display the data from the config setting. And only allow modify of PdfID and PdfXoffset + lbEnhanced.Visible = false; + lblEnhSet.Visible = false; + DocVersionInfo dvi = DocVersionInfo.Get(_DocVersionConfig.MyEnhancedDocuments[0].VersionID); + DVEnhancedDocument dvedUseData = _DocVersionConfig.MyEnhancedDocuments[0]; + DocVersionConfig dvc = dvi.MyConfig as DocVersionConfig; + EnhancedMiniConfig ecfg = new EnhancedMiniConfig(0, dvi.VersionID, "?", dvi.SearchDVPath, dvedUseData.Name, dvedUseData.Type.ToString(), dvedUseData.PdfToken, dvedUseData.PdfX.ToString()); + cbxEnhVersions.Items.Add(dvi.SearchDVPath); + tbEnhName.Enabled = false; + tbEnhType.Enabled = false; + _Enhanced.Add(ecfg); + bsMiniEnhanced.DataSource = _Enhanced; + cbxEnhVersions.SelectedIndex = 0; + cbxEnhVersions.Enabled = false; + } + // This is a source document that already has settings KBR ? - Can additions can be made + else if (hasEnhancedPO) + { + // first set up existing enhanced linked documents (this is a listbox on left of form) + _Enhanced = new List(); + lbEnhanced.Visible = true; + lblEnhSet.Visible = true; + foreach (DVEnhancedDocument dved in _DocVersionConfig.MyEnhancedDocuments) + { + DocVersionInfo dvi = DocVersionInfo.Get(dved.VersionID); + DocVersionConfig dvc = dvi.MyConfig as DocVersionConfig; + EnhancedMiniConfig ecfg = new EnhancedMiniConfig(0, dvi.VersionID, "?", dvi.SearchDVPath, dved.Name, dved.Type.ToString(), dved.PdfToken, dved.PdfX.ToString()); + cbxEnhVersions.Items.Add(dvi.SearchDVPath); + _Enhanced.Add(ecfg); + } + tbEnhName.Enabled = true; + tbEnhType.Enabled = false; + cbxEnhVersions.Enabled = false; + bsEnhanced.DataSource = _Enhanced; + if (cbxEnhVersions.Items.Count>0) cbxEnhVersions.SelectedIndex = 0; + if (lbEnhanced.Items.Count > 0) lbEnhanced.SelectedIndex = 0; + bsMiniEnhanced.DataSource = bsEnhanced.Current as EnhancedMiniConfig; + } + } + //private void InitEnhancedOld() + //{ + // // get enhanced tab's data if: + // // 1) hasEnhancedPO: this is source and format file has the purchase options for enhanced deviation or enhanced background + // // 2) isEnhanced: this docversion has a config/enhanced node that defines it as an enhanced document. + // bool hasEnhancedPO = true; + // //if (((_DocVersionConfig.MyDocVersion.MyDocVersionInfo.ActiveFormat.PlantFormat.FormatData.PurchaseOptions.Value & E_PurchaseOptions.EnhancedDeviations) == E_PurchaseOptions.EnhancedDeviations) + // // || ((_DocVersionConfig.MyDocVersion.MyDocVersionInfo.ActiveFormat.PlantFormat.FormatData.PurchaseOptions.Value & E_PurchaseOptions.EnhancedBackgrounds) == E_PurchaseOptions.EnhancedBackgrounds)) hasEnhancedPO = true; + // bool isEnhanced = (_DocVersionConfig.MyEnhancedDocuments != null && _DocVersionConfig.MyEnhancedDocuments.Count == 1 && _DocVersionConfig.MyEnhancedDocuments[0].Type == 0); + + // if (hasEnhancedPO || isEnhanced) + // { + // // need to filter the list and add only those that are set for the current doc version whose properties + // // we are working with, or that have no setting. (If the docversion has a source that is not this one, don't list) + // DocVersionInfoList dvil = DocVersionInfoList.Get(); + // _Enhanced = new List(); + // DVEnhancedDocument dvedUseData = null; + // int indxDataSource = 0; + // for (int ie = 0; ie < dvil.Count; ie++) + // { + // DocVersionInfo dvi = dvil[ie]; + // // get config items for filling in the data: + // DocVersionConfig dvc = dvi.MyConfig as DocVersionConfig; + // // need to see if it should be include + // bool includeit = false; + // if (isEnhanced && dvi.VersionID == _DocVersionConfig.MyDocVersion.VersionID) + // { + // dvedUseData = dvc.MyEnhancedDocuments[0]; + // includeit = true; + // } + // if (hasEnhancedPO && !isEnhanced) + // { + + // // if this docversion has no relationships, include it: + // if (dvc.MyEnhancedDocuments == null || dvc.MyEnhancedDocuments.Count == 0) + // includeit = true; + // else + // { + // //DVEnhancedDocuments dveds = _DocVersionConfig.MyEnhancedDocuments; + // //foreach (EnhancedDocument ed in sc.MyEnhancedDocuments) + // //{ + // // DVEnhancedDocument dved = dveds[ed.Type]; + // // AddLinkToEnhancedDocument(cb, yLocation, ed.ItemID, dved.PdfToken, dved.PdfX); + // //} + // foreach (DVEnhancedDocument ed in dvc.MyEnhancedDocuments) // config for enhanced + // { + // if (ed.VersionID == _DocVersionConfig.MyDocVersion.VersionID) + // { + // // the displayed data is the enhanced config item pointing to this one: + // foreach (DVEnhancedDocument sed in _DocVersionConfig.MyEnhancedDocuments) + // { + // if (sed.VersionID == dvi.VersionID) + // { + // dvedUseData = sed; + // break; + // } + // } + // if (dvedUseData != null) + // { + // includeit = true; + // break; + // } + // } + // } + // } + // } + // if (includeit) + // { + // // get config items for filling in the data: + // EnhancedMiniConfig ecfg = null; + // if (dvedUseData != null) + // ecfg = new EnhancedMiniConfig(indxDataSource, dvi.VersionID, "?", dvi.SearchDVPath, dvedUseData.Name, dvedUseData.Type.ToString(), dvedUseData.PdfToken, dvedUseData.PdfX.ToString()); + // else + // ecfg = new EnhancedMiniConfig(indxDataSource, dvi.VersionID, "?", dvi.SearchDVPath, "", "", "", ""); + // indxDataSource++; + // _Enhanced.Add(ecfg); + // dvedUseData = null; + // includeit = false; + // if (isEnhanced) break; + // } + // } + // bsEnhanced.DataSource = _Enhanced; + // } + //} + + void btnPC_Click(object sender, EventArgs e) + { + if (MessageBox.Show(this, "Are you sure you want to add Applicability to this Working Draft?", "Add Applicability", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Stop) == DialogResult.Yes) + { + btnApplicability.Visible = true; + tiApplicability.Visible = true; + Button btnPC = (Button)sender; + btnPC.Visible = false; + btnApplicability_Click(sender, e); + } + } // The following code was added to fix Bug B2013-117 void ppTxtBxPDFLoc_TextChanged(object sender, EventArgs e) { @@ -733,7 +894,7 @@ namespace VEPROMS { // Show or hide the labels containing the default values //if (!_Initializing) - defaultSettingsVisiblity(); + defaultSettingsVisiblity(); } /// @@ -834,9 +995,9 @@ namespace VEPROMS { if (defaultText != null && !(defaultText.Equals(""))) { - string deftext = string.Format("{0}", defaultText); - lbl.Text = deftext; - cmbo.WatermarkText = deftext; + string deftext = string.Format("{0}", defaultText); + lbl.Text = deftext; + cmbo.WatermarkText = deftext; } } @@ -891,7 +1052,7 @@ namespace VEPROMS } Cursor = Cursors.WaitCursor; SelectedROFst.ROTableUpdate += new ROFstInfoROTableUpdateEvent(roFstInfo_ROTableUpdate); - ROFst newrofst = ROFstInfo.UpdateRoFst(rdi, dva, _DocVersionConfig.MyDocVersion, SelectedROFst,DoProgressBarRefresh); + ROFst newrofst = ROFstInfo.UpdateRoFst(rdi, dva, _DocVersionConfig.MyDocVersion, SelectedROFst, DoProgressBarRefresh); SelectedROFst.ROTableUpdate -= new ROFstInfoROTableUpdateEvent(roFstInfo_ROTableUpdate); ppBtnUpRoVals.Enabled = _DocVersionConfig.MyDocVersion.NewerRoFst; Cursor = Cursors.Default; @@ -1127,8 +1288,8 @@ namespace VEPROMS { MiniConfig cfg = new MiniConfig(); cfg.Name = "New Applicability"; - if (_Apples == null) - _Apples = new List(); + if (_Apples == null) + _Apples = new List(); _Apples.Add(cfg); bsApples.DataSource = null; bsApples.DataSource = _Apples; @@ -1153,8 +1314,115 @@ namespace VEPROMS dlgPhoneList dlgPL = new dlgPhoneList(_DocVersionConfig); dlgPL.ShowDialog(); } - } + private void btnEnhanced_Click(object sender, EventArgs e) + { + ProcessButtonClick(tiEnhanced, btnEnhanced); + } + + private void lbEnhanced_SelectedIndexChanged(object sender, EventArgs e) + { + if (!_Initializing && lbEnhanced.SelectedIndex > -1) + { + bsMiniEnhanced.DataSource = bsEnhanced.Current as EnhancedMiniConfig; + cbxEnhVersions.SelectedIndex = lbEnhanced.SelectedIndex; + } + } + } + [XmlRoot("Enhanced")] + public class EnhancedMiniConfig + { + private static int lastindex = 0; + private bool _isDeleted; + [XmlIgnore] + public bool IsDeleted + { + get { return _isDeleted; } + set { _isDeleted = value; } + } + private bool _isDirty; + [XmlIgnore] + public bool IsDirty + { + get { return _isDirty; } + set { _isDirty = value; } + } + private int _index; + [XmlAttribute("index")] + public int Index + { + get { return _index; } + set { _index = value; IsDirty = true; } + } + private int _versionID; + [XmlAttribute("VersionID")] + public int VersionID + { + get { return _versionID; } + set { _versionID = value; IsDirty = true; } + } + private string _versionPathName; + [XmlAttribute("VersionPathName")] + public string VersionPathName + { + get { return _versionPathName; } + set { _versionPathName = value; IsDirty = true; } + } + private string _name; + [XmlAttribute("Name")] + public string Name + { + get { return _name; } + set { _name = value; IsDirty = true; } + } + private string _type; + [XmlAttribute("Type")] + public string Type + { + get { return _type; } + set { _type = value; IsDirty = true; } + } + private string _pdfToken; + [XmlAttribute("PdfToken")] + public string PdfToken + { + get { return _pdfToken; } + set { _pdfToken = value; IsDirty = true; } + } + private string _pdfXOffset; + [XmlAttribute("PdfXOffset")] + public string PdfXOffset + { + get { return _pdfXOffset; } + set { _pdfXOffset = value; IsDirty = true; } + } + public EnhancedMiniConfig() + { + _index = --lastindex; + _versionID = -1; + _versionPathName = string.Empty; + _name = string.Empty; + _type = string.Empty; + _pdfToken = string.Empty; + _pdfXOffset = string.Empty; + _isDirty = false; + } + public EnhancedMiniConfig(int index, int versionid, string id, string versionPathName, string name, string type, string pdftoken, string pdfxoffset) + { + _index = index; + _versionID = versionid; + _versionPathName = versionPathName; + _name = name; + _type = type; + _pdfToken = pdftoken; + _pdfXOffset = pdfxoffset; + _isDirty = false; + } + public override string ToString() + { + return Name; + } + } [XmlRoot("Slave")] public class MiniConfig { @@ -1273,7 +1541,7 @@ namespace VEPROMS _otherText = string.Empty; _isDirty = false; } - public MiniConfig(int index,string id,string name,string number,string text,string procedurenumber,string setid,string setname,string otherid,string othername,string othernumber,string othertext) + public MiniConfig(int index, string id, string name, string number, string text, string procedurenumber, string setid, string setname, string otherid, string othername, string othernumber, string othertext) { _index = index; _iD = id; diff --git a/PROMS/VEPROMS User Interface/frmVersionsProperties.resx b/PROMS/VEPROMS User Interface/frmVersionsProperties.resx index 5de1648e..bb0f82e3 100644 --- a/PROMS/VEPROMS User Interface/frmVersionsProperties.resx +++ b/PROMS/VEPROMS User Interface/frmVersionsProperties.resx @@ -154,7 +154,7 @@ Check "Show Default Settings" to display the "default" Change Bar Custom Message Check "Show Default Settings" to display the "default" Change Bar Custom Message (below the Line One selection box). - 17, 56 + 789, 65 @@ -188,7 +188,16 @@ Check "Show Default Settings" to display the "default" duplexing setting (below - Type in your own text to be placed next to the change bars. - 237, 56 + 17, 113 + + + 17, 65 + + + 817, 17 + + + 181, 113 @@ -206,9 +215,6 @@ Check "Show Default Settings" to display the "default" duplexing setting (below gg== - - 357, 56 - 118, 17 @@ -219,12 +225,12 @@ Check "Show Default Settings" to display the "default" duplexing setting (below 238, 17 - 770, 17 + 213, 65 - 969, 17 + 495, 65 - 87 + 118 \ No newline at end of file