ShowWebPage

      public static void ShowWebPage(this string pAddress)
      {
         ProcessStartInfo procFormsBuilderStartInfo = new ProcessStartInfo();
         procFormsBuilderStartInfo.FileName = pAddress;
         procFormsBuilderStartInfo.WindowStyle = ProcessWindowStyle.Maximized;
         Process procFormsBuilder = new Process();
         procFormsBuilder.StartInfo = procFormsBuilderStartInfo;
         procFormsBuilder.Start();
      }
Example:
"http://www.trevoit.com".ShowWebPage();

Description

This extension method trigers the default navigator with the address pointed by the string

Details

Double click on the code to select all.

 

;