Use StepRTB for number and title

handle dash
This commit is contained in:
John Jenko 2009-07-24 21:35:59 +00:00
parent cf69fdd572
commit 7af7d8d4ef
8 changed files with 2951 additions and 2786 deletions

File diff suppressed because it is too large Load Diff

View File

@ -10,6 +10,7 @@ using VEPROMS.Properties;
using DescriptiveEnum; using DescriptiveEnum;
using DevComponents.DotNetBar; using DevComponents.DotNetBar;
using DevComponents.DotNetBar.Controls; using DevComponents.DotNetBar.Controls;
using Volian.Controls.Library;
namespace VEPROMS namespace VEPROMS
{ {
@ -26,6 +27,7 @@ namespace VEPROMS
private string _DefaultFormatColumns = null; private string _DefaultFormatColumns = null;
private bool _Initializing; private bool _Initializing;
private ProcedureConfig _ProcedureConfig; private ProcedureConfig _ProcedureConfig;
private StepTabRibbon _MyStepTabRibbon;
public frmProcedureProperties(ProcedureConfig procedureConfig) public frmProcedureProperties(ProcedureConfig procedureConfig)
{ {
@ -35,8 +37,24 @@ namespace VEPROMS
btnGeneral.PerformClick(); // always start with General tab or button btnGeneral.PerformClick(); // always start with General tab or button
_Initializing = false; _Initializing = false;
// build the title bar caption // build the title bar caption
this.Text = string.Format("{0} {1} Properties", procedureConfig.Number, procedureConfig.Title); //this.Text = string.Format("{0} {1} Properties", procedureConfig.Number, procedureConfig.Title);
} ItemInfo itmInfo = ItemInfo.Get(_ProcedureConfig.MyProcedure.ItemID);
this.Text = string.Format("{0} {1} Properties", itmInfo.DisplayNumber, itmInfo.DisplayText);
ppProcTitleStpRTB.FieldToEdit = E_FieldToEdit.Text;
ppProcTitleStpRTB.BorderStyle = BorderStyle.Fixed3D;
ppProcTitleStpRTB.ViewRTB = false;
ppProcTitleStpRTB.MyItemInfo = itmInfo;
ppProcNumStpRTB.FieldToEdit = E_FieldToEdit.Number;
ppProcNumStpRTB.BorderStyle = BorderStyle.Fixed3D;
ppProcNumStpRTB.ViewRTB = false;
ppProcNumStpRTB.MyItemInfo = itmInfo;
_MyStepTabRibbon = new StepTabRibbon();
//_MyStepTabRibbon.Dock = System.Windows.Forms.DockStyle.Top;
//_MyStepTabRibbon.Location = new System.Drawing.Point(0, 0);
_MyStepTabRibbon.Name = "displayTabRibbon1";
_MyStepTabRibbon.Visible = false;
}
private void ppBtnOK_Click(object sender, EventArgs e) private void ppBtnOK_Click(object sender, EventArgs e)
{ {
@ -48,7 +66,9 @@ namespace VEPROMS
Settings.Default.ShowDefaultProcedureProp = ppCbShwDefSettings.Checked; Settings.Default.ShowDefaultProcedureProp = ppCbShwDefSettings.Checked;
Settings.Default.Save(); Settings.Default.Save();
_ProcedureConfig.MyProcedure.Save().Dispose(); _ProcedureConfig.MyProcedure.Save().Dispose();
this.Close(); ppProcTitleStpRTB.SaveText();
ppProcNumStpRTB.SaveText();
this.Close();
} }
private void ppBtnCancel_Click(object sender, EventArgs e) private void ppBtnCancel_Click(object sender, EventArgs e)
@ -549,5 +569,15 @@ namespace VEPROMS
deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible; deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible;
} }
#endregion #endregion
private void ppProcTitleStpRTB_Enter(object sender, EventArgs e)
{
_MyStepTabRibbon.MyStepRTB = ppProcTitleStpRTB;
}
private void ppProcNumStpRTB_Enter(object sender, EventArgs e)
{
_MyStepTabRibbon.MyStepRTB = ppProcNumStpRTB;
}
} }
} }

View File

@ -126,9 +126,6 @@
<metadata name="formatInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="formatInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>520, 17</value> <value>520, 17</value>
</metadata> </metadata>
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>752, 17</value>
</metadata>
<data name="ppCmbxFormat.SuperTooltip" xml:space="preserve"> <data name="ppCmbxFormat.SuperTooltip" xml:space="preserve">
<value>Allows you to specify the default format to use for this procedure. <value>Allows you to specify the default format to use for this procedure.

File diff suppressed because it is too large Load Diff

View File

@ -8,6 +8,7 @@ using System.Windows.Forms;
using VEPROMS.CSLA.Library; using VEPROMS.CSLA.Library;
using VEPROMS.Properties; using VEPROMS.Properties;
using DevComponents.DotNetBar; using DevComponents.DotNetBar;
using Volian.Controls.Library;
namespace VEPROMS namespace VEPROMS
{ {
@ -17,19 +18,41 @@ namespace VEPROMS
private bool _Initializing; private bool _Initializing;
private SectionConfig _SectionConfig; private SectionConfig _SectionConfig;
private Document _DocumentToDelete = null; private Document _DocumentToDelete = null;
private StepTabRibbon _MyStepTabRibbon;
public frmSectionProperties(SectionConfig sectionConfig) public frmSectionProperties(SectionConfig sectionConfig)
{ {
_SectionConfig = sectionConfig; _SectionConfig = sectionConfig;
InitializeComponent(); InitializeComponent();
btnGeneral.PerformClick(); // always start with General tab or button btnGeneral.PerformClick(); // always start with General tab or button
ItemInfo ii = ItemInfo.Get(_SectionConfig.MySection.ItemID);
//if (sectionConfig.Number.Length > 0)
// this.Text = string.Format("{0} {1} Properties", sectionConfig.Number, sectionConfig.Title);
//else
// this.Text = string.Format("{0} Properties", sectionConfig.Title);
if (sectionConfig.Number.Length > 0) if (sectionConfig.Number.Length > 0)
this.Text = string.Format("{0} {1} Properties", sectionConfig.Number, sectionConfig.Title); this.Text = string.Format("{0} {1} Properties", ii.DisplayNumber, ii.DisplayText);
else else
this.Text = string.Format("{0} Properties", sectionConfig.Title); this.Text = string.Format("{0} Properties", ii.DisplayText);
ppSectTitleStpRTB.FieldToEdit = E_FieldToEdit.Text;
ppSectTitleStpRTB.BorderStyle = BorderStyle.Fixed3D;
ppSectTitleStpRTB.ViewRTB = false;
ppSectTitleStpRTB.MyItemInfo = ii;
ppSectNumberStpRTB.FieldToEdit = E_FieldToEdit.Number;
ppSectNumberStpRTB.BorderStyle = BorderStyle.Fixed3D;
ppSectNumberStpRTB.ViewRTB = false;
ppSectNumberStpRTB.MyItemInfo = ii;
_MyStepTabRibbon = new StepTabRibbon();
//_MyStepTabRibbon.Dock = System.Windows.Forms.DockStyle.Top;
//_MyStepTabRibbon.Location = new System.Drawing.Point(0, 0);
_MyStepTabRibbon.Name = "displayTabRibbon1";
_MyStepTabRibbon.Visible = false;
// set up some of the format tab: // set up some of the format tab:
ItemInfo ii = ItemInfo.Get(_SectionConfig.MySection.ItemID);
cbIsStepSection.Enabled = !(ii.HasWordContent || ii.HasStepContent); cbIsStepSection.Enabled = !(ii.HasWordContent || ii.HasStepContent);
// check type of section from document styles to determine if the stepsection checkbox should // check type of section from document styles to determine if the stepsection checkbox should
// be checked. // be checked.
@ -62,6 +85,8 @@ namespace VEPROMS
Document.Delete(_DocumentToDelete.DocID); Document.Delete(_DocumentToDelete.DocID);
_DocumentToDelete = null; _DocumentToDelete = null;
} }
ppSectNumberStpRTB.SaveText();
ppSectTitleStpRTB.SaveText();
this.Close(); this.Close();
} }
private void btnSectPropCancel_Click(object sender, EventArgs e) private void btnSectPropCancel_Click(object sender, EventArgs e)
@ -457,6 +482,16 @@ namespace VEPROMS
defaultSettingsVisiblity(); defaultSettingsVisiblity();
} }
#endregion #endregion
private void ppSectNumberStpRTB_Enter(object sender, EventArgs e)
{
_MyStepTabRibbon.MyStepRTB = ppSectNumberStpRTB;
}
private void ppSectTitleStpRTB_Enter(object sender, EventArgs e)
{
_MyStepTabRibbon.MyStepRTB = ppSectTitleStpRTB;
}
} }

View File

@ -123,6 +123,12 @@
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>571, 19</value> <value>571, 19</value>
</metadata> </metadata>
<metadata name="sectionConfigBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>128, 18</value>
</metadata>
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>571, 19</value>
</metadata>
<data name="ppCmbxSectPagination.SuperTooltip" xml:space="preserve"> <data name="ppCmbxSectPagination.SuperTooltip" xml:space="preserve">
<value>Select how this section is handled during pagination. <value>Select how this section is handled during pagination.

View File

@ -170,7 +170,6 @@ namespace VEPROMS
// //
this.btnHelp.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnHelp.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnHelp.Image = ((System.Drawing.Image)(resources.GetObject("btnHelp.Image"))); this.btnHelp.Image = ((System.Drawing.Image)(resources.GetObject("btnHelp.Image")));
this.btnHelp.ImagePaddingHorizontal = 8;
this.btnHelp.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far; this.btnHelp.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far;
this.btnHelp.Name = "btnHelp"; this.btnHelp.Name = "btnHelp";
this.btnHelp.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnHelp.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@ -183,7 +182,6 @@ namespace VEPROMS
// //
this.btnHelpManual.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnHelpManual.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnHelpManual.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpManual.Image"))); this.btnHelpManual.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpManual.Image")));
this.btnHelpManual.ImagePaddingHorizontal = 8;
this.btnHelpManual.Name = "btnHelpManual"; this.btnHelpManual.Name = "btnHelpManual";
this.btnHelpManual.Text = "User Manual"; this.btnHelpManual.Text = "User Manual";
// //
@ -191,7 +189,6 @@ namespace VEPROMS
// //
this.btnHelpAbout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnHelpAbout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnHelpAbout.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpAbout.Image"))); this.btnHelpAbout.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpAbout.Image")));
this.btnHelpAbout.ImagePaddingHorizontal = 8;
this.btnHelpAbout.Name = "btnHelpAbout"; this.btnHelpAbout.Name = "btnHelpAbout";
this.btnHelpAbout.Text = "About"; this.btnHelpAbout.Text = "About";
this.btnHelpAbout.Click += new System.EventHandler(this.btnAbout_Click); this.btnHelpAbout.Click += new System.EventHandler(this.btnAbout_Click);
@ -200,7 +197,6 @@ namespace VEPROMS
// //
this.btnHelpVWeb.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnHelpVWeb.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnHelpVWeb.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpVWeb.Image"))); this.btnHelpVWeb.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpVWeb.Image")));
this.btnHelpVWeb.ImagePaddingHorizontal = 8;
this.btnHelpVWeb.Name = "btnHelpVWeb"; this.btnHelpVWeb.Name = "btnHelpVWeb";
this.btnHelpVWeb.Text = "Volian Web"; this.btnHelpVWeb.Text = "Volian Web";
this.btnHelpVWeb.Click += new System.EventHandler(this.btnVlnWeb_Click); this.btnHelpVWeb.Click += new System.EventHandler(this.btnVlnWeb_Click);
@ -268,7 +264,6 @@ namespace VEPROMS
// //
this.btnNew.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnNew.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnNew.Image = ((System.Drawing.Image)(resources.GetObject("btnNew.Image"))); this.btnNew.Image = ((System.Drawing.Image)(resources.GetObject("btnNew.Image")));
this.btnNew.ImagePaddingHorizontal = 8;
this.btnNew.Name = "btnNew"; this.btnNew.Name = "btnNew";
this.btnNew.SubItemsExpandWidth = 24; this.btnNew.SubItemsExpandWidth = 24;
this.btnNew.Text = "&New"; this.btnNew.Text = "&New";
@ -278,7 +273,6 @@ namespace VEPROMS
// //
this.btnOpen.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnOpen.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnOpen.Image = ((System.Drawing.Image)(resources.GetObject("btnOpen.Image"))); this.btnOpen.Image = ((System.Drawing.Image)(resources.GetObject("btnOpen.Image")));
this.btnOpen.ImagePaddingHorizontal = 8;
this.btnOpen.Name = "btnOpen"; this.btnOpen.Name = "btnOpen";
this.btnOpen.SubItemsExpandWidth = 24; this.btnOpen.SubItemsExpandWidth = 24;
this.btnOpen.Text = "&Open..."; this.btnOpen.Text = "&Open...";
@ -288,7 +282,6 @@ namespace VEPROMS
// //
this.btnSave.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnSave.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnSave.Image = global::VEPROMS.Properties.Resources.Save; this.btnSave.Image = global::VEPROMS.Properties.Resources.Save;
this.btnSave.ImagePaddingHorizontal = 8;
this.btnSave.Name = "btnSave"; this.btnSave.Name = "btnSave";
this.btnSave.SubItemsExpandWidth = 24; this.btnSave.SubItemsExpandWidth = 24;
this.btnSave.Text = "&Save..."; this.btnSave.Text = "&Save...";
@ -298,7 +291,6 @@ namespace VEPROMS
// //
this.btnSaveAs.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnSaveAs.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnSaveAs.Image = global::VEPROMS.Properties.Resources.SaveAs; this.btnSaveAs.Image = global::VEPROMS.Properties.Resources.SaveAs;
this.btnSaveAs.ImagePaddingHorizontal = 8;
this.btnSaveAs.Name = "btnSaveAs"; this.btnSaveAs.Name = "btnSaveAs";
this.btnSaveAs.Text = "Save &As"; this.btnSaveAs.Text = "Save &As";
// //
@ -306,7 +298,6 @@ namespace VEPROMS
// //
this.btnPrint.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnPrint.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnPrint.Image = ((System.Drawing.Image)(resources.GetObject("btnPrint.Image"))); this.btnPrint.Image = ((System.Drawing.Image)(resources.GetObject("btnPrint.Image")));
this.btnPrint.ImagePaddingHorizontal = 8;
this.btnPrint.Name = "btnPrint"; this.btnPrint.Name = "btnPrint";
this.btnPrint.SubItemsExpandWidth = 24; this.btnPrint.SubItemsExpandWidth = 24;
this.btnPrint.Text = "&Print..."; this.btnPrint.Text = "&Print...";
@ -316,7 +307,6 @@ namespace VEPROMS
this.btnPrepare.BeginGroup = true; this.btnPrepare.BeginGroup = true;
this.btnPrepare.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnPrepare.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnPrepare.Image = ((System.Drawing.Image)(resources.GetObject("btnPrepare.Image"))); this.btnPrepare.Image = ((System.Drawing.Image)(resources.GetObject("btnPrepare.Image")));
this.btnPrepare.ImagePaddingHorizontal = 8;
this.btnPrepare.Name = "btnPrepare"; this.btnPrepare.Name = "btnPrepare";
this.btnPrepare.SubItemsExpandWidth = 24; this.btnPrepare.SubItemsExpandWidth = 24;
this.btnPrepare.Text = "Pr&epare"; this.btnPrepare.Text = "Pr&epare";
@ -325,7 +315,6 @@ namespace VEPROMS
// //
this.btnAdmin.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnAdmin.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnAdmin.Image = global::VEPROMS.Properties.Resources.Admin; this.btnAdmin.Image = global::VEPROMS.Properties.Resources.Admin;
this.btnAdmin.ImagePaddingHorizontal = 8;
this.btnAdmin.Name = "btnAdmin"; this.btnAdmin.Name = "btnAdmin";
this.btnAdmin.Text = "A&dministration"; this.btnAdmin.Text = "A&dministration";
// //
@ -334,7 +323,6 @@ namespace VEPROMS
this.btnClose.BeginGroup = true; this.btnClose.BeginGroup = true;
this.btnClose.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnClose.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image"))); this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
this.btnClose.ImagePaddingHorizontal = 8;
this.btnClose.Name = "btnClose"; this.btnClose.Name = "btnClose";
this.btnClose.SubItemsExpandWidth = 24; this.btnClose.SubItemsExpandWidth = 24;
this.btnClose.Text = "&Close"; this.btnClose.Text = "&Close";
@ -379,7 +367,6 @@ namespace VEPROMS
this.btnOptions.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnOptions.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnOptions.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnOptions.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnOptions.Image"))); this.btnOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnOptions.Image")));
this.btnOptions.ImagePaddingHorizontal = 8;
this.btnOptions.Name = "btnOptions"; this.btnOptions.Name = "btnOptions";
this.btnOptions.SubItemsExpandWidth = 24; this.btnOptions.SubItemsExpandWidth = 24;
this.btnOptions.Text = "Opt&ions"; this.btnOptions.Text = "Opt&ions";
@ -390,7 +377,6 @@ namespace VEPROMS
this.btnExit.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnExit.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnExit.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.btnExit.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image"))); this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image")));
this.btnExit.ImagePaddingHorizontal = 8;
this.btnExit.Name = "btnExit"; this.btnExit.Name = "btnExit";
this.btnExit.SubItemsExpandWidth = 24; this.btnExit.SubItemsExpandWidth = 24;
this.btnExit.Text = "E&xit"; this.btnExit.Text = "E&xit";
@ -488,7 +474,6 @@ namespace VEPROMS
// //
this.btnViewTypes.AutoExpandOnClick = true; this.btnViewTypes.AutoExpandOnClick = true;
this.btnViewTypes.ForeColor = System.Drawing.Color.Black; this.btnViewTypes.ForeColor = System.Drawing.Color.Black;
this.btnViewTypes.ImagePaddingHorizontal = 8;
this.btnViewTypes.Name = "btnViewTypes"; this.btnViewTypes.Name = "btnViewTypes";
this.btnViewTypes.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; this.btnViewTypes.PopupSide = DevComponents.DotNetBar.ePopupSide.Top;
this.btnViewTypes.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnViewTypes.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@ -499,21 +484,18 @@ namespace VEPROMS
// //
// btnViewPrcStp // btnViewPrcStp
// //
this.btnViewPrcStp.ImagePaddingHorizontal = 8;
this.btnViewPrcStp.Name = "btnViewPrcStp"; this.btnViewPrcStp.Name = "btnViewPrcStp";
this.btnViewPrcStp.Text = "Procedure Steps"; this.btnViewPrcStp.Text = "Procedure Steps";
this.btnViewPrcStp.Click += new System.EventHandler(this.btnViewPrcStp_Click); this.btnViewPrcStp.Click += new System.EventHandler(this.btnViewPrcStp_Click);
// //
// btnViewBckgnd // btnViewBckgnd
// //
this.btnViewBckgnd.ImagePaddingHorizontal = 8;
this.btnViewBckgnd.Name = "btnViewBckgnd"; this.btnViewBckgnd.Name = "btnViewBckgnd";
this.btnViewBckgnd.Text = "Background"; this.btnViewBckgnd.Text = "Background";
this.btnViewBckgnd.Click += new System.EventHandler(this.btnViewBckgnd_Click); this.btnViewBckgnd.Click += new System.EventHandler(this.btnViewBckgnd_Click);
// //
// btnViewDev // btnViewDev
// //
this.btnViewDev.ImagePaddingHorizontal = 8;
this.btnViewDev.Name = "btnViewDev"; this.btnViewDev.Name = "btnViewDev";
this.btnViewDev.Text = "Deviation"; this.btnViewDev.Text = "Deviation";
this.btnViewDev.Click += new System.EventHandler(this.btnViewDev_Click); this.btnViewDev.Click += new System.EventHandler(this.btnViewDev_Click);
@ -530,7 +512,6 @@ namespace VEPROMS
this.btnLckUlck.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnLckUlck.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnLckUlck.ForeColor = System.Drawing.Color.Black; this.btnLckUlck.ForeColor = System.Drawing.Color.Black;
this.btnLckUlck.Image = ((System.Drawing.Image)(resources.GetObject("btnLckUlck.Image"))); this.btnLckUlck.Image = ((System.Drawing.Image)(resources.GetObject("btnLckUlck.Image")));
this.btnLckUlck.ImagePaddingHorizontal = 8;
this.btnLckUlck.Name = "btnLckUlck"; this.btnLckUlck.Name = "btnLckUlck";
this.btnLckUlck.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; this.btnLckUlck.PopupSide = DevComponents.DotNetBar.ePopupSide.Top;
this.btnLckUlck.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.btnLckUlck.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
@ -544,7 +525,6 @@ namespace VEPROMS
// //
this.btnSetLock.ForeColor = System.Drawing.Color.Black; this.btnSetLock.ForeColor = System.Drawing.Color.Black;
this.btnSetLock.Image = ((System.Drawing.Image)(resources.GetObject("btnSetLock.Image"))); this.btnSetLock.Image = ((System.Drawing.Image)(resources.GetObject("btnSetLock.Image")));
this.btnSetLock.ImagePaddingHorizontal = 8;
this.btnSetLock.Name = "btnSetLock"; this.btnSetLock.Name = "btnSetLock";
this.btnSetLock.Text = "Set a Lock"; this.btnSetLock.Text = "Set a Lock";
this.btnSetLock.Click += new System.EventHandler(this.btnSetLock_Click); this.btnSetLock.Click += new System.EventHandler(this.btnSetLock_Click);
@ -553,7 +533,6 @@ namespace VEPROMS
// //
this.btnReleaseLck.ForeColor = System.Drawing.Color.Black; this.btnReleaseLck.ForeColor = System.Drawing.Color.Black;
this.btnReleaseLck.Image = ((System.Drawing.Image)(resources.GetObject("btnReleaseLck.Image"))); this.btnReleaseLck.Image = ((System.Drawing.Image)(resources.GetObject("btnReleaseLck.Image")));
this.btnReleaseLck.ImagePaddingHorizontal = 8;
this.btnReleaseLck.Name = "btnReleaseLck"; this.btnReleaseLck.Name = "btnReleaseLck";
this.btnReleaseLck.Text = "Release Lock"; this.btnReleaseLck.Text = "Release Lock";
this.btnReleaseLck.Click += new System.EventHandler(this.btnReleaseLck_Click); this.btnReleaseLck.Click += new System.EventHandler(this.btnReleaseLck_Click);
@ -570,7 +549,6 @@ namespace VEPROMS
this.btnInsOvr.CanCustomize = false; this.btnInsOvr.CanCustomize = false;
this.btnInsOvr.Description = "Toggle Insert / Overwrite"; this.btnInsOvr.Description = "Toggle Insert / Overwrite";
this.btnInsOvr.ForeColor = System.Drawing.Color.Black; this.btnInsOvr.ForeColor = System.Drawing.Color.Black;
this.btnInsOvr.ImagePaddingHorizontal = 8;
this.btnInsOvr.Name = "btnInsOvr"; this.btnInsOvr.Name = "btnInsOvr";
this.btnInsOvr.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; this.btnInsOvr.PopupSide = DevComponents.DotNetBar.ePopupSide.Top;
this.btnInsOvr.SplitButton = true; this.btnInsOvr.SplitButton = true;
@ -582,14 +560,12 @@ namespace VEPROMS
// //
// btnInsertMode // btnInsertMode
// //
this.btnInsertMode.ImagePaddingHorizontal = 8;
this.btnInsertMode.Name = "btnInsertMode"; this.btnInsertMode.Name = "btnInsertMode";
this.btnInsertMode.Text = "INS"; this.btnInsertMode.Text = "INS";
this.btnInsertMode.Click += new System.EventHandler(this.btnInsertMode_Click); this.btnInsertMode.Click += new System.EventHandler(this.btnInsertMode_Click);
// //
// btnOverstrikeMode // btnOverstrikeMode
// //
this.btnOverstrikeMode.ImagePaddingHorizontal = 8;
this.btnOverstrikeMode.Name = "btnOverstrikeMode"; this.btnOverstrikeMode.Name = "btnOverstrikeMode";
this.btnOverstrikeMode.Text = "OVR"; this.btnOverstrikeMode.Text = "OVR";
this.btnOverstrikeMode.Click += new System.EventHandler(this.btnOverstrikeMode_Click); this.btnOverstrikeMode.Click += new System.EventHandler(this.btnOverstrikeMode_Click);
@ -613,7 +589,6 @@ namespace VEPROMS
this.btnMarkPrevPos.ForeColor = System.Drawing.Color.Black; this.btnMarkPrevPos.ForeColor = System.Drawing.Color.Black;
this.btnMarkPrevPos.GlobalName = "SetBookMark"; this.btnMarkPrevPos.GlobalName = "SetBookMark";
this.btnMarkPrevPos.Image = ((System.Drawing.Image)(resources.GetObject("btnMarkPrevPos.Image"))); this.btnMarkPrevPos.Image = ((System.Drawing.Image)(resources.GetObject("btnMarkPrevPos.Image")));
this.btnMarkPrevPos.ImagePaddingHorizontal = 8;
this.btnMarkPrevPos.Name = "btnMarkPrevPos"; this.btnMarkPrevPos.Name = "btnMarkPrevPos";
this.btnMarkPrevPos.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; this.btnMarkPrevPos.PopupSide = DevComponents.DotNetBar.ePopupSide.Top;
this.superTooltip1.SetSuperTooltip(this.btnMarkPrevPos, new DevComponents.DotNetBar.SuperTooltipInfo("Simple Bookmark", "", "Mark your current positon and/or jump to the previously marked position. Note th" + this.superTooltip1.SetSuperTooltip(this.btnMarkPrevPos, new DevComponents.DotNetBar.SuperTooltipInfo("Simple Bookmark", "", "Mark your current positon and/or jump to the previously marked position. Note th" +
@ -634,7 +609,6 @@ namespace VEPROMS
this.btnPrevPos.Enabled = false; this.btnPrevPos.Enabled = false;
this.btnPrevPos.ForeColor = System.Drawing.Color.Black; this.btnPrevPos.ForeColor = System.Drawing.Color.Black;
this.btnPrevPos.Image = ((System.Drawing.Image)(resources.GetObject("btnPrevPos.Image"))); this.btnPrevPos.Image = ((System.Drawing.Image)(resources.GetObject("btnPrevPos.Image")));
this.btnPrevPos.ImagePaddingHorizontal = 8;
this.btnPrevPos.Name = "btnPrevPos"; this.btnPrevPos.Name = "btnPrevPos";
this.btnPrevPos.PopupSide = DevComponents.DotNetBar.ePopupSide.Top; this.btnPrevPos.PopupSide = DevComponents.DotNetBar.ePopupSide.Top;
this.superTooltip1.SetSuperTooltip(this.btnPrevPos, new DevComponents.DotNetBar.SuperTooltipInfo("Simple Bookmark", "", "Mark your current positon and/or jump to the previously marked position. Note th" + this.superTooltip1.SetSuperTooltip(this.btnPrevPos, new DevComponents.DotNetBar.SuperTooltipInfo("Simple Bookmark", "", "Mark your current positon and/or jump to the previously marked position. Note th" +
@ -652,7 +626,6 @@ namespace VEPROMS
// //
this.btnGetRoVals.Enabled = false; this.btnGetRoVals.Enabled = false;
this.btnGetRoVals.ForeColor = System.Drawing.Color.Black; this.btnGetRoVals.ForeColor = System.Drawing.Color.Black;
this.btnGetRoVals.ImagePaddingHorizontal = 8;
this.btnGetRoVals.Name = "btnGetRoVals"; this.btnGetRoVals.Name = "btnGetRoVals";
this.superTooltip1.SetSuperTooltip(this.btnGetRoVals, new DevComponents.DotNetBar.SuperTooltipInfo("Update Referenced Object Values", "", "This will update the RO Values in this procedure set.\r\n\r\nThis button will become " + this.superTooltip1.SetSuperTooltip(this.btnGetRoVals, new DevComponents.DotNetBar.SuperTooltipInfo("Update Referenced Object Values", "", "This will update the RO Values in this procedure set.\r\n\r\nThis button will become " +
"active when new Referenced Object Values are available.", null, null, DevComponents.DotNetBar.eTooltipColor.System)); "active when new Referenced Object Values are available.", null, null, DevComponents.DotNetBar.eTooltipColor.System));
@ -774,12 +747,10 @@ namespace VEPROMS
this.infoPanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007; this.infoPanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2007;
this.infoPanel.Controls.Add(this.infoTabs); this.infoPanel.Controls.Add(this.infoTabs);
this.infoPanel.Dock = System.Windows.Forms.DockStyle.Right; this.infoPanel.Dock = System.Windows.Forms.DockStyle.Right;
this.infoPanel.Expanded = false;
this.infoPanel.ExpandedBounds = new System.Drawing.Rectangle(615, 57, 230, 663);
this.infoPanel.ExpandOnTitleClick = true; this.infoPanel.ExpandOnTitleClick = true;
this.infoPanel.Location = new System.Drawing.Point(815, 57); this.infoPanel.Location = new System.Drawing.Point(615, 57);
this.infoPanel.Name = "infoPanel"; this.infoPanel.Name = "infoPanel";
this.infoPanel.Size = new System.Drawing.Size(30, 663); this.infoPanel.Size = new System.Drawing.Size(230, 663);
this.infoPanel.Style.Alignment = System.Drawing.StringAlignment.Center; this.infoPanel.Style.Alignment = System.Drawing.StringAlignment.Center;
this.infoPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.infoPanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
this.infoPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; this.infoPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
@ -810,7 +781,7 @@ namespace VEPROMS
this.infoTabs.Name = "infoTabs"; this.infoTabs.Name = "infoTabs";
this.infoTabs.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold); this.infoTabs.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold);
this.infoTabs.SelectedTabIndex = 0; this.infoTabs.SelectedTabIndex = 0;
this.infoTabs.Size = new System.Drawing.Size(30, 637); this.infoTabs.Size = new System.Drawing.Size(230, 637);
this.infoTabs.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Right; this.infoTabs.TabAlignment = DevComponents.DotNetBar.eTabStripAlignment.Right;
this.infoTabs.TabIndex = 1; this.infoTabs.TabIndex = 1;
this.infoTabs.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.infoTabs.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
@ -827,7 +798,7 @@ namespace VEPROMS
this.infotabControlPanelTags.Location = new System.Drawing.Point(0, 0); this.infotabControlPanelTags.Location = new System.Drawing.Point(0, 0);
this.infotabControlPanelTags.Name = "infotabControlPanelTags"; this.infotabControlPanelTags.Name = "infotabControlPanelTags";
this.infotabControlPanelTags.Padding = new System.Windows.Forms.Padding(1); this.infotabControlPanelTags.Padding = new System.Windows.Forms.Padding(1);
this.infotabControlPanelTags.Size = new System.Drawing.Size(3, 637); this.infotabControlPanelTags.Size = new System.Drawing.Size(203, 637);
this.infotabControlPanelTags.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.infotabControlPanelTags.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
this.infotabControlPanelTags.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.infotabControlPanelTags.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.infotabControlPanelTags.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) this.infotabControlPanelTags.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top)
@ -845,7 +816,7 @@ namespace VEPROMS
this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelEx1.Location = new System.Drawing.Point(1, 1); this.panelEx1.Location = new System.Drawing.Point(1, 1);
this.panelEx1.Name = "panelEx1"; this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(1, 635); this.panelEx1.Size = new System.Drawing.Size(201, 635);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.Transparent; this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.Transparent;
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.SlateGray; this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.SlateGray;
@ -861,7 +832,7 @@ namespace VEPROMS
this.displayTags.Location = new System.Drawing.Point(0, 0); this.displayTags.Location = new System.Drawing.Point(0, 0);
this.displayTags.MyRTB = null; this.displayTags.MyRTB = null;
this.displayTags.Name = "displayTags"; this.displayTags.Name = "displayTags";
this.displayTags.Size = new System.Drawing.Size(1, 500); this.displayTags.Size = new System.Drawing.Size(201, 500);
this.displayTags.TabIndex = 0; this.displayTags.TabIndex = 0;
// //
// infotabTags // infotabTags
@ -879,7 +850,7 @@ namespace VEPROMS
this.infotabControlPanelTransitions.Location = new System.Drawing.Point(0, 0); this.infotabControlPanelTransitions.Location = new System.Drawing.Point(0, 0);
this.infotabControlPanelTransitions.Name = "infotabControlPanelTransitions"; this.infotabControlPanelTransitions.Name = "infotabControlPanelTransitions";
this.infotabControlPanelTransitions.Padding = new System.Windows.Forms.Padding(1); this.infotabControlPanelTransitions.Padding = new System.Windows.Forms.Padding(1);
this.infotabControlPanelTransitions.Size = new System.Drawing.Size(3, 637); this.infotabControlPanelTransitions.Size = new System.Drawing.Size(203, 637);
this.infotabControlPanelTransitions.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.infotabControlPanelTransitions.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
this.infotabControlPanelTransitions.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.infotabControlPanelTransitions.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.infotabControlPanelTransitions.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) this.infotabControlPanelTransitions.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top)
@ -901,7 +872,7 @@ namespace VEPROMS
this.displayTransition.MyRTB = null; this.displayTransition.MyRTB = null;
this.displayTransition.Name = "displayTransition"; this.displayTransition.Name = "displayTransition";
this.displayTransition.RangeColor = global::VEPROMS.Properties.Settings.Default.TransitionRangeColor; this.displayTransition.RangeColor = global::VEPROMS.Properties.Settings.Default.TransitionRangeColor;
this.displayTransition.Size = new System.Drawing.Size(1, 635); this.displayTransition.Size = new System.Drawing.Size(201, 635);
this.displayTransition.TabIndex = 0; this.displayTransition.TabIndex = 0;
// //
// infotabTransition // infotabTransition
@ -919,7 +890,7 @@ namespace VEPROMS
this.infotabControlPanelRO.Location = new System.Drawing.Point(0, 0); this.infotabControlPanelRO.Location = new System.Drawing.Point(0, 0);
this.infotabControlPanelRO.Name = "infotabControlPanelRO"; this.infotabControlPanelRO.Name = "infotabControlPanelRO";
this.infotabControlPanelRO.Padding = new System.Windows.Forms.Padding(1); this.infotabControlPanelRO.Padding = new System.Windows.Forms.Padding(1);
this.infotabControlPanelRO.Size = new System.Drawing.Size(3, 637); this.infotabControlPanelRO.Size = new System.Drawing.Size(203, 637);
this.infotabControlPanelRO.Style.BackColor1.Color = System.Drawing.SystemColors.Control; this.infotabControlPanelRO.Style.BackColor1.Color = System.Drawing.SystemColors.Control;
this.infotabControlPanelRO.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.infotabControlPanelRO.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.infotabControlPanelRO.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top) this.infotabControlPanelRO.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Top)
@ -940,7 +911,7 @@ namespace VEPROMS
this.displayRO.MyRTB = null; this.displayRO.MyRTB = null;
this.displayRO.Name = "displayRO"; this.displayRO.Name = "displayRO";
this.displayRO.ProgressBar = null; this.displayRO.ProgressBar = null;
this.displayRO.Size = new System.Drawing.Size(1, 635); this.displayRO.Size = new System.Drawing.Size(201, 635);
this.displayRO.TabIndex = 0; this.displayRO.TabIndex = 0;
// //
// infotabRO // infotabRO
@ -1026,7 +997,7 @@ namespace VEPROMS
this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.expandableSplitter2.Location = new System.Drawing.Point(37, 717); this.expandableSplitter2.Location = new System.Drawing.Point(37, 717);
this.expandableSplitter2.Name = "expandableSplitter2"; this.expandableSplitter2.Name = "expandableSplitter2";
this.expandableSplitter2.Size = new System.Drawing.Size(778, 3); this.expandableSplitter2.Size = new System.Drawing.Size(578, 3);
this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter2.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
this.expandableSplitter2.TabIndex = 6; this.expandableSplitter2.TabIndex = 6;
this.expandableSplitter2.TabStop = false; this.expandableSplitter2.TabStop = false;
@ -1057,7 +1028,7 @@ namespace VEPROMS
this.expandableSplitter3.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.expandableSplitter3.HotGripDarkColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.expandableSplitter3.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213))))); this.expandableSplitter3.HotGripLightColor = System.Drawing.Color.FromArgb(((int)(((byte)(205)))), ((int)(((byte)(208)))), ((int)(((byte)(213)))));
this.expandableSplitter3.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; this.expandableSplitter3.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
this.expandableSplitter3.Location = new System.Drawing.Point(812, 57); this.expandableSplitter3.Location = new System.Drawing.Point(612, 57);
this.expandableSplitter3.Name = "expandableSplitter3"; this.expandableSplitter3.Name = "expandableSplitter3";
this.expandableSplitter3.Size = new System.Drawing.Size(3, 660); this.expandableSplitter3.Size = new System.Drawing.Size(3, 660);
this.expandableSplitter3.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007; this.expandableSplitter3.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
@ -1328,7 +1299,6 @@ namespace VEPROMS
// buttonItem1 // buttonItem1
// //
this.buttonItem1.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem1.Image"))); this.buttonItem1.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem1.Image")));
this.buttonItem1.ImagePaddingHorizontal = 8;
this.buttonItem1.Name = "buttonItem1"; this.buttonItem1.Name = "buttonItem1";
this.buttonItem1.Text = "buttonItem19"; this.buttonItem1.Text = "buttonItem19";
this.buttonItem1.Tooltip = "Degree"; this.buttonItem1.Tooltip = "Degree";
@ -1346,7 +1316,7 @@ namespace VEPROMS
this.tc.Name = "tc"; this.tc.Name = "tc";
this.tc.RibbonExpanded = true; this.tc.RibbonExpanded = true;
this.tc.SelectedDisplayTabItem = null; this.tc.SelectedDisplayTabItem = null;
this.tc.Size = new System.Drawing.Size(775, 660); this.tc.Size = new System.Drawing.Size(575, 660);
this.tc.TabIndex = 8; this.tc.TabIndex = 8;
this.tc.ItemSelectedChanged += new Volian.Controls.Library.ItemSelectedChangedEvent(this.tc_ItemSelectedChanged); this.tc.ItemSelectedChanged += new Volian.Controls.Library.ItemSelectedChangedEvent(this.tc_ItemSelectedChanged);
this.tc.LinkModifyTran += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyTran); this.tc.LinkModifyTran += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyTran);

View File

@ -166,10 +166,11 @@ namespace VEPROMS
{ {
MostRecentItem mri = _MyMRIList[i]; MostRecentItem mri = _MyMRIList[i];
ButtonItem btnItem = new ButtonItem(); ButtonItem btnItem = new ButtonItem();
string menuTitle = mri.MenuTitle.Replace("\u2011", "-");
if (i < 9) if (i < 9)
btnItem.Text = string.Format("<b>&{0}.</b> {1}", i + 1, mri.MenuTitle); btnItem.Text = string.Format("<b>&{0}.</b> {1}", i + 1, menuTitle);
else else
btnItem.Text = string.Format(" {1}", i + 1, mri.MenuTitle); btnItem.Text = string.Format(" {1}", i + 1, menuTitle);
btnItem.Tag = mri.ItemID; btnItem.Tag = mri.ItemID;
btnItem.Tooltip = mri.ToolTip; btnItem.Tooltip = mri.ToolTip;
btnItem.Click += new EventHandler(btnItem_Click); btnItem.Click += new EventHandler(btnItem_Click);