/// <summary> /// On specific link click handle it here. /// </summary> private static void OnLinkClicked(object sender, HtmlLinkClickedEventArgs e) { if (e.Link == "SayHello") { MessageBox.Show("Hello you!"); e.Handled = true; } else if (e.Link == "ShowSampleForm") { using (SampleForm f = new SampleForm()) { f.ShowDialog(); e.Handled = true; } } }
/// <summary> /// On specific link click handle it here. /// </summary> private static void OnLinkClicked(object sender, HtmlLinkClickedEventArgs e) { if(e.Link == "SayHello") { MessageBox.Show("Hello you!"); e.Handled = true; } else if (e.Link == "ShowSampleForm") { using (SampleForm f = new SampleForm()) { f.ShowDialog(); e.Handled = true; } } }