summaryrefslogtreecommitdiff
path: root/script-editor/Program.cs
diff options
context:
space:
mode:
authorJes <jes>2010-01-06 23:39:02 +0100
committerJes <jes>2010-01-06 23:39:02 +0100
commit49b3d926ea33f486468f0bc855585968eacca124 (patch)
treed4df4025819927a586714b3d077b7395c0c66e11 /script-editor/Program.cs
parent6b898f4d57431cacd6cec6e9425c441cf80d302f (diff)
Ajout des sources de l'éditeur de script
Diffstat (limited to 'script-editor/Program.cs')
-rw-r--r--script-editor/Program.cs25
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);
+ }
+ }
+ }
+}