Fixed code so that Right-Click is accounted for before going to an enhanced document
This commit is contained in:
@@ -584,7 +584,7 @@ namespace Volian.Controls.Library
|
||||
if (args.MenuGroup == null)
|
||||
MyStepPanel.MyStepTabPanel.MyStepTabRibbon.ClearContextMenu();
|
||||
else if (args.MenuGroup == "OpenContextMenu")
|
||||
MyStepPanel.MyStepTabPanel.MyStepTabRibbon.SetContextMenu();
|
||||
MyStepPanel.MyStepTabPanel.MyStepTabRibbon.SetContextMenu(sender);
|
||||
else
|
||||
MyStepPanel.MyStepTabPanel.MyStepTabRibbon.SetShortCutContextMenu(args.MenuGroup);
|
||||
}
|
||||
@@ -708,7 +708,7 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
void _MyStepRTB_OpenContextMenu(object sender, StepRTBLocationEventArgs args)
|
||||
{
|
||||
MyStepPanel.MyStepTabPanel.MyStepTabRibbon.OpenContextMenu(args.Location);
|
||||
MyStepPanel.MyStepTabPanel.MyStepTabRibbon.OpenContextMenu(args.Location, sender);
|
||||
}
|
||||
void _MyStepRTB_DoMouseWheel(object sender, System.Windows.Forms.MouseEventArgs args)
|
||||
{
|
||||
|
Reference in New Issue
Block a user