This commit is contained in:
@@ -153,16 +153,31 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
_MyDisplayRTB.SetSelectedCase('T');
|
||||
}
|
||||
//public event DisplayRTBLinkEvent LinkInsertTran;
|
||||
//private void OnLinkInsertTran(object sender, LinkClickedEventArgs args)
|
||||
//{
|
||||
// _LinkClickedEventArgs = args;
|
||||
// if (LinkInsertTran != null) LinkInsertTran(sender, args);
|
||||
//}
|
||||
private void btnInsTrans_Click(object sender, EventArgs e)
|
||||
{
|
||||
// see if user is positioned 'on' a transition within the rtb, if so do a modify, otherwise,
|
||||
// insert transition.
|
||||
|
||||
DisplayTabPanel tmp = Parent as DisplayTabPanel;
|
||||
tmp.MyTabControl.OnLinkModifyTran(this, new DisplayLinkEventArgs(_MyDisplayItem, null));
|
||||
}
|
||||
|
||||
private void btnInsHrdSpc_Click(object sender, EventArgs e)
|
||||
{
|
||||
_MyDisplayRTB.InsertSymbol(@"\u160?");
|
||||
}
|
||||
|
||||
private void btnInsRO_Click(object sender, EventArgs e)
|
||||
{
|
||||
// see if user is positioned 'on' an RO within the rtb, if so do a modify, otherwise,
|
||||
// insert transition.
|
||||
DisplayTabPanel tmp = Parent as DisplayTabPanel;
|
||||
tmp.MyTabControl.OnLinkModifyRO(this, new DisplayLinkEventArgs(_MyDisplayItem, null));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user