protected virtual void OnReportItemClick(ReportMenuEventArgs args) { if (ReportMenuClick != null) { ReportMenuClick(this, args); } }
private void menu_MenuItemClick(object sender, MenuEventArgs e) { Menu menu = sender as Menu; if (menu != null) { ReportMenuEventArgs args = new ReportMenuEventArgs(e.Item.Text, e.Item.Value, _valueRedirctes[e.Item.Value]); OnReportItemClick(args); if (!args.Cancel) { Redirect(args.Redircet); } } }