Navigate to page
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Windows.Forms;
using System.Text.RegularExpressions;
using System.IO;
using System.Drawing.Imaging;
using System.Reflection;
namespace SuchSofts.OpenImage.Lib.Operation
{
internal class CommonOperations
{
public static void Navigate(string page)
{
try
{
Process.Start(page);
}
catch (Exception ex)
{
MessageBox.Show("An error occured while loading " + page + "\nDetails: " + ex.Message, Application.ProductName, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
}
Related examples in the same category