Object and Property name changes for consistency
This commit is contained in:
@@ -55,24 +55,23 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
if (!Visible) return;
|
||||
if (_MyRTB != null)
|
||||
_MyRTB.LinkChanged -= new DisplayRTBLinkEvent(_MyRTB_LinkChanged);
|
||||
_MyRTB.LinkChanged -= new StepRTBLinkEvent(_MyRTB_LinkChanged);
|
||||
if (value == null) return;
|
||||
_MyRTB = value;
|
||||
_MyRTB.LinkChanged += new DisplayRTBLinkEvent(_MyRTB_LinkChanged);
|
||||
_MyRTB.LinkChanged += new StepRTBLinkEvent(_MyRTB_LinkChanged);
|
||||
if (_MyRTB.MyLinkText == null)
|
||||
{
|
||||
_CurROLink = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
void _MyRTB_LinkChanged(object sender, LinkClickedEventArgs e)
|
||||
void _MyRTB_LinkChanged(object sender, StepPanelLinkEventArgs args)
|
||||
{
|
||||
if (_MyRTB.MyLinkText == null)
|
||||
CurROLink = null;
|
||||
else
|
||||
{
|
||||
DisplayLinkEventArgs tmp = new DisplayLinkEventArgs(null, e);
|
||||
CurROLink = tmp.RoUsageid;
|
||||
CurROLink = args.RoUsageid;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
Reference in New Issue
Block a user