Ejemplo n.º 1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MonoGame.Tools.Pipeline.ColorPickerDialog
     this.Name           = "MonoGame.Tools.Pipeline.ColorPickerDialog";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child MonoGame.Tools.Pipeline.ColorPickerDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.colorselection1                   = new global::Gtk.ColorSelection();
     this.colorselection1.Name              = "colorselection1";
     this.colorselection1.HasPalette        = true;
     this.colorselection1.HasOpacityControl = true;
     w1.Add(this.colorselection1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.colorselection1]));
     w2.Position = 0;
     // Internal child MonoGame.Tools.Pipeline.ColorPickerDialog.ActionArea
     global::Gtk.HButtonBox w3 = this.ActionArea;
     w3.Name        = "dialog1_ActionArea";
     w3.Spacing     = 10;
     w3.BorderWidth = ((uint)(5));
     w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanDefault   = true;
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseStock     = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = "gtk-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel]));
     w4.Expand = false;
     w4.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new global::Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     w3.Add(this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 509;
     this.DefaultHeight = 326;
     this.Show();
     this.Response         += new global::Gtk.ResponseHandler(this.OnResponse);
     this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked);
 }
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget MonoGame.Tools.Pipeline.ColorPickerDialog
			this.Name = "MonoGame.Tools.Pipeline.ColorPickerDialog";
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			// Internal child MonoGame.Tools.Pipeline.ColorPickerDialog.VBox
			global::Gtk.VBox w1 = this.VBox;
			w1.Name = "dialog1_VBox";
			w1.BorderWidth = ((uint)(2));
			// Container child dialog1_VBox.Gtk.Box+BoxChild
			this.colorselection1 = new global::Gtk.ColorSelection ();
			this.colorselection1.Name = "colorselection1";
			this.colorselection1.HasPalette = true;
			this.colorselection1.HasOpacityControl = true;
			w1.Add (this.colorselection1);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.colorselection1]));
			w2.Position = 0;
			// Internal child MonoGame.Tools.Pipeline.ColorPickerDialog.ActionArea
			global::Gtk.HButtonBox w3 = this.ActionArea;
			w3.Name = "dialog1_ActionArea";
			w3.Spacing = 10;
			w3.BorderWidth = ((uint)(5));
			w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.buttonCancel = new global::Gtk.Button ();
			this.buttonCancel.CanDefault = true;
			this.buttonCancel.CanFocus = true;
			this.buttonCancel.Name = "buttonCancel";
			this.buttonCancel.UseStock = true;
			this.buttonCancel.UseUnderline = true;
			this.buttonCancel.Label = "gtk-cancel";
			this.AddActionWidget (this.buttonCancel, -6);
			global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel]));
			w4.Expand = false;
			w4.Fill = false;
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.buttonOk = new global::Gtk.Button ();
			this.buttonOk.CanDefault = true;
			this.buttonOk.CanFocus = true;
			this.buttonOk.Name = "buttonOk";
			this.buttonOk.UseStock = true;
			this.buttonOk.UseUnderline = true;
			this.buttonOk.Label = "gtk-ok";
			w3.Add (this.buttonOk);
			global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk]));
			w5.Position = 1;
			w5.Expand = false;
			w5.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 509;
			this.DefaultHeight = 326;
			this.Show ();
			this.Response += new global::Gtk.ResponseHandler (this.OnResponse);
			this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
		}
Ejemplo n.º 3
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget GTKSharpTest.DLL.Widgets.DialogColorPicker
     this.Name           = "GTKSharpTest.DLL.Widgets.DialogColorPicker";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child GTKSharpTest.DLL.Widgets.DialogColorPicker.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.colorselection1      = new global::Gtk.ColorSelection();
     this.colorselection1.Name = "colorselection1";
     this.colorselection1.HasOpacityControl = true;
     w1.Add(this.colorselection1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.colorselection1]));
     w2.Position = 0;
     // Internal child GTKSharpTest.DLL.Widgets.DialogColorPicker.ActionArea
     global::Gtk.HButtonBox w3 = this.ActionArea;
     w3.Name        = "dialog1_ActionArea";
     w3.Spacing     = 10;
     w3.BorderWidth = ((uint)(5));
     w3.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel              = new global::Gtk.Button();
     this.buttonCancel.CanDefault   = true;
     this.buttonCancel.CanFocus     = true;
     this.buttonCancel.Name         = "buttonCancel";
     this.buttonCancel.UseStock     = true;
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label        = "gtk-cancel";
     this.AddActionWidget(this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonCancel]));
     w4.Expand = false;
     w4.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new global::Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w3 [this.buttonOk]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 503;
     this.DefaultHeight = 300;
     this.Show();
 }
Ejemplo n.º 4
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Gtk.ColorPicker
     this.Name = "Gtk.ColorPicker";
     this.Title = global::Mono.Unix.Catalog.GetString ("ColorPicker");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child Gtk.ColorPicker.Gtk.Container+ContainerChild
     this.colorselection1 = new global::Gtk.ColorSelection ();
     this.colorselection1.Name = "colorselection1";
     this.colorselection1.HasPalette = true;
     this.colorselection1.HasOpacityControl = true;
     this.Add (this.colorselection1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 521;
     this.DefaultHeight = 300;
     this.Show ();
 }
Ejemplo n.º 5
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget ColorManager.MyForm
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.FileAction = new global::Gtk.Action ("FileAction", global::Mono.Unix.Catalog.GetString ("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_File");
     w1.Add (this.FileAction, null);
     this.quitAction = new global::Gtk.Action ("quitAction", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit");
     w1.Add (this.quitAction, null);
     this.HelpAction = new global::Gtk.Action ("HelpAction", global::Mono.Unix.Catalog.GetString ("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help");
     w1.Add (this.HelpAction, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "ColorManager.MyForm";
     this.Title = global::Mono.Unix.Catalog.GetString ("Color Manager");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child ColorManager.MyForm.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='quitAction' action='quitAction'/></menu><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Select Palette");
     this.hbox1.Add (this.label1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.combobox1 = global::Gtk.ComboBox.NewText ();
     this.combobox1.Name = "combobox1";
     this.hbox1.Add (this.combobox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.combobox1]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnCreate = new global::Gtk.Button ();
     this.btnCreate.CanFocus = true;
     this.btnCreate.Name = "btnCreate";
     this.btnCreate.UseUnderline = true;
     this.btnCreate.Label = global::Mono.Unix.Catalog.GetString ("Create Palette");
     global::Gtk.Image w5 = new global::Gtk.Image ();
     w5.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
     this.btnCreate.Image = w5;
     this.hbox1.Add (this.btnCreate);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnCreate]));
     w6.Position = 3;
     w6.Expand = false;
     w6.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnDelete = new global::Gtk.Button ();
     this.btnDelete.CanFocus = true;
     this.btnDelete.Name = "btnDelete";
     this.btnDelete.UseUnderline = true;
     this.btnDelete.Label = global::Mono.Unix.Catalog.GetString ("Delete");
     global::Gtk.Image w7 = new global::Gtk.Image ();
     w7.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-close", global::Gtk.IconSize.Menu);
     this.btnDelete.Image = w7;
     this.hbox1.Add (this.btnDelete);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnDelete]));
     w8.Position = 4;
     w8.Expand = false;
     w8.Fill = false;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w9.Position = 1;
     w9.Expand = false;
     w9.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Enter palette name");
     this.hbox2.Add (this.label2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.tbName = new global::Gtk.Entry ();
     this.tbName.CanFocus = true;
     this.tbName.Name = "tbName";
     this.tbName.IsEditable = true;
     this.tbName.InvisibleChar = '●';
     this.hbox2.Add (this.tbName);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.tbName]));
     w11.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.butCr1 = new global::Gtk.Button ();
     this.butCr1.CanFocus = true;
     this.butCr1.Name = "butCr1";
     this.butCr1.UseUnderline = true;
     this.butCr1.Label = global::Mono.Unix.Catalog.GetString ("Create");
     this.hbox2.Add (this.butCr1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.butCr1]));
     w12.Position = 2;
     w12.Expand = false;
     w12.Fill = false;
     this.vbox1.Add (this.hbox2);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w13.Position = 2;
     w13.Expand = false;
     w13.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(7)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn1 = new global::Gtk.ColorButton ();
     this.clrBtn1.CanFocus = true;
     this.clrBtn1.Events = ((global::Gdk.EventMask)(784));
     this.clrBtn1.Name = "clrBtn1";
     this.table1.Add (this.clrBtn1);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn1]));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn10 = new global::Gtk.ColorButton ();
     this.clrBtn10.CanFocus = true;
     this.clrBtn10.Events = ((global::Gdk.EventMask)(784));
     this.clrBtn10.Name = "clrBtn10";
     this.table1.Add (this.clrBtn10);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn10]));
     w15.TopAttach = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.LeftAttach = ((uint)(4));
     w15.RightAttach = ((uint)(5));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn2 = new global::Gtk.ColorButton ();
     this.clrBtn2.CanFocus = true;
     this.clrBtn2.Events = ((global::Gdk.EventMask)(784));
     this.clrBtn2.Name = "clrBtn2";
     this.table1.Add (this.clrBtn2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn2]));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn3 = new global::Gtk.ColorButton ();
     this.clrBtn3.CanFocus = true;
     this.clrBtn3.Events = ((global::Gdk.EventMask)(784));
     this.clrBtn3.Name = "clrBtn3";
     this.table1.Add (this.clrBtn3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn3]));
     w17.LeftAttach = ((uint)(2));
     w17.RightAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn4 = new global::Gtk.ColorButton ();
     this.clrBtn4.CanFocus = true;
     this.clrBtn4.Events = ((global::Gdk.EventMask)(784));
     this.clrBtn4.Name = "clrBtn4";
     this.table1.Add (this.clrBtn4);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn4]));
     w18.LeftAttach = ((uint)(3));
     w18.RightAttach = ((uint)(4));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn5 = new global::Gtk.ColorButton ();
     this.clrBtn5.CanFocus = true;
     this.clrBtn5.Events = ((global::Gdk.EventMask)(784));
     this.clrBtn5.Name = "clrBtn5";
     this.table1.Add (this.clrBtn5);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn5]));
     w19.LeftAttach = ((uint)(4));
     w19.RightAttach = ((uint)(5));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn6 = new global::Gtk.ColorButton ();
     this.clrBtn6.CanFocus = true;
     this.clrBtn6.Events = ((global::Gdk.EventMask)(784));
     this.clrBtn6.Name = "clrBtn6";
     this.table1.Add (this.clrBtn6);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn6]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn7 = new global::Gtk.ColorButton ();
     this.clrBtn7.CanFocus = true;
     this.clrBtn7.Events = ((global::Gdk.EventMask)(784));
     this.clrBtn7.Name = "clrBtn7";
     this.table1.Add (this.clrBtn7);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn7]));
     w21.TopAttach = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn8 = new global::Gtk.ColorButton ();
     this.clrBtn8.CanFocus = true;
     this.clrBtn8.Events = ((global::Gdk.EventMask)(784));
     this.clrBtn8.Name = "clrBtn8";
     this.table1.Add (this.clrBtn8);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn8]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach = ((uint)(2));
     w22.RightAttach = ((uint)(3));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn9 = new global::Gtk.ColorButton ();
     this.clrBtn9.CanFocus = true;
     this.clrBtn9.Events = ((global::Gdk.EventMask)(784));
     this.clrBtn9.Name = "clrBtn9";
     this.table1.Add (this.clrBtn9);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn9]));
     w23.TopAttach = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.LeftAttach = ((uint)(3));
     w23.RightAttach = ((uint)(4));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Color Code");
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w24.LeftAttach = ((uint)(5));
     w24.RightAttach = ((uint)(6));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.tbClr = new global::Gtk.Entry ();
     this.tbClr.CanFocus = true;
     this.tbClr.Name = "tbClr";
     this.tbClr.IsEditable = true;
     this.tbClr.InvisibleChar = '•';
     this.table1.Add (this.tbClr);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.tbClr]));
     w25.LeftAttach = ((uint)(6));
     w25.RightAttach = ((uint)(7));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w26.Position = 3;
     w26.Expand = false;
     w26.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.colorselection1 = new global::Gtk.ColorSelection ();
     this.colorselection1.Name = "colorselection1";
     this.colorselection1.HasOpacityControl = true;
     this.vbox1.Add (this.colorselection1);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.colorselection1]));
     w27.Position = 4;
     // Container child vbox1.Gtk.Box+BoxChild
     this.lblDebug = new global::Gtk.Label ();
     this.lblDebug.Name = "lblDebug";
     this.lblDebug.LabelProp = global::Mono.Unix.Catalog.GetString ("Ready");
     this.lblDebug.SingleLineMode = true;
     this.vbox1.Add (this.lblDebug);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.lblDebug]));
     w28.Position = 5;
     w28.Expand = false;
     w28.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 505;
     this.DefaultHeight = 415;
     this.Show ();
     this.combobox1.Changed += new global::System.EventHandler (this.OnCombobox1Changed);
     this.btnCreate.Clicked += new global::System.EventHandler (this.OnBtnCreateClicked);
     this.btnDelete.Clicked += new global::System.EventHandler (this.OnBtnDeleteClicked);
     this.butCr1.Clicked += new global::System.EventHandler (this.OnButCr1Clicked);
     this.clrBtn9.ColorSet += new global::System.EventHandler (this.OnClrBtn9ColorSet);
     this.clrBtn8.ColorSet += new global::System.EventHandler (this.OnClrBtn8ColorSet);
     this.clrBtn7.ColorSet += new global::System.EventHandler (this.OnClrBtn7ColorSet);
     this.clrBtn6.ColorSet += new global::System.EventHandler (this.OnClrBtn6ColorSet);
     this.clrBtn5.ColorSet += new global::System.EventHandler (this.OnClrBtn5ColorSet);
     this.clrBtn4.ColorSet += new global::System.EventHandler (this.OnClrBtn4ColorSet);
     this.clrBtn3.ColorSet += new global::System.EventHandler (this.OnClrBtn3ColorSet);
     this.clrBtn2.ColorSet += new global::System.EventHandler (this.OnClrBtn2ColorSet);
     this.clrBtn10.ColorSet += new global::System.EventHandler (this.OnClrBtn10ColorSet);
     this.clrBtn1.ColorSet += new global::System.EventHandler (this.OnClrBtn1ColorSet);
 }
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget BlinkStick.BlinkStickTestForm
			this.Name = "BlinkStick.BlinkStickTestForm";
			this.Title = global::Mono.Unix.Catalog.GetString ("Test BlinkStick");
			this.WindowPosition = ((global::Gtk.WindowPosition)(1));
			// Internal child BlinkStick.BlinkStickTestForm.VBox
			global::Gtk.VBox w1 = this.VBox;
			w1.Name = "dialog1_VBox";
			w1.BorderWidth = ((uint)(2));
			// Container child dialog1_VBox.Gtk.Box+BoxChild
			this.vbox4 = new global::Gtk.VBox ();
			this.vbox4.Name = "vbox4";
			this.vbox4.Spacing = 6;
			this.vbox4.BorderWidth = ((uint)(12));
			// Container child vbox4.Gtk.Box+BoxChild
			this.hbox2 = new global::Gtk.HBox ();
			this.hbox2.Name = "hbox2";
			this.hbox2.Spacing = 6;
			// Container child hbox2.Gtk.Box+BoxChild
			this.labelBlinkStick = new global::Gtk.Label ();
			this.labelBlinkStick.Name = "labelBlinkStick";
			this.labelBlinkStick.LabelProp = global::Mono.Unix.Catalog.GetString ("Select BlinkStick:");
			this.hbox2.Add (this.labelBlinkStick);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.labelBlinkStick]));
			w2.Position = 0;
			w2.Expand = false;
			w2.Fill = false;
			// Container child hbox2.Gtk.Box+BoxChild
			this.comboboxDevices = global::Gtk.ComboBox.NewText ();
			this.comboboxDevices.Name = "comboboxDevices";
			this.hbox2.Add (this.comboboxDevices);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.comboboxDevices]));
			w3.Position = 1;
			w3.Expand = false;
			w3.Fill = false;
			this.vbox4.Add (this.hbox2);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox2]));
			w4.Position = 0;
			w4.Expand = false;
			w4.Fill = false;
			// Container child vbox4.Gtk.Box+BoxChild
			this.colorSelection = new global::Gtk.ColorSelection ();
			this.colorSelection.Name = "colorSelection";
			this.colorSelection.HasPalette = true;
			this.colorSelection.HasOpacityControl = true;
			this.vbox4.Add (this.colorSelection);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.colorSelection]));
			w5.Position = 1;
			// Container child vbox4.Gtk.Box+BoxChild
			this.hbox1 = new global::Gtk.HBox ();
			this.hbox1.Name = "hbox1";
			this.hbox1.Spacing = 6;
			// Container child hbox1.Gtk.Box+BoxChild
			this.cbAutoSetColor = new global::Gtk.CheckButton ();
			this.cbAutoSetColor.CanFocus = true;
			this.cbAutoSetColor.Name = "cbAutoSetColor";
			this.cbAutoSetColor.Label = global::Mono.Unix.Catalog.GetString ("Automatically set color");
			this.cbAutoSetColor.Active = true;
			this.cbAutoSetColor.DrawIndicator = true;
			this.cbAutoSetColor.UseUnderline = true;
			this.hbox1.Add (this.cbAutoSetColor);
			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.cbAutoSetColor]));
			w6.Position = 0;
			// Container child hbox1.Gtk.Box+BoxChild
			this.buttonSetColor = new global::Gtk.Button ();
			this.buttonSetColor.CanFocus = true;
			this.buttonSetColor.Name = "buttonSetColor";
			this.buttonSetColor.UseUnderline = true;
			this.buttonSetColor.Label = global::Mono.Unix.Catalog.GetString ("Set Color");
			this.hbox1.Add (this.buttonSetColor);
			global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSetColor]));
			w7.Position = 1;
			w7.Expand = false;
			w7.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.buttonSwitchToColor = new global::Gtk.Button ();
			this.buttonSwitchToColor.CanFocus = true;
			this.buttonSwitchToColor.Name = "buttonSwitchToColor";
			this.buttonSwitchToColor.UseUnderline = true;
			this.buttonSwitchToColor.Label = global::Mono.Unix.Catalog.GetString ("Switch to Color");
			this.hbox1.Add (this.buttonSwitchToColor);
			global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSwitchToColor]));
			w8.Position = 2;
			w8.Expand = false;
			w8.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.buttonPulseColor = new global::Gtk.Button ();
			this.buttonPulseColor.CanFocus = true;
			this.buttonPulseColor.Name = "buttonPulseColor";
			this.buttonPulseColor.UseUnderline = true;
			this.buttonPulseColor.Label = global::Mono.Unix.Catalog.GetString ("Pulse Color");
			this.hbox1.Add (this.buttonPulseColor);
			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonPulseColor]));
			w9.Position = 3;
			w9.Expand = false;
			w9.Fill = false;
			// Container child hbox1.Gtk.Box+BoxChild
			this.buttonAllOff = new global::Gtk.Button ();
			this.buttonAllOff.CanFocus = true;
			this.buttonAllOff.Name = "buttonAllOff";
			this.buttonAllOff.UseUnderline = true;
			this.buttonAllOff.Label = global::Mono.Unix.Catalog.GetString ("All Off");
			this.hbox1.Add (this.buttonAllOff);
			global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonAllOff]));
			w10.Position = 4;
			w10.Expand = false;
			w10.Fill = false;
			this.vbox4.Add (this.hbox1);
			global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hbox1]));
			w11.Position = 2;
			w11.Expand = false;
			w11.Fill = false;
			w1.Add (this.vbox4);
			global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox4]));
			w12.Position = 0;
			// Internal child BlinkStick.BlinkStickTestForm.ActionArea
			global::Gtk.HButtonBox w13 = this.ActionArea;
			w13.Name = "dialog1_ActionArea";
			w13.Spacing = 10;
			w13.BorderWidth = ((uint)(5));
			w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.buttonCancel = new global::Gtk.Button ();
			this.buttonCancel.CanDefault = true;
			this.buttonCancel.CanFocus = true;
			this.buttonCancel.Name = "buttonCancel";
			this.buttonCancel.UseStock = true;
			this.buttonCancel.UseUnderline = true;
			this.buttonCancel.Label = "gtk-close";
			this.AddActionWidget (this.buttonCancel, -7);
			global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonCancel]));
			w14.Expand = false;
			w14.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 533;
			this.DefaultHeight = 395;
			this.Show ();
			this.comboboxDevices.Changed += new global::System.EventHandler (this.OnComboboxDevicesChanged);
			this.colorSelection.ColorChanged += new global::System.EventHandler (this.OnColorSelectionColorChanged);
			this.cbAutoSetColor.Toggled += new global::System.EventHandler (this.OnCbAutoSetColorToggled);
			this.buttonSetColor.Clicked += new global::System.EventHandler (this.OnButtonSetColorClicked);
			this.buttonSwitchToColor.Clicked += new global::System.EventHandler (this.OnButtonSwitchToColorClicked);
			this.buttonPulseColor.Clicked += new global::System.EventHandler (this.OnButtonPulseColorClicked);
			this.buttonAllOff.Clicked += new global::System.EventHandler (this.OnButtonAllOffClicked);
		}
Ejemplo n.º 7
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.Help            = new global::Gtk.Action("Help", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.Help.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.Help, null);
     this.AboutUs            = new global::Gtk.Action("AboutUs", global::Mono.Unix.Catalog.GetString("About us"), null, null);
     this.AboutUs.ShortLabel = global::Mono.Unix.Catalog.GetString("About us");
     w1.Add(this.AboutUs, null);
     this.help            = new global::Gtk.Action("help", global::Mono.Unix.Catalog.GetString("About us"), null, "gtk-help");
     this.help.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.help, null);
     this.colorPicker = new global::Gtk.Action("colorPicker", null, null, "gtk-color-picker");
     w1.Add(this.colorPicker, null);
     this.selectColor            = new global::Gtk.Action("selectColor", global::Mono.Unix.Catalog.GetString("_Color"), null, "gtk-select-color");
     this.selectColor.ShortLabel = global::Mono.Unix.Catalog.GetString("_Color");
     w1.Add(this.selectColor, null);
     this.quit            = new global::Gtk.Action("quit", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quit.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quit, null);
     this.File            = new global::Gtk.Action("File", global::Mono.Unix.Catalog.GetString("  File"), null, null);
     this.File.ShortLabel = global::Mono.Unix.Catalog.GetString("  File");
     w1.Add(this.File, null);
     this.quit1            = new global::Gtk.Action("quit1", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quit1.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quit1, null);
     this.Help1            = new global::Gtk.Action("Help1", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.Help1.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.Help1, null);
     this.Help2            = new global::Gtk.Action("Help2", global::Mono.Unix.Catalog.GetString("Help"), null, null);
     this.Help2.ShortLabel = global::Mono.Unix.Catalog.GetString("Help");
     w1.Add(this.Help2, null);
     this.selectColor1            = new global::Gtk.Action("selectColor1", global::Mono.Unix.Catalog.GetString("About Us"), null, "gtk-dialog-info");
     this.selectColor1.ShortLabel = global::Mono.Unix.Catalog.GetString("About Us");
     w1.Add(this.selectColor1, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("ColorPicker");
     this.Icon           = global::Stetic.IconLoader.LoadIcon(this, "gtk-select-color", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.DefaultWidth   = 13;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='File' action='File'><menuitem name='quit1' action='quit1'/></menu><menu name='Help2' action='Help2'><menuitem name='selectColor1' action='selectColor1'/></menu></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.comboboxentry1      = global::Gtk.ComboBoxEntry.NewText();
     this.comboboxentry1.Name = "comboboxentry1";
     this.hbox1.Add(this.comboboxentry1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboboxentry1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnNew              = new global::Gtk.Button();
     this.btnNew.CanFocus     = true;
     this.btnNew.Name         = "btnNew";
     this.btnNew.UseUnderline = true;
     this.btnNew.Label        = global::Mono.Unix.Catalog.GetString("New");
     global::Gtk.Image w4 = new global::Gtk.Image();
     w4.Pixbuf         = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.btnNew.Image = w4;
     this.hbox1.Add(this.btnNew);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnNew]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button2              = new global::Gtk.Button();
     this.button2.CanFocus     = true;
     this.button2.Name         = "button2";
     this.button2.UseUnderline = true;
     this.button2.Label        = global::Mono.Unix.Catalog.GetString("Edit");
     global::Gtk.Image w6 = new global::Gtk.Image();
     w6.Pixbuf          = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.button2.Image = w6;
     this.hbox1.Add(this.button2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button2]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnDelete              = new global::Gtk.Button();
     this.btnDelete.CanFocus     = true;
     this.btnDelete.Name         = "btnDelete";
     this.btnDelete.UseUnderline = true;
     this.btnDelete.Label        = global::Mono.Unix.Catalog.GetString("Delete");
     global::Gtk.Image w8 = new global::Gtk.Image();
     w8.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.btnDelete.Image = w8;
     this.hbox1.Add(this.btnDelete);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnDelete]));
     w9.Position = 3;
     w9.Expand   = false;
     w9.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.lblPaletteName           = new global::Gtk.Label();
     this.lblPaletteName.Name      = "lblPaletteName";
     this.lblPaletteName.LabelProp = global::Mono.Unix.Catalog.GetString("Enter name for a new Palette:");
     this.hbox2.Add(this.lblPaletteName);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.lblPaletteName]));
     w11.Position = 0;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.entry1 = new global::Gtk.Entry();
     this.entry1.WidthRequest  = 0;
     this.entry1.HeightRequest = 28;
     this.entry1.CanFocus      = true;
     this.entry1.Name          = "entry1";
     this.entry1.IsEditable    = true;
     this.entry1.InvisibleChar = '•';
     this.hbox2.Add(this.entry1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entry1]));
     w12.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.btnAdd              = new global::Gtk.Button();
     this.btnAdd.CanFocus     = true;
     this.btnAdd.Name         = "btnAdd";
     this.btnAdd.UseUnderline = true;
     this.btnAdd.Label        = global::Mono.Unix.Catalog.GetString("Add");
     this.hbox2.Add(this.btnAdd);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnAdd]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.btnUpdate              = new global::Gtk.Button();
     this.btnUpdate.CanFocus     = true;
     this.btnUpdate.Name         = "btnUpdate";
     this.btnUpdate.UseUnderline = true;
     this.btnUpdate.Label        = global::Mono.Unix.Catalog.GetString("Update");
     this.hbox2.Add(this.btnUpdate);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnUpdate]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.btnCancle              = new global::Gtk.Button();
     this.btnCancle.CanFocus     = true;
     this.btnCancle.Name         = "btnCancle";
     this.btnCancle.UseUnderline = true;
     this.btnCancle.Label        = global::Mono.Unix.Catalog.GetString("Cancel");
     this.hbox2.Add(this.btnCancle);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnCancle]));
     w15.Position = 4;
     w15.Expand   = false;
     w15.Fill     = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(10)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth   = ((uint)(12));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton1            = new global::Gtk.ColorButton();
     this.colorbutton1.CanDefault = true;
     this.colorbutton1.CanFocus   = true;
     this.colorbutton1.Events     = ((global::Gdk.EventMask)(788));
     this.colorbutton1.Name       = "colorbutton1";
     this.colorbutton1.Relief     = ((global::Gtk.ReliefStyle)(1));
     this.table1.Add(this.colorbutton1);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton1]));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton10          = new global::Gtk.ColorButton();
     this.colorbutton10.CanFocus = true;
     this.colorbutton10.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton10.Name     = "colorbutton10";
     this.table1.Add(this.colorbutton10);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton10]));
     w18.TopAttach    = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach   = ((uint)(1));
     w18.RightAttach  = ((uint)(2));
     w18.XOptions     = ((global::Gtk.AttachOptions)(4));
     w18.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton11          = new global::Gtk.ColorButton();
     this.colorbutton11.CanFocus = true;
     this.colorbutton11.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton11.Name     = "colorbutton11";
     this.table1.Add(this.colorbutton11);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton11]));
     w19.TopAttach    = ((uint)(1));
     w19.BottomAttach = ((uint)(2));
     w19.LeftAttach   = ((uint)(2));
     w19.RightAttach  = ((uint)(3));
     w19.XOptions     = ((global::Gtk.AttachOptions)(4));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton12          = new global::Gtk.ColorButton();
     this.colorbutton12.CanFocus = true;
     this.colorbutton12.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton12.Name     = "colorbutton12";
     this.table1.Add(this.colorbutton12);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton12]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach   = ((uint)(3));
     w20.RightAttach  = ((uint)(4));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton13          = new global::Gtk.ColorButton();
     this.colorbutton13.CanFocus = true;
     this.colorbutton13.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton13.Name     = "colorbutton13";
     this.table1.Add(this.colorbutton13);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton13]));
     w21.TopAttach    = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.LeftAttach   = ((uint)(4));
     w21.RightAttach  = ((uint)(5));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton14          = new global::Gtk.ColorButton();
     this.colorbutton14.CanFocus = true;
     this.colorbutton14.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton14.Name     = "colorbutton14";
     this.table1.Add(this.colorbutton14);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton14]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach   = ((uint)(5));
     w22.RightAttach  = ((uint)(6));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton15          = new global::Gtk.ColorButton();
     this.colorbutton15.CanFocus = true;
     this.colorbutton15.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton15.Name     = "colorbutton15";
     this.table1.Add(this.colorbutton15);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton15]));
     w23.TopAttach    = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.LeftAttach   = ((uint)(6));
     w23.RightAttach  = ((uint)(7));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton16          = new global::Gtk.ColorButton();
     this.colorbutton16.CanFocus = true;
     this.colorbutton16.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton16.Name     = "colorbutton16";
     this.table1.Add(this.colorbutton16);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton16]));
     w24.TopAttach    = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.LeftAttach   = ((uint)(7));
     w24.RightAttach  = ((uint)(8));
     w24.XOptions     = ((global::Gtk.AttachOptions)(4));
     w24.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton2          = new global::Gtk.ColorButton();
     this.colorbutton2.CanFocus = true;
     this.colorbutton2.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton2.Name     = "colorbutton2";
     this.table1.Add(this.colorbutton2);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton2]));
     w25.LeftAttach  = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.XOptions    = ((global::Gtk.AttachOptions)(4));
     w25.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton3          = new global::Gtk.ColorButton();
     this.colorbutton3.CanFocus = true;
     this.colorbutton3.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton3.Name     = "colorbutton3";
     this.table1.Add(this.colorbutton3);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton3]));
     w26.LeftAttach  = ((uint)(2));
     w26.RightAttach = ((uint)(3));
     w26.XOptions    = ((global::Gtk.AttachOptions)(4));
     w26.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton4          = new global::Gtk.ColorButton();
     this.colorbutton4.CanFocus = true;
     this.colorbutton4.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton4.Name     = "colorbutton4";
     this.table1.Add(this.colorbutton4);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton4]));
     w27.LeftAttach  = ((uint)(3));
     w27.RightAttach = ((uint)(4));
     w27.XOptions    = ((global::Gtk.AttachOptions)(4));
     w27.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton5          = new global::Gtk.ColorButton();
     this.colorbutton5.CanFocus = true;
     this.colorbutton5.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton5.Name     = "colorbutton5";
     this.table1.Add(this.colorbutton5);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton5]));
     w28.LeftAttach  = ((uint)(4));
     w28.RightAttach = ((uint)(5));
     w28.XOptions    = ((global::Gtk.AttachOptions)(4));
     w28.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton6          = new global::Gtk.ColorButton();
     this.colorbutton6.CanFocus = true;
     this.colorbutton6.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton6.Name     = "colorbutton6";
     this.table1.Add(this.colorbutton6);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton6]));
     w29.LeftAttach  = ((uint)(5));
     w29.RightAttach = ((uint)(6));
     w29.XOptions    = ((global::Gtk.AttachOptions)(4));
     w29.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton7          = new global::Gtk.ColorButton();
     this.colorbutton7.CanFocus = true;
     this.colorbutton7.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton7.Name     = "colorbutton7";
     this.table1.Add(this.colorbutton7);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton7]));
     w30.LeftAttach  = ((uint)(6));
     w30.RightAttach = ((uint)(7));
     w30.XOptions    = ((global::Gtk.AttachOptions)(4));
     w30.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton8          = new global::Gtk.ColorButton();
     this.colorbutton8.CanFocus = true;
     this.colorbutton8.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton8.Name     = "colorbutton8";
     this.table1.Add(this.colorbutton8);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton8]));
     w31.LeftAttach  = ((uint)(7));
     w31.RightAttach = ((uint)(8));
     w31.XOptions    = ((global::Gtk.AttachOptions)(4));
     w31.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton9          = new global::Gtk.ColorButton();
     this.colorbutton9.CanFocus = true;
     this.colorbutton9.Events   = ((global::Gdk.EventMask)(784));
     this.colorbutton9.Name     = "colorbutton9";
     this.table1.Add(this.colorbutton9);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton9]));
     w32.TopAttach    = ((uint)(1));
     w32.BottomAttach = ((uint)(2));
     w32.XOptions     = ((global::Gtk.AttachOptions)(4));
     w32.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry2               = new global::Gtk.Entry();
     this.entry2.CanFocus      = true;
     this.entry2.Name          = "entry2";
     this.entry2.IsEditable    = false;
     this.entry2.WidthChars    = 8;
     this.entry2.InvisibleChar = '•';
     this.table1.Add(this.entry2);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.entry2]));
     w33.TopAttach    = ((uint)(1));
     w33.BottomAttach = ((uint)(2));
     w33.LeftAttach   = ((uint)(9));
     w33.RightAttach  = ((uint)(10));
     w33.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry4               = new global::Gtk.Entry();
     this.entry4.CanFocus      = true;
     this.entry4.Name          = "entry4";
     this.entry4.IsEditable    = false;
     this.entry4.WidthChars    = 8;
     this.entry4.MaxLength     = 8;
     this.entry4.InvisibleChar = '•';
     this.table1.Add(this.entry4);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.entry4]));
     w34.LeftAttach  = ((uint)(9));
     w34.RightAttach = ((uint)(10));
     w34.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("WebSnap");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w35.TopAttach    = ((uint)(1));
     w35.BottomAttach = ((uint)(2));
     w35.LeftAttach   = ((uint)(8));
     w35.RightAttach  = ((uint)(9));
     w35.XOptions     = ((global::Gtk.AttachOptions)(4));
     w35.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("#");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w36.LeftAttach  = ((uint)(8));
     w36.RightAttach = ((uint)(9));
     w36.XOptions    = ((global::Gtk.AttachOptions)(4));
     w36.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w37.Position = 3;
     w37.Expand   = false;
     w37.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.colorselection1      = new global::Gtk.ColorSelection();
     this.colorselection1.Name = "colorselection1";
     this.colorselection1.HasOpacityControl = true;
     this.vbox1.Add(this.colorselection1);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.colorselection1]));
     w38.Position = 4;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultHeight = 511;
     this.btnUpdate.Hide();
     this.hbox2.Hide();
     this.Show();
     this.DeleteEvent            += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.quit1.Activated        += new global::System.EventHandler(this.QuitClicked);
     this.selectColor1.Activated += new global::System.EventHandler(this.AboutusClicked);
     this.comboboxentry1.Changed += new global::System.EventHandler(this.Cmb_Changed);
     this.btnNew.Clicked         += new global::System.EventHandler(this.OnBtnNewClicked);
     this.button2.Clicked        += new global::System.EventHandler(this.onBtnEditClicked);
     this.btnDelete.Clicked      += new global::System.EventHandler(this.onBtnDeleteClicked);
     this.btnAdd.Clicked         += new global::System.EventHandler(this.add_Click);
     this.btnUpdate.Clicked      += new global::System.EventHandler(this.btnUpdateClick);
     this.btnCancle.Clicked      += new global::System.EventHandler(this.OnBtnCancleClicked);
     this.colorbutton9.ColorSet  += new global::System.EventHandler(this.OnColorbutton9ColorSet);
     this.colorbutton8.ColorSet  += new global::System.EventHandler(this.OnColorbutton8ColorSet);
     this.colorbutton7.ColorSet  += new global::System.EventHandler(this.OnColorbutton7ColorSet);
     this.colorbutton6.ColorSet  += new global::System.EventHandler(this.OnColorbutton6ColorSet);
     this.colorbutton5.ColorSet  += new global::System.EventHandler(this.OnColorbutton5ColorSet);
     this.colorbutton4.ColorSet  += new global::System.EventHandler(this.OnColorbutton4ColorSet);
     this.colorbutton3.ColorSet  += new global::System.EventHandler(this.OnColorbutton3ColorSet);
     this.colorbutton2.ColorSet  += new global::System.EventHandler(this.OnColorbutton2ColorSet);
     this.colorbutton16.ColorSet += new global::System.EventHandler(this.OnColorbutton16ColorSet);
     this.colorbutton15.ColorSet += new global::System.EventHandler(this.OnColorbutton15ColorSet);
     this.colorbutton14.ColorSet += new global::System.EventHandler(this.OnColorbutton14ColorSet);
     this.colorbutton13.ColorSet += new global::System.EventHandler(this.OnColorbutton13ColorSet);
     this.colorbutton12.ColorSet += new global::System.EventHandler(this.OnColorbutton12ColorSet);
     this.colorbutton11.ColorSet += new global::System.EventHandler(this.OnColorbutton11ColorSet);
     this.colorbutton10.ColorSet += new global::System.EventHandler(this.OnColorbutton10ColorSet);
     this.colorbutton1.Clicked   += new global::System.EventHandler(this.OnCbtnClick);
     this.colorbutton1.ColorSet  += new global::System.EventHandler(this.OnColorbutton1ColorSet);
     this.colorbutton1.Released  += new global::System.EventHandler(this.cbtn_Released);
 }
Ejemplo n.º 8
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget ColorManager.MyForm
     this.UIManager = new global::Gtk.UIManager();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default");
     this.FileAction            = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null);
     this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File");
     w1.Add(this.FileAction, null);
     this.quitAction            = new global::Gtk.Action("quitAction", global::Mono.Unix.Catalog.GetString("_Quit"), null, "gtk-quit");
     this.quitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Quit");
     w1.Add(this.quitAction, null);
     this.HelpAction            = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null);
     this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help");
     w1.Add(this.HelpAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "ColorManager.MyForm";
     this.Title          = global::Mono.Unix.Catalog.GetString("Color Manager");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child ColorManager.MyForm.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='quitAction' action='quitAction'/></menu><menu name='HelpAction' action='HelpAction'/></menubar></ui>");
     this.menubar1      = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add(this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1         = new global::Gtk.HBox();
     this.hbox1.Name    = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Select Palette");
     this.hbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.combobox1      = global::Gtk.ComboBox.NewText();
     this.combobox1.Name = "combobox1";
     this.hbox1.Add(this.combobox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.combobox1]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnCreate              = new global::Gtk.Button();
     this.btnCreate.CanFocus     = true;
     this.btnCreate.Name         = "btnCreate";
     this.btnCreate.UseUnderline = true;
     this.btnCreate.Label        = global::Mono.Unix.Catalog.GetString("Create Palette");
     global::Gtk.Image w5 = new global::Gtk.Image();
     w5.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu);
     this.btnCreate.Image = w5;
     this.hbox1.Add(this.btnCreate);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnCreate]));
     w6.Position = 3;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnDelete              = new global::Gtk.Button();
     this.btnDelete.CanFocus     = true;
     this.btnDelete.Name         = "btnDelete";
     this.btnDelete.UseUnderline = true;
     this.btnDelete.Label        = global::Mono.Unix.Catalog.GetString("Delete");
     global::Gtk.Image w7 = new global::Gtk.Image();
     w7.Pixbuf            = global::Stetic.IconLoader.LoadIcon(this, "gtk-close", global::Gtk.IconSize.Menu);
     this.btnDelete.Image = w7;
     this.hbox1.Add(this.btnDelete);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnDelete]));
     w8.Position = 4;
     w8.Expand   = false;
     w8.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w9.Position = 1;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Enter palette name");
     this.hbox2.Add(this.label2);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.tbName               = new global::Gtk.Entry();
     this.tbName.CanFocus      = true;
     this.tbName.Name          = "tbName";
     this.tbName.IsEditable    = true;
     this.tbName.InvisibleChar = '●';
     this.hbox2.Add(this.tbName);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.tbName]));
     w11.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.butCr1              = new global::Gtk.Button();
     this.butCr1.CanFocus     = true;
     this.butCr1.Name         = "butCr1";
     this.butCr1.UseUnderline = true;
     this.butCr1.Label        = global::Mono.Unix.Catalog.GetString("Create");
     this.hbox2.Add(this.butCr1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.butCr1]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1               = new global::Gtk.Table(((uint)(2)), ((uint)(7)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn1          = new global::Gtk.ColorButton();
     this.clrBtn1.CanFocus = true;
     this.clrBtn1.Events   = ((global::Gdk.EventMask)(784));
     this.clrBtn1.Name     = "clrBtn1";
     this.table1.Add(this.clrBtn1);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn1]));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn10          = new global::Gtk.ColorButton();
     this.clrBtn10.CanFocus = true;
     this.clrBtn10.Events   = ((global::Gdk.EventMask)(784));
     this.clrBtn10.Name     = "clrBtn10";
     this.table1.Add(this.clrBtn10);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn10]));
     w15.TopAttach    = ((uint)(1));
     w15.BottomAttach = ((uint)(2));
     w15.LeftAttach   = ((uint)(4));
     w15.RightAttach  = ((uint)(5));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn2          = new global::Gtk.ColorButton();
     this.clrBtn2.CanFocus = true;
     this.clrBtn2.Events   = ((global::Gdk.EventMask)(784));
     this.clrBtn2.Name     = "clrBtn2";
     this.table1.Add(this.clrBtn2);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn2]));
     w16.LeftAttach  = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions    = ((global::Gtk.AttachOptions)(4));
     w16.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn3          = new global::Gtk.ColorButton();
     this.clrBtn3.CanFocus = true;
     this.clrBtn3.Events   = ((global::Gdk.EventMask)(784));
     this.clrBtn3.Name     = "clrBtn3";
     this.table1.Add(this.clrBtn3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn3]));
     w17.LeftAttach  = ((uint)(2));
     w17.RightAttach = ((uint)(3));
     w17.XOptions    = ((global::Gtk.AttachOptions)(4));
     w17.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn4          = new global::Gtk.ColorButton();
     this.clrBtn4.CanFocus = true;
     this.clrBtn4.Events   = ((global::Gdk.EventMask)(784));
     this.clrBtn4.Name     = "clrBtn4";
     this.table1.Add(this.clrBtn4);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn4]));
     w18.LeftAttach  = ((uint)(3));
     w18.RightAttach = ((uint)(4));
     w18.XOptions    = ((global::Gtk.AttachOptions)(4));
     w18.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn5          = new global::Gtk.ColorButton();
     this.clrBtn5.CanFocus = true;
     this.clrBtn5.Events   = ((global::Gdk.EventMask)(784));
     this.clrBtn5.Name     = "clrBtn5";
     this.table1.Add(this.clrBtn5);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn5]));
     w19.LeftAttach  = ((uint)(4));
     w19.RightAttach = ((uint)(5));
     w19.XOptions    = ((global::Gtk.AttachOptions)(4));
     w19.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn6          = new global::Gtk.ColorButton();
     this.clrBtn6.CanFocus = true;
     this.clrBtn6.Events   = ((global::Gdk.EventMask)(784));
     this.clrBtn6.Name     = "clrBtn6";
     this.table1.Add(this.clrBtn6);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn6]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.XOptions     = ((global::Gtk.AttachOptions)(4));
     w20.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn7          = new global::Gtk.ColorButton();
     this.clrBtn7.CanFocus = true;
     this.clrBtn7.Events   = ((global::Gdk.EventMask)(784));
     this.clrBtn7.Name     = "clrBtn7";
     this.table1.Add(this.clrBtn7);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn7]));
     w21.TopAttach    = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.XOptions     = ((global::Gtk.AttachOptions)(4));
     w21.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn8          = new global::Gtk.ColorButton();
     this.clrBtn8.CanFocus = true;
     this.clrBtn8.Events   = ((global::Gdk.EventMask)(784));
     this.clrBtn8.Name     = "clrBtn8";
     this.table1.Add(this.clrBtn8);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn8]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach   = ((uint)(2));
     w22.RightAttach  = ((uint)(3));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.clrBtn9          = new global::Gtk.ColorButton();
     this.clrBtn9.CanFocus = true;
     this.clrBtn9.Events   = ((global::Gdk.EventMask)(784));
     this.clrBtn9.Name     = "clrBtn9";
     this.table1.Add(this.clrBtn9);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.clrBtn9]));
     w23.TopAttach    = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.LeftAttach   = ((uint)(3));
     w23.RightAttach  = ((uint)(4));
     w23.XOptions     = ((global::Gtk.AttachOptions)(4));
     w23.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Color Code");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w24.LeftAttach  = ((uint)(5));
     w24.RightAttach = ((uint)(6));
     w24.XOptions    = ((global::Gtk.AttachOptions)(4));
     w24.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.tbClr               = new global::Gtk.Entry();
     this.tbClr.CanFocus      = true;
     this.tbClr.Name          = "tbClr";
     this.tbClr.IsEditable    = true;
     this.tbClr.InvisibleChar = '•';
     this.table1.Add(this.tbClr);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.tbClr]));
     w25.LeftAttach  = ((uint)(6));
     w25.RightAttach = ((uint)(7));
     w25.YOptions    = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.table1);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w26.Position = 3;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.colorselection1      = new global::Gtk.ColorSelection();
     this.colorselection1.Name = "colorselection1";
     this.colorselection1.HasOpacityControl = true;
     this.vbox1.Add(this.colorselection1);
     global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.colorselection1]));
     w27.Position = 4;
     // Container child vbox1.Gtk.Box+BoxChild
     this.lblDebug                = new global::Gtk.Label();
     this.lblDebug.Name           = "lblDebug";
     this.lblDebug.LabelProp      = global::Mono.Unix.Catalog.GetString("Ready");
     this.lblDebug.SingleLineMode = true;
     this.vbox1.Add(this.lblDebug);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.lblDebug]));
     w28.Position = 5;
     w28.Expand   = false;
     w28.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 505;
     this.DefaultHeight = 415;
     this.Show();
     this.combobox1.Changed += new global::System.EventHandler(this.OnCombobox1Changed);
     this.btnCreate.Clicked += new global::System.EventHandler(this.OnBtnCreateClicked);
     this.btnDelete.Clicked += new global::System.EventHandler(this.OnBtnDeleteClicked);
     this.butCr1.Clicked    += new global::System.EventHandler(this.OnButCr1Clicked);
     this.clrBtn9.ColorSet  += new global::System.EventHandler(this.OnClrBtn9ColorSet);
     this.clrBtn8.ColorSet  += new global::System.EventHandler(this.OnClrBtn8ColorSet);
     this.clrBtn7.ColorSet  += new global::System.EventHandler(this.OnClrBtn7ColorSet);
     this.clrBtn6.ColorSet  += new global::System.EventHandler(this.OnClrBtn6ColorSet);
     this.clrBtn5.ColorSet  += new global::System.EventHandler(this.OnClrBtn5ColorSet);
     this.clrBtn4.ColorSet  += new global::System.EventHandler(this.OnClrBtn4ColorSet);
     this.clrBtn3.ColorSet  += new global::System.EventHandler(this.OnClrBtn3ColorSet);
     this.clrBtn2.ColorSet  += new global::System.EventHandler(this.OnClrBtn2ColorSet);
     this.clrBtn10.ColorSet += new global::System.EventHandler(this.OnClrBtn10ColorSet);
     this.clrBtn1.ColorSet  += new global::System.EventHandler(this.OnClrBtn1ColorSet);
 }
Ejemplo n.º 9
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget ConnectionMap.CustomMapPopup
     this.Name           = "ConnectionMap.CustomMapPopup";
     this.Title          = global::Mono.Unix.Catalog.GetString("CustomMapPopup");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child ConnectionMap.CustomMapPopup.Gtk.Container+ContainerChild
     this.hbox11         = new global::Gtk.HBox();
     this.hbox11.Name    = "hbox11";
     this.hbox11.Spacing = 6;
     // Container child hbox11.Gtk.Box+BoxChild
     this.vbox21         = new global::Gtk.VBox();
     this.vbox21.Name    = "vbox21";
     this.vbox21.Spacing = 6;
     // Container child vbox21.Gtk.Box+BoxChild
     this.label23           = new global::Gtk.Label();
     this.label23.Name      = "label23";
     this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Countries");
     this.vbox21.Add(this.label23);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox21 [this.label23]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox21.Gtk.Box+BoxChild
     this.colorselection24      = new global::Gtk.ColorSelection();
     this.colorselection24.Name = "colorselection24";
     this.colorselection24.HasOpacityControl = true;
     this.vbox21.Add(this.colorselection24);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox21 [this.colorselection24]));
     w2.Position = 1;
     // Container child vbox21.Gtk.Box+BoxChild
     this.label25           = new global::Gtk.Label();
     this.label25.Name      = "label25";
     this.label25.LabelProp = global::Mono.Unix.Catalog.GetString("Country Label");
     this.vbox21.Add(this.label25);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox21 [this.label25]));
     w3.Position = 2;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox21.Gtk.Box+BoxChild
     this.colorselection26      = new global::Gtk.ColorSelection();
     this.colorselection26.Name = "colorselection26";
     this.colorselection26.HasOpacityControl = true;
     this.vbox21.Add(this.colorselection26);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox21 [this.colorselection26]));
     w4.Position = 3;
     this.hbox11.Add(this.vbox21);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.vbox21]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child hbox11.Gtk.Box+BoxChild
     this.vbox20         = new global::Gtk.VBox();
     this.vbox20.Name    = "vbox20";
     this.vbox20.Spacing = 6;
     // Container child vbox20.Gtk.Box+BoxChild
     this.label24           = new global::Gtk.Label();
     this.label24.Name      = "label24";
     this.label24.LabelProp = global::Mono.Unix.Catalog.GetString("Water");
     this.vbox20.Add(this.label24);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox20 [this.label24]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox20.Gtk.Box+BoxChild
     this.colorselection25      = new global::Gtk.ColorSelection();
     this.colorselection25.Name = "colorselection25";
     this.colorselection25.HasOpacityControl = true;
     this.vbox20.Add(this.colorselection25);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox20 [this.colorselection25]));
     w7.Position = 1;
     // Container child vbox20.Gtk.Box+BoxChild
     this.label26           = new global::Gtk.Label();
     this.label26.Name      = "label26";
     this.label26.LabelProp = global::Mono.Unix.Catalog.GetString("Water Label");
     this.vbox20.Add(this.label26);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox20 [this.label26]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox20.Gtk.Box+BoxChild
     this.colorselection27      = new global::Gtk.ColorSelection();
     this.colorselection27.Name = "colorselection27";
     this.colorselection27.HasOpacityControl = true;
     this.vbox20.Add(this.colorselection27);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox20 [this.colorselection27]));
     w9.Position = 3;
     // Container child vbox20.Gtk.Box+BoxChild
     this.hbox1             = new global::Gtk.HBox();
     this.hbox1.Name        = "hbox1";
     this.hbox1.Homogeneous = true;
     this.hbox1.Spacing     = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.save_box = new global::Gtk.CheckButton();
     this.save_box.WidthRequest  = 15;
     this.save_box.CanFocus      = true;
     this.save_box.Name          = "save_box";
     this.save_box.Label         = global::Mono.Unix.Catalog.GetString("Save Map");
     this.save_box.DrawIndicator = true;
     this.save_box.UseUnderline  = true;
     this.hbox1.Add(this.save_box);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.save_box]));
     w10.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button4 = new global::Gtk.Button();
     this.button4.WidthRequest = 50;
     this.button4.CanFocus     = true;
     this.button4.Name         = "button4";
     this.button4.UseUnderline = true;
     this.button4.Label        = global::Mono.Unix.Catalog.GetString("Done");
     this.hbox1.Add(this.button4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button4]));
     w11.Position = 1;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button3              = new global::Gtk.Button();
     this.button3.CanFocus     = true;
     this.button3.Name         = "button3";
     this.button3.UseUnderline = true;
     this.button3.Label        = global::Mono.Unix.Catalog.GetString("Cancel");
     this.hbox1.Add(this.button3);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button3]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vbox20.Add(this.hbox1);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox20 [this.hbox1]));
     w13.Position = 4;
     w13.Expand   = false;
     w13.Fill     = false;
     this.hbox11.Add(this.vbox20);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox11 [this.vbox20]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     this.Add(this.hbox11);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1022;
     this.DefaultHeight = 566;
     this.Show();
     this.save_box.Toggled += new global::System.EventHandler(this.save_toggled);
     this.button4.Clicked  += new global::System.EventHandler(this.done_click);
     this.button3.Clicked  += new global::System.EventHandler(this.cancel_click);
 }
Ejemplo n.º 10
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget MainWindow
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.Help = new global::Gtk.Action ("Help", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.Help.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.Help, null);
     this.AboutUs = new global::Gtk.Action ("AboutUs", global::Mono.Unix.Catalog.GetString ("About us"), null, null);
     this.AboutUs.ShortLabel = global::Mono.Unix.Catalog.GetString ("About us");
     w1.Add (this.AboutUs, null);
     this.help = new global::Gtk.Action ("help", global::Mono.Unix.Catalog.GetString ("About us"), null, "gtk-help");
     this.help.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Help");
     w1.Add (this.help, null);
     this.colorPicker = new global::Gtk.Action ("colorPicker", null, null, "gtk-color-picker");
     w1.Add (this.colorPicker, null);
     this.selectColor = new global::Gtk.Action ("selectColor", global::Mono.Unix.Catalog.GetString ("_Color"), null, "gtk-select-color");
     this.selectColor.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Color");
     w1.Add (this.selectColor, null);
     this.quit = new global::Gtk.Action ("quit", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit");
     this.quit.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit");
     w1.Add (this.quit, null);
     this.File = new global::Gtk.Action ("File", global::Mono.Unix.Catalog.GetString ("  File"), null, null);
     this.File.ShortLabel = global::Mono.Unix.Catalog.GetString ("  File");
     w1.Add (this.File, null);
     this.quit1 = new global::Gtk.Action ("quit1", global::Mono.Unix.Catalog.GetString ("_Quit"), null, "gtk-quit");
     this.quit1.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Quit");
     w1.Add (this.quit1, null);
     this.Help1 = new global::Gtk.Action ("Help1", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.Help1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.Help1, null);
     this.Help2 = new global::Gtk.Action ("Help2", global::Mono.Unix.Catalog.GetString ("Help"), null, null);
     this.Help2.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
     w1.Add (this.Help2, null);
     this.selectColor1 = new global::Gtk.Action ("selectColor1", global::Mono.Unix.Catalog.GetString ("About Us"), null, "gtk-dialog-info");
     this.selectColor1.ShortLabel = global::Mono.Unix.Catalog.GetString ("About Us");
     w1.Add (this.selectColor1, null);
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "MainWindow";
     this.Title = global::Mono.Unix.Catalog.GetString ("ColorPicker");
     this.Icon = global::Stetic.IconLoader.LoadIcon (this, "gtk-select-color", global::Gtk.IconSize.Menu);
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.DefaultWidth = 13;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='File' action='File'><menuitem name='quit1' action='quit1'/></menu><menu name='Help2' action='Help2'><menuitem name='selectColor1' action='selectColor1'/></menu></menubar></ui>");
     this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
     this.menubar1.Name = "menubar1";
     this.vbox1.Add (this.menubar1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.menubar1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.comboboxentry1 = global::Gtk.ComboBoxEntry.NewText ();
     this.comboboxentry1.Name = "comboboxentry1";
     this.hbox1.Add (this.comboboxentry1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboboxentry1]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnNew = new global::Gtk.Button ();
     this.btnNew.CanFocus = true;
     this.btnNew.Name = "btnNew";
     this.btnNew.UseUnderline = true;
     this.btnNew.Label = global::Mono.Unix.Catalog.GetString ("New");
     global::Gtk.Image w4 = new global::Gtk.Image ();
     w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-add", global::Gtk.IconSize.Menu);
     this.btnNew.Image = w4;
     this.hbox1.Add (this.btnNew);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnNew]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button2 = new global::Gtk.Button ();
     this.button2.CanFocus = true;
     this.button2.Name = "button2";
     this.button2.UseUnderline = true;
     this.button2.Label = global::Mono.Unix.Catalog.GetString ("Edit");
     global::Gtk.Image w6 = new global::Gtk.Image ();
     w6.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.button2.Image = w6;
     this.hbox1.Add (this.button2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button2]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.btnDelete = new global::Gtk.Button ();
     this.btnDelete.CanFocus = true;
     this.btnDelete.Name = "btnDelete";
     this.btnDelete.UseUnderline = true;
     this.btnDelete.Label = global::Mono.Unix.Catalog.GetString ("Delete");
     global::Gtk.Image w8 = new global::Gtk.Image ();
     w8.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu);
     this.btnDelete.Image = w8;
     this.hbox1.Add (this.btnDelete);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.btnDelete]));
     w9.Position = 3;
     w9.Expand = false;
     w9.Fill = false;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2 = new global::Gtk.HBox ();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.lblPaletteName = new global::Gtk.Label ();
     this.lblPaletteName.Name = "lblPaletteName";
     this.lblPaletteName.LabelProp = global::Mono.Unix.Catalog.GetString ("Enter name for a new Palette:");
     this.hbox2.Add (this.lblPaletteName);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.lblPaletteName]));
     w11.Position = 0;
     w11.Expand = false;
     w11.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.entry1 = new global::Gtk.Entry ();
     this.entry1.WidthRequest = 0;
     this.entry1.HeightRequest = 28;
     this.entry1.CanFocus = true;
     this.entry1.Name = "entry1";
     this.entry1.IsEditable = true;
     this.entry1.InvisibleChar = '•';
     this.hbox2.Add (this.entry1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entry1]));
     w12.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.btnAdd = new global::Gtk.Button ();
     this.btnAdd.CanFocus = true;
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.UseUnderline = true;
     this.btnAdd.Label = global::Mono.Unix.Catalog.GetString ("Add");
     this.hbox2.Add (this.btnAdd);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnAdd]));
     w13.Position = 2;
     w13.Expand = false;
     w13.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.btnUpdate = new global::Gtk.Button ();
     this.btnUpdate.CanFocus = true;
     this.btnUpdate.Name = "btnUpdate";
     this.btnUpdate.UseUnderline = true;
     this.btnUpdate.Label = global::Mono.Unix.Catalog.GetString ("Update");
     this.hbox2.Add (this.btnUpdate);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnUpdate]));
     w14.Position = 3;
     w14.Expand = false;
     w14.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.btnCancle = new global::Gtk.Button ();
     this.btnCancle.CanFocus = true;
     this.btnCancle.Name = "btnCancle";
     this.btnCancle.UseUnderline = true;
     this.btnCancle.Label = global::Mono.Unix.Catalog.GetString ("Cancel");
     this.hbox2.Add (this.btnCancle);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.btnCancle]));
     w15.Position = 4;
     w15.Expand = false;
     w15.Fill = false;
     this.vbox1.Add (this.hbox2);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w16.Position = 2;
     w16.Expand = false;
     w16.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(10)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(12));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton1 = new global::Gtk.ColorButton ();
     this.colorbutton1.CanDefault = true;
     this.colorbutton1.CanFocus = true;
     this.colorbutton1.Events = ((global::Gdk.EventMask)(788));
     this.colorbutton1.Name = "colorbutton1";
     this.colorbutton1.Relief = ((global::Gtk.ReliefStyle)(1));
     this.table1.Add (this.colorbutton1);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton1]));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton10 = new global::Gtk.ColorButton ();
     this.colorbutton10.CanFocus = true;
     this.colorbutton10.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton10.Name = "colorbutton10";
     this.table1.Add (this.colorbutton10);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton10]));
     w18.TopAttach = ((uint)(1));
     w18.BottomAttach = ((uint)(2));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton11 = new global::Gtk.ColorButton ();
     this.colorbutton11.CanFocus = true;
     this.colorbutton11.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton11.Name = "colorbutton11";
     this.table1.Add (this.colorbutton11);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton11]));
     w19.TopAttach = ((uint)(1));
     w19.BottomAttach = ((uint)(2));
     w19.LeftAttach = ((uint)(2));
     w19.RightAttach = ((uint)(3));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton12 = new global::Gtk.ColorButton ();
     this.colorbutton12.CanFocus = true;
     this.colorbutton12.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton12.Name = "colorbutton12";
     this.table1.Add (this.colorbutton12);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton12]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.LeftAttach = ((uint)(3));
     w20.RightAttach = ((uint)(4));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton13 = new global::Gtk.ColorButton ();
     this.colorbutton13.CanFocus = true;
     this.colorbutton13.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton13.Name = "colorbutton13";
     this.table1.Add (this.colorbutton13);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton13]));
     w21.TopAttach = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.LeftAttach = ((uint)(4));
     w21.RightAttach = ((uint)(5));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton14 = new global::Gtk.ColorButton ();
     this.colorbutton14.CanFocus = true;
     this.colorbutton14.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton14.Name = "colorbutton14";
     this.table1.Add (this.colorbutton14);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton14]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach = ((uint)(5));
     w22.RightAttach = ((uint)(6));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton15 = new global::Gtk.ColorButton ();
     this.colorbutton15.CanFocus = true;
     this.colorbutton15.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton15.Name = "colorbutton15";
     this.table1.Add (this.colorbutton15);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton15]));
     w23.TopAttach = ((uint)(1));
     w23.BottomAttach = ((uint)(2));
     w23.LeftAttach = ((uint)(6));
     w23.RightAttach = ((uint)(7));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton16 = new global::Gtk.ColorButton ();
     this.colorbutton16.CanFocus = true;
     this.colorbutton16.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton16.Name = "colorbutton16";
     this.table1.Add (this.colorbutton16);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton16]));
     w24.TopAttach = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.LeftAttach = ((uint)(7));
     w24.RightAttach = ((uint)(8));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton2 = new global::Gtk.ColorButton ();
     this.colorbutton2.CanFocus = true;
     this.colorbutton2.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton2.Name = "colorbutton2";
     this.table1.Add (this.colorbutton2);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton2]));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton3 = new global::Gtk.ColorButton ();
     this.colorbutton3.CanFocus = true;
     this.colorbutton3.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton3.Name = "colorbutton3";
     this.table1.Add (this.colorbutton3);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton3]));
     w26.LeftAttach = ((uint)(2));
     w26.RightAttach = ((uint)(3));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton4 = new global::Gtk.ColorButton ();
     this.colorbutton4.CanFocus = true;
     this.colorbutton4.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton4.Name = "colorbutton4";
     this.table1.Add (this.colorbutton4);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton4]));
     w27.LeftAttach = ((uint)(3));
     w27.RightAttach = ((uint)(4));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton5 = new global::Gtk.ColorButton ();
     this.colorbutton5.CanFocus = true;
     this.colorbutton5.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton5.Name = "colorbutton5";
     this.table1.Add (this.colorbutton5);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton5]));
     w28.LeftAttach = ((uint)(4));
     w28.RightAttach = ((uint)(5));
     w28.XOptions = ((global::Gtk.AttachOptions)(4));
     w28.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton6 = new global::Gtk.ColorButton ();
     this.colorbutton6.CanFocus = true;
     this.colorbutton6.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton6.Name = "colorbutton6";
     this.table1.Add (this.colorbutton6);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton6]));
     w29.LeftAttach = ((uint)(5));
     w29.RightAttach = ((uint)(6));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton7 = new global::Gtk.ColorButton ();
     this.colorbutton7.CanFocus = true;
     this.colorbutton7.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton7.Name = "colorbutton7";
     this.table1.Add (this.colorbutton7);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton7]));
     w30.LeftAttach = ((uint)(6));
     w30.RightAttach = ((uint)(7));
     w30.XOptions = ((global::Gtk.AttachOptions)(4));
     w30.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton8 = new global::Gtk.ColorButton ();
     this.colorbutton8.CanFocus = true;
     this.colorbutton8.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton8.Name = "colorbutton8";
     this.table1.Add (this.colorbutton8);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton8]));
     w31.LeftAttach = ((uint)(7));
     w31.RightAttach = ((uint)(8));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.colorbutton9 = new global::Gtk.ColorButton ();
     this.colorbutton9.CanFocus = true;
     this.colorbutton9.Events = ((global::Gdk.EventMask)(784));
     this.colorbutton9.Name = "colorbutton9";
     this.table1.Add (this.colorbutton9);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.colorbutton9]));
     w32.TopAttach = ((uint)(1));
     w32.BottomAttach = ((uint)(2));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry2 = new global::Gtk.Entry ();
     this.entry2.CanFocus = true;
     this.entry2.Name = "entry2";
     this.entry2.IsEditable = false;
     this.entry2.WidthChars = 8;
     this.entry2.InvisibleChar = '•';
     this.table1.Add (this.entry2);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.entry2]));
     w33.TopAttach = ((uint)(1));
     w33.BottomAttach = ((uint)(2));
     w33.LeftAttach = ((uint)(9));
     w33.RightAttach = ((uint)(10));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entry4 = new global::Gtk.Entry ();
     this.entry4.CanFocus = true;
     this.entry4.Name = "entry4";
     this.entry4.IsEditable = false;
     this.entry4.WidthChars = 8;
     this.entry4.MaxLength = 8;
     this.entry4.InvisibleChar = '•';
     this.table1.Add (this.entry4);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.entry4]));
     w34.LeftAttach = ((uint)(9));
     w34.RightAttach = ((uint)(10));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("WebSnap");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w35.TopAttach = ((uint)(1));
     w35.BottomAttach = ((uint)(2));
     w35.LeftAttach = ((uint)(8));
     w35.RightAttach = ((uint)(9));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("#");
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w36.LeftAttach = ((uint)(8));
     w36.RightAttach = ((uint)(9));
     w36.XOptions = ((global::Gtk.AttachOptions)(4));
     w36.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.table1);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.table1]));
     w37.Position = 3;
     w37.Expand = false;
     w37.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.colorselection1 = new global::Gtk.ColorSelection ();
     this.colorselection1.Name = "colorselection1";
     this.colorselection1.HasOpacityControl = true;
     this.vbox1.Add (this.colorselection1);
     global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.colorselection1]));
     w38.Position = 4;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultHeight = 511;
     this.btnUpdate.Hide ();
     this.hbox2.Hide ();
     this.Show ();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
     this.quit1.Activated += new global::System.EventHandler (this.QuitClicked);
     this.selectColor1.Activated += new global::System.EventHandler (this.AboutusClicked);
     this.comboboxentry1.Changed += new global::System.EventHandler (this.Cmb_Changed);
     this.btnNew.Clicked += new global::System.EventHandler (this.OnBtnNewClicked);
     this.button2.Clicked += new global::System.EventHandler (this.onBtnEditClicked);
     this.btnDelete.Clicked += new global::System.EventHandler (this.onBtnDeleteClicked);
     this.btnAdd.Clicked += new global::System.EventHandler (this.add_Click);
     this.btnUpdate.Clicked += new global::System.EventHandler (this.btnUpdateClick);
     this.btnCancle.Clicked += new global::System.EventHandler (this.OnBtnCancleClicked);
     this.colorbutton9.ColorSet += new global::System.EventHandler (this.OnColorbutton9ColorSet);
     this.colorbutton8.ColorSet += new global::System.EventHandler (this.OnColorbutton8ColorSet);
     this.colorbutton7.ColorSet += new global::System.EventHandler (this.OnColorbutton7ColorSet);
     this.colorbutton6.ColorSet += new global::System.EventHandler (this.OnColorbutton6ColorSet);
     this.colorbutton5.ColorSet += new global::System.EventHandler (this.OnColorbutton5ColorSet);
     this.colorbutton4.ColorSet += new global::System.EventHandler (this.OnColorbutton4ColorSet);
     this.colorbutton3.ColorSet += new global::System.EventHandler (this.OnColorbutton3ColorSet);
     this.colorbutton2.ColorSet += new global::System.EventHandler (this.OnColorbutton2ColorSet);
     this.colorbutton16.ColorSet += new global::System.EventHandler (this.OnColorbutton16ColorSet);
     this.colorbutton15.ColorSet += new global::System.EventHandler (this.OnColorbutton15ColorSet);
     this.colorbutton14.ColorSet += new global::System.EventHandler (this.OnColorbutton14ColorSet);
     this.colorbutton13.ColorSet += new global::System.EventHandler (this.OnColorbutton13ColorSet);
     this.colorbutton12.ColorSet += new global::System.EventHandler (this.OnColorbutton12ColorSet);
     this.colorbutton11.ColorSet += new global::System.EventHandler (this.OnColorbutton11ColorSet);
     this.colorbutton10.ColorSet += new global::System.EventHandler (this.OnColorbutton10ColorSet);
     this.colorbutton1.Clicked += new global::System.EventHandler (this.OnCbtnClick);
     this.colorbutton1.ColorSet += new global::System.EventHandler (this.OnColorbutton1ColorSet);
     this.colorbutton1.Released += new global::System.EventHandler (this.cbtn_Released);
 }