diff options
Diffstat (limited to 'OpenGridServices.Manager.Gtk/OpenGridServices.Manager.Gtk/MainWindow.cs')
-rw-r--r-- | OpenGridServices.Manager.Gtk/OpenGridServices.Manager.Gtk/MainWindow.cs | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/OpenGridServices.Manager.Gtk/OpenGridServices.Manager.Gtk/MainWindow.cs b/OpenGridServices.Manager.Gtk/OpenGridServices.Manager.Gtk/MainWindow.cs new file mode 100644 index 0000000..0f4ef25 --- /dev/null +++ b/OpenGridServices.Manager.Gtk/OpenGridServices.Manager.Gtk/MainWindow.cs | |||
@@ -0,0 +1,30 @@ | |||
1 | using System; | ||
2 | using Gtk; | ||
3 | |||
4 | public partial class MainWindow: Gtk.Window | ||
5 | { | ||
6 | public MainWindow (): base (Gtk.WindowType.Toplevel) | ||
7 | { | ||
8 | Build (); | ||
9 | } | ||
10 | |||
11 | protected void OnDeleteEvent (object sender, DeleteEventArgs a) | ||
12 | { | ||
13 | Application.Quit (); | ||
14 | a.RetVal = true; | ||
15 | } | ||
16 | |||
17 | protected virtual void QuitMenu(object sender, System.EventArgs e) | ||
18 | { | ||
19 | Application.Quit(); | ||
20 | } | ||
21 | |||
22 | protected virtual void ConnectToGridServerMenu(object sender, System.EventArgs e) | ||
23 | { | ||
24 | ConnectToGridServerDialog griddialog = new ConnectToGridServerDialog (); | ||
25 | griddialog.Show(); | ||
26 | } | ||
27 | |||
28 | |||
29 | |||
30 | } \ No newline at end of file | ||