Trying to capture the Toolbar Click event within a customization for a dashboard. Using the wizard generates the event related to the MainController, however, there is no response from the following code except when entering Customization mode. How is the toolbar click event captured for a dashboard?
Correction: A response is only generated for the highlighted clicks. Why are the other button clicks not captured?
private void MainController_BeforeToolClick(object sender, Ice.Lib.Framework.BeforeToolClickEventArgs args)
{
EpiMessageBox.Show(args.Tool.Key);
switch (args.Tool.Key)
{
case "PrintTool":
args.Handled = true;
break;
}
}