using System; using System.Windows.Forms; namespace VPScriptEditor { static class Program { /// /// The main entry point for the application. /// [STAThread] static void Main() { try { Application.EnableVisualStyles(); Application.Run(new VPScriptEditor()); } catch (Exception e) { MessageBox.Show(e.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } } }