aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/Manager/OpenGridServices.Manager/ConnectToGridServerDialog.cs
blob: 8a80b1db2cae5e9fd13aad2d1d5e8aa3761ea11c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using Gtk;
using System;

namespace OpenGridServices.Manager {
	public partial class ConnectToGridServerDialog : Gtk.Dialog
	{
		
		public ConnectToGridServerDialog()
		{
			this.Build();
		}

		protected virtual void OnResponse(object o, Gtk.ResponseArgs args)
		{
			switch(args.ResponseId) {
				case Gtk.ResponseType.Ok:
					MainClass.PendingOperations.Enqueue("connect_to_gridserver " + this.entry1.Text + " " + this.entry2.Text + " " + this.entry3.Text);
				break;
				
				case Gtk.ResponseType.Cancel:
				break;
			}
			this.Hide();
			
		}

	}

}