diff --git a/PROMS/Volian.Controls.Library/DisplayRTBSimple.cs b/PROMS/Volian.Controls.Library/DisplayRTBSimple.cs index 66726399..b7a2a361 100644 --- a/PROMS/Volian.Controls.Library/DisplayRTBSimple.cs +++ b/PROMS/Volian.Controls.Library/DisplayRTBSimple.cs @@ -15,7 +15,7 @@ namespace Volian.Controls.Library public partial class StepRTBSimple : RichTextBox, IStepRTB { #region Fields - private StepItem _MyStepItem; + private RTBItem _MyRTBItem; private IContainer _Container = null; private ItemInfo _MyItemInfo; private Size _AdjustSize; @@ -135,10 +135,10 @@ namespace Volian.Controls.Library } } } - public StepItem MyStepItem + public RTBItem MyRTBItem { - get { return _MyStepItem; } - set { _MyStepItem = value; } + get { return _MyRTBItem; } + set { _MyRTBItem = value; } } public Size AdjustSize { @@ -242,7 +242,7 @@ namespace Volian.Controls.Library void StepRTBSimple_LinkClicked(object sender, LinkClickedEventArgs args) { - OnLinkGoTo(sender, new StepPanelLinkEventArgs(_MyStepItem, args.LinkText)); + OnLinkGoTo(sender, new StepPanelLinkEventArgs(_MyRTBItem, args.LinkText)); } #endregion #region Constructors @@ -272,7 +272,7 @@ namespace Volian.Controls.Library { event StepRTBEvent HeightChanged; ItemInfo MyItemInfo { get; set;} - StepItem MyStepItem { get; set;} + RTBItem MyRTBItem { get; set;} Size AdjustSize { get; set; } Rectangle ContentsRectangle { get; set; } E_EditPrintMode EpMode { get; set; }