This commit is contained in:
2008-03-19 12:49:36 +00:00
parent e290df0fdb
commit 8bd8b037f4
4 changed files with 70 additions and 30 deletions

View File

@@ -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));
}
}
}