/// <summary> /// Invoked to check if a scanner button should be enabled. Uses context /// to determine the 'enabled' state. /// </summary> /// <param name="arg">info about the scanner button</param> public bool CheckWidgetEnabled(CheckEnabledArgs arg) { if (arg.Widget.SubClass == "GoBack") { arg.Handled = true; arg.Enabled = (Parent != null || Owner != null); return(true); } return(_alphabetScannerCommon.CheckWidgetEnabled(arg)); }
/// <summary> /// Invoked to check if a scanner button should be enabled. Uses context /// to determine the 'enabled' state. /// </summary> /// <param name="arg">info about the scanner button</param> public bool CheckWidgetEnabled(CheckEnabledArgs arg) { return(_alphabetScannerCommon.CheckWidgetEnabled(arg)); }