Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Windows.Forms/Gtk/demo.cs')
-rw-r--r--mcs/class/System.Windows.Forms/Gtk/demo.cs40
1 files changed, 0 insertions, 40 deletions
diff --git a/mcs/class/System.Windows.Forms/Gtk/demo.cs b/mcs/class/System.Windows.Forms/Gtk/demo.cs
deleted file mode 100644
index 1b442c1bc4a..00000000000
--- a/mcs/class/System.Windows.Forms/Gtk/demo.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System.Windows.Forms;
-
-class X {
- static void Demo_Window ()
- {
- Form form = new Form ();
-
- form.Text = "hello";
-
- form.Visible = true;
-
- Application.Run ();
- }
-
- static void Demo_AppRun ()
- {
- Form form = new Form ();
-
- form.Text = "hello";
-
- Application.Run (form);
- }
-
- static void Main (string [] args)
- {
- string demo = "window";
-
- if (args.Length > 0)
- demo = args [0];
-
- switch (demo){
- case "window":
- Demo_Window ();
- break;
- case "app_run":
- Demo_AppRun ();
- break;
- }
- }
-}