This commit is contained in:
Kathy Ruffing 2010-11-30 16:02:09 +00:00
parent 16c1ebfdbb
commit 8a09fdbb0c
4 changed files with 164 additions and 154 deletions

View File

@ -281,6 +281,7 @@ namespace VEPROMS
private void ppBtnOK_Click(object sender, EventArgs e)
{
folderConfigBindingSource.EndEdit();
DialogResult = DialogResult.OK;
// Save Default settings for User
@ -312,6 +313,11 @@ namespace VEPROMS
private void ppRTxtName_Leave(object sender, EventArgs e)
{
if (ppRTxtName.Text == null || ppRTxtName.Text == "")
{
MessageBox.Show("Cannot have a blank Name.");
return;
}
if (ppRTxtName.Text != _FolderConfig.Name)
{
// need a folderinfo to check for unique names...

View File

@ -30,8 +30,8 @@ namespace VEPROMS
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVersionsProperties));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.ppBtnCancel = new System.Windows.Forms.Button();
this.ppBtnOK = new System.Windows.Forms.Button();
this.ppBtnDefaultChgBar = new DevComponents.DotNetBar.ButtonX();
@ -100,13 +100,19 @@ namespace VEPROMS
this.tcVersions = new DevComponents.DotNetBar.TabControl();
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.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel();
this.tiFmtSettings = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpOutputSettings = new DevComponents.DotNetBar.TabControlPanel();
this.ppChbxAlwaysViewPDF = new System.Windows.Forms.CheckBox();
this.ppChbxAlwaysOvrWrtPDF = new System.Windows.Forms.CheckBox();
this.ppGrpbxPrnAdj = new DevComponents.DotNetBar.Controls.GroupPanel();
this.tiOutputSettings = new DevComponents.DotNetBar.TabItem(this.components);
this.tcpFormatSettings = new DevComponents.DotNetBar.TabControlPanel();
this.tiFmtSettings = 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();
@ -114,12 +120,6 @@ 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.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.panVerBtns = new System.Windows.Forms.Panel();
this.btnLibDocs = new DevComponents.DotNetBar.ButtonX();
this.btnFmtSettings = new DevComponents.DotNetBar.ButtonX();
@ -140,14 +140,14 @@ namespace VEPROMS
((System.ComponentModel.ISupportInitialize)(this.tcVersions)).BeginInit();
this.tcVersions.SuspendLayout();
this.tcpGeneral.SuspendLayout();
this.tcpOutputSettings.SuspendLayout();
this.ppGrpbxPrnAdj.SuspendLayout();
this.tcpFormatSettings.SuspendLayout();
this.tcpRefereceObjects.SuspendLayout();
this.ppGpbxUpROvals.SuspendLayout();
this.tabControlPanel5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).BeginInit();
this.tcpFormatSettings.SuspendLayout();
this.tcpOutputSettings.SuspendLayout();
this.ppGrpbxPrnAdj.SuspendLayout();
this.tcpRefereceObjects.SuspendLayout();
this.ppGpbxUpROvals.SuspendLayout();
this.panVerBtns.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).BeginInit();
@ -157,7 +157,7 @@ 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(755, 398);
this.ppBtnCancel.Location = new System.Drawing.Point(781, 402);
this.ppBtnCancel.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnCancel.Name = "ppBtnCancel";
this.ppBtnCancel.Size = new System.Drawing.Size(75, 26);
@ -169,7 +169,7 @@ namespace VEPROMS
// ppBtnOK
//
this.ppBtnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.ppBtnOK.Location = new System.Drawing.Point(657, 398);
this.ppBtnOK.Location = new System.Drawing.Point(683, 402);
this.ppBtnOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppBtnOK.Name = "ppBtnOK";
this.ppBtnOK.Size = new System.Drawing.Size(75, 26);
@ -571,6 +571,7 @@ namespace VEPROMS
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);
//
// ppRTxtTitle
//
@ -873,7 +874,7 @@ namespace VEPROMS
//
this.ppCbShwDefSettings.BackgroundStyle.Class = "";
this.ppCbShwDefSettings.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
this.ppCbShwDefSettings.Location = new System.Drawing.Point(12, 410);
this.ppCbShwDefSettings.Location = new System.Drawing.Point(12, 414);
this.ppCbShwDefSettings.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.ppCbShwDefSettings.Name = "ppCbShwDefSettings";
this.ppCbShwDefSettings.Size = new System.Drawing.Size(205, 22);
@ -991,7 +992,7 @@ 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(9, 390);
this.ppLblDefSettingsInfo.Location = new System.Drawing.Point(9, 395);
this.ppLblDefSettingsInfo.Name = "ppLblDefSettingsInfo";
this.ppLblDefSettingsInfo.Size = new System.Drawing.Size(205, 17);
this.ppLblDefSettingsInfo.TabIndex = 25;
@ -1007,17 +1008,17 @@ namespace VEPROMS
| System.Windows.Forms.AnchorStyles.Right)));
this.tcVersions.BackColor = System.Drawing.Color.Transparent;
this.tcVersions.CanReorderTabs = true;
this.tcVersions.Controls.Add(this.tcpGeneral);
this.tcVersions.Controls.Add(this.tabControlPanel5);
this.tcVersions.Controls.Add(this.tcpFormatSettings);
this.tcVersions.Controls.Add(this.tcpOutputSettings);
this.tcVersions.Controls.Add(this.tcpRefereceObjects);
this.tcVersions.Location = new System.Drawing.Point(173, 4);
this.tcVersions.Controls.Add(this.tcpGeneral);
this.tcVersions.Controls.Add(this.tabControlPanel5);
this.tcVersions.Location = new System.Drawing.Point(212, 4);
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(657, 373);
this.tcVersions.Size = new System.Drawing.Size(657, 389);
this.tcVersions.Style = DevComponents.DotNetBar.eTabStripStyle.Office2007Dock;
this.tcVersions.TabIndex = 28;
this.tcVersions.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
@ -1047,7 +1048,7 @@ namespace VEPROMS
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(657, 349);
this.tcpGeneral.Size = new System.Drawing.Size(657, 365);
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;
@ -1064,6 +1065,119 @@ namespace VEPROMS
this.tiGeneral.Name = "tiGeneral";
this.tiGeneral.Text = "General";
//
// 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, 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(1);
this.tabControlPanel5.Size = new System.Drawing.Size(657, 365);
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(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(655, 363);
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";
//
// tcpFormatSettings
//
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, 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(1);
this.tcpFormatSettings.Size = new System.Drawing.Size(657, 365);
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);
//
// tiFmtSettings
//
this.tiFmtSettings.AttachedControl = this.tcpFormatSettings;
this.tiFmtSettings.Name = "tiFmtSettings";
this.tiFmtSettings.Text = "Format Settings";
//
// tcpOutputSettings
//
this.tcpOutputSettings.Controls.Add(this.ppTxtBxPDFLoc);
@ -1084,7 +1198,7 @@ namespace VEPROMS
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(657, 349);
this.tcpOutputSettings.Size = new System.Drawing.Size(657, 365);
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;
@ -1180,40 +1294,6 @@ namespace VEPROMS
this.tiOutputSettings.Name = "tiOutputSettings";
this.tiOutputSettings.Text = "Output Settings";
//
// tcpFormatSettings
//
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, 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(1);
this.tcpFormatSettings.Size = new System.Drawing.Size(657, 349);
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);
//
// tiFmtSettings
//
this.tiFmtSettings.AttachedControl = this.tcpFormatSettings;
this.tiFmtSettings.Name = "tiFmtSettings";
this.tiFmtSettings.Text = "Format Settings";
//
// tcpRefereceObjects
//
this.tcpRefereceObjects.Controls.Add(this.tbRoDb);
@ -1227,7 +1307,7 @@ namespace VEPROMS
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(657, 349);
this.tcpRefereceObjects.Size = new System.Drawing.Size(657, 365);
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;
@ -1332,85 +1412,6 @@ namespace VEPROMS
this.tiRefObjs.Name = "tiRefObjs";
this.tiRefObjs.Text = "Referenced Objects";
//
// 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, 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(1);
this.tabControlPanel5.Size = new System.Drawing.Size(657, 349);
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;
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.ControlText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.ppGrdLibDocList.DefaultCellStyle = dataGridViewCellStyle4;
this.ppGrdLibDocList.Dock = System.Windows.Forms.DockStyle.Fill;
this.ppGrdLibDocList.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
this.ppGrdLibDocList.HighlightSelectedColumnHeaders = false;
this.ppGrdLibDocList.Location = new System.Drawing.Point(1, 1);
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(655, 347);
this.ppGrdLibDocList.TabIndex = 1;
//
// documentEntryCountDataGridViewTextBoxColumn
//
this.documentEntryCountDataGridViewTextBoxColumn.DataPropertyName = "DocumentEntryCount";
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.documentEntryCountDataGridViewTextBoxColumn.DefaultCellStyle = dataGridViewCellStyle3;
this.documentEntryCountDataGridViewTextBoxColumn.HeaderText = "Number of Usages";
this.documentEntryCountDataGridViewTextBoxColumn.Name = "documentEntryCountDataGridViewTextBoxColumn";
this.documentEntryCountDataGridViewTextBoxColumn.ReadOnly = true;
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";
//
// panVerBtns
//
this.panVerBtns.BackColor = System.Drawing.Color.Transparent;
@ -1501,7 +1502,7 @@ namespace VEPROMS
this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
this.CancelButton = this.ppBtnCancel;
this.CaptionFont = new System.Drawing.Font("Microsoft Sans Serif", 10.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.ClientSize = new System.Drawing.Size(833, 427);
this.ClientSize = new System.Drawing.Size(852, 423);
this.ControlBox = false;
this.Controls.Add(this.panVerBtns);
this.Controls.Add(this.tcVersions);
@ -1534,18 +1535,18 @@ namespace VEPROMS
this.tcVersions.ResumeLayout(false);
this.tcpGeneral.ResumeLayout(false);
this.tcpGeneral.PerformLayout();
this.tabControlPanel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).EndInit();
this.tcpFormatSettings.ResumeLayout(false);
this.tcpFormatSettings.PerformLayout();
this.tcpOutputSettings.ResumeLayout(false);
this.tcpOutputSettings.PerformLayout();
this.ppGrpbxPrnAdj.ResumeLayout(false);
this.ppGrpbxPrnAdj.PerformLayout();
this.tcpFormatSettings.ResumeLayout(false);
this.tcpFormatSettings.PerformLayout();
this.tcpRefereceObjects.ResumeLayout(false);
this.tcpRefereceObjects.PerformLayout();
this.ppGpbxUpROvals.ResumeLayout(false);
this.tabControlPanel5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ppGrdLibDocList)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.documentInfoListBindingSource)).EndInit();
this.panVerBtns.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.ROPrefixBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.formatInfoListBindingSource)).EndInit();

View File

@ -843,6 +843,15 @@ namespace VEPROMS
ppRTxtName.Focus();
}
private void ppRTxtName_Leave(object sender, EventArgs e)
{
if (ppRTxtName.Text == null || ppRTxtName.Text == "")
{
MessageBox.Show("Cannot have a blank Name.");
return;
}
}
}
}

View File

@ -123,12 +123,6 @@
<metadata name="docVersionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>227, 17</value>
</metadata>
<metadata name="docVersionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>227, 17</value>
</metadata>
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>500, 17</value>
</metadata>
<data name="ppCmbxFormat.SuperTooltip" xml:space="preserve">
<value>Allows you to specify the default format to use for all procedures in this set.
@ -196,9 +190,6 @@ Check "Show Default Settings" to display the "default" duplexing setting (below
<metadata name="dlgROFolder.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>280, 60</value>
</metadata>
<metadata name="documentInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>418, 60</value>
</metadata>
<data name="btnRoDbProperties.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
@ -215,6 +206,9 @@ Check "Show Default Settings" to display the "default" duplexing setting (below
vkpiAWfjAAAAAElFTkSuQmCC
</value>
</data>
<metadata name="documentInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>418, 60</value>
</metadata>
<metadata name="ROPrefixBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>