ItemInfo PropertyGrid for Debug
This commit is contained in:
45
PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
generated
45
PROMS/VEPROMS User Interface/frmVEPROMS.Designer.cs
generated
@@ -76,6 +76,7 @@ namespace VEPROMS
|
||||
this.btnInsertMode = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.btnOverstrikeMode = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.labelItem9 = new DevComponents.DotNetBar.LabelItem();
|
||||
this.lblEditView = new DevComponents.DotNetBar.LabelItem();
|
||||
this.labelItem11 = new DevComponents.DotNetBar.LabelItem();
|
||||
this.btnMarkPrevPos = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.labelItem2 = new DevComponents.DotNetBar.LabelItem();
|
||||
@@ -125,7 +126,8 @@ namespace VEPROMS
|
||||
this.buttonItem1 = new DevComponents.DotNetBar.ButtonItem();
|
||||
this.itemAnnotationsBindingSource = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.tc = new Volian.Controls.Library.DisplayTabControl();
|
||||
this.lblEditView = new DevComponents.DotNetBar.LabelItem();
|
||||
this.labelItem1 = new DevComponents.DotNetBar.LabelItem();
|
||||
this.btnItemInfo = new DevComponents.DotNetBar.ButtonItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bottomBar)).BeginInit();
|
||||
this.epAnnotations.SuspendLayout();
|
||||
this.expandablePanel2.SuspendLayout();
|
||||
@@ -440,7 +442,9 @@ namespace VEPROMS
|
||||
this.labelItem2,
|
||||
this.btnPrevPos,
|
||||
this.labelItem14,
|
||||
this.btnGetRoVals});
|
||||
this.btnGetRoVals,
|
||||
this.labelItem1,
|
||||
this.btnItemInfo});
|
||||
this.bottomBar.Location = new System.Drawing.Point(4, 746);
|
||||
this.bottomBar.Name = "bottomBar";
|
||||
this.bottomBar.Size = new System.Drawing.Size(1187, 29);
|
||||
@@ -576,6 +580,13 @@ namespace VEPROMS
|
||||
this.labelItem9.BorderType = DevComponents.DotNetBar.eBorderType.Bump;
|
||||
this.labelItem9.Name = "labelItem9";
|
||||
//
|
||||
// lblEditView
|
||||
//
|
||||
this.lblEditView.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblEditView.ForeColor = System.Drawing.SystemColors.MenuText;
|
||||
this.lblEditView.Name = "lblEditView";
|
||||
this.lblEditView.Text = "Edit";
|
||||
//
|
||||
// labelItem11
|
||||
//
|
||||
this.labelItem11.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
|
||||
@@ -672,7 +683,7 @@ namespace VEPROMS
|
||||
this.ctrlAnnotationDetails.CurrentAnnotation = null;
|
||||
this.ctrlAnnotationDetails.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ctrlAnnotationDetails.Location = new System.Drawing.Point(0, 26);
|
||||
this.ctrlAnnotationDetails.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.ctrlAnnotationDetails.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.ctrlAnnotationDetails.Name = "ctrlAnnotationDetails";
|
||||
this.ctrlAnnotationDetails.Size = new System.Drawing.Size(1187, 0);
|
||||
this.ctrlAnnotationDetails.TabIndex = 15;
|
||||
@@ -830,6 +841,7 @@ namespace VEPROMS
|
||||
this.displayTags.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
|
||||
this.displayTags.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.displayTags.Location = new System.Drawing.Point(0, 0);
|
||||
this.displayTags.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
|
||||
this.displayTags.MyRTB = null;
|
||||
this.displayTags.Name = "displayTags";
|
||||
this.displayTags.Size = new System.Drawing.Size(201, 500);
|
||||
@@ -1177,10 +1189,9 @@ namespace VEPROMS
|
||||
this.lbxBookMarks.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.lbxBookMarks.FormattingEnabled = true;
|
||||
this.lbxBookMarks.HorizontalScrollbar = true;
|
||||
this.lbxBookMarks.ItemHeight = 16;
|
||||
this.lbxBookMarks.Location = new System.Drawing.Point(0, 87);
|
||||
this.lbxBookMarks.Name = "lbxBookMarks";
|
||||
this.lbxBookMarks.Size = new System.Drawing.Size(314, 548);
|
||||
this.lbxBookMarks.Size = new System.Drawing.Size(314, 537);
|
||||
this.lbxBookMarks.TabIndex = 3;
|
||||
this.lbxBookMarks.Click += new System.EventHandler(this.lbxBookMarks_Click);
|
||||
//
|
||||
@@ -1312,27 +1323,33 @@ namespace VEPROMS
|
||||
this.tc.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tc.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.tc.Location = new System.Drawing.Point(37, 57);
|
||||
this.tc.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
|
||||
this.tc.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tc.Name = "tc";
|
||||
this.tc.RibbonExpanded = true;
|
||||
this.tc.SelectedDisplayTabItem = null;
|
||||
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.ModeChange += new Volian.Controls.Library.StepPanelModeChangeEvent(this.tc_StepPanelModeChange);
|
||||
this.tc.LinkModifyTran += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyTran);
|
||||
this.tc.LinkModifyRO += new Volian.Controls.Library.StepPanelLinkEvent(this.tc_LinkModifyRO);
|
||||
this.tc.ModeChange += new Volian.Controls.Library.StepPanelModeChangeEvent(this.tc_StepPanelModeChange);
|
||||
//
|
||||
// lblEditView
|
||||
// labelItem1
|
||||
//
|
||||
this.lblEditView.BackColor = System.Drawing.Color.Transparent;
|
||||
this.lblEditView.ForeColor = System.Drawing.SystemColors.MenuText;
|
||||
this.lblEditView.Name = "lblEditView";
|
||||
this.lblEditView.Text = "Edit";
|
||||
this.labelItem1.BorderSide = DevComponents.DotNetBar.eBorderSide.Left;
|
||||
this.labelItem1.BorderType = DevComponents.DotNetBar.eBorderType.Bump;
|
||||
this.labelItem1.Name = "labelItem1";
|
||||
//
|
||||
// btnItemInfo
|
||||
//
|
||||
this.btnItemInfo.ForeColor = System.Drawing.Color.Blue;
|
||||
this.btnItemInfo.Name = "btnItemInfo";
|
||||
this.btnItemInfo.Text = "ItemInfo";
|
||||
this.btnItemInfo.Click += new System.EventHandler(this.btnItemInfo_Click);
|
||||
//
|
||||
// frmVEPROMS
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 16F);
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.AutoScroll = true;
|
||||
this.ClientSize = new System.Drawing.Size(1195, 777);
|
||||
@@ -1499,6 +1516,8 @@ namespace VEPROMS
|
||||
private Volian.Controls.Library.DisplayTags displayTags;
|
||||
private Volian.Controls.Library.DisplaySearch displaySearch1;
|
||||
private DevComponents.DotNetBar.LabelItem lblEditView;
|
||||
private DevComponents.DotNetBar.LabelItem labelItem1;
|
||||
private DevComponents.DotNetBar.ButtonItem btnItemInfo;
|
||||
|
||||
}
|
||||
}
|
||||
|
@@ -135,7 +135,14 @@ namespace VEPROMS
|
||||
SetupBookMarks();
|
||||
displaySearch1.SetupAnnotationSearch(ctrlAnnotationDetails, tc);
|
||||
ctrlAnnotationDetails.SetupAnnotations(displaySearch1);
|
||||
|
||||
SetupButtons();
|
||||
}
|
||||
private void SetupButtons()
|
||||
{
|
||||
#if (DEBUG)
|
||||
#else
|
||||
labelItem1.Visible = btnItemInfo.Visible = false;
|
||||
#endif
|
||||
}
|
||||
#region MRU
|
||||
private MostRecentItemList _MyMRIList;
|
||||
@@ -1214,5 +1221,11 @@ namespace VEPROMS
|
||||
// TODO: Need to send message to all StepTabPanels and tell them to minimize their ribbons.
|
||||
tc.RibbonExpanded = ribbonControl1.Expanded;
|
||||
}
|
||||
|
||||
private void btnItemInfo_Click(object sender, EventArgs e)
|
||||
{
|
||||
frmPropGrid pg = new frmPropGrid(tc.SelectedDisplayTabItem.SelectedItemInfo, tc.SelectedDisplayTabItem.SelectedItemInfo.Path);
|
||||
pg.Show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -546,6 +546,6 @@
|
||||
<value>156, 17</value>
|
||||
</metadata>
|
||||
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>41</value>
|
||||
<value>64</value>
|
||||
</metadata>
|
||||
</root>
|
Reference in New Issue
Block a user