Spell Check Context menu fix

This commit is contained in:
John Jenko 2011-06-07 19:06:21 +00:00
parent 3faef16a06
commit b9dd99d394

View File

@ -273,11 +273,23 @@ namespace Volian.Controls.Library
this.MyStepRTB.GotFocus += new EventHandler(MyStepRTB_GotFocus);
this.MyStepRTB.RoInsert += new StepRTBRoEvent(MyStepRTB_RoInsert);
this.MyFlexGrid.AdjustPastedText += new VlnFlexGridPasteEvent(MyFlexGrid_AdjustPastedText);
this.MyStepRTB.SetMenu += new StepRTBMenuEvent(MyStepRTB_SetMenu);
this.MyStepRTB.OpenContextMenu += new StepRTBLocationEvent(MyStepRTB_OpenContextMenu);
// This Resize event has been useful for debugging purposes numerous times
//
//this.MyStepRTB.Resize += new EventHandler(MyStepRTB_Resize);
}
void MyStepRTB_OpenContextMenu(object sender, StepRTBLocationEventArgs args)
{
MyStepPanel.MyStepTabPanel.MyStepTabRibbon.OpenContextMenu(args.Location);
}
void MyStepRTB_SetMenu(object sender, StepRTBMenuEventArgs args)
{
SetMenu(args.MenuGroup);
}
// This Resize event been useful for debugging purposes numerous times
//
//void MyStepRTB_Resize(object sender, EventArgs e)
@ -1139,6 +1151,7 @@ namespace Volian.Controls.Library
}
}
}
#endregion
}
}