public static bool IsCommandEvent(Control control, string eventName) { return IsCommandEvent(GetEvent(control, eventName)); }