Beispiel #1
0
 /// <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;
         }
     }
 }
Beispiel #2
0
 /// <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;
         }
     }
 }