public void OnShowBackorderMessages(object sender, EventArgs e) { var args = e as ShowBackorderMessagesEventArgs; if (args != null) { ProductsBase.ShowBackorderMessage(args.BackorderMessages); } }