Use StepRTB for number and title
handle dash
This commit is contained in:
parent
cf69fdd572
commit
7af7d8d4ef
File diff suppressed because it is too large
Load Diff
@ -10,6 +10,7 @@ using VEPROMS.Properties;
|
||||
using DescriptiveEnum;
|
||||
using DevComponents.DotNetBar;
|
||||
using DevComponents.DotNetBar.Controls;
|
||||
using Volian.Controls.Library;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
@ -26,6 +27,7 @@ namespace VEPROMS
|
||||
private string _DefaultFormatColumns = null;
|
||||
private bool _Initializing;
|
||||
private ProcedureConfig _ProcedureConfig;
|
||||
private StepTabRibbon _MyStepTabRibbon;
|
||||
|
||||
public frmProcedureProperties(ProcedureConfig procedureConfig)
|
||||
{
|
||||
@ -35,8 +37,24 @@ namespace VEPROMS
|
||||
btnGeneral.PerformClick(); // always start with General tab or button
|
||||
_Initializing = false;
|
||||
// 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)
|
||||
{
|
||||
@ -48,7 +66,9 @@ namespace VEPROMS
|
||||
Settings.Default.ShowDefaultProcedureProp = ppCbShwDefSettings.Checked;
|
||||
Settings.Default.Save();
|
||||
_ProcedureConfig.MyProcedure.Save().Dispose();
|
||||
this.Close();
|
||||
ppProcTitleStpRTB.SaveText();
|
||||
ppProcNumStpRTB.SaveText();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void ppBtnCancel_Click(object sender, EventArgs e)
|
||||
@ -549,5 +569,15 @@ namespace VEPROMS
|
||||
deflabel.Visible = ppCbShwDefSettings.Checked && button.Visible;
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void ppProcTitleStpRTB_Enter(object sender, EventArgs e)
|
||||
{
|
||||
_MyStepTabRibbon.MyStepRTB = ppProcTitleStpRTB;
|
||||
}
|
||||
|
||||
private void ppProcNumStpRTB_Enter(object sender, EventArgs e)
|
||||
{
|
||||
_MyStepTabRibbon.MyStepRTB = ppProcNumStpRTB;
|
||||
}
|
||||
}
|
||||
}
|
@ -126,9 +126,6 @@
|
||||
<metadata name="formatInfoListBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>520, 17</value>
|
||||
</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">
|
||||
<value>Allows you to specify the default format to use for this procedure.
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -8,6 +8,7 @@ using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using VEPROMS.Properties;
|
||||
using DevComponents.DotNetBar;
|
||||
using Volian.Controls.Library;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
@ -17,19 +18,41 @@ namespace VEPROMS
|
||||
private bool _Initializing;
|
||||
private SectionConfig _SectionConfig;
|
||||
private Document _DocumentToDelete = null;
|
||||
private StepTabRibbon _MyStepTabRibbon;
|
||||
|
||||
public frmSectionProperties(SectionConfig sectionConfig)
|
||||
{
|
||||
_SectionConfig = sectionConfig;
|
||||
InitializeComponent();
|
||||
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)
|
||||
this.Text = string.Format("{0} {1} Properties", sectionConfig.Number, sectionConfig.Title);
|
||||
this.Text = string.Format("{0} {1} Properties", ii.DisplayNumber, ii.DisplayText);
|
||||
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:
|
||||
ItemInfo ii = ItemInfo.Get(_SectionConfig.MySection.ItemID);
|
||||
|
||||
cbIsStepSection.Enabled = !(ii.HasWordContent || ii.HasStepContent);
|
||||
// check type of section from document styles to determine if the stepsection checkbox should
|
||||
// be checked.
|
||||
@ -62,6 +85,8 @@ namespace VEPROMS
|
||||
Document.Delete(_DocumentToDelete.DocID);
|
||||
_DocumentToDelete = null;
|
||||
}
|
||||
ppSectNumberStpRTB.SaveText();
|
||||
ppSectTitleStpRTB.SaveText();
|
||||
this.Close();
|
||||
}
|
||||
private void btnSectPropCancel_Click(object sender, EventArgs e)
|
||||
@ -457,6 +482,16 @@ namespace VEPROMS
|
||||
defaultSettingsVisiblity();
|
||||
}
|
||||
#endregion
|
||||
|
||||
private void ppSectNumberStpRTB_Enter(object sender, EventArgs e)
|
||||
{
|
||||
_MyStepTabRibbon.MyStepRTB = ppSectNumberStpRTB;
|
||||
}
|
||||
|
||||
private void ppSectTitleStpRTB_Enter(object sender, EventArgs e)
|
||||
{
|
||||
_MyStepTabRibbon.MyStepRTB = ppSectTitleStpRTB;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
@ -123,6 +123,12 @@
|
||||
<metadata name="superTooltip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>571, 19</value>
|
||||
</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">
|
||||
<value>Select how this section is handled during pagination.
|
||||
|
||||
|
56
PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
generated
56
PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
generated
@ -170,7 +170,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnHelp.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnHelp.Image = ((System.Drawing.Image)(resources.GetObject("btnHelp.Image")));
|
||||
this.btnHelp.ImagePaddingHorizontal = 8;
|
||||
this.btnHelp.ItemAlignment = DevComponents.DotNetBar.eItemAlignment.Far;
|
||||
this.btnHelp.Name = "btnHelp";
|
||||
this.btnHelp.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
@ -183,7 +182,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnHelpManual.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnHelpManual.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpManual.Image")));
|
||||
this.btnHelpManual.ImagePaddingHorizontal = 8;
|
||||
this.btnHelpManual.Name = "btnHelpManual";
|
||||
this.btnHelpManual.Text = "User Manual";
|
||||
//
|
||||
@ -191,7 +189,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnHelpAbout.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnHelpAbout.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpAbout.Image")));
|
||||
this.btnHelpAbout.ImagePaddingHorizontal = 8;
|
||||
this.btnHelpAbout.Name = "btnHelpAbout";
|
||||
this.btnHelpAbout.Text = "About";
|
||||
this.btnHelpAbout.Click += new System.EventHandler(this.btnAbout_Click);
|
||||
@ -200,7 +197,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnHelpVWeb.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnHelpVWeb.Image = ((System.Drawing.Image)(resources.GetObject("btnHelpVWeb.Image")));
|
||||
this.btnHelpVWeb.ImagePaddingHorizontal = 8;
|
||||
this.btnHelpVWeb.Name = "btnHelpVWeb";
|
||||
this.btnHelpVWeb.Text = "Volian Web";
|
||||
this.btnHelpVWeb.Click += new System.EventHandler(this.btnVlnWeb_Click);
|
||||
@ -268,7 +264,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnNew.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnNew.Image = ((System.Drawing.Image)(resources.GetObject("btnNew.Image")));
|
||||
this.btnNew.ImagePaddingHorizontal = 8;
|
||||
this.btnNew.Name = "btnNew";
|
||||
this.btnNew.SubItemsExpandWidth = 24;
|
||||
this.btnNew.Text = "&New";
|
||||
@ -278,7 +273,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnOpen.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnOpen.Image = ((System.Drawing.Image)(resources.GetObject("btnOpen.Image")));
|
||||
this.btnOpen.ImagePaddingHorizontal = 8;
|
||||
this.btnOpen.Name = "btnOpen";
|
||||
this.btnOpen.SubItemsExpandWidth = 24;
|
||||
this.btnOpen.Text = "&Open...";
|
||||
@ -288,7 +282,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnSave.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnSave.Image = global::VEPROMS.Properties.Resources.Save;
|
||||
this.btnSave.ImagePaddingHorizontal = 8;
|
||||
this.btnSave.Name = "btnSave";
|
||||
this.btnSave.SubItemsExpandWidth = 24;
|
||||
this.btnSave.Text = "&Save...";
|
||||
@ -298,7 +291,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnSaveAs.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnSaveAs.Image = global::VEPROMS.Properties.Resources.SaveAs;
|
||||
this.btnSaveAs.ImagePaddingHorizontal = 8;
|
||||
this.btnSaveAs.Name = "btnSaveAs";
|
||||
this.btnSaveAs.Text = "Save &As";
|
||||
//
|
||||
@ -306,7 +298,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnPrint.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnPrint.Image = ((System.Drawing.Image)(resources.GetObject("btnPrint.Image")));
|
||||
this.btnPrint.ImagePaddingHorizontal = 8;
|
||||
this.btnPrint.Name = "btnPrint";
|
||||
this.btnPrint.SubItemsExpandWidth = 24;
|
||||
this.btnPrint.Text = "&Print...";
|
||||
@ -316,7 +307,6 @@ namespace VEPROMS
|
||||
this.btnPrepare.BeginGroup = true;
|
||||
this.btnPrepare.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnPrepare.Image = ((System.Drawing.Image)(resources.GetObject("btnPrepare.Image")));
|
||||
this.btnPrepare.ImagePaddingHorizontal = 8;
|
||||
this.btnPrepare.Name = "btnPrepare";
|
||||
this.btnPrepare.SubItemsExpandWidth = 24;
|
||||
this.btnPrepare.Text = "Pr&epare";
|
||||
@ -325,7 +315,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnAdmin.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnAdmin.Image = global::VEPROMS.Properties.Resources.Admin;
|
||||
this.btnAdmin.ImagePaddingHorizontal = 8;
|
||||
this.btnAdmin.Name = "btnAdmin";
|
||||
this.btnAdmin.Text = "A&dministration";
|
||||
//
|
||||
@ -334,7 +323,6 @@ namespace VEPROMS
|
||||
this.btnClose.BeginGroup = true;
|
||||
this.btnClose.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnClose.Image = ((System.Drawing.Image)(resources.GetObject("btnClose.Image")));
|
||||
this.btnClose.ImagePaddingHorizontal = 8;
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.SubItemsExpandWidth = 24;
|
||||
this.btnClose.Text = "&Close";
|
||||
@ -379,7 +367,6 @@ namespace VEPROMS
|
||||
this.btnOptions.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnOptions.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnOptions.Image")));
|
||||
this.btnOptions.ImagePaddingHorizontal = 8;
|
||||
this.btnOptions.Name = "btnOptions";
|
||||
this.btnOptions.SubItemsExpandWidth = 24;
|
||||
this.btnOptions.Text = "Opt&ions";
|
||||
@ -390,7 +377,6 @@ namespace VEPROMS
|
||||
this.btnExit.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnExit.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
|
||||
this.btnExit.Image = ((System.Drawing.Image)(resources.GetObject("btnExit.Image")));
|
||||
this.btnExit.ImagePaddingHorizontal = 8;
|
||||
this.btnExit.Name = "btnExit";
|
||||
this.btnExit.SubItemsExpandWidth = 24;
|
||||
this.btnExit.Text = "E&xit";
|
||||
@ -488,7 +474,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnViewTypes.AutoExpandOnClick = true;
|
||||
this.btnViewTypes.ForeColor = System.Drawing.Color.Black;
|
||||
this.btnViewTypes.ImagePaddingHorizontal = 8;
|
||||
this.btnViewTypes.Name = "btnViewTypes";
|
||||
this.btnViewTypes.PopupSide = DevComponents.DotNetBar.ePopupSide.Top;
|
||||
this.btnViewTypes.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
@ -499,21 +484,18 @@ namespace VEPROMS
|
||||
//
|
||||
// btnViewPrcStp
|
||||
//
|
||||
this.btnViewPrcStp.ImagePaddingHorizontal = 8;
|
||||
this.btnViewPrcStp.Name = "btnViewPrcStp";
|
||||
this.btnViewPrcStp.Text = "Procedure Steps";
|
||||
this.btnViewPrcStp.Click += new System.EventHandler(this.btnViewPrcStp_Click);
|
||||
//
|
||||
// btnViewBckgnd
|
||||
//
|
||||
this.btnViewBckgnd.ImagePaddingHorizontal = 8;
|
||||
this.btnViewBckgnd.Name = "btnViewBckgnd";
|
||||
this.btnViewBckgnd.Text = "Background";
|
||||
this.btnViewBckgnd.Click += new System.EventHandler(this.btnViewBckgnd_Click);
|
||||
//
|
||||
// btnViewDev
|
||||
//
|
||||
this.btnViewDev.ImagePaddingHorizontal = 8;
|
||||
this.btnViewDev.Name = "btnViewDev";
|
||||
this.btnViewDev.Text = "Deviation";
|
||||
this.btnViewDev.Click += new System.EventHandler(this.btnViewDev_Click);
|
||||
@ -530,7 +512,6 @@ namespace VEPROMS
|
||||
this.btnLckUlck.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
|
||||
this.btnLckUlck.ForeColor = System.Drawing.Color.Black;
|
||||
this.btnLckUlck.Image = ((System.Drawing.Image)(resources.GetObject("btnLckUlck.Image")));
|
||||
this.btnLckUlck.ImagePaddingHorizontal = 8;
|
||||
this.btnLckUlck.Name = "btnLckUlck";
|
||||
this.btnLckUlck.PopupSide = DevComponents.DotNetBar.ePopupSide.Top;
|
||||
this.btnLckUlck.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
|
||||
@ -544,7 +525,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnSetLock.ForeColor = System.Drawing.Color.Black;
|
||||
this.btnSetLock.Image = ((System.Drawing.Image)(resources.GetObject("btnSetLock.Image")));
|
||||
this.btnSetLock.ImagePaddingHorizontal = 8;
|
||||
this.btnSetLock.Name = "btnSetLock";
|
||||
this.btnSetLock.Text = "Set a Lock";
|
||||
this.btnSetLock.Click += new System.EventHandler(this.btnSetLock_Click);
|
||||
@ -553,7 +533,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnReleaseLck.ForeColor = System.Drawing.Color.Black;
|
||||
this.btnReleaseLck.Image = ((System.Drawing.Image)(resources.GetObject("btnReleaseLck.Image")));
|
||||
this.btnReleaseLck.ImagePaddingHorizontal = 8;
|
||||
this.btnReleaseLck.Name = "btnReleaseLck";
|
||||
this.btnReleaseLck.Text = "Release Lock";
|
||||
this.btnReleaseLck.Click += new System.EventHandler(this.btnReleaseLck_Click);
|
||||
@ -570,7 +549,6 @@ namespace VEPROMS
|
||||
this.btnInsOvr.CanCustomize = false;
|
||||
this.btnInsOvr.Description = "Toggle Insert / Overwrite";
|
||||
this.btnInsOvr.ForeColor = System.Drawing.Color.Black;
|
||||
this.btnInsOvr.ImagePaddingHorizontal = 8;
|
||||
this.btnInsOvr.Name = "btnInsOvr";
|
||||
this.btnInsOvr.PopupSide = DevComponents.DotNetBar.ePopupSide.Top;
|
||||
this.btnInsOvr.SplitButton = true;
|
||||
@ -582,14 +560,12 @@ namespace VEPROMS
|
||||
//
|
||||
// btnInsertMode
|
||||
//
|
||||
this.btnInsertMode.ImagePaddingHorizontal = 8;
|
||||
this.btnInsertMode.Name = "btnInsertMode";
|
||||
this.btnInsertMode.Text = "INS";
|
||||
this.btnInsertMode.Click += new System.EventHandler(this.btnInsertMode_Click);
|
||||
//
|
||||
// btnOverstrikeMode
|
||||
//
|
||||
this.btnOverstrikeMode.ImagePaddingHorizontal = 8;
|
||||
this.btnOverstrikeMode.Name = "btnOverstrikeMode";
|
||||
this.btnOverstrikeMode.Text = "OVR";
|
||||
this.btnOverstrikeMode.Click += new System.EventHandler(this.btnOverstrikeMode_Click);
|
||||
@ -613,7 +589,6 @@ namespace VEPROMS
|
||||
this.btnMarkPrevPos.ForeColor = System.Drawing.Color.Black;
|
||||
this.btnMarkPrevPos.GlobalName = "SetBookMark";
|
||||
this.btnMarkPrevPos.Image = ((System.Drawing.Image)(resources.GetObject("btnMarkPrevPos.Image")));
|
||||
this.btnMarkPrevPos.ImagePaddingHorizontal = 8;
|
||||
this.btnMarkPrevPos.Name = "btnMarkPrevPos";
|
||||
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" +
|
||||
@ -634,7 +609,6 @@ namespace VEPROMS
|
||||
this.btnPrevPos.Enabled = false;
|
||||
this.btnPrevPos.ForeColor = System.Drawing.Color.Black;
|
||||
this.btnPrevPos.Image = ((System.Drawing.Image)(resources.GetObject("btnPrevPos.Image")));
|
||||
this.btnPrevPos.ImagePaddingHorizontal = 8;
|
||||
this.btnPrevPos.Name = "btnPrevPos";
|
||||
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" +
|
||||
@ -652,7 +626,6 @@ namespace VEPROMS
|
||||
//
|
||||
this.btnGetRoVals.Enabled = false;
|
||||
this.btnGetRoVals.ForeColor = System.Drawing.Color.Black;
|
||||
this.btnGetRoVals.ImagePaddingHorizontal = 8;
|
||||
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 " +
|
||||
"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.Controls.Add(this.infoTabs);
|
||||
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.Location = new System.Drawing.Point(815, 57);
|
||||
this.infoPanel.Location = new System.Drawing.Point(615, 57);
|
||||
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.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
|
||||
this.infoPanel.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
|
||||
@ -810,7 +781,7 @@ namespace VEPROMS
|
||||
this.infoTabs.Name = "infoTabs";
|
||||
this.infoTabs.SelectedTabFont = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Bold);
|
||||
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.TabIndex = 1;
|
||||
this.infoTabs.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox;
|
||||
@ -827,7 +798,7 @@ namespace VEPROMS
|
||||
this.infotabControlPanelTags.Location = new System.Drawing.Point(0, 0);
|
||||
this.infotabControlPanelTags.Name = "infotabControlPanelTags";
|
||||
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.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
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.Location = new System.Drawing.Point(1, 1);
|
||||
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.BackColor1.Color = System.Drawing.Color.Transparent;
|
||||
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.MyRTB = null;
|
||||
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;
|
||||
//
|
||||
// infotabTags
|
||||
@ -879,7 +850,7 @@ namespace VEPROMS
|
||||
this.infotabControlPanelTransitions.Location = new System.Drawing.Point(0, 0);
|
||||
this.infotabControlPanelTransitions.Name = "infotabControlPanelTransitions";
|
||||
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.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
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.Name = "displayTransition";
|
||||
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;
|
||||
//
|
||||
// infotabTransition
|
||||
@ -919,7 +890,7 @@ namespace VEPROMS
|
||||
this.infotabControlPanelRO.Location = new System.Drawing.Point(0, 0);
|
||||
this.infotabControlPanelRO.Name = "infotabControlPanelRO";
|
||||
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.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
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.Name = "displayRO";
|
||||
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;
|
||||
//
|
||||
// infotabRO
|
||||
@ -1026,7 +997,7 @@ namespace VEPROMS
|
||||
this.expandableSplitter2.HotGripLightColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
|
||||
this.expandableSplitter2.Location = new System.Drawing.Point(37, 717);
|
||||
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.TabIndex = 6;
|
||||
this.expandableSplitter2.TabStop = false;
|
||||
@ -1057,7 +1028,7 @@ namespace VEPROMS
|
||||
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.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.Size = new System.Drawing.Size(3, 660);
|
||||
this.expandableSplitter3.Style = DevComponents.DotNetBar.eSplitterStyle.Office2007;
|
||||
@ -1328,7 +1299,6 @@ namespace VEPROMS
|
||||
// buttonItem1
|
||||
//
|
||||
this.buttonItem1.Image = ((System.Drawing.Image)(resources.GetObject("buttonItem1.Image")));
|
||||
this.buttonItem1.ImagePaddingHorizontal = 8;
|
||||
this.buttonItem1.Name = "buttonItem1";
|
||||
this.buttonItem1.Text = "buttonItem19";
|
||||
this.buttonItem1.Tooltip = "Degree";
|
||||
@ -1346,7 +1316,7 @@ namespace VEPROMS
|
||||
this.tc.Name = "tc";
|
||||
this.tc.RibbonExpanded = true;
|
||||
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.ItemSelectedChanged += new Volian.Controls.Library.ItemSelectedChangedEvent(this.tc_ItemSelectedChanged);
|
||||
this.tc.LinkModifyTran += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyTran);
|
||||
|
@ -166,10 +166,11 @@ namespace VEPROMS
|
||||
{
|
||||
MostRecentItem mri = _MyMRIList[i];
|
||||
ButtonItem btnItem = new ButtonItem();
|
||||
string menuTitle = mri.MenuTitle.Replace("\u2011", "-");
|
||||
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
|
||||
btnItem.Text = string.Format(" {1}", i + 1, mri.MenuTitle);
|
||||
btnItem.Text = string.Format(" {1}", i + 1, menuTitle);
|
||||
btnItem.Tag = mri.ItemID;
|
||||
btnItem.Tooltip = mri.ToolTip;
|
||||
btnItem.Click += new EventHandler(btnItem_Click);
|
||||
|
Loading…
x
Reference in New Issue
Block a user