Added an indicator to identify Steps, Sections or Procedures that have Enhanced Links.
This commit is contained in:
parent
81661c1fb9
commit
6822406b9e
@ -2917,6 +2917,14 @@ namespace Volian.Controls.Library
|
||||
// adjust x location of label by 7, to position correctly.
|
||||
//g.DrawString(lblTab.Text, MyItemInfo.MyTab.MyFont.WindowsFont, Brushes.Blue, new RectangleF(new PointF(Convert.ToSingle(lblTab.Location.X-7), Convert.ToSingle(lblTab.Location.Y)), MyStepPanel.MyStepPanelSettings.NumberSize), StringFormat.GenericDefault);
|
||||
//g.DrawLine(Pens.DarkGreen, lblTab.Location.X-7, 0, lblTab.Location.X-7, this.Height);
|
||||
// Show a small E to indicate Enhanced Steps
|
||||
if (MyItemInfo.GetMyEnhancedDocuments().Count > 0)
|
||||
{
|
||||
g.DrawLine(Pens.DarkGreen, 18, 1, 18, 6);
|
||||
g.DrawLine(Pens.DarkGreen, 18, 1, 21, 1);
|
||||
g.DrawLine(Pens.DarkGreen, 18, 3, 21, 3);
|
||||
g.DrawLine(Pens.DarkGreen, 18, 6, 21, 6);
|
||||
}
|
||||
//g.DrawLine(Pens.DarkGreen, MyStepRTB.Location.X - 7, 0, MyStepRTB.Location.X - 7, this.Height);
|
||||
//g.DrawString(TabText, MyItemInfo.MyTab.MyFont.WindowsFont, Brushes.Black, new RectangleF(new PointF(Convert.ToSingle(TabLocation.X), Convert.ToSingle(TabLocation.Y)), MyStepPanel.MyStepPanelSettings.NumberSize), StringFormat.GenericDefault);
|
||||
Font myWFont = (MyItemInfo.MyTab != null) ? MyItemInfo.MyTab.MyFont.WindowsFont : MyItemInfo.FormatStepData.Font.WindowsFont;
|
||||
|
Loading…
x
Reference in New Issue
Block a user