// Token: 0x06003056 RID: 12374 RVA: 0x000D9238 File Offset: 0x000D7438 private static void DispatchNavigation(object sender) { Hyperlink hyperlink = sender as Hyperlink; if (hyperlink != null) { hyperlink.OnClick(); return; } Hyperlink.DoNavigation(sender); }
/// <summary> /// Dispatches navigation; if the object is a Hyperlink we go through OnClick /// to preserve the original event chain, otherwise we call our DoNavigation /// method. /// </summary> private static void DispatchNavigation(object sender) { Hyperlink hl = sender as Hyperlink; if (hl != null) { // // Call the virtual OnClick on Hyperlink to keep old behavior. // hl.OnClick(); } else { DoNavigation(sender); } }