monodev
[mcloud.git] / mCloudGui / DirectorySelectionWin.cs
diff --git a/mCloudGui/DirectorySelectionWin.cs b/mCloudGui/DirectorySelectionWin.cs
new file mode 100644 (file)
index 0000000..70d67b6
--- /dev/null
@@ -0,0 +1,27 @@
+using System;
+using Gtk;
+
+using mCloudAwk;
+
+namespace mCloudGui
+{
+       public partial class DirectorySelectionWin : Gtk.Window
+       {
+               private IMCloudAwk MCA;
+
+               public DirectorySelectionWin () : 
+                               base(Gtk.WindowType.Toplevel)
+               {
+                       this.Build ();
+                       this.MCA = new MCloudMgr ();
+               }
+               protected void OnDeleteEvent (object sender, DeleteEventArgs a)
+               {
+                       MCA.Dispose ();
+                       Application.Quit ();
+                       a.RetVal = true;
+               }
+
+       }
+}
+