jgiese.wci
(Joshua Giese)
December 16, 2016, 3:04pm
1
Trying to hook onto before RefreshTool is clicked. Used the wizard to add the BeforeToolClick with a messagebox and it doesn’t fire at all. Anyone else ever work around this?
private void MainController_BeforeToolClick(object sender, Epicor.Mfg.UI.FrameWork.BeforeToolClickEventArgs args)
{
MessageBox.Show(((ButtonTool)sender).Key);
}
Try using the base tool click event:
private void baseToolbarsManager_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs args)
{
MessageBox.Show(args.Tool.Key);
}
jgiese.wci
(Joshua Giese)
December 16, 2016, 4:48pm
3
I wasn’t going to keep fighting it i simply removed it and added my own button.