diff options
Diffstat (limited to 'script-editor/Program.cs')
-rw-r--r-- | script-editor/Program.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/script-editor/Program.cs b/script-editor/Program.cs new file mode 100644 index 0000000..b219c24 --- /dev/null +++ b/script-editor/Program.cs @@ -0,0 +1,25 @@ +using System; +using System.Windows.Forms; + +namespace VPScriptEditor +{ + static class Program + { + /// <summary> + /// The main entry point for the application. + /// </summary> + [STAThread] + static void Main() + { + try + { + Application.EnableVisualStyles(); + Application.Run(new VPScriptEditor()); + } + catch (Exception e) + { + MessageBox.Show(e.ToString(), "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); + } + } + } +} |