namespace OINA.Extender.Testharness { using System; using System.Windows.Forms; /// /// Progarm Class /// public static class Program { /// /// The main entry point for the application. /// [STAThread] public static void Main() { try { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); } catch (LicenseCheckException e) { MessageBox.Show(@"This application will shutdown, as a valid license is not available." + Environment.NewLine + e.Message, @"Error Message"); Application.Exit(); } } } }