Esempio n. 1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // 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.dataentry1 = null;
     this.vbox1.Add(this.dataentry1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.dataentry1]));
     w1.Position = 1;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.dataentry2 = null;
     this.vbox1.Add(this.dataentry2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.dataentry2]));
     w2.Position = 2;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = global::Mono.Unix.Catalog.GetString("Switch");
     this.vbox1.Add(this.button1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.button1]));
     w3.Position = 3;
     w3.Expand   = false;
     w3.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent     += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked);
 }
	protected virtual void Build ()
	{
		global::Stetic.Gui.Initialize (this);
		// Widget MainWindow
		this.Name = "MainWindow";
		this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
		this.WindowPosition = ((global::Gtk.WindowPosition)(4));
		// 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.dataentry1 = null;
		this.vbox1.Add (this.dataentry1);
		global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.dataentry1]));
		w1.Position = 1;
		w1.Expand = false;
		w1.Fill = false;
		// Container child vbox1.Gtk.Box+BoxChild
		this.dataentry2 = null;
		this.vbox1.Add (this.dataentry2);
		global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.dataentry2]));
		w2.Position = 2;
		w2.Expand = false;
		w2.Fill = false;
		// Container child vbox1.Gtk.Box+BoxChild
		this.button1 = new global::Gtk.Button ();
		this.button1.CanFocus = true;
		this.button1.Name = "button1";
		this.button1.UseUnderline = true;
		this.button1.Label = global::Mono.Unix.Catalog.GetString ("Switch");
		this.vbox1.Add (this.button1);
		global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.button1]));
		w3.Position = 3;
		w3.Expand = false;
		w3.Fill = false;
		this.Add (this.vbox1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 400;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked);
	}
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LeaseAgreement.OrganizationDlg
     this.Name = "LeaseAgreement.OrganizationDlg";
     this.Title = global::Mono.Unix.Catalog.GetString ("Новая организация");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child LeaseAgreement.OrganizationDlg.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.DataBindings.DataTable (((uint)(11)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.InheritedDataSource = false;
     this.table1.InheritedBoundaryDataSource = false;
     this.table1.InheritedDataSource = false;
     this.table1.InheritedBoundaryDataSource = false;
     // Container child table1.Gtk.Table+TableChild
     this.entryAccount = new global::Gtk.DataBindings.DataEntry ();
     this.entryAccount.WidthRequest = 191;
     this.entryAccount.CanFocus = true;
     this.entryAccount.Name = "entryAccount";
     this.entryAccount.IsEditable = true;
     this.entryAccount.MaxLength = 25;
     this.entryAccount.InvisibleChar = '●';
     this.entryAccount.InheritedDataSource = true;
     this.entryAccount.Mappings = "Account";
     this.entryAccount.InheritedBoundaryDataSource = false;
     this.entryAccount.InheritedDataSource = true;
     this.entryAccount.Mappings = "Account";
     this.entryAccount.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryAccount);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryAccount]));
     w2.TopAttach = ((uint)(5));
     w2.BottomAttach = ((uint)(6));
     w2.LeftAttach = ((uint)(3));
     w2.RightAttach = ((uint)(4));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryBank = new global::Gtk.DataBindings.DataEntry ();
     this.entryBank.CanFocus = true;
     this.entryBank.Name = "entryBank";
     this.entryBank.IsEditable = true;
     this.entryBank.MaxLength = 100;
     this.entryBank.InvisibleChar = '●';
     this.entryBank.InheritedDataSource = true;
     this.entryBank.Mappings = "Bank";
     this.entryBank.InheritedBoundaryDataSource = false;
     this.entryBank.InheritedDataSource = true;
     this.entryBank.Mappings = "Bank";
     this.entryBank.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryBank);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryBank]));
     w3.TopAttach = ((uint)(7));
     w3.BottomAttach = ((uint)(8));
     w3.LeftAttach = ((uint)(3));
     w3.RightAttach = ((uint)(4));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryBaseOf = new global::Gtk.DataBindings.DataEntry ();
     this.entryBaseOf.CanFocus = true;
     this.entryBaseOf.Name = "entryBaseOf";
     this.entryBaseOf.Text = global::Mono.Unix.Catalog.GetString ("Устава");
     this.entryBaseOf.IsEditable = true;
     this.entryBaseOf.MaxLength = 60;
     this.entryBaseOf.InvisibleChar = '●';
     this.entryBaseOf.InheritedDataSource = true;
     this.entryBaseOf.Mappings = "SignatoryBaseOf";
     this.entryBaseOf.InheritedBoundaryDataSource = false;
     this.entryBaseOf.InheritedDataSource = true;
     this.entryBaseOf.Mappings = "SignatoryBaseOf";
     this.entryBaseOf.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryBaseOf);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryBaseOf]));
     w4.TopAttach = ((uint)(3));
     w4.BottomAttach = ((uint)(4));
     w4.LeftAttach = ((uint)(3));
     w4.RightAttach = ((uint)(4));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryBIK = new global::Gtk.DataBindings.DataEntry ();
     this.entryBIK.CanFocus = true;
     this.entryBIK.Name = "entryBIK";
     this.entryBIK.IsEditable = true;
     this.entryBIK.MaxLength = 9;
     this.entryBIK.InvisibleChar = '●';
     this.entryBIK.InheritedDataSource = true;
     this.entryBIK.Mappings = "Bik";
     this.entryBIK.InheritedBoundaryDataSource = false;
     this.entryBIK.InheritedDataSource = true;
     this.entryBIK.Mappings = "Bik";
     this.entryBIK.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryBIK);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryBIK]));
     w5.TopAttach = ((uint)(6));
     w5.BottomAttach = ((uint)(7));
     w5.LeftAttach = ((uint)(3));
     w5.RightAttach = ((uint)(4));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryCorAccount = new global::Gtk.DataBindings.DataEntry ();
     this.entryCorAccount.CanFocus = true;
     this.entryCorAccount.Name = "entryCorAccount";
     this.entryCorAccount.IsEditable = true;
     this.entryCorAccount.MaxLength = 25;
     this.entryCorAccount.InvisibleChar = '●';
     this.entryCorAccount.InheritedDataSource = true;
     this.entryCorAccount.Mappings = "CorAccount";
     this.entryCorAccount.InheritedBoundaryDataSource = false;
     this.entryCorAccount.InheritedDataSource = true;
     this.entryCorAccount.Mappings = "CorAccount";
     this.entryCorAccount.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryCorAccount);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryCorAccount]));
     w6.TopAttach = ((uint)(8));
     w6.BottomAttach = ((uint)(9));
     w6.LeftAttach = ((uint)(3));
     w6.RightAttach = ((uint)(4));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryEmail = new global::Gtk.DataBindings.DataEntry ();
     this.entryEmail.CanFocus = true;
     this.entryEmail.Name = "entryEmail";
     this.entryEmail.IsEditable = true;
     this.entryEmail.MaxLength = 45;
     this.entryEmail.InvisibleChar = '●';
     this.entryEmail.InheritedDataSource = true;
     this.entryEmail.Mappings = "Email";
     this.entryEmail.InheritedBoundaryDataSource = false;
     this.entryEmail.InheritedDataSource = true;
     this.entryEmail.Mappings = "Email";
     this.entryEmail.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryEmail);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryEmail]));
     w7.TopAttach = ((uint)(4));
     w7.BottomAttach = ((uint)(5));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryFIO = new global::Gtk.DataBindings.DataEntry ();
     this.entryFIO.CanFocus = true;
     this.entryFIO.Name = "entryFIO";
     this.entryFIO.IsEditable = true;
     this.entryFIO.MaxLength = 60;
     this.entryFIO.InvisibleChar = '●';
     this.entryFIO.InheritedDataSource = true;
     this.entryFIO.Mappings = "SignatoryFIO";
     this.entryFIO.InheritedBoundaryDataSource = false;
     this.entryFIO.InheritedDataSource = true;
     this.entryFIO.Mappings = "SignatoryFIO";
     this.entryFIO.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryFIO);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryFIO]));
     w8.TopAttach = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.LeftAttach = ((uint)(3));
     w8.RightAttach = ((uint)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryFullName = new global::Gtk.DataBindings.DataEntry ();
     this.entryFullName.CanFocus = true;
     this.entryFullName.Name = "entryFullName";
     this.entryFullName.IsEditable = true;
     this.entryFullName.MaxLength = 200;
     this.entryFullName.InvisibleChar = '●';
     this.entryFullName.InheritedDataSource = true;
     this.entryFullName.Mappings = "FullName";
     this.entryFullName.InheritedBoundaryDataSource = false;
     this.entryFullName.InheritedDataSource = true;
     this.entryFullName.Mappings = "FullName";
     this.entryFullName.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryFullName);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryFullName]));
     w9.TopAttach = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryINN = new global::Gtk.DataBindings.DataEntry ();
     this.entryINN.CanFocus = true;
     this.entryINN.Name = "entryINN";
     this.entryINN.IsEditable = true;
     this.entryINN.MaxLength = 12;
     this.entryINN.InvisibleChar = '●';
     this.entryINN.InheritedDataSource = true;
     this.entryINN.Mappings = "INN";
     this.entryINN.InheritedBoundaryDataSource = false;
     this.entryINN.InheritedDataSource = true;
     this.entryINN.Mappings = "INN";
     this.entryINN.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryINN);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryINN]));
     w10.TopAttach = ((uint)(5));
     w10.BottomAttach = ((uint)(6));
     w10.LeftAttach = ((uint)(1));
     w10.RightAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryKPP = new global::Gtk.DataBindings.DataEntry ();
     this.entryKPP.CanFocus = true;
     this.entryKPP.Name = "entryKPP";
     this.entryKPP.IsEditable = true;
     this.entryKPP.MaxLength = 10;
     this.entryKPP.InvisibleChar = '●';
     this.entryKPP.InheritedDataSource = true;
     this.entryKPP.Mappings = "KPP";
     this.entryKPP.InheritedBoundaryDataSource = false;
     this.entryKPP.InheritedDataSource = true;
     this.entryKPP.Mappings = "KPP";
     this.entryKPP.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryKPP);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryKPP]));
     w11.TopAttach = ((uint)(6));
     w11.BottomAttach = ((uint)(7));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryName = new global::Gtk.DataBindings.DataCompanyName ();
     this.entryName.CanFocus = true;
     this.entryName.Name = "entryName";
     this.entryName.IsEditable = true;
     this.entryName.MaxLength = 100;
     this.entryName.InvisibleChar = '●';
     this.entryName.InheritedDataSource = true;
     this.entryName.Mappings = "Name";
     this.entryName.InheritedBoundaryDataSource = false;
     this.entryName.InheritedDataSource = true;
     this.entryName.Mappings = "Name";
     this.entryName.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryName);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryName]));
     w12.TopAttach = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryOGRN = new global::Gtk.DataBindings.DataEntry ();
     this.entryOGRN.CanFocus = true;
     this.entryOGRN.Name = "entryOGRN";
     this.entryOGRN.IsEditable = true;
     this.entryOGRN.MaxLength = 15;
     this.entryOGRN.InvisibleChar = '●';
     this.entryOGRN.InheritedDataSource = true;
     this.entryOGRN.Mappings = "OGRN";
     this.entryOGRN.InheritedBoundaryDataSource = false;
     this.entryOGRN.InheritedDataSource = true;
     this.entryOGRN.Mappings = "OGRN";
     this.entryOGRN.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryOGRN);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryOGRN]));
     w13.TopAttach = ((uint)(7));
     w13.BottomAttach = ((uint)(8));
     w13.LeftAttach = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryPhone = new global::Gtk.DataBindings.DataEntry ();
     this.entryPhone.CanFocus = true;
     this.entryPhone.Name = "entryPhone";
     this.entryPhone.IsEditable = true;
     this.entryPhone.MaxLength = 45;
     this.entryPhone.InvisibleChar = '●';
     this.entryPhone.InheritedDataSource = true;
     this.entryPhone.Mappings = "Phone";
     this.entryPhone.InheritedBoundaryDataSource = false;
     this.entryPhone.InheritedDataSource = true;
     this.entryPhone.Mappings = "Phone";
     this.entryPhone.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryPhone);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryPhone]));
     w14.TopAttach = ((uint)(3));
     w14.BottomAttach = ((uint)(4));
     w14.LeftAttach = ((uint)(1));
     w14.RightAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.entryPost = new global::Gtk.DataBindings.DataEntry ();
     this.entryPost.CanFocus = true;
     this.entryPost.Name = "entryPost";
     this.entryPost.Text = global::Mono.Unix.Catalog.GetString ("Генерального директора");
     this.entryPost.IsEditable = true;
     this.entryPost.MaxLength = 60;
     this.entryPost.InvisibleChar = '●';
     this.entryPost.InheritedDataSource = true;
     this.entryPost.Mappings = "SignatoryPost";
     this.entryPost.InheritedBoundaryDataSource = false;
     this.entryPost.InheritedDataSource = true;
     this.entryPost.Mappings = "SignatoryPost";
     this.entryPost.InheritedBoundaryDataSource = false;
     this.table1.Add (this.entryPost);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryPost]));
     w15.TopAttach = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     w15.LeftAttach = ((uint)(3));
     w15.RightAttach = ((uint)(4));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textviewAddress = new global::Gtk.DataBindings.DataTextView ();
     this.textviewAddress.CanFocus = true;
     this.textviewAddress.Name = "textviewAddress";
     this.textviewAddress.InheritedDataSource = true;
     this.textviewAddress.Mappings = "Address";
     this.textviewAddress.InheritedBoundaryDataSource = false;
     this.textviewAddress.InheritedDataSource = true;
     this.textviewAddress.Mappings = "Address";
     this.textviewAddress.InheritedBoundaryDataSource = false;
     this.GtkScrolledWindow.Add (this.textviewAddress);
     this.table1.Add (this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow]));
     w17.TopAttach = ((uint)(9));
     w17.BottomAttach = ((uint)(10));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(4));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow1.Name = "GtkScrolledWindow1";
     this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild
     this.textviewJurAddress = new global::Gtk.DataBindings.DataTextView ();
     this.textviewJurAddress.CanFocus = true;
     this.textviewJurAddress.Name = "textviewJurAddress";
     this.textviewJurAddress.InheritedDataSource = true;
     this.textviewJurAddress.Mappings = "JurAddress";
     this.textviewJurAddress.InheritedBoundaryDataSource = false;
     this.textviewJurAddress.InheritedDataSource = true;
     this.textviewJurAddress.Mappings = "JurAddress";
     this.textviewJurAddress.InheritedBoundaryDataSource = false;
     this.GtkScrolledWindow1.Add (this.textviewJurAddress);
     this.table1.Add (this.GtkScrolledWindow1);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow1]));
     w19.TopAttach = ((uint)(10));
     w19.BottomAttach = ((uint)(11));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(4));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Код:");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.Xalign = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("ОГРН:");
     this.table1.Add (this.label10);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1 [this.label10]));
     w21.TopAttach = ((uint)(7));
     w21.BottomAttach = ((uint)(8));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("E-mail:");
     this.table1.Add (this.label11);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1 [this.label11]));
     w22.TopAttach = ((uint)(4));
     w22.BottomAttach = ((uint)(5));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Подписант</b>");
     this.label12.UseMarkup = true;
     this.table1.Add (this.label12);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1 [this.label12]));
     w23.LeftAttach = ((uint)(2));
     w23.RightAttach = ((uint)(4));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.Xalign = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("ФИО:");
     this.table1.Add (this.label13);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table1 [this.label13]));
     w24.TopAttach = ((uint)(1));
     w24.BottomAttach = ((uint)(2));
     w24.LeftAttach = ((uint)(2));
     w24.RightAttach = ((uint)(3));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label14 = new global::Gtk.Label ();
     this.label14.Name = "label14";
     this.label14.Xalign = 1F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("в лице:");
     this.table1.Add (this.label14);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1 [this.label14]));
     w25.TopAttach = ((uint)(2));
     w25.BottomAttach = ((uint)(3));
     w25.LeftAttach = ((uint)(2));
     w25.RightAttach = ((uint)(3));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label15 = new global::Gtk.Label ();
     this.label15.Name = "label15";
     this.label15.Xalign = 1F;
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("на основании:");
     this.table1.Add (this.label15);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table1 [this.label15]));
     w26.TopAttach = ((uint)(3));
     w26.BottomAttach = ((uint)(4));
     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.label16 = new global::Gtk.Label ();
     this.label16.Name = "label16";
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Банковские реквизиты</b>");
     this.label16.UseMarkup = true;
     this.table1.Add (this.label16);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table1 [this.label16]));
     w27.TopAttach = ((uint)(4));
     w27.BottomAttach = ((uint)(5));
     w27.LeftAttach = ((uint)(2));
     w27.RightAttach = ((uint)(4));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label17 = new global::Gtk.Label ();
     this.label17.Name = "label17";
     this.label17.Xalign = 1F;
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Счет:");
     this.table1.Add (this.label17);
     global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table1 [this.label17]));
     w28.TopAttach = ((uint)(5));
     w28.BottomAttach = ((uint)(6));
     w28.LeftAttach = ((uint)(2));
     w28.RightAttach = ((uint)(3));
     w28.XOptions = ((global::Gtk.AttachOptions)(4));
     w28.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label18 = new global::Gtk.Label ();
     this.label18.Name = "label18";
     this.label18.Xalign = 1F;
     this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("БИК:");
     this.table1.Add (this.label18);
     global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table1 [this.label18]));
     w29.TopAttach = ((uint)(6));
     w29.BottomAttach = ((uint)(7));
     w29.LeftAttach = ((uint)(2));
     w29.RightAttach = ((uint)(3));
     w29.XOptions = ((global::Gtk.AttachOptions)(4));
     w29.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label19 = new global::Gtk.Label ();
     this.label19.Name = "label19";
     this.label19.Xalign = 1F;
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Банк:");
     this.table1.Add (this.label19);
     global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table1 [this.label19]));
     w30.TopAttach = ((uint)(7));
     w30.BottomAttach = ((uint)(8));
     w30.LeftAttach = ((uint)(2));
     w30.RightAttach = ((uint)(3));
     w30.XOptions = ((global::Gtk.AttachOptions)(4));
     w30.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Название<span foreground=\"red\">*</span>:");
     this.label2.UseMarkup = true;
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w31.TopAttach = ((uint)(1));
     w31.BottomAttach = ((uint)(2));
     w31.XOptions = ((global::Gtk.AttachOptions)(4));
     w31.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label20 = new global::Gtk.Label ();
     this.label20.Name = "label20";
     this.label20.Xalign = 1F;
     this.label20.LabelProp = global::Mono.Unix.Catalog.GetString ("Кор. счет:");
     this.table1.Add (this.label20);
     global::Gtk.Table.TableChild w32 = ((global::Gtk.Table.TableChild)(this.table1 [this.label20]));
     w32.TopAttach = ((uint)(8));
     w32.BottomAttach = ((uint)(9));
     w32.LeftAttach = ((uint)(2));
     w32.RightAttach = ((uint)(3));
     w32.XOptions = ((global::Gtk.AttachOptions)(4));
     w32.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Полное название:");
     this.table1.Add (this.label3);
     global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w33.TopAttach = ((uint)(2));
     w33.BottomAttach = ((uint)(3));
     w33.XOptions = ((global::Gtk.AttachOptions)(4));
     w33.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.Yalign = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Адрес:");
     this.table1.Add (this.label5);
     global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w34.TopAttach = ((uint)(9));
     w34.BottomAttach = ((uint)(10));
     w34.XOptions = ((global::Gtk.AttachOptions)(4));
     w34.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.Yalign = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Юр. адрес:");
     this.table1.Add (this.label6);
     global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w35.TopAttach = ((uint)(10));
     w35.BottomAttach = ((uint)(11));
     w35.XOptions = ((global::Gtk.AttachOptions)(4));
     w35.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("ИНН:");
     this.table1.Add (this.label7);
     global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w36.TopAttach = ((uint)(5));
     w36.BottomAttach = ((uint)(6));
     w36.XOptions = ((global::Gtk.AttachOptions)(4));
     w36.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("КПП:");
     this.table1.Add (this.label8);
     global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
     w37.TopAttach = ((uint)(6));
     w37.BottomAttach = ((uint)(7));
     w37.XOptions = ((global::Gtk.AttachOptions)(4));
     w37.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Телефон:");
     this.table1.Add (this.label9);
     global::Gtk.Table.TableChild w38 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9]));
     w38.TopAttach = ((uint)(3));
     w38.BottomAttach = ((uint)(4));
     w38.XOptions = ((global::Gtk.AttachOptions)(4));
     w38.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.labelId = new global::Gamma.GtkWidgets.yLabel ();
     this.labelId.Name = "labelId";
     this.labelId.LabelProp = global::Mono.Unix.Catalog.GetString ("Не задан");
     this.table1.Add (this.labelId);
     global::Gtk.Table.TableChild w39 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelId]));
     w39.LeftAttach = ((uint)(1));
     w39.RightAttach = ((uint)(2));
     w39.XOptions = ((global::Gtk.AttachOptions)(4));
     w39.YOptions = ((global::Gtk.AttachOptions)(4));
     w1.Add (this.table1);
     global::Gtk.Box.BoxChild w40 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
     w40.Position = 0;
     w40.Expand = false;
     w40.Fill = false;
     // Internal child LeaseAgreement.OrganizationDlg.ActionArea
     global::Gtk.HButtonBox w41 = this.ActionArea;
     w41.Name = "dialog1_ActionArea";
     w41.Spacing = 10;
     w41.BorderWidth = ((uint)(5));
     w41.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 w42 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w41 [this.buttonCancel]));
     w42.Expand = false;
     w42.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";
     w41.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w43 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w41 [this.buttonOk]));
     w43.Position = 1;
     w43.Expand = false;
     w43.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 826;
     this.DefaultHeight = 497;
     this.Show ();
     this.entryName.Changed += new global::System.EventHandler (this.OnEntryNameChanged);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
	protected virtual void Build ()
	{
		global::Stetic.Gui.Initialize (this);
		// Widget MainWindow
		this.Name = "MainWindow";
		this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
		this.WindowPosition = ((global::Gtk.WindowPosition)(4));
		// Container child MainWindow.Gtk.Container+ContainerChild
		this.MainBox = new global::Gtk.DataBindings.DataVBox ();
		this.MainBox.Name = "MainBox";
		this.MainBox.Spacing = 6;
		this.MainBox.BorderWidth = ((uint)(8));
		this.MainBox.InheritedDataSource = false;
		this.MainBox.InheritedBoundaryDataSource = false;
		this.MainBox.InheritedDataSource = false;
		this.MainBox.InheritedBoundaryDataSource = false;
		// Container child MainBox.Gtk.Box+BoxChild
		this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false);
		this.datatable1.Name = "datatable1";
		this.datatable1.RowSpacing = ((uint)(6));
		this.datatable1.ColumnSpacing = ((uint)(6));
		this.datatable1.InheritedDataSource = true;
		this.datatable1.InheritedBoundaryDataSource = false;
		this.datatable1.InheritedDataSource = true;
		this.datatable1.InheritedBoundaryDataSource = false;
		// Container child datatable1.Gtk.Table+TableChild
		this.dataentry1 = new global::Gtk.DataBindings.DataEntry ();
		this.dataentry1.CanFocus = true;
		this.dataentry1.Name = "dataentry1";
		this.dataentry1.IsEditable = true;
		this.dataentry1.InvisibleChar = '•';
		this.dataentry1.InheritedDataSource = true;
		this.dataentry1.Mappings = "Name";
		this.dataentry1.InheritedBoundaryDataSource = false;
		this.dataentry1.InheritedDataSource = true;
		this.dataentry1.Mappings = "Name";
		this.dataentry1.InheritedBoundaryDataSource = false;
		this.datatable1.Add (this.dataentry1);
		global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry1]));
		w1.LeftAttach = ((uint)(1));
		w1.RightAttach = ((uint)(2));
		w1.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable1.Gtk.Table+TableChild
		this.dataentry2 = new global::Gtk.DataBindings.DataEntry ();
		this.dataentry2.CanFocus = true;
		this.dataentry2.Name = "dataentry2";
		this.dataentry2.IsEditable = true;
		this.dataentry2.InvisibleChar = '•';
		this.dataentry2.InheritedDataSource = true;
		this.dataentry2.Mappings = "LastName";
		this.dataentry2.InheritedBoundaryDataSource = false;
		this.dataentry2.InheritedDataSource = true;
		this.dataentry2.Mappings = "LastName";
		this.dataentry2.InheritedBoundaryDataSource = false;
		this.datatable1.Add (this.dataentry2);
		global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry2]));
		w2.TopAttach = ((uint)(1));
		w2.BottomAttach = ((uint)(2));
		w2.LeftAttach = ((uint)(1));
		w2.RightAttach = ((uint)(2));
		w2.XOptions = ((global::Gtk.AttachOptions)(4));
		w2.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable1.Gtk.Table+TableChild
		this.dataspinbutton1 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1);
		this.dataspinbutton1.CanFocus = true;
		this.dataspinbutton1.Name = "dataspinbutton1";
		this.dataspinbutton1.Adjustment.PageIncrement = 10;
		this.dataspinbutton1.ClimbRate = 1;
		this.dataspinbutton1.Numeric = true;
		this.dataspinbutton1.InheritedDataSource = true;
		this.dataspinbutton1.Mappings = "Age";
		this.dataspinbutton1.InheritedBoundaryDataSource = false;
		this.dataspinbutton1.InheritedDataSource = true;
		this.dataspinbutton1.Mappings = "Age";
		this.dataspinbutton1.InheritedBoundaryDataSource = false;
		this.datatable1.Add (this.dataspinbutton1);
		global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataspinbutton1]));
		w3.TopAttach = ((uint)(2));
		w3.BottomAttach = ((uint)(3));
		w3.LeftAttach = ((uint)(1));
		w3.RightAttach = ((uint)(2));
		w3.XOptions = ((global::Gtk.AttachOptions)(4));
		w3.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable1.Gtk.Table+TableChild
		this.label1 = new global::Gtk.Label ();
		this.label1.Name = "label1";
		this.label1.Xalign = 0F;
		this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Name");
		this.datatable1.Add (this.label1);
		global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1]));
		w4.XOptions = ((global::Gtk.AttachOptions)(4));
		w4.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable1.Gtk.Table+TableChild
		this.label2 = new global::Gtk.Label ();
		this.label2.Name = "label2";
		this.label2.Xalign = 0F;
		this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("LastName");
		this.datatable1.Add (this.label2);
		global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2]));
		w5.TopAttach = ((uint)(1));
		w5.BottomAttach = ((uint)(2));
		w5.XOptions = ((global::Gtk.AttachOptions)(4));
		w5.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable1.Gtk.Table+TableChild
		this.label3 = new global::Gtk.Label ();
		this.label3.Name = "label3";
		this.label3.Xalign = 0F;
		this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Age");
		this.datatable1.Add (this.label3);
		global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3]));
		w6.TopAttach = ((uint)(2));
		w6.BottomAttach = ((uint)(3));
		w6.XOptions = ((global::Gtk.AttachOptions)(4));
		w6.YOptions = ((global::Gtk.AttachOptions)(4));
		this.MainBox.Add (this.datatable1);
		global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable1]));
		w7.Position = 0;
		w7.Expand = false;
		w7.Fill = false;
		// Container child MainBox.Gtk.Box+BoxChild
		this.datatable2 = new global::Gtk.DataBindings.DataTable (((uint)(3)), ((uint)(2)), false);
		this.datatable2.Name = "datatable2";
		this.datatable2.RowSpacing = ((uint)(6));
		this.datatable2.ColumnSpacing = ((uint)(6));
		this.datatable2.InheritedDataSource = true;
		this.datatable2.InheritedBoundaryDataSource = false;
		this.datatable2.InheritedDataSource = true;
		this.datatable2.InheritedBoundaryDataSource = false;
		// Container child datatable2.Gtk.Table+TableChild
		this.datalabel1 = new global::Gtk.DataBindings.DataLabel ();
		this.datalabel1.Name = "datalabel1";
		this.datalabel1.Xalign = 0F;
		this.datalabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel1");
		this.datalabel1.InheritedDataSource = true;
		this.datalabel1.Mappings = "Name";
		this.datalabel1.InheritedBoundaryDataSource = false;
		this.datalabel1.Important = false;
		this.datalabel1.InheritedDataSource = true;
		this.datalabel1.Mappings = "Name";
		this.datalabel1.InheritedBoundaryDataSource = false;
		this.datatable2.Add (this.datalabel1);
		global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel1]));
		w8.LeftAttach = ((uint)(1));
		w8.RightAttach = ((uint)(2));
		w8.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable2.Gtk.Table+TableChild
		this.datalabel2 = new global::Gtk.DataBindings.DataLabel ();
		this.datalabel2.Name = "datalabel2";
		this.datalabel2.Xalign = 0F;
		this.datalabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel2");
		this.datalabel2.InheritedDataSource = true;
		this.datalabel2.Mappings = "LastName";
		this.datalabel2.InheritedBoundaryDataSource = false;
		this.datalabel2.Important = false;
		this.datalabel2.InheritedDataSource = true;
		this.datalabel2.Mappings = "LastName";
		this.datalabel2.InheritedBoundaryDataSource = false;
		this.datatable2.Add (this.datalabel2);
		global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel2]));
		w9.TopAttach = ((uint)(1));
		w9.BottomAttach = ((uint)(2));
		w9.LeftAttach = ((uint)(1));
		w9.RightAttach = ((uint)(2));
		w9.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable2.Gtk.Table+TableChild
		this.datalabel3 = new global::Gtk.DataBindings.DataLabel ();
		this.datalabel3.Name = "datalabel3";
		this.datalabel3.Xalign = 0F;
		this.datalabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("datalabel3");
		this.datalabel3.InheritedDataSource = true;
		this.datalabel3.Mappings = "Age";
		this.datalabel3.InheritedBoundaryDataSource = false;
		this.datalabel3.Important = false;
		this.datalabel3.InheritedDataSource = true;
		this.datalabel3.Mappings = "Age";
		this.datalabel3.InheritedBoundaryDataSource = false;
		this.datatable2.Add (this.datalabel3);
		global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel3]));
		w10.TopAttach = ((uint)(2));
		w10.BottomAttach = ((uint)(3));
		w10.LeftAttach = ((uint)(1));
		w10.RightAttach = ((uint)(2));
		w10.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable2.Gtk.Table+TableChild
		this.label4 = new global::Gtk.Label ();
		this.label4.Name = "label4";
		this.label4.Xalign = 0F;
		this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Name in object");
		this.datatable2.Add (this.label4);
		global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label4]));
		w11.XOptions = ((global::Gtk.AttachOptions)(4));
		w11.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable2.Gtk.Table+TableChild
		this.label5 = new global::Gtk.Label ();
		this.label5.Name = "label5";
		this.label5.Xalign = 0F;
		this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("LastName in object");
		this.datatable2.Add (this.label5);
		global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label5]));
		w12.TopAttach = ((uint)(1));
		w12.BottomAttach = ((uint)(2));
		w12.XOptions = ((global::Gtk.AttachOptions)(4));
		w12.YOptions = ((global::Gtk.AttachOptions)(4));
		// Container child datatable2.Gtk.Table+TableChild
		this.label6 = new global::Gtk.Label ();
		this.label6.Name = "label6";
		this.label6.Xalign = 0F;
		this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Age in object");
		this.datatable2.Add (this.label6);
		global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label6]));
		w13.TopAttach = ((uint)(2));
		w13.BottomAttach = ((uint)(3));
		w13.XOptions = ((global::Gtk.AttachOptions)(4));
		w13.YOptions = ((global::Gtk.AttachOptions)(4));
		this.MainBox.Add (this.datatable2);
		global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable2]));
		w14.Position = 1;
		w14.Expand = false;
		w14.Fill = false;
		// Container child MainBox.Gtk.Box+BoxChild
		this.datahbox1 = new global::Gtk.DataBindings.DataHBox ();
		this.datahbox1.Name = "datahbox1";
		this.datahbox1.Spacing = 6;
		this.datahbox1.InheritedDataSource = false;
		this.datahbox1.InheritedBoundaryDataSource = false;
		this.datahbox1.InheritedDataSource = false;
		this.datahbox1.InheritedBoundaryDataSource = false;
		// Container child datahbox1.Gtk.Box+BoxChild
		this.button1 = new global::Gtk.Button ();
		this.button1.CanFocus = true;
		this.button1.Name = "button1";
		this.button1.UseUnderline = true;
		this.button1.Label = global::Mono.Unix.Catalog.GetString ("button1");
		this.datahbox1.Add (this.button1);
		global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.button1]));
		w15.Position = 2;
		w15.Expand = false;
		w15.Fill = false;
		this.MainBox.Add (this.datahbox1);
		global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datahbox1]));
		w16.Position = 2;
		w16.Expand = false;
		w16.Fill = false;
		this.Add (this.MainBox);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 400;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked);
	}
Esempio n. 5
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.jkjhkAction            = new global::Gtk.Action("jkjhkAction", global::Mono.Unix.Catalog.GetString("jkjhk"), null, null);
     this.jkjhkAction.ShortLabel = global::Mono.Unix.Catalog.GetString("jkjhk");
     w1.Add(this.jkjhkAction, null);
     this.UIManager.InsertActionGroup(w1, 0);
     this.AddAccelGroup(this.UIManager.AccelGroup);
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(8));
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.datavbox1                             = new global::Gtk.DataBindings.DataVBox();
     this.datavbox1.Name                        = "datavbox1";
     this.datavbox1.Spacing                     = 6;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.dataspinbutton2          = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1);
     this.dataspinbutton2.CanFocus = true;
     this.dataspinbutton2.Name     = "dataspinbutton2";
     this.dataspinbutton2.Adjustment.PageIncrement = 10;
     this.dataspinbutton2.ClimbRate                   = 1;
     this.dataspinbutton2.Numeric                     = true;
     this.dataspinbutton2.Value                       = 1;
     this.dataspinbutton2.InheritedDataSource         = true;
     this.dataspinbutton2.Mappings                    = "IntValue";
     this.dataspinbutton2.InheritedBoundaryDataSource = false;
     this.dataspinbutton2.InheritedDataSource         = true;
     this.dataspinbutton2.Mappings                    = "IntValue";
     this.dataspinbutton2.InheritedBoundaryDataSource = false;
     this.datavbox1.Add(this.dataspinbutton2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataspinbutton2]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.dataentry2                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry2.CanFocus                    = true;
     this.dataentry2.Name                        = "dataentry2";
     this.dataentry2.IsEditable                  = true;
     this.dataentry2.InvisibleChar               = '•';
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "StrValue";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "StrValue";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.datavbox1.Add(this.dataentry2);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataentry2]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("ConfigFile supports file monitoring, so in this example you can go to ~/.config/config_sample1 or config_sample1 in your Application Data on Windows and manually edit config.xml. Controls will auto update on save");
     this.label1.Wrap      = true;
     this.datavbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.label1]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     this.Add(this.datavbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 1593;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.dataspinbutton2.LeaveNotifyEvent += new global::Gtk.LeaveNotifyEventHandler(this.OnDataspinbutton2LeaveNotifyEvent);
 }
Esempio n. 6
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1             = new global::Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.Spacing     = 4;
     this.vbox1.BorderWidth = ((uint)(8));
     // Container child vbox1.Gtk.Box+BoxChild
     this.dataentry1                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry1.CanFocus                    = true;
     this.dataentry1.Name                        = "dataentry1";
     this.dataentry1.IsEditable                  = true;
     this.dataentry1.InvisibleChar               = '•';
     this.dataentry1.InheritedDataSource         = false;
     this.dataentry1.Mappings                    = "Text";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.InheritedDataSource         = false;
     this.dataentry1.Mappings                    = "Text";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.vbox1.Add(this.dataentry1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.dataentry1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.dataentry2                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry2.CanFocus                    = true;
     this.dataentry2.Name                        = "dataentry2";
     this.dataentry2.IsEditable                  = true;
     this.dataentry2.InvisibleChar               = '•';
     this.dataentry2.InheritedDataSource         = false;
     this.dataentry2.Mappings                    = "Text";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.dataentry2.BoundaryMappings            = "";
     this.dataentry2.InheritedDataSource         = false;
     this.dataentry2.Mappings                    = "Text";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.dataentry2.BoundaryMappings            = "";
     this.vbox1.Add(this.dataentry2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.dataentry2]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox2      = new global::Gtk.HBox();
     this.hbox2.Name = "hbox2";
     // Container child hbox2.Gtk.Box+BoxChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = global::Mono.Unix.Catalog.GetString("Close");
     this.hbox2.Add(this.button1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1]));
     w3.Position = 2;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vbox1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 357;
     this.Show();
     this.DeleteEvent     += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked);
 }
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget stopwatch.StopWatchDialog
			this.Name = "stopwatch.StopWatchDialog";
			this.Title = "Add StopWatch";
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			this.Modal = true;
			this.Resizable = false;
			this.AllowGrow = false;
			// Internal child stopwatch.StopWatchDialog.VBox
			global::Gtk.VBox w1 = this.VBox;
			w1.Name = "dialog1_VBox";
			w1.BorderWidth = ((uint)(2));
			// Container child dialog1_VBox.Gtk.Box+BoxChild
			this.DataBox = new global::Gtk.DataBindings.DataTable (((uint)(2)), ((uint)(2)), false);
			this.DataBox.Name = "DataBox";
			this.DataBox.RowSpacing = ((uint)(6));
			this.DataBox.ColumnSpacing = ((uint)(8));
			this.DataBox.BorderWidth = ((uint)(8));
			this.DataBox.InheritedDataSource = false;
			this.DataBox.InheritedBoundaryDataSource = false;
			this.DataBox.InheritedDataSource = false;
			this.DataBox.InheritedBoundaryDataSource = false;
			// Container child DataBox.Gtk.Table+TableChild
			this.dataentry1 = new global::Gtk.DataBindings.DataEntry ();
			this.dataentry1.CanFocus = true;
			this.dataentry1.Name = "dataentry1";
			this.dataentry1.IsEditable = true;
			this.dataentry1.InvisibleChar = '•';
			this.dataentry1.InheritedDataSource = true;
			this.dataentry1.Mappings = "Name";
			this.dataentry1.InheritedBoundaryDataSource = false;
			this.dataentry1.InheritedDataSource = true;
			this.dataentry1.Mappings = "Name";
			this.dataentry1.InheritedBoundaryDataSource = false;
			this.DataBox.Add (this.dataentry1);
			global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.DataBox [this.dataentry1]));
			w2.LeftAttach = ((uint)(1));
			w2.RightAttach = ((uint)(2));
			w2.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child DataBox.Gtk.Table+TableChild
			this.datahbox1 = new global::Gtk.DataBindings.DataHBox ();
			this.datahbox1.Name = "datahbox1";
			this.datahbox1.Spacing = 6;
			this.datahbox1.InheritedDataSource = true;
			this.datahbox1.InheritedBoundaryDataSource = false;
			this.datahbox1.InheritedDataSource = true;
			this.datahbox1.InheritedBoundaryDataSource = false;
			// Container child datahbox1.Gtk.Box+BoxChild
			this.dataspinbutton1 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1);
			this.dataspinbutton1.CanFocus = true;
			this.dataspinbutton1.Name = "dataspinbutton1";
			this.dataspinbutton1.Adjustment.PageIncrement = 10;
			this.dataspinbutton1.ClimbRate = 1;
			this.dataspinbutton1.Numeric = true;
			this.dataspinbutton1.InheritedDataSource = true;
			this.dataspinbutton1.Mappings = "MaxHours";
			this.dataspinbutton1.InheritedBoundaryDataSource = false;
			this.dataspinbutton1.InheritedDataSource = true;
			this.dataspinbutton1.Mappings = "MaxHours";
			this.dataspinbutton1.InheritedBoundaryDataSource = false;
			this.datahbox1.Add (this.dataspinbutton1);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton1]));
			w3.Position = 0;
			w3.Expand = false;
			w3.Fill = false;
			// Container child datahbox1.Gtk.Box+BoxChild
			this.label3 = new global::Gtk.Label ();
			this.label3.Name = "label3";
			this.label3.LabelProp = "Hours";
			this.datahbox1.Add (this.label3);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label3]));
			w4.Position = 1;
			w4.Expand = false;
			w4.Fill = false;
			// Container child datahbox1.Gtk.Box+BoxChild
			this.dataspinbutton2 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1);
			this.dataspinbutton2.CanFocus = true;
			this.dataspinbutton2.Name = "dataspinbutton2";
			this.dataspinbutton2.Adjustment.PageIncrement = 10;
			this.dataspinbutton2.ClimbRate = 1;
			this.dataspinbutton2.Numeric = true;
			this.dataspinbutton2.InheritedDataSource = true;
			this.dataspinbutton2.Mappings = "MaxMinutes";
			this.dataspinbutton2.InheritedBoundaryDataSource = false;
			this.dataspinbutton2.InheritedDataSource = true;
			this.dataspinbutton2.Mappings = "MaxMinutes";
			this.dataspinbutton2.InheritedBoundaryDataSource = false;
			this.datahbox1.Add (this.dataspinbutton2);
			global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton2]));
			w5.Position = 2;
			w5.Expand = false;
			w5.Fill = false;
			// Container child datahbox1.Gtk.Box+BoxChild
			this.label4 = new global::Gtk.Label ();
			this.label4.Name = "label4";
			this.label4.LabelProp = "Minutes";
			this.datahbox1.Add (this.label4);
			global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label4]));
			w6.Position = 3;
			w6.Expand = false;
			w6.Fill = false;
			// Container child datahbox1.Gtk.Box+BoxChild
			this.dataspinbutton3 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1);
			this.dataspinbutton3.CanFocus = true;
			this.dataspinbutton3.Name = "dataspinbutton3";
			this.dataspinbutton3.Adjustment.PageIncrement = 10;
			this.dataspinbutton3.ClimbRate = 1;
			this.dataspinbutton3.Numeric = true;
			this.dataspinbutton3.InheritedDataSource = true;
			this.dataspinbutton3.Mappings = "MaxSeconds";
			this.dataspinbutton3.InheritedBoundaryDataSource = false;
			this.dataspinbutton3.InheritedDataSource = true;
			this.dataspinbutton3.Mappings = "MaxSeconds";
			this.dataspinbutton3.InheritedBoundaryDataSource = false;
			this.datahbox1.Add (this.dataspinbutton3);
			global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton3]));
			w7.Position = 4;
			w7.Expand = false;
			w7.Fill = false;
			// Container child datahbox1.Gtk.Box+BoxChild
			this.label5 = new global::Gtk.Label ();
			this.label5.Name = "label5";
			this.label5.LabelProp = "Seconds";
			this.datahbox1.Add (this.label5);
			global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label5]));
			w8.Position = 5;
			w8.Expand = false;
			w8.Fill = false;
			this.DataBox.Add (this.datahbox1);
			global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.DataBox [this.datahbox1]));
			w9.TopAttach = ((uint)(1));
			w9.BottomAttach = ((uint)(2));
			w9.LeftAttach = ((uint)(1));
			w9.RightAttach = ((uint)(2));
			w9.XOptions = ((global::Gtk.AttachOptions)(4));
			w9.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child DataBox.Gtk.Table+TableChild
			this.label1 = new global::Gtk.Label ();
			this.label1.Name = "label1";
			this.label1.Xalign = 0F;
			this.label1.LabelProp = "Name";
			this.DataBox.Add (this.label1);
			global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.DataBox [this.label1]));
			w10.XOptions = ((global::Gtk.AttachOptions)(4));
			w10.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child DataBox.Gtk.Table+TableChild
			this.label2 = new global::Gtk.Label ();
			this.label2.Name = "label2";
			this.label2.Xalign = 0F;
			this.label2.LabelProp = "Max Time";
			this.DataBox.Add (this.label2);
			global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.DataBox [this.label2]));
			w11.TopAttach = ((uint)(1));
			w11.BottomAttach = ((uint)(2));
			w11.XOptions = ((global::Gtk.AttachOptions)(4));
			w11.YOptions = ((global::Gtk.AttachOptions)(4));
			w1.Add (this.DataBox);
			global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.DataBox]));
			w12.Position = 0;
			w12.Expand = false;
			w12.Fill = false;
			// Internal child stopwatch.StopWatchDialog.ActionArea
			global::Gtk.HButtonBox w13 = this.ActionArea;
			w13.Name = "dialog1_ActionArea";
			w13.Spacing = 6;
			w13.BorderWidth = ((uint)(5));
			w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// 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.UseUnderline = true;
			// Container child buttonOk.Gtk.Container+ContainerChild
			global::Gtk.Alignment w14 = new global::Gtk.Alignment (0.5F, 0.5F, 0F, 0F);
			// Container child GtkAlignment.Gtk.Container+ContainerChild
			global::Gtk.HBox w15 = new global::Gtk.HBox ();
			w15.Spacing = 2;
			// Container child GtkHBox.Gtk.Container+ContainerChild
			global::Gtk.Image w16 = new global::Gtk.Image ();
			w16.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-apply", global::Gtk.IconSize.Menu);
			w15.Add (w16);
			// Container child GtkHBox.Gtk.Container+ContainerChild
			global::Gtk.Label w18 = new global::Gtk.Label ();
			w18.LabelProp = "_Set timer";
			w18.UseUnderline = true;
			w15.Add (w18);
			w14.Add (w15);
			this.buttonOk.Add (w14);
			this.AddActionWidget (this.buttonOk, -5);
			global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonOk]));
			w22.Expand = false;
			w22.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 467;
			this.DefaultHeight = 153;
			this.buttonOk.HasDefault = true;
			this.Show ();
			this.DestroyEvent += new global::Gtk.DestroyEventHandler (this.OnDestroyEvent);
			this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		}
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LeaseAgreement.PlanDialog
     this.Name = "LeaseAgreement.PlanDialog";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child LeaseAgreement.PlanDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(4)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.buttonUpload = new global::Gtk.Button ();
     this.buttonUpload.CanFocus = true;
     this.buttonUpload.Name = "buttonUpload";
     this.buttonUpload.UseUnderline = true;
     this.buttonUpload.Label = global::Mono.Unix.Catalog.GetString ("Загрузить");
     global::Gtk.Image w2 = new global::Gtk.Image ();
     w2.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu);
     this.buttonUpload.Image = w2;
     this.table1.Add (this.buttonUpload);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonUpload]));
     w3.LeftAttach = ((uint)(3));
     w3.RightAttach = ((uint)(4));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.checkButtonHasLabels = new global::Gtk.DataBindings.DataCheckButton ();
     this.checkButtonHasLabels.CanFocus = true;
     this.checkButtonHasLabels.Name = "checkButtonHasLabels";
     this.checkButtonHasLabels.Label = global::Mono.Unix.Catalog.GetString ("Места отмечены");
     this.checkButtonHasLabels.Active = true;
     this.checkButtonHasLabels.DrawIndicator = true;
     this.checkButtonHasLabels.UseUnderline = true;
     this.checkButtonHasLabels.InheritedDataSource = false;
     this.checkButtonHasLabels.Mappings = "HasLabels";
     this.checkButtonHasLabels.InheritedBoundaryDataSource = false;
     this.checkButtonHasLabels.Editable = true;
     this.checkButtonHasLabels.AutomaticTitle = false;
     this.checkButtonHasLabels.InheritedBoundaryDataSource = false;
     this.checkButtonHasLabels.InheritedDataSource = false;
     this.checkButtonHasLabels.Mappings = "HasLabels";
     this.table1.Add (this.checkButtonHasLabels);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.checkButtonHasLabels]));
     w4.TopAttach = ((uint)(1));
     w4.BottomAttach = ((uint)(2));
     w4.LeftAttach = ((uint)(3));
     w4.RightAttach = ((uint)(4));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:");
     this.table1.Add (this.label1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Файл:");
     this.table1.Add (this.label2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w6.LeftAttach = ((uint)(2));
     w6.RightAttach = ((uint)(3));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.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 w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w7.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.nameEntry = new global::Gtk.DataBindings.DataEntry ();
     this.nameEntry.CanFocus = true;
     this.nameEntry.Name = "nameEntry";
     this.nameEntry.IsEditable = true;
     this.nameEntry.InvisibleChar = '●';
     this.nameEntry.InheritedDataSource = false;
     this.nameEntry.InheritedBoundaryDataSource = false;
     this.nameEntry.InheritedDataSource = false;
     this.nameEntry.InheritedBoundaryDataSource = false;
     this.table1.Add (this.nameEntry);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.nameEntry]));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.XOptions = ((global::Gtk.AttachOptions)(4));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.spinbutton1 = new global::Gtk.SpinButton (0, 100, 1);
     this.spinbutton1.CanFocus = true;
     this.spinbutton1.Name = "spinbutton1";
     this.spinbutton1.Adjustment.PageIncrement = 10;
     this.spinbutton1.ClimbRate = 1;
     this.spinbutton1.Numeric = true;
     this.table1.Add (this.spinbutton1);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinbutton1]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     w1.Add (this.table1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(w1 [this.table1]));
     w10.Position = 0;
     w10.Expand = false;
     w10.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.treeview1 = new global::Gtk.TreeView ();
     this.treeview1.CanFocus = true;
     this.treeview1.Name = "treeview1";
     this.treeview1.EnableSearch = false;
     this.GtkScrolledWindow.Add (this.treeview1);
     w1.Add (this.GtkScrolledWindow);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.GtkScrolledWindow]));
     w12.Position = 1;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.planViewWidget = new global::LeaseAgreement.PlanViewWidget ();
     this.planViewWidget.WidthRequest = 400;
     this.planViewWidget.HeightRequest = 300;
     this.planViewWidget.Sensitive = false;
     this.planViewWidget.Events = ((global::Gdk.EventMask)(256));
     this.planViewWidget.Name = "planViewWidget";
     this.planViewWidget.VisibleWindow = false;
     w1.Add (this.planViewWidget);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(w1 [this.planViewWidget]));
     w13.Position = 2;
     // Internal child LeaseAgreement.PlanDialog.ActionArea
     global::Gtk.HButtonBox w14 = this.ActionArea;
     w14.Name = "dialog1_ActionArea";
     w14.Spacing = 10;
     w14.BorderWidth = ((uint)(5));
     w14.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 w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.buttonCancel]));
     w15.Expand = false;
     w15.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new global::Gtk.Button ();
     this.buttonOk.Sensitive = false;
     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 w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w14 [this.buttonOk]));
     w16.Position = 1;
     w16.Expand = false;
     w16.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 550;
     this.DefaultHeight = 548;
     this.Show ();
     this.spinbutton1.Changed += new global::System.EventHandler (this.OnSpinbutton1Changed);
     this.nameEntry.Changed += new global::System.EventHandler (this.OnNameEntryChanged);
     this.buttonUpload.Clicked += new global::System.EventHandler (this.OnButtonUploadClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.PaidRentPackageDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.PaidRentPackageDlg";
     // Container child Vodovoz.PaidRentPackageDlg.Gtk.Container+ContainerChild
     this.vbox2 = new global::Gtk.VBox ();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox1.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox1.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox2.Add (this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(8)), ((uint)(2)), false);
     this.datatable1.Name = "datatable1";
     this.datatable1.RowSpacing = ((uint)(6));
     this.datatable1.ColumnSpacing = ((uint)(6));
     this.datatable1.BorderWidth = ((uint)(6));
     this.datatable1.InheritedDataSource = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     this.datatable1.InheritedDataSource = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentryName = new global::Gtk.DataBindings.DataEntry ();
     this.dataentryName.CanFocus = true;
     this.dataentryName.Name = "dataentryName";
     this.dataentryName.IsEditable = true;
     this.dataentryName.InvisibleChar = '●';
     this.dataentryName.InheritedDataSource = true;
     this.dataentryName.Mappings = "Name";
     this.dataentryName.InheritedBoundaryDataSource = false;
     this.dataentryName.InheritedDataSource = true;
     this.dataentryName.Mappings = "Name";
     this.dataentryName.InheritedBoundaryDataSource = false;
     this.datatable1.Add (this.dataentryName);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentryName]));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.hbox6 = new global::Gtk.HBox ();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.spinPriceDaily = new global::Gtk.DataBindings.DataSpinButton (0, 9000000, 1);
     this.spinPriceDaily.CanFocus = true;
     this.spinPriceDaily.Name = "spinPriceDaily";
     this.spinPriceDaily.Adjustment.PageIncrement = 10;
     this.spinPriceDaily.ClimbRate = 1;
     this.spinPriceDaily.Digits = ((uint)(2));
     this.spinPriceDaily.Numeric = true;
     this.spinPriceDaily.InheritedDataSource = true;
     this.spinPriceDaily.Mappings = "PriceDaily";
     this.spinPriceDaily.InheritedBoundaryDataSource = false;
     this.spinPriceDaily.InheritedDataSource = true;
     this.spinPriceDaily.Mappings = "PriceDaily";
     this.spinPriceDaily.InheritedBoundaryDataSource = false;
     this.hbox6.Add (this.spinPriceDaily);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.spinPriceDaily]));
     w7.Position = 0;
     // Container child hbox6.Gtk.Box+BoxChild
     this.currencylabel1 = new global::QSProjectsLib.CurrencyLabel ();
     this.currencylabel1.Name = "currencylabel1";
     this.currencylabel1.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1");
     this.hbox6.Add (this.currencylabel1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.currencylabel1]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     this.datatable1.Add (this.hbox6);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox6]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.spinPriceMonthly = new global::Gtk.DataBindings.DataSpinButton (0, 9000000, 1);
     this.spinPriceMonthly.CanFocus = true;
     this.spinPriceMonthly.Name = "spinPriceMonthly";
     this.spinPriceMonthly.Adjustment.PageIncrement = 10;
     this.spinPriceMonthly.ClimbRate = 1;
     this.spinPriceMonthly.Digits = ((uint)(2));
     this.spinPriceMonthly.Numeric = true;
     this.spinPriceMonthly.InheritedDataSource = true;
     this.spinPriceMonthly.Mappings = "PriceMonthly";
     this.spinPriceMonthly.InheritedBoundaryDataSource = false;
     this.spinPriceMonthly.InheritedDataSource = true;
     this.spinPriceMonthly.Mappings = "PriceMonthly";
     this.spinPriceMonthly.InheritedBoundaryDataSource = false;
     this.hbox7.Add (this.spinPriceMonthly);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.spinPriceMonthly]));
     w10.Position = 0;
     // Container child hbox7.Gtk.Box+BoxChild
     this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel ();
     this.currencylabel2.Name = "currencylabel2";
     this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1");
     this.hbox7.Add (this.currencylabel2);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.currencylabel2]));
     w11.Position = 1;
     w11.Expand = false;
     w11.Fill = false;
     this.datatable1.Add (this.hbox7);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox7]));
     w12.TopAttach = ((uint)(3));
     w12.BottomAttach = ((uint)(4));
     w12.LeftAttach = ((uint)(1));
     w12.RightAttach = ((uint)(2));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.hbox8 = new global::Gtk.HBox ();
     this.hbox8.Name = "hbox8";
     this.hbox8.Spacing = 6;
     // Container child hbox8.Gtk.Box+BoxChild
     this.spinDeposit = new global::Gtk.DataBindings.DataSpinButton (0, 99999, 1);
     this.spinDeposit.CanFocus = true;
     this.spinDeposit.Name = "spinDeposit";
     this.spinDeposit.Adjustment.PageIncrement = 10;
     this.spinDeposit.ClimbRate = 1;
     this.spinDeposit.Digits = ((uint)(2));
     this.spinDeposit.Numeric = true;
     this.spinDeposit.InheritedDataSource = true;
     this.spinDeposit.Mappings = "Deposit";
     this.spinDeposit.InheritedBoundaryDataSource = false;
     this.spinDeposit.InheritedDataSource = true;
     this.spinDeposit.Mappings = "Deposit";
     this.spinDeposit.InheritedBoundaryDataSource = false;
     this.hbox8.Add (this.spinDeposit);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.spinDeposit]));
     w13.Position = 0;
     // Container child hbox8.Gtk.Box+BoxChild
     this.currencylabel3 = new global::QSProjectsLib.CurrencyLabel ();
     this.currencylabel3.Name = "currencylabel3";
     this.currencylabel3.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel1");
     this.hbox8.Add (this.currencylabel3);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.currencylabel3]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     this.datatable1.Add (this.hbox8);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox8]));
     w15.TopAttach = ((uint)(6));
     w15.BottomAttach = ((uint)(7));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:");
     this.datatable1.Add (this.label1);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1]));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга посуточной \nаренды:");
     this.label3.Justify = ((global::Gtk.Justification)(1));
     this.datatable1.Add (this.label3);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3]));
     w17.TopAttach = ((uint)(2));
     w17.BottomAttach = ((uint)(3));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Стоимость (месяц):");
     this.datatable1.Add (this.label4);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4]));
     w18.TopAttach = ((uint)(3));
     w18.BottomAttach = ((uint)(4));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга залога:");
     this.datatable1.Add (this.label5);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label5]));
     w19.TopAttach = ((uint)(7));
     w19.BottomAttach = ((uint)(8));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Стоимость (сутки):");
     this.datatable1.Add (this.label6);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label6]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип оборудования:");
     this.datatable1.Add (this.label7);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7]));
     w21.TopAttach = ((uint)(5));
     w21.BottomAttach = ((uint)(6));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга долгосрочной\nаренды:");
     this.label8.Justify = ((global::Gtk.Justification)(1));
     this.datatable1.Add (this.label8);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8]));
     w22.TopAttach = ((uint)(4));
     w22.BottomAttach = ((uint)(5));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма залога:");
     this.datatable1.Add (this.label9);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label9]));
     w23.TopAttach = ((uint)(6));
     w23.BottomAttach = ((uint)(7));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceDepositService = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceDepositService.Events = ((global::Gdk.EventMask)(256));
     this.referenceDepositService.Name = "referenceDepositService";
     this.referenceDepositService.DisplayFields = new string[] {
         "Name"
     };
     this.referenceDepositService.DisplayFormatString = "{0}";
     this.referenceDepositService.InheritedDataSource = true;
     this.referenceDepositService.Mappings = "DepositService";
     this.referenceDepositService.InheritedBoundaryDataSource = false;
     this.referenceDepositService.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceDepositService);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceDepositService]));
     w24.TopAttach = ((uint)(7));
     w24.BottomAttach = ((uint)(8));
     w24.LeftAttach = ((uint)(1));
     w24.RightAttach = ((uint)(2));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceEquipmentType = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256));
     this.referenceEquipmentType.Name = "referenceEquipmentType";
     this.referenceEquipmentType.DisplayFields = new string[] {
         "Name"
     };
     this.referenceEquipmentType.DisplayFormatString = "{0}";
     this.referenceEquipmentType.InheritedDataSource = true;
     this.referenceEquipmentType.Mappings = "EquipmentType";
     this.referenceEquipmentType.InheritedBoundaryDataSource = false;
     this.referenceEquipmentType.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceEquipmentType);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceEquipmentType]));
     w25.TopAttach = ((uint)(5));
     w25.BottomAttach = ((uint)(6));
     w25.LeftAttach = ((uint)(1));
     w25.RightAttach = ((uint)(2));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceRentServiceDaily = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceRentServiceDaily.Events = ((global::Gdk.EventMask)(256));
     this.referenceRentServiceDaily.Name = "referenceRentServiceDaily";
     this.referenceRentServiceDaily.DisplayFields = new string[] {
         "Name"
     };
     this.referenceRentServiceDaily.DisplayFormatString = "{0}";
     this.referenceRentServiceDaily.InheritedDataSource = true;
     this.referenceRentServiceDaily.Mappings = "RentServiceDaily";
     this.referenceRentServiceDaily.InheritedBoundaryDataSource = false;
     this.referenceRentServiceDaily.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceRentServiceDaily);
     global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceRentServiceDaily]));
     w26.TopAttach = ((uint)(2));
     w26.BottomAttach = ((uint)(3));
     w26.LeftAttach = ((uint)(1));
     w26.RightAttach = ((uint)(2));
     w26.XOptions = ((global::Gtk.AttachOptions)(4));
     w26.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceRentServiceMonthly = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceRentServiceMonthly.Events = ((global::Gdk.EventMask)(256));
     this.referenceRentServiceMonthly.Name = "referenceRentServiceMonthly";
     this.referenceRentServiceMonthly.DisplayFields = new string[] {
         "Name"
     };
     this.referenceRentServiceMonthly.DisplayFormatString = "{0}";
     this.referenceRentServiceMonthly.InheritedDataSource = true;
     this.referenceRentServiceMonthly.Mappings = "RentServiceMonthly";
     this.referenceRentServiceMonthly.InheritedBoundaryDataSource = false;
     this.referenceRentServiceMonthly.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceRentServiceMonthly);
     global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceRentServiceMonthly]));
     w27.TopAttach = ((uint)(4));
     w27.BottomAttach = ((uint)(5));
     w27.LeftAttach = ((uint)(1));
     w27.RightAttach = ((uint)(2));
     w27.XOptions = ((global::Gtk.AttachOptions)(4));
     w27.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox2.Add (this.datatable1);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.datatable1]));
     w28.Position = 1;
     w28.Expand = false;
     w28.Fill = false;
     this.Add (this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
 }
Esempio n. 10
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.MainBox                             = new global::Gtk.DataBindings.DataVBox();
     this.MainBox.Name                        = "MainBox";
     this.MainBox.Spacing                     = 6;
     this.MainBox.BorderWidth                 = ((uint)(8));
     this.MainBox.InheritedDataSource         = false;
     this.MainBox.InheritedBoundaryDataSource = false;
     this.MainBox.InheritedDataSource         = false;
     this.MainBox.InheritedBoundaryDataSource = false;
     // Container child MainBox.Gtk.Box+BoxChild
     this.datatable1                             = new global::Gtk.DataBindings.DataTable(((uint)(3)), ((uint)(2)), false);
     this.datatable1.Name                        = "datatable1";
     this.datatable1.RowSpacing                  = ((uint)(6));
     this.datatable1.ColumnSpacing               = ((uint)(6));
     this.datatable1.InheritedDataSource         = true;
     this.datatable1.InheritedBoundaryDataSource = false;
     this.datatable1.InheritedDataSource         = true;
     this.datatable1.InheritedBoundaryDataSource = false;
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry1                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry1.CanFocus                    = true;
     this.dataentry1.Name                        = "dataentry1";
     this.dataentry1.IsEditable                  = true;
     this.dataentry1.InvisibleChar               = '•';
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry1);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry1]));
     w1.LeftAttach  = ((uint)(1));
     w1.RightAttach = ((uint)(2));
     w1.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry2                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry2.CanFocus                    = true;
     this.dataentry2.Name                        = "dataentry2";
     this.dataentry2.IsEditable                  = true;
     this.dataentry2.InvisibleChar               = '•';
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "LastName";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "LastName";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry2);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry2]));
     w2.TopAttach    = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach   = ((uint)(1));
     w2.RightAttach  = ((uint)(2));
     w2.XOptions     = ((global::Gtk.AttachOptions)(4));
     w2.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataspinbutton1          = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1);
     this.dataspinbutton1.CanFocus = true;
     this.dataspinbutton1.Name     = "dataspinbutton1";
     this.dataspinbutton1.Adjustment.PageIncrement = 10;
     this.dataspinbutton1.ClimbRate                   = 1;
     this.dataspinbutton1.Numeric                     = true;
     this.dataspinbutton1.InheritedDataSource         = true;
     this.dataspinbutton1.Mappings                    = "Age";
     this.dataspinbutton1.InheritedBoundaryDataSource = false;
     this.dataspinbutton1.InheritedDataSource         = true;
     this.dataspinbutton1.Mappings                    = "Age";
     this.dataspinbutton1.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataspinbutton1);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataspinbutton1]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Name");
     this.datatable1.Add(this.label1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1]));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("LastName");
     this.datatable1.Add(this.label2);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 0F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Age");
     this.datatable1.Add(this.label3);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3]));
     w6.TopAttach    = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.MainBox.Add(this.datatable1);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable1]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child MainBox.Gtk.Box+BoxChild
     this.datatable2                             = new global::Gtk.DataBindings.DataTable(((uint)(3)), ((uint)(2)), false);
     this.datatable2.Name                        = "datatable2";
     this.datatable2.RowSpacing                  = ((uint)(6));
     this.datatable2.ColumnSpacing               = ((uint)(6));
     this.datatable2.InheritedDataSource         = true;
     this.datatable2.InheritedBoundaryDataSource = false;
     this.datatable2.InheritedDataSource         = true;
     this.datatable2.InheritedBoundaryDataSource = false;
     // Container child datatable2.Gtk.Table+TableChild
     this.datalabel1                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel1.Name                        = "datalabel1";
     this.datalabel1.Xalign                      = 0F;
     this.datalabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "Name";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datalabel1.Important                   = false;
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "Name";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datatable2.Add(this.datalabel1);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel1]));
     w8.LeftAttach  = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.datalabel2                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel2.Name                        = "datalabel2";
     this.datalabel2.Xalign                      = 0F;
     this.datalabel2.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel2");
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "LastName";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datalabel2.Important                   = false;
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "LastName";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datatable2.Add(this.datalabel2);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel2]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.datalabel3                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel3.Name                        = "datalabel3";
     this.datalabel3.Xalign                      = 0F;
     this.datalabel3.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel3");
     this.datalabel3.InheritedDataSource         = true;
     this.datalabel3.Mappings                    = "Age";
     this.datalabel3.InheritedBoundaryDataSource = false;
     this.datalabel3.Important                   = false;
     this.datalabel3.InheritedDataSource         = true;
     this.datalabel3.Mappings                    = "Age";
     this.datalabel3.InheritedBoundaryDataSource = false;
     this.datatable2.Add(this.datalabel3);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.datalabel3]));
     w10.TopAttach    = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.LeftAttach   = ((uint)(1));
     w10.RightAttach  = ((uint)(2));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 0F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Name in object");
     this.datatable2.Add(this.label4);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label4]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("LastName in object");
     this.datatable2.Add(this.label5);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label5]));
     w12.TopAttach    = ((uint)(1));
     w12.BottomAttach = ((uint)(2));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable2.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Age in object");
     this.datatable2.Add(this.label6);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable2 [this.label6]));
     w13.TopAttach    = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.MainBox.Add(this.datatable2);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datatable2]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child MainBox.Gtk.Box+BoxChild
     this.datahbox1                             = new global::Gtk.DataBindings.DataHBox();
     this.datahbox1.Name                        = "datahbox1";
     this.datahbox1.Spacing                     = 6;
     this.datahbox1.InheritedDataSource         = false;
     this.datahbox1.InheritedBoundaryDataSource = false;
     this.datahbox1.InheritedDataSource         = false;
     this.datahbox1.InheritedBoundaryDataSource = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = global::Mono.Unix.Catalog.GetString("button1");
     this.datahbox1.Add(this.button1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.button1]));
     w15.Position = 2;
     w15.Expand   = false;
     w15.Fill     = false;
     this.MainBox.Add(this.datahbox1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.MainBox [this.datahbox1]));
     w16.Position = 2;
     w16.Expand   = false;
     w16.Fill     = false;
     this.Add(this.MainBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 300;
     this.Show();
     this.DeleteEvent     += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked);
 }
Esempio n. 11
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // 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.datavbox1                             = new global::Gtk.DataBindings.DataVBox();
     this.datavbox1.Name                        = "datavbox1";
     this.datavbox1.Spacing                     = 6;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     this.datavbox1.InheritedDataSource         = false;
     this.datavbox1.InheritedBoundaryDataSource = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.dataentry1                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry1.CanFocus                    = true;
     this.dataentry1.Name                        = "dataentry1";
     this.dataentry1.IsEditable                  = true;
     this.dataentry1.InvisibleChar               = '•';
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.Editable                    = false;
     this.datavbox1.Add(this.dataentry1);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataentry1]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.datalabel2                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel2.Name                        = "datalabel2";
     this.datalabel2.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel2");
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "Percent";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datalabel2.Important                   = false;
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "Percent";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datavbox1.Add(this.datalabel2);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.datalabel2]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child datavbox1.Gtk.Box+BoxChild
     this.datalabel1                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel1.Name                        = "datalabel1";
     this.datalabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "Money";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datalabel1.Important                   = false;
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "Money";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datavbox1.Add(this.datalabel1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.datalabel1]));
     w3.Position = 2;
     w3.Expand   = false;
     w3.Fill     = false;
     this.vbox1.Add(this.datavbox1);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datavbox1]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.datahbox1                             = new global::Gtk.DataBindings.DataHBox();
     this.datahbox1.Name                        = "datahbox1";
     this.datahbox1.Spacing                     = 6;
     this.datahbox1.InheritedDataSource         = false;
     this.datahbox1.InheritedBoundaryDataSource = false;
     this.datahbox1.InheritedDataSource         = false;
     this.datahbox1.InheritedBoundaryDataSource = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.datatitlelabel1                             = new global::Gtk.DataBindings.DataTitleLabel();
     this.datatitlelabel1.Name                        = "datatitlelabel1";
     this.datatitlelabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datatitlelabel1");
     this.datatitlelabel1.InheritedDataSource         = true;
     this.datatitlelabel1.Mappings                    = "Name";
     this.datatitlelabel1.InheritedBoundaryDataSource = false;
     this.datatitlelabel1.Important                   = false;
     this.datatitlelabel1.InheritedDataSource         = true;
     this.datatitlelabel1.Mappings                    = "Name";
     this.datatitlelabel1.InheritedBoundaryDataSource = false;
     this.datahbox1.Add(this.datatitlelabel1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.datatitlelabel1]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.dataautowidget1      = new global::Gtk.DataBindings.DataAutoWidget();
     this.dataautowidget1.Name = "dataautowidget1";
     this.dataautowidget1.InheritedDataSource         = true;
     this.dataautowidget1.InheritedBoundaryDataSource = false;
     this.dataautowidget1.Mappings                    = "Name";
     this.dataautowidget1.Editable                    = true;
     this.dataautowidget1.InheritedDataSource         = true;
     this.dataautowidget1.InheritedBoundaryDataSource = false;
     this.datahbox1.Add(this.dataautowidget1);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataautowidget1]));
     w6.Position = 1;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.dataautowidget2      = new global::Gtk.DataBindings.DataAutoWidget();
     this.dataautowidget2.Name = "dataautowidget2";
     this.dataautowidget2.InheritedDataSource         = true;
     this.dataautowidget2.InheritedBoundaryDataSource = false;
     this.dataautowidget2.Mappings                    = "Name";
     this.dataautowidget2.Editable                    = false;
     this.dataautowidget2.InheritedDataSource         = true;
     this.dataautowidget2.InheritedBoundaryDataSource = false;
     this.datahbox1.Add(this.dataautowidget2);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataautowidget2]));
     w7.Position = 2;
     this.vbox1.Add(this.datahbox1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datahbox1]));
     w8.Position = 1;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.datahbox2                             = new global::Gtk.DataBindings.DataHBox();
     this.datahbox2.Name                        = "datahbox2";
     this.datahbox2.Spacing                     = 6;
     this.datahbox2.InheritedDataSource         = false;
     this.datahbox2.InheritedBoundaryDataSource = false;
     this.datahbox2.InheritedDataSource         = false;
     this.datahbox2.InheritedBoundaryDataSource = false;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.datatitlelabel2                             = new global::Gtk.DataBindings.DataTitleLabel();
     this.datatitlelabel2.Name                        = "datatitlelabel2";
     this.datatitlelabel2.LabelProp                   = global::Mono.Unix.Catalog.GetString("datatitlelabel1");
     this.datatitlelabel2.InheritedDataSource         = true;
     this.datatitlelabel2.Mappings                    = "Birth";
     this.datatitlelabel2.InheritedBoundaryDataSource = false;
     this.datatitlelabel2.Important                   = false;
     this.datatitlelabel2.InheritedDataSource         = true;
     this.datatitlelabel2.Mappings                    = "Birth";
     this.datatitlelabel2.InheritedBoundaryDataSource = false;
     this.datahbox2.Add(this.datatitlelabel2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.datatitlelabel2]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.dataautowidget3      = new global::Gtk.DataBindings.DataAutoWidget();
     this.dataautowidget3.Name = "dataautowidget3";
     this.dataautowidget3.InheritedDataSource         = true;
     this.dataautowidget3.InheritedBoundaryDataSource = false;
     this.dataautowidget3.Mappings                    = "Birth";
     this.dataautowidget3.Editable                    = true;
     this.dataautowidget3.InheritedDataSource         = true;
     this.dataautowidget3.InheritedBoundaryDataSource = false;
     this.datahbox2.Add(this.dataautowidget3);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.dataautowidget3]));
     w10.Position = 1;
     // Container child datahbox2.Gtk.Box+BoxChild
     this.dataautowidget4      = new global::Gtk.DataBindings.DataAutoWidget();
     this.dataautowidget4.Name = "dataautowidget4";
     this.dataautowidget4.InheritedDataSource         = true;
     this.dataautowidget4.InheritedBoundaryDataSource = false;
     this.dataautowidget4.Mappings                    = "Birth";
     this.dataautowidget4.Editable                    = false;
     this.dataautowidget4.InheritedDataSource         = true;
     this.dataautowidget4.InheritedBoundaryDataSource = false;
     this.datahbox2.Add(this.dataautowidget4);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.datahbox2 [this.dataautowidget4]));
     w11.Position = 2;
     this.vbox1.Add(this.datahbox2);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datahbox2]));
     w12.Position = 2;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.eventbox1      = new global::Gtk.EventBox();
     this.eventbox1.Name = "eventbox1";
     // Container child eventbox1.Gtk.Container+ContainerChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("label2");
     this.eventbox1.Add(this.label2);
     this.vbox1.Add(this.eventbox1);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.eventbox1]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<span color=\"red\" background=\"#0000ff\">bla</span>");
     this.label1.UseMarkup = true;
     this.vbox1.Add(this.label1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1]));
     w15.Position = 5;
     w15.Expand   = false;
     w15.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 906;
     this.DefaultHeight = 211;
     this.Show();
     this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.FreeRentPackageDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.FreeRentPackageDlg";
     // Container child Vodovoz.FreeRentPackageDlg.Gtk.Container+ContainerChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-save", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox4.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отменить");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox4.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox3.Add (this.hbox4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox4]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(5)), ((uint)(2)), false);
     this.datatable1.Name = "datatable1";
     this.datatable1.RowSpacing = ((uint)(6));
     this.datatable1.ColumnSpacing = ((uint)(6));
     this.datatable1.BorderWidth = ((uint)(6));
     this.datatable1.InheritedDataSource = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     this.datatable1.InheritedDataSource = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentryName = new global::Gtk.DataBindings.DataEntry ();
     this.dataentryName.CanFocus = true;
     this.dataentryName.Name = "dataentryName";
     this.dataentryName.IsEditable = true;
     this.dataentryName.InvisibleChar = '●';
     this.dataentryName.InheritedDataSource = true;
     this.dataentryName.Mappings = "Name";
     this.dataentryName.InheritedBoundaryDataSource = false;
     this.dataentryName.InheritedDataSource = true;
     this.dataentryName.Mappings = "Name";
     this.dataentryName.InheritedBoundaryDataSource = false;
     this.datatable1.Add (this.dataentryName);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentryName]));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.hbox5 = new global::Gtk.HBox ();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.spinDeposit = new global::Gtk.DataBindings.DataSpinButton (0, 99999, 1);
     this.spinDeposit.CanFocus = true;
     this.spinDeposit.Name = "spinDeposit";
     this.spinDeposit.Adjustment.PageIncrement = 10;
     this.spinDeposit.ClimbRate = 1;
     this.spinDeposit.Numeric = true;
     this.spinDeposit.InheritedDataSource = true;
     this.spinDeposit.Mappings = "Deposit";
     this.spinDeposit.InheritedBoundaryDataSource = false;
     this.spinDeposit.InheritedDataSource = true;
     this.spinDeposit.Mappings = "Deposit";
     this.spinDeposit.InheritedBoundaryDataSource = false;
     this.hbox5.Add (this.spinDeposit);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.spinDeposit]));
     w7.Position = 0;
     // Container child hbox5.Gtk.Box+BoxChild
     this.currencylabel2 = new global::QSProjectsLib.CurrencyLabel ();
     this.currencylabel2.Name = "currencylabel2";
     this.currencylabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("currencylabel2");
     this.hbox5.Add (this.currencylabel2);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.currencylabel2]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     this.datatable1.Add (this.hbox5);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox5]));
     w9.TopAttach = ((uint)(3));
     w9.BottomAttach = ((uint)(4));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.Xalign = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Минимальное\nкол-во бутылей:");
     this.label10.Justify = ((global::Gtk.Justification)(1));
     this.datatable1.Add (this.label10);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label10]));
     w10.TopAttach = ((uint)(1));
     w10.BottomAttach = ((uint)(2));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Название:");
     this.datatable1.Add (this.label11);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label11]));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.Xalign = 1F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Услуга залога:");
     this.datatable1.Add (this.label7);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7]));
     w12.TopAttach = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Сумма залога:");
     this.datatable1.Add (this.label8);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8]));
     w13.TopAttach = ((uint)(3));
     w13.BottomAttach = ((uint)(4));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип оборудования:");
     this.datatable1.Add (this.label9);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label9]));
     w14.TopAttach = ((uint)(2));
     w14.BottomAttach = ((uint)(3));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceDepositService = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceDepositService.Events = ((global::Gdk.EventMask)(256));
     this.referenceDepositService.Name = "referenceDepositService";
     this.referenceDepositService.DisplayFields = new string[] {
         "Name"
     };
     this.referenceDepositService.DisplayFormatString = "{0}";
     this.referenceDepositService.InheritedDataSource = true;
     this.referenceDepositService.Mappings = "DepositService";
     this.referenceDepositService.InheritedBoundaryDataSource = false;
     this.referenceDepositService.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceDepositService);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceDepositService]));
     w15.TopAttach = ((uint)(4));
     w15.BottomAttach = ((uint)(5));
     w15.LeftAttach = ((uint)(1));
     w15.RightAttach = ((uint)(2));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.referenceEquipmentType = new global::Gtk.DataBindings.DataEntryReference ();
     this.referenceEquipmentType.Events = ((global::Gdk.EventMask)(256));
     this.referenceEquipmentType.Name = "referenceEquipmentType";
     this.referenceEquipmentType.DisplayFields = new string[] {
         "Name"
     };
     this.referenceEquipmentType.DisplayFormatString = "{0}";
     this.referenceEquipmentType.InheritedDataSource = true;
     this.referenceEquipmentType.Mappings = "EquipmentType";
     this.referenceEquipmentType.ColumnMappings = "";
     this.referenceEquipmentType.InheritedBoundaryDataSource = false;
     this.referenceEquipmentType.CursorPointsEveryType = false;
     this.datatable1.Add (this.referenceEquipmentType);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.referenceEquipmentType]));
     w16.TopAttach = ((uint)(2));
     w16.BottomAttach = ((uint)(3));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.spinMinWaterAmount = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1);
     this.spinMinWaterAmount.CanFocus = true;
     this.spinMinWaterAmount.Name = "spinMinWaterAmount";
     this.spinMinWaterAmount.Adjustment.PageIncrement = 10;
     this.spinMinWaterAmount.ClimbRate = 1;
     this.spinMinWaterAmount.Numeric = true;
     this.spinMinWaterAmount.InheritedDataSource = true;
     this.spinMinWaterAmount.Mappings = "MinWaterAmount";
     this.spinMinWaterAmount.InheritedBoundaryDataSource = false;
     this.spinMinWaterAmount.InheritedDataSource = true;
     this.spinMinWaterAmount.Mappings = "MinWaterAmount";
     this.spinMinWaterAmount.InheritedBoundaryDataSource = false;
     this.datatable1.Add (this.spinMinWaterAmount);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.spinMinWaterAmount]));
     w17.TopAttach = ((uint)(1));
     w17.BottomAttach = ((uint)(2));
     w17.LeftAttach = ((uint)(1));
     w17.RightAttach = ((uint)(2));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.datatable1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.datatable1]));
     w18.Position = 1;
     w18.Expand = false;
     w18.Fill = false;
     this.Add (this.vbox3);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LeaseAgreement.SteadDlg
     this.Name = "LeaseAgreement.SteadDlg";
     this.Title = global::Mono.Unix.Catalog.GetString ("Новый земельный участок");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child LeaseAgreement.SteadDlg.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.DataBindings.DataTable (((uint)(6)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     this.table2.InheritedDataSource = false;
     this.table2.InheritedBoundaryDataSource = false;
     this.table2.InheritedDataSource = false;
     this.table2.InheritedBoundaryDataSource = false;
     // Container child table2.Gtk.Table+TableChild
     this.entryCadastral = new global::Gtk.DataBindings.DataEntry ();
     this.entryCadastral.CanFocus = true;
     this.entryCadastral.Name = "entryCadastral";
     this.entryCadastral.IsEditable = true;
     this.entryCadastral.MaxLength = 20;
     this.entryCadastral.InvisibleChar = '●';
     this.entryCadastral.InheritedDataSource = true;
     this.entryCadastral.Mappings = "CadastralNum";
     this.entryCadastral.InheritedBoundaryDataSource = false;
     this.entryCadastral.InheritedDataSource = true;
     this.entryCadastral.Mappings = "CadastralNum";
     this.entryCadastral.InheritedBoundaryDataSource = false;
     this.table2.Add (this.entryCadastral);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryCadastral]));
     w2.TopAttach = ((uint)(3));
     w2.BottomAttach = ((uint)(4));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((global::Gtk.AttachOptions)(4));
     w2.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.entryName = new global::Gtk.DataBindings.DataEntry ();
     this.entryName.CanFocus = true;
     this.entryName.Name = "entryName";
     this.entryName.IsEditable = true;
     this.entryName.InvisibleChar = '●';
     this.entryName.InheritedDataSource = true;
     this.entryName.Mappings = "Name";
     this.entryName.InheritedBoundaryDataSource = false;
     this.entryName.InheritedDataSource = true;
     this.entryName.Mappings = "Name";
     this.entryName.InheritedBoundaryDataSource = false;
     this.table2.Add (this.entryName);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryName]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.entryOwner = new global::Gtk.DataBindings.DataEntry ();
     this.entryOwner.CanFocus = true;
     this.entryOwner.Name = "entryOwner";
     this.entryOwner.IsEditable = true;
     this.entryOwner.InvisibleChar = '●';
     this.entryOwner.InheritedDataSource = true;
     this.entryOwner.Mappings = "Owner";
     this.entryOwner.InheritedBoundaryDataSource = false;
     this.entryOwner.InheritedDataSource = true;
     this.entryOwner.Mappings = "Owner";
     this.entryOwner.InheritedBoundaryDataSource = false;
     this.table2.Add (this.entryOwner);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryOwner]));
     w4.TopAttach = ((uint)(5));
     w4.BottomAttach = ((uint)(6));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textviewAddress = new global::Gtk.DataBindings.DataTextView ();
     this.textviewAddress.CanFocus = true;
     this.textviewAddress.Name = "textviewAddress";
     this.textviewAddress.InheritedDataSource = true;
     this.textviewAddress.Mappings = "Address";
     this.textviewAddress.InheritedBoundaryDataSource = false;
     this.textviewAddress.InheritedDataSource = true;
     this.textviewAddress.Mappings = "Address";
     this.textviewAddress.InheritedBoundaryDataSource = false;
     this.GtkScrolledWindow.Add (this.textviewAddress);
     this.table2.Add (this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.GtkScrolledWindow]));
     w6.TopAttach = ((uint)(2));
     w6.BottomAttach = ((uint)(3));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.hbox1 = new global::Gtk.HBox ();
     this.hbox1.Name = "hbox1";
     this.hbox1.Spacing = 6;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label27 = new global::Gtk.Label ();
     this.label27.Name = "label27";
     this.label27.LabelProp = global::Mono.Unix.Catalog.GetString ("№");
     this.hbox1.Add (this.label27);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label27]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.entryContractNo = new global::Gtk.DataBindings.DataEntry ();
     this.entryContractNo.CanFocus = true;
     this.entryContractNo.Name = "entryContractNo";
     this.entryContractNo.IsEditable = true;
     this.entryContractNo.InvisibleChar = '●';
     this.entryContractNo.InheritedDataSource = true;
     this.entryContractNo.Mappings = "ContractNum";
     this.entryContractNo.InheritedBoundaryDataSource = false;
     this.entryContractNo.InheritedDataSource = true;
     this.entryContractNo.Mappings = "ContractNum";
     this.entryContractNo.InheritedBoundaryDataSource = false;
     this.hbox1.Add (this.entryContractNo);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryContractNo]));
     w8.Position = 1;
     w8.Expand = false;
     w8.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.label28 = new global::Gtk.Label ();
     this.label28.Name = "label28";
     this.label28.LabelProp = global::Mono.Unix.Catalog.GetString ("от");
     this.hbox1.Add (this.label28);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label28]));
     w9.Position = 2;
     w9.Expand = false;
     w9.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.dateContractDate = new global::QSOrmProject.DataDatePicker ();
     this.dateContractDate.Events = ((global::Gdk.EventMask)(256));
     this.dateContractDate.Name = "dateContractDate";
     this.dateContractDate.Date = new global::System.DateTime (0);
     this.dateContractDate.IsEditable = true;
     this.dateContractDate.AutoSeparation = true;
     this.dateContractDate.InheritedDataSource = true;
     this.dateContractDate.Mappings = "ContractDate";
     this.dateContractDate.InheritedBoundaryDataSource = false;
     this.hbox1.Add (this.dateContractDate);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.dateContractDate]));
     w10.Position = 3;
     this.table2.Add (this.hbox1);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.hbox1]));
     w11.TopAttach = ((uint)(4));
     w11.BottomAttach = ((uint)(5));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Кадастровый номер:");
     this.table2.Add (this.label1);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1]));
     w12.TopAttach = ((uint)(3));
     w12.BottomAttach = ((uint)(4));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label21 = new global::Gtk.Label ();
     this.label21.Name = "label21";
     this.label21.Xalign = 1F;
     this.label21.LabelProp = global::Mono.Unix.Catalog.GetString ("Код:");
     this.table2.Add (this.label21);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label21]));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label22 = new global::Gtk.Label ();
     this.label22.Name = "label22";
     this.label22.Xalign = 1F;
     this.label22.LabelProp = global::Mono.Unix.Catalog.GetString ("Название<span foreground=\"red\">*</span>:");
     this.label22.UseMarkup = true;
     this.table2.Add (this.label22);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label22]));
     w14.TopAttach = ((uint)(1));
     w14.BottomAttach = ((uint)(2));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label23 = new global::Gtk.Label ();
     this.label23.Name = "label23";
     this.label23.Xalign = 1F;
     this.label23.Yalign = 0F;
     this.label23.LabelProp = global::Mono.Unix.Catalog.GetString ("Адрес:");
     this.table2.Add (this.label23);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.label23]));
     w15.TopAttach = ((uint)(2));
     w15.BottomAttach = ((uint)(3));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label24 = new global::Gtk.Label ();
     this.label24.Name = "label24";
     this.label24.Xalign = 1F;
     this.label24.LabelProp = global::Mono.Unix.Catalog.GetString ("Договор аренды:");
     this.table2.Add (this.label24);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.label24]));
     w16.TopAttach = ((uint)(4));
     w16.BottomAttach = ((uint)(5));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label25 = new global::Gtk.Label ();
     this.label25.Name = "label25";
     this.label25.Xalign = 1F;
     this.label25.LabelProp = global::Mono.Unix.Catalog.GetString ("Владелец:");
     this.table2.Add (this.label25);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.label25]));
     w17.TopAttach = ((uint)(5));
     w17.BottomAttach = ((uint)(6));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.labelId = new global::Gamma.GtkWidgets.yLabel ();
     this.labelId.Name = "labelId";
     this.labelId.LabelProp = global::Mono.Unix.Catalog.GetString ("не определен");
     this.table2.Add (this.labelId);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.labelId]));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     w1.Add (this.table2);
     global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(w1 [this.table2]));
     w19.Position = 0;
     w19.Expand = false;
     w19.Fill = false;
     // Internal child LeaseAgreement.SteadDlg.ActionArea
     global::Gtk.HButtonBox w20 = this.ActionArea;
     w20.Name = "dialog1_ActionArea";
     w20.Spacing = 10;
     w20.BorderWidth = ((uint)(5));
     w20.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 w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w20 [this.buttonCancel]));
     w21.Expand = false;
     w21.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";
     w20.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w20 [this.buttonOk]));
     w22.Position = 1;
     w22.Expand = false;
     w22.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 525;
     this.DefaultHeight = 282;
     this.Show ();
     this.entryName.Changed += new global::System.EventHandler (this.OnEntryNameChanged);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
Esempio n. 14
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.vbox1             = new global::Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.Spacing     = 4;
     this.vbox1.BorderWidth = ((uint)(4));
     // Container child vbox1.Gtk.Box+BoxChild
     this.datatable1                             = new global::Gtk.DataBindings.DataTable(((uint)(4)), ((uint)(2)), false);
     this.datatable1.Name                        = "datatable1";
     this.datatable1.RowSpacing                  = ((uint)(4));
     this.datatable1.ColumnSpacing               = ((uint)(8));
     this.datatable1.BorderWidth                 = ((uint)(4));
     this.datatable1.InheritedDataSource         = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     this.datatable1.InheritedDataSource         = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry1                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry1.CanFocus                    = true;
     this.dataentry1.Name                        = "dataentry1";
     this.dataentry1.IsEditable                  = true;
     this.dataentry1.InvisibleChar               = '•';
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry1);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry1]));
     w1.LeftAttach  = ((uint)(1));
     w1.RightAttach = ((uint)(2));
     w1.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry2                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry2.CanFocus                    = true;
     this.dataentry2.Name                        = "dataentry2";
     this.dataentry2.IsEditable                  = true;
     this.dataentry2.InvisibleChar               = '•';
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "LastName";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "LastName";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry2);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry2]));
     w2.TopAttach    = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach   = ((uint)(1));
     w2.RightAttach  = ((uint)(2));
     w2.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataexpander1                             = new global::Gtk.DataBindings.DataExpander(null);
     this.dataexpander1.CanFocus                    = true;
     this.dataexpander1.Name                        = "dataexpander1";
     this.dataexpander1.Expanded                    = true;
     this.dataexpander1.InheritedDataSource         = true;
     this.dataexpander1.InheritedBoundaryDataSource = false;
     this.dataexpander1.InheritedDataSource         = true;
     this.dataexpander1.InheritedBoundaryDataSource = false;
     // Container child dataexpander1.Gtk.Container+ContainerChild
     this.datacalendar1                             = new global::Gtk.DataBindings.DataCalendar();
     this.datacalendar1.CanFocus                    = true;
     this.datacalendar1.Name                        = "datacalendar1";
     this.datacalendar1.DisplayOptions              = ((global::Gtk.CalendarDisplayOptions)(3));
     this.datacalendar1.InheritedDataSource         = true;
     this.datacalendar1.Mappings                    = "BirthDate";
     this.datacalendar1.InheritedBoundaryDataSource = false;
     this.datacalendar1.InheritedDataSource         = true;
     this.datacalendar1.Mappings                    = "BirthDate";
     this.datacalendar1.InheritedBoundaryDataSource = false;
     this.dataexpander1.Add(this.datacalendar1);
     this.GtkLabel4                 = new global::Gtk.Label();
     this.GtkLabel4.Name            = "GtkLabel4";
     this.GtkLabel4.LabelProp       = global::Mono.Unix.Catalog.GetString("Select Date");
     this.GtkLabel4.UseUnderline    = true;
     this.dataexpander1.LabelWidget = this.GtkLabel4;
     this.datatable1.Add(this.dataexpander1);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataexpander1]));
     w4.TopAttach    = ((uint)(3));
     w4.BottomAttach = ((uint)(4));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     // Container child datatable1.Gtk.Table+TableChild
     this.datalabel1                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel1.Name                        = "datalabel1";
     this.datalabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "FullName";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datalabel1.Important                   = false;
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "FullName";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.datalabel1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.datalabel1]));
     w5.TopAttach    = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.LeftAttach   = ((uint)(1));
     w5.RightAttach  = ((uint)(2));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Date of Birth");
     this.datatable1.Add(this.label1);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1]));
     w6.TopAttach    = ((uint)(3));
     w6.BottomAttach = ((uint)(4));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 0F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("First Name");
     this.datatable1.Add(this.label4);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4]));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Full Name");
     this.datatable1.Add(this.label5);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label5]));
     w8.TopAttach    = ((uint)(2));
     w8.BottomAttach = ((uint)(3));
     w8.XOptions     = ((global::Gtk.AttachOptions)(4));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Last Name");
     this.datatable1.Add(this.label6);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label6]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add(this.datatable1);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatable1]));
     w10.Position = 0;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox1             = new global::Gtk.HBox();
     this.hbox1.Name        = "hbox1";
     this.hbox1.Spacing     = 6;
     this.hbox1.BorderWidth = ((uint)(6));
     // Container child hbox1.Gtk.Box+BoxChild
     this.checkbutton1               = new global::Gtk.CheckButton();
     this.checkbutton1.CanFocus      = true;
     this.checkbutton1.Name          = "checkbutton1";
     this.checkbutton1.Label         = global::Mono.Unix.Catalog.GetString("Show cursored data");
     this.checkbutton1.Active        = true;
     this.checkbutton1.DrawIndicator = true;
     this.checkbutton1.UseUnderline  = true;
     this.hbox1.Add(this.checkbutton1);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.checkbutton1]));
     w11.Position = 0;
     // Container child hbox1.Gtk.Box+BoxChild
     this.button1              = new global::Gtk.Button();
     this.button1.CanFocus     = true;
     this.button1.Name         = "button1";
     this.button1.UseUnderline = true;
     this.button1.Label        = global::Mono.Unix.Catalog.GetString("Add click");
     this.hbox1.Add(this.button1);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button1]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.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("Swap person");
     this.hbox1.Add(this.button2);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button2]));
     w13.Position = 2;
     w13.Expand   = false;
     w13.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("Close");
     this.hbox1.Add(this.button3);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.button3]));
     w14.Position = 3;
     w14.Expand   = false;
     w14.Fill     = false;
     this.vbox1.Add(this.hbox1);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w15.PackType = ((global::Gtk.PackType)(1));
     w15.Position = 1;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 449;
     this.DefaultHeight = 427;
     this.Show();
     this.DeleteEvent            += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.checkbutton1.Activated += new global::System.EventHandler(this.OnCheckbutton1Activated);
     this.checkbutton1.Clicked   += new global::System.EventHandler(this.OnCheckbutton1Activated);
     this.button1.Clicked        += new global::System.EventHandler(this.OnButton3Clicked);
     this.button2.Clicked        += new global::System.EventHandler(this.OnButton2Clicked);
     this.button3.Clicked        += new global::System.EventHandler(this.OnButton1Clicked);
 }
Esempio n. 15
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget MainWindow
     this.Name           = "MainWindow";
     this.Title          = global::Mono.Unix.Catalog.GetString("MainWindow");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(8));
     // Container child MainWindow.Gtk.Container+ContainerChild
     this.WindowBox                             = new global::Gtk.DataBindings.DataHBox();
     this.WindowBox.Name                        = "WindowBox";
     this.WindowBox.Spacing                     = 6;
     this.WindowBox.InheritedDataSource         = false;
     this.WindowBox.InheritedBoundaryDataSource = false;
     this.WindowBox.InheritedDataSource         = false;
     this.WindowBox.InheritedBoundaryDataSource = false;
     // Container child WindowBox.Gtk.Box+BoxChild
     this.table1                             = new global::Gtk.DataBindings.DataTable(((uint)(11)), ((uint)(2)), false);
     this.table1.Name                        = "table1";
     this.table1.RowSpacing                  = ((uint)(6));
     this.table1.ColumnSpacing               = ((uint)(8));
     this.table1.InheritedDataSource         = true;
     this.table1.InheritedBoundaryDataSource = false;
     this.table1.InheritedDataSource         = true;
     this.table1.InheritedBoundaryDataSource = false;
     // Container child table1.Gtk.Table+TableChild
     this.datacheckbutton1                             = new global::Gtk.DataBindings.DataCheckButton();
     this.datacheckbutton1.CanFocus                    = true;
     this.datacheckbutton1.Name                        = "datacheckbutton1";
     this.datacheckbutton1.Label                       = global::Mono.Unix.Catalog.GetString("Active");
     this.datacheckbutton1.DrawIndicator               = true;
     this.datacheckbutton1.UseUnderline                = true;
     this.datacheckbutton1.InheritedDataSource         = true;
     this.datacheckbutton1.Mappings                    = "Active";
     this.datacheckbutton1.InheritedBoundaryDataSource = false;
     this.datacheckbutton1.Editable                    = false;
     this.datacheckbutton1.AutomaticTitle              = false;
     this.datacheckbutton1.InheritedBoundaryDataSource = false;
     this.datacheckbutton1.InheritedDataSource         = true;
     this.datacheckbutton1.Mappings                    = "Active";
     this.table1.Add(this.datacheckbutton1);
     global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.datacheckbutton1]));
     w1.TopAttach    = ((uint)(4));
     w1.BottomAttach = ((uint)(5));
     w1.LeftAttach   = ((uint)(1));
     w1.RightAttach  = ((uint)(2));
     w1.XOptions     = ((global::Gtk.AttachOptions)(4));
     w1.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dataentry1                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry1.CanFocus                    = true;
     this.dataentry1.Name                        = "dataentry1";
     this.dataentry1.IsEditable                  = true;
     this.dataentry1.InvisibleChar               = '•';
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Server";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Server";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.table1.Add(this.dataentry1);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.dataentry1]));
     w2.TopAttach    = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach   = ((uint)(1));
     w2.RightAttach  = ((uint)(2));
     w2.XOptions     = ((global::Gtk.AttachOptions)(4));
     w2.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dataentry2                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry2.CanFocus                    = true;
     this.dataentry2.Name                        = "dataentry2";
     this.dataentry2.IsEditable                  = true;
     this.dataentry2.InvisibleChar               = '•';
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "Username";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "Username";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.table1.Add(this.dataentry2);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.dataentry2]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     w3.XOptions     = ((global::Gtk.AttachOptions)(4));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.dataentry3                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry3.CanFocus                    = true;
     this.dataentry3.Name                        = "dataentry3";
     this.dataentry3.IsEditable                  = true;
     this.dataentry3.Visibility                  = false;
     this.dataentry3.InvisibleChar               = '•';
     this.dataentry3.InheritedDataSource         = true;
     this.dataentry3.Mappings                    = "Password";
     this.dataentry3.InheritedBoundaryDataSource = false;
     this.dataentry3.InheritedDataSource         = true;
     this.dataentry3.Mappings                    = "Password";
     this.dataentry3.InheritedBoundaryDataSource = false;
     this.table1.Add(this.dataentry3);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.dataentry3]));
     w4.TopAttach    = ((uint)(3));
     w4.BottomAttach = ((uint)(4));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.XOptions     = ((global::Gtk.AttachOptions)(4));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.datalabel1                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel1.Name                        = "datalabel1";
     this.datalabel1.Xalign                      = 0F;
     this.datalabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "ConnectedDataset";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datalabel1.Important                   = false;
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "ConnectedDataset";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.table1.Add(this.datalabel1);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.datalabel1]));
     w5.TopAttach    = ((uint)(7));
     w5.BottomAttach = ((uint)(8));
     w5.LeftAttach   = ((uint)(1));
     w5.RightAttach  = ((uint)(2));
     w5.XOptions     = ((global::Gtk.AttachOptions)(4));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.datalabel2                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel2.Name                        = "datalabel2";
     this.datalabel2.Xalign                      = 0F;
     this.datalabel2.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "IsActive";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.datalabel2.Important                   = false;
     this.datalabel2.InheritedDataSource         = true;
     this.datalabel2.Mappings                    = "IsActive";
     this.datalabel2.InheritedBoundaryDataSource = false;
     this.table1.Add(this.datalabel2);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.datalabel2]));
     w6.TopAttach    = ((uint)(5));
     w6.BottomAttach = ((uint)(6));
     w6.LeftAttach   = ((uint)(1));
     w6.RightAttach  = ((uint)(2));
     w6.XOptions     = ((global::Gtk.AttachOptions)(4));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DatasetsCB      = new global::Gtk.DataBindings.DataComboBoxEntry();
     this.DatasetsCB.Name = "DatasetsCB";
     this.DatasetsCB.InheritedDataSource         = false;
     this.DatasetsCB.Mappings                    = "";
     this.DatasetsCB.ColumnMappings              = "";
     this.DatasetsCB.InheritedBoundaryDataSource = false;
     this.DatasetsCB.CursorPointsEveryType       = false;
     this.DatasetsCB.InheritedDataSource         = false;
     this.DatasetsCB.Mappings                    = "";
     this.DatasetsCB.InheritedBoundaryDataSource = false;
     this.table1.Add(this.DatasetsCB);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.DatasetsCB]));
     w7.TopAttach    = ((uint)(6));
     w7.BottomAttach = ((uint)(7));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.DriversCB      = new global::Gtk.DataBindings.DataComboBox();
     this.DriversCB.Name = "DriversCB";
     this.DriversCB.InheritedDataSource         = false;
     this.DriversCB.Mappings                    = "";
     this.DriversCB.ColumnMappings              = "";
     this.DriversCB.InheritedBoundaryDataSource = false;
     this.DriversCB.CursorPointsEveryType       = false;
     this.DriversCB.InheritedDataSource         = false;
     this.DriversCB.Mappings                    = "";
     this.DriversCB.InheritedBoundaryDataSource = false;
     this.table1.Add(this.DriversCB);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.DriversCB]));
     w8.LeftAttach  = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Connected Database");
     this.table1.Add(this.label1);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1]));
     w9.TopAttach    = ((uint)(7));
     w9.BottomAttach = ((uint)(8));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Tables");
     this.table1.Add(this.label2);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2]));
     w10.TopAttach    = ((uint)(8));
     w10.BottomAttach = ((uint)(9));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 0F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Server");
     this.table1.Add(this.label3);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 0F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Username");
     this.table1.Add(this.label4);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4]));
     w12.TopAttach    = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Password");
     this.table1.Add(this.label5);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5]));
     w13.TopAttach    = ((uint)(3));
     w13.BottomAttach = ((uint)(4));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Database drivers");
     this.table1.Add(this.label6);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6]));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 0F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Databases");
     this.table1.Add(this.label7);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7]));
     w15.TopAttach    = ((uint)(6));
     w15.BottomAttach = ((uint)(7));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("IsActive");
     this.table1.Add(this.label8);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8]));
     w16.TopAttach    = ((uint)(5));
     w16.BottomAttach = ((uint)(6));
     w16.XOptions     = ((global::Gtk.AttachOptions)(4));
     w16.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.TablesCB      = new global::Gtk.DataBindings.DataComboBox();
     this.TablesCB.Name = "TablesCB";
     this.TablesCB.InheritedDataSource         = false;
     this.TablesCB.InheritedBoundaryDataSource = false;
     this.TablesCB.CursorPointsEveryType       = false;
     this.TablesCB.InheritedDataSource         = false;
     this.TablesCB.InheritedBoundaryDataSource = false;
     this.table1.Add(this.TablesCB);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1 [this.TablesCB]));
     w17.TopAttach    = ((uint)(8));
     w17.BottomAttach = ((uint)(9));
     w17.LeftAttach   = ((uint)(1));
     w17.RightAttach  = ((uint)(2));
     w17.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.WindowBox.Add(this.table1);
     global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.WindowBox [this.table1]));
     w18.Position = 0;
     w18.Expand   = false;
     w18.Fill     = false;
     // Container child WindowBox.Gtk.Box+BoxChild
     this.TableViewBox                             = new global::Gtk.DataBindings.DataVBox();
     this.TableViewBox.Name                        = "TableViewBox";
     this.TableViewBox.Spacing                     = 6;
     this.TableViewBox.InheritedDataSource         = true;
     this.TableViewBox.InheritedBoundaryDataSource = false;
     this.TableViewBox.InheritedDataSource         = true;
     this.TableViewBox.InheritedBoundaryDataSource = false;
     // Container child TableViewBox.Gtk.Box+BoxChild
     this.QueryBox                             = new global::Gtk.DataBindings.DataHBox();
     this.QueryBox.Name                        = "QueryBox";
     this.QueryBox.Spacing                     = 6;
     this.QueryBox.InheritedDataSource         = true;
     this.QueryBox.InheritedBoundaryDataSource = false;
     this.QueryBox.InheritedDataSource         = true;
     this.QueryBox.InheritedBoundaryDataSource = false;
     // Container child QueryBox.Gtk.Box+BoxChild
     this.QueryTable                             = new global::Gtk.DataBindings.DataTable(((uint)(2)), ((uint)(2)), false);
     this.QueryTable.Name                        = "QueryTable";
     this.QueryTable.RowSpacing                  = ((uint)(6));
     this.QueryTable.ColumnSpacing               = ((uint)(6));
     this.QueryTable.InheritedDataSource         = true;
     this.QueryTable.InheritedBoundaryDataSource = false;
     this.QueryTable.InheritedDataSource         = true;
     this.QueryTable.InheritedBoundaryDataSource = false;
     // Container child QueryTable.Gtk.Table+TableChild
     this.dataentry4                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry4.CanFocus                    = true;
     this.dataentry4.Name                        = "dataentry4";
     this.dataentry4.IsEditable                  = true;
     this.dataentry4.InvisibleChar               = '•';
     this.dataentry4.InheritedDataSource         = true;
     this.dataentry4.Mappings                    = "Where";
     this.dataentry4.InheritedBoundaryDataSource = false;
     this.dataentry4.InheritedDataSource         = true;
     this.dataentry4.Mappings                    = "Where";
     this.dataentry4.InheritedBoundaryDataSource = false;
     this.QueryTable.Add(this.dataentry4);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.QueryTable [this.dataentry4]));
     w19.TopAttach    = ((uint)(1));
     w19.BottomAttach = ((uint)(2));
     w19.LeftAttach   = ((uint)(1));
     w19.RightAttach  = ((uint)(2));
     w19.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child QueryTable.Gtk.Table+TableChild
     this.dataentry5                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry5.CanFocus                    = true;
     this.dataentry5.Name                        = "dataentry5";
     this.dataentry5.IsEditable                  = true;
     this.dataentry5.InvisibleChar               = '•';
     this.dataentry5.InheritedDataSource         = true;
     this.dataentry5.Mappings                    = "Select";
     this.dataentry5.InheritedBoundaryDataSource = false;
     this.dataentry5.InheritedDataSource         = true;
     this.dataentry5.Mappings                    = "Select";
     this.dataentry5.InheritedBoundaryDataSource = false;
     this.QueryTable.Add(this.dataentry5);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.QueryTable [this.dataentry5]));
     w20.LeftAttach  = ((uint)(1));
     w20.RightAttach = ((uint)(2));
     w20.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child QueryTable.Gtk.Table+TableChild
     this.label10           = new global::Gtk.Label();
     this.label10.Name      = "label10";
     this.label10.Xalign    = 0F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("SELECT");
     this.QueryTable.Add(this.label10);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.QueryTable [this.label10]));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child QueryTable.Gtk.Table+TableChild
     this.label9           = new global::Gtk.Label();
     this.label9.Name      = "label9";
     this.label9.Xalign    = 0F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("WHERE");
     this.QueryTable.Add(this.label9);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.QueryTable [this.label9]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.XOptions     = ((global::Gtk.AttachOptions)(4));
     w22.YOptions     = ((global::Gtk.AttachOptions)(4));
     this.QueryBox.Add(this.QueryTable);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.QueryBox [this.QueryTable]));
     w23.Position = 0;
     // Container child QueryBox.Gtk.Box+BoxChild
     this.btnRunQuery              = new global::Gtk.Button();
     this.btnRunQuery.CanFocus     = true;
     this.btnRunQuery.Name         = "btnRunQuery";
     this.btnRunQuery.UseUnderline = true;
     this.btnRunQuery.Label        = global::Mono.Unix.Catalog.GetString("Run Query");
     this.QueryBox.Add(this.btnRunQuery);
     global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.QueryBox [this.btnRunQuery]));
     w24.Position = 1;
     w24.Expand   = false;
     w24.Fill     = false;
     // Container child QueryBox.Gtk.Box+BoxChild
     this.btnColumns              = new global::Gtk.Button();
     this.btnColumns.CanFocus     = true;
     this.btnColumns.Name         = "btnColumns";
     this.btnColumns.UseUnderline = true;
     this.btnColumns.Label        = global::Mono.Unix.Catalog.GetString("Columns");
     this.QueryBox.Add(this.btnColumns);
     global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.QueryBox [this.btnColumns]));
     w25.Position = 2;
     w25.Expand   = false;
     w25.Fill     = false;
     this.TableViewBox.Add(this.QueryBox);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.TableViewBox [this.QueryBox]));
     w26.Position = 0;
     w26.Expand   = false;
     w26.Fill     = false;
     // Container child TableViewBox.Gtk.Box+BoxChild
     this.TableView            = new global::Gtk.ScrolledWindow();
     this.TableView.Name       = "TableView";
     this.TableView.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child TableView.Gtk.Container+ContainerChild
     this.treeview1          = new global::Gtk.DataBindings.DataTreeView();
     this.treeview1.CanFocus = true;
     this.treeview1.Name     = "treeview1";
     this.treeview1.CursorPointsEveryType       = false;
     this.treeview1.InheritedDataSource         = false;
     this.treeview1.InheritedBoundaryDataSource = false;
     this.treeview1.InheritedDataSource         = false;
     this.treeview1.InheritedBoundaryDataSource = false;
     this.TableView.Add(this.treeview1);
     this.TableViewBox.Add(this.TableView);
     global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.TableViewBox [this.TableView]));
     w28.Position = 1;
     // Container child TableViewBox.Gtk.Box+BoxChild
     this.datalabel3                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel3.Name                        = "datalabel3";
     this.datalabel3.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel3.InheritedDataSource         = true;
     this.datalabel3.Mappings                    = "Query";
     this.datalabel3.InheritedBoundaryDataSource = false;
     this.datalabel3.Important                   = false;
     this.datalabel3.InheritedDataSource         = true;
     this.datalabel3.Mappings                    = "Query";
     this.datalabel3.InheritedBoundaryDataSource = false;
     this.TableViewBox.Add(this.datalabel3);
     global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.TableViewBox [this.datalabel3]));
     w29.Position = 2;
     w29.Expand   = false;
     w29.Fill     = false;
     // Container child TableViewBox.Gtk.Box+BoxChild
     this.StatusBox                             = new global::Gtk.DataBindings.DataHBox();
     this.StatusBox.Name                        = "StatusBox";
     this.StatusBox.Spacing                     = 6;
     this.StatusBox.InheritedDataSource         = true;
     this.StatusBox.InheritedBoundaryDataSource = false;
     this.StatusBox.InheritedDataSource         = true;
     this.StatusBox.InheritedBoundaryDataSource = false;
     // Container child StatusBox.Gtk.Box+BoxChild
     this.label11           = new global::Gtk.Label();
     this.label11.Name      = "label11";
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString(" ");
     this.StatusBox.Add(this.label11);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.StatusBox [this.label11]));
     w30.Position = 0;
     // Container child StatusBox.Gtk.Box+BoxChild
     this.datalabel4                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel4.Name                        = "datalabel4";
     this.datalabel4.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel4.Justify                     = ((global::Gtk.Justification)(1));
     this.datalabel4.InheritedDataSource         = true;
     this.datalabel4.Mappings                    = "Status";
     this.datalabel4.InheritedBoundaryDataSource = false;
     this.datalabel4.Important                   = false;
     this.datalabel4.InheritedDataSource         = true;
     this.datalabel4.Mappings                    = "Status";
     this.datalabel4.InheritedBoundaryDataSource = false;
     this.StatusBox.Add(this.datalabel4);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.StatusBox [this.datalabel4]));
     w31.Position = 2;
     w31.Expand   = false;
     w31.Fill     = false;
     this.TableViewBox.Add(this.StatusBox);
     global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.TableViewBox [this.StatusBox]));
     w32.Position = 3;
     w32.Expand   = false;
     w32.Fill     = false;
     this.WindowBox.Add(this.TableViewBox);
     global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.WindowBox [this.TableViewBox]));
     w33.Position = 1;
     this.Add(this.WindowBox);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 852;
     this.DefaultHeight = 381;
     this.TableViewBox.Hide();
     this.Show();
     this.DeleteEvent        += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
     this.TablesCB.Changed   += new global::System.EventHandler(this.OnTablesCBChanged);
     this.DriversCB.Changed  += new global::System.EventHandler(this.OnDriversCBChanged);
     this.DatasetsCB.Changed += new global::System.EventHandler(this.OnDatasetsCBChanged);
 }
	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.jkjhkAction = new global::Gtk.Action ("jkjhkAction", global::Mono.Unix.Catalog.GetString ("jkjhk"), null, null);
		this.jkjhkAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("jkjhk");
		w1.Add (this.jkjhkAction, null);
		this.UIManager.InsertActionGroup (w1, 0);
		this.AddAccelGroup (this.UIManager.AccelGroup);
		this.Name = "MainWindow";
		this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
		this.WindowPosition = ((global::Gtk.WindowPosition)(4));
		this.BorderWidth = ((uint)(8));
		this.Resizable = false;
		this.AllowGrow = false;
		// Container child MainWindow.Gtk.Container+ContainerChild
		this.datavbox1 = new global::Gtk.DataBindings.DataVBox ();
		this.datavbox1.Name = "datavbox1";
		this.datavbox1.Spacing = 6;
		this.datavbox1.InheritedDataSource = false;
		this.datavbox1.InheritedBoundaryDataSource = false;
		this.datavbox1.InheritedDataSource = false;
		this.datavbox1.InheritedBoundaryDataSource = false;
		// Container child datavbox1.Gtk.Box+BoxChild
		this.dataspinbutton2 = new global::Gtk.DataBindings.DataSpinButton (0, 100, 1);
		this.dataspinbutton2.CanFocus = true;
		this.dataspinbutton2.Name = "dataspinbutton2";
		this.dataspinbutton2.Adjustment.PageIncrement = 10;
		this.dataspinbutton2.ClimbRate = 1;
		this.dataspinbutton2.Numeric = true;
		this.dataspinbutton2.Value = 1;
		this.dataspinbutton2.InheritedDataSource = true;
		this.dataspinbutton2.Mappings = "IntValue";
		this.dataspinbutton2.InheritedBoundaryDataSource = false;
		this.dataspinbutton2.InheritedDataSource = true;
		this.dataspinbutton2.Mappings = "IntValue";
		this.dataspinbutton2.InheritedBoundaryDataSource = false;
		this.datavbox1.Add (this.dataspinbutton2);
		global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataspinbutton2]));
		w2.Position = 0;
		w2.Expand = false;
		w2.Fill = false;
		// Container child datavbox1.Gtk.Box+BoxChild
		this.dataentry2 = new global::Gtk.DataBindings.DataEntry ();
		this.dataentry2.CanFocus = true;
		this.dataentry2.Name = "dataentry2";
		this.dataentry2.IsEditable = true;
		this.dataentry2.InvisibleChar = '•';
		this.dataentry2.InheritedDataSource = true;
		this.dataentry2.Mappings = "StrValue";
		this.dataentry2.InheritedBoundaryDataSource = false;
		this.dataentry2.InheritedDataSource = true;
		this.dataentry2.Mappings = "StrValue";
		this.dataentry2.InheritedBoundaryDataSource = false;
		this.datavbox1.Add (this.dataentry2);
		global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.dataentry2]));
		w3.Position = 1;
		w3.Expand = false;
		w3.Fill = false;
		// Container child datavbox1.Gtk.Box+BoxChild
		this.label1 = new global::Gtk.Label ();
		this.label1.Name = "label1";
		this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("ConfigFile supports file monitoring, so in this example you can go to ~/.config/config_sample1 or config_sample1 in your Application Data on Windows and manually edit config.xml. Controls will auto update on save");
		this.label1.Wrap = true;
		this.datavbox1.Add (this.label1);
		global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datavbox1 [this.label1]));
		w4.Position = 2;
		w4.Expand = false;
		w4.Fill = false;
		this.Add (this.datavbox1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 1593;
		this.DefaultHeight = 300;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.dataspinbutton2.LeaveNotifyEvent += new global::Gtk.LeaveNotifyEventHandler (this.OnDataspinbutton2LeaveNotifyEvent);
	}
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget stopwatch.StopWatchDialog
     this.Name           = "stopwatch.StopWatchDialog";
     this.Title          = "Add StopWatch";
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal          = true;
     this.Resizable      = false;
     this.AllowGrow      = false;
     // Internal child stopwatch.StopWatchDialog.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.DataBox                             = new global::Gtk.DataBindings.DataTable(((uint)(2)), ((uint)(2)), false);
     this.DataBox.Name                        = "DataBox";
     this.DataBox.RowSpacing                  = ((uint)(6));
     this.DataBox.ColumnSpacing               = ((uint)(8));
     this.DataBox.BorderWidth                 = ((uint)(8));
     this.DataBox.InheritedDataSource         = false;
     this.DataBox.InheritedBoundaryDataSource = false;
     this.DataBox.InheritedDataSource         = false;
     this.DataBox.InheritedBoundaryDataSource = false;
     // Container child DataBox.Gtk.Table+TableChild
     this.dataentry1                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry1.CanFocus                    = true;
     this.dataentry1.Name                        = "dataentry1";
     this.dataentry1.IsEditable                  = true;
     this.dataentry1.InvisibleChar               = '•';
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.InheritedDataSource         = true;
     this.dataentry1.Mappings                    = "Name";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.DataBox.Add(this.dataentry1);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.DataBox [this.dataentry1]));
     w2.LeftAttach  = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.YOptions    = ((global::Gtk.AttachOptions)(4));
     // Container child DataBox.Gtk.Table+TableChild
     this.datahbox1                             = new global::Gtk.DataBindings.DataHBox();
     this.datahbox1.Name                        = "datahbox1";
     this.datahbox1.Spacing                     = 6;
     this.datahbox1.InheritedDataSource         = true;
     this.datahbox1.InheritedBoundaryDataSource = false;
     this.datahbox1.InheritedDataSource         = true;
     this.datahbox1.InheritedBoundaryDataSource = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.dataspinbutton1          = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1);
     this.dataspinbutton1.CanFocus = true;
     this.dataspinbutton1.Name     = "dataspinbutton1";
     this.dataspinbutton1.Adjustment.PageIncrement = 10;
     this.dataspinbutton1.ClimbRate                   = 1;
     this.dataspinbutton1.Numeric                     = true;
     this.dataspinbutton1.InheritedDataSource         = true;
     this.dataspinbutton1.Mappings                    = "MaxHours";
     this.dataspinbutton1.InheritedBoundaryDataSource = false;
     this.dataspinbutton1.InheritedDataSource         = true;
     this.dataspinbutton1.Mappings                    = "MaxHours";
     this.dataspinbutton1.InheritedBoundaryDataSource = false;
     this.datahbox1.Add(this.dataspinbutton1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton1]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = "Hours";
     this.datahbox1.Add(this.label3);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label3]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.dataspinbutton2          = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1);
     this.dataspinbutton2.CanFocus = true;
     this.dataspinbutton2.Name     = "dataspinbutton2";
     this.dataspinbutton2.Adjustment.PageIncrement = 10;
     this.dataspinbutton2.ClimbRate                   = 1;
     this.dataspinbutton2.Numeric                     = true;
     this.dataspinbutton2.InheritedDataSource         = true;
     this.dataspinbutton2.Mappings                    = "MaxMinutes";
     this.dataspinbutton2.InheritedBoundaryDataSource = false;
     this.dataspinbutton2.InheritedDataSource         = true;
     this.dataspinbutton2.Mappings                    = "MaxMinutes";
     this.dataspinbutton2.InheritedBoundaryDataSource = false;
     this.datahbox1.Add(this.dataspinbutton2);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton2]));
     w5.Position = 2;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = "Minutes";
     this.datahbox1.Add(this.label4);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label4]));
     w6.Position = 3;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.dataspinbutton3          = new global::Gtk.DataBindings.DataSpinButton(0, 100, 1);
     this.dataspinbutton3.CanFocus = true;
     this.dataspinbutton3.Name     = "dataspinbutton3";
     this.dataspinbutton3.Adjustment.PageIncrement = 10;
     this.dataspinbutton3.ClimbRate                   = 1;
     this.dataspinbutton3.Numeric                     = true;
     this.dataspinbutton3.InheritedDataSource         = true;
     this.dataspinbutton3.Mappings                    = "MaxSeconds";
     this.dataspinbutton3.InheritedBoundaryDataSource = false;
     this.dataspinbutton3.InheritedDataSource         = true;
     this.dataspinbutton3.Mappings                    = "MaxSeconds";
     this.dataspinbutton3.InheritedBoundaryDataSource = false;
     this.datahbox1.Add(this.dataspinbutton3);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.dataspinbutton3]));
     w7.Position = 4;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child datahbox1.Gtk.Box+BoxChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.LabelProp = "Seconds";
     this.datahbox1.Add(this.label5);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.datahbox1 [this.label5]));
     w8.Position = 5;
     w8.Expand   = false;
     w8.Fill     = false;
     this.DataBox.Add(this.datahbox1);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.DataBox [this.datahbox1]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child DataBox.Gtk.Table+TableChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = "Name";
     this.DataBox.Add(this.label1);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.DataBox [this.label1]));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child DataBox.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = "Max Time";
     this.DataBox.Add(this.label2);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.DataBox [this.label2]));
     w11.TopAttach    = ((uint)(1));
     w11.BottomAttach = ((uint)(2));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     w1.Add(this.DataBox);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(w1 [this.DataBox]));
     w12.Position = 0;
     w12.Expand   = false;
     w12.Fill     = false;
     // Internal child stopwatch.StopWatchDialog.ActionArea
     global::Gtk.HButtonBox w13 = this.ActionArea;
     w13.Name        = "dialog1_ActionArea";
     w13.Spacing     = 6;
     w13.BorderWidth = ((uint)(5));
     w13.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // 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.UseUnderline = true;
     // Container child buttonOk.Gtk.Container+ContainerChild
     global::Gtk.Alignment w14 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     global::Gtk.HBox w15 = new global::Gtk.HBox();
     w15.Spacing = 2;
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Image w16 = new global::Gtk.Image();
     w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu);
     w15.Add(w16);
     // Container child GtkHBox.Gtk.Container+ContainerChild
     global::Gtk.Label w18 = new global::Gtk.Label();
     w18.LabelProp    = "_Set timer";
     w18.UseUnderline = true;
     w15.Add(w18);
     w14.Add(w15);
     this.buttonOk.Add(w14);
     this.AddActionWidget(this.buttonOk, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w13 [this.buttonOk]));
     w22.Expand = false;
     w22.Fill   = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth        = 467;
     this.DefaultHeight       = 153;
     this.buttonOk.HasDefault = true;
     this.Show();
     this.DestroyEvent += new global::Gtk.DestroyEventHandler(this.OnDestroyEvent);
     this.DeleteEvent  += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget sample5.NewGroup
     this.Events         = ((global::Gdk.EventMask)(256));
     this.Name           = "sample5.NewGroup";
     this.Title          = global::Mono.Unix.Catalog.GetString("Add Group");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal          = true;
     this.AllowShrink    = true;
     // Internal child sample5.NewGroup.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Events      = ((global::Gdk.EventMask)(256));
     w1.Name        = "dialog_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog_VBox.Gtk.Box+BoxChild
     this.hbox2         = new global::Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 8;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Group name");
     this.hbox2.Add(this.label1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.dataentry1                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry1.CanFocus                    = true;
     this.dataentry1.Name                        = "dataentry1";
     this.dataentry1.IsEditable                  = true;
     this.dataentry1.InvisibleChar               = '•';
     this.dataentry1.InheritedDataSource         = false;
     this.dataentry1.Mappings                    = "FullName";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.dataentry1.InheritedDataSource         = false;
     this.dataentry1.Mappings                    = "FullName";
     this.dataentry1.InheritedBoundaryDataSource = false;
     this.hbox2.Add(this.dataentry1);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.dataentry1]));
     w3.Position = 1;
     w1.Add(this.hbox2);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox2]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Internal child sample5.NewGroup.ActionArea
     global::Gtk.HButtonBox w5 = this.ActionArea;
     w5.Events      = ((global::Gdk.EventMask)(256));
     w5.Name        = "sample5.NewGroup_ActionArea";
     w5.Spacing     = 6;
     w5.BorderWidth = ((uint)(5));
     w5.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child sample5.NewGroup_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.button56              = new global::Gtk.Button();
     this.button56.CanDefault   = true;
     this.button56.CanFocus     = true;
     this.button56.Name         = "button56";
     this.button56.UseStock     = true;
     this.button56.UseUnderline = true;
     this.button56.Label        = "gtk-ok";
     this.AddActionWidget(this.button56, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.button56]));
     w6.Expand = false;
     w6.Fill   = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 117;
     this.Show();
     this.button56.Clicked += new global::System.EventHandler(this.OnButton56Clicked);
 }
		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget sample5.NewGroup
			this.Events = ((global::Gdk.EventMask)(256));
			this.Name = "sample5.NewGroup";
			this.Title = global::Mono.Unix.Catalog.GetString ("Add Group");
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			this.Modal = true;
			this.AllowShrink = true;
			// Internal child sample5.NewGroup.VBox
			global::Gtk.VBox w1 = this.VBox;
			w1.Events = ((global::Gdk.EventMask)(256));
			w1.Name = "dialog_VBox";
			w1.BorderWidth = ((uint)(2));
			// Container child dialog_VBox.Gtk.Box+BoxChild
			this.hbox2 = new global::Gtk.HBox ();
			this.hbox2.Name = "hbox2";
			this.hbox2.Spacing = 8;
			// Container child hbox2.Gtk.Box+BoxChild
			this.label1 = new global::Gtk.Label ();
			this.label1.Name = "label1";
			this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Group name");
			this.hbox2.Add (this.label1);
			global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label1]));
			w2.Position = 0;
			w2.Expand = false;
			w2.Fill = false;
			// Container child hbox2.Gtk.Box+BoxChild
			this.dataentry1 = new global::Gtk.DataBindings.DataEntry ();
			this.dataentry1.CanFocus = true;
			this.dataentry1.Name = "dataentry1";
			this.dataentry1.IsEditable = true;
			this.dataentry1.InvisibleChar = '•';
			this.dataentry1.InheritedDataSource = false;
			this.dataentry1.Mappings = "FullName";
			this.dataentry1.InheritedBoundaryDataSource = false;
			this.dataentry1.InheritedDataSource = false;
			this.dataentry1.Mappings = "FullName";
			this.dataentry1.InheritedBoundaryDataSource = false;
			this.hbox2.Add (this.dataentry1);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.dataentry1]));
			w3.Position = 1;
			w1.Add (this.hbox2);
			global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.hbox2]));
			w4.Position = 0;
			w4.Expand = false;
			w4.Fill = false;
			// Internal child sample5.NewGroup.ActionArea
			global::Gtk.HButtonBox w5 = this.ActionArea;
			w5.Events = ((global::Gdk.EventMask)(256));
			w5.Name = "sample5.NewGroup_ActionArea";
			w5.Spacing = 6;
			w5.BorderWidth = ((uint)(5));
			w5.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child sample5.NewGroup_ActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.button56 = new global::Gtk.Button ();
			this.button56.CanDefault = true;
			this.button56.CanFocus = true;
			this.button56.Name = "button56";
			this.button56.UseStock = true;
			this.button56.UseUnderline = true;
			this.button56.Label = "gtk-ok";
			this.AddActionWidget (this.button56, -5);
			global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.button56]));
			w6.Expand = false;
			w6.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 400;
			this.DefaultHeight = 117;
			this.Show ();
			this.button56.Clicked += new global::System.EventHandler (this.OnButton56Clicked);
		}
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget sample5.NewAddress
     this.Events         = ((global::Gdk.EventMask)(256));
     this.Name           = "sample5.NewAddress";
     this.Title          = global::Mono.Unix.Catalog.GetString("NewAddress");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     this.Modal          = true;
     this.BorderWidth    = ((uint)(8));
     this.AllowShrink    = true;
     // Internal child sample5.NewAddress.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Events      = ((global::Gdk.EventMask)(256));
     w1.Name        = "dialog_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog_VBox.Gtk.Box+BoxChild
     this.datatable1                             = new global::Gtk.DataBindings.DataTable(((uint)(8)), ((uint)(2)), false);
     this.datatable1.Name                        = "datatable1";
     this.datatable1.RowSpacing                  = ((uint)(4));
     this.datatable1.ColumnSpacing               = ((uint)(8));
     this.datatable1.InheritedDataSource         = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     this.datatable1.InheritedDataSource         = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry2                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry2.CanFocus                    = true;
     this.dataentry2.Name                        = "dataentry2";
     this.dataentry2.IsEditable                  = true;
     this.dataentry2.InvisibleChar               = '•';
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "Name";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.dataentry2.InheritedDataSource         = true;
     this.dataentry2.Mappings                    = "Name";
     this.dataentry2.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry2);
     global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry2]));
     w2.TopAttach    = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach   = ((uint)(1));
     w2.RightAttach  = ((uint)(2));
     w2.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry3                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry3.CanFocus                    = true;
     this.dataentry3.Name                        = "dataentry3";
     this.dataentry3.IsEditable                  = true;
     this.dataentry3.InvisibleChar               = '•';
     this.dataentry3.InheritedDataSource         = true;
     this.dataentry3.Mappings                    = "MiddleName";
     this.dataentry3.InheritedBoundaryDataSource = false;
     this.dataentry3.InheritedDataSource         = true;
     this.dataentry3.Mappings                    = "MiddleName";
     this.dataentry3.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry3);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry3]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach   = ((uint)(1));
     w3.RightAttach  = ((uint)(2));
     w3.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry4                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry4.CanFocus                    = true;
     this.dataentry4.Name                        = "dataentry4";
     this.dataentry4.IsEditable                  = true;
     this.dataentry4.InvisibleChar               = '•';
     this.dataentry4.InheritedDataSource         = true;
     this.dataentry4.Mappings                    = "LastName";
     this.dataentry4.InheritedBoundaryDataSource = false;
     this.dataentry4.InheritedDataSource         = true;
     this.dataentry4.Mappings                    = "LastName";
     this.dataentry4.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry4);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry4]));
     w4.TopAttach    = ((uint)(3));
     w4.BottomAttach = ((uint)(4));
     w4.LeftAttach   = ((uint)(1));
     w4.RightAttach  = ((uint)(2));
     w4.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry5                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry5.CanFocus                    = true;
     this.dataentry5.Name                        = "dataentry5";
     this.dataentry5.IsEditable                  = true;
     this.dataentry5.InvisibleChar               = '•';
     this.dataentry5.InheritedDataSource         = true;
     this.dataentry5.Mappings                    = "Phone";
     this.dataentry5.InheritedBoundaryDataSource = false;
     this.dataentry5.InheritedDataSource         = true;
     this.dataentry5.Mappings                    = "Phone";
     this.dataentry5.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry5);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry5]));
     w5.TopAttach    = ((uint)(5));
     w5.BottomAttach = ((uint)(6));
     w5.LeftAttach   = ((uint)(1));
     w5.RightAttach  = ((uint)(2));
     w5.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry6                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry6.CanFocus                    = true;
     this.dataentry6.Name                        = "dataentry6";
     this.dataentry6.IsEditable                  = true;
     this.dataentry6.InvisibleChar               = '•';
     this.dataentry6.InheritedDataSource         = true;
     this.dataentry6.Mappings                    = "WebPage";
     this.dataentry6.InheritedBoundaryDataSource = false;
     this.dataentry6.InheritedDataSource         = true;
     this.dataentry6.Mappings                    = "WebPage";
     this.dataentry6.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry6);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry6]));
     w6.TopAttach    = ((uint)(6));
     w6.BottomAttach = ((uint)(7));
     w6.LeftAttach   = ((uint)(1));
     w6.RightAttach  = ((uint)(2));
     w6.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.dataentry7                             = new global::Gtk.DataBindings.DataEntry();
     this.dataentry7.CanFocus                    = true;
     this.dataentry7.Name                        = "dataentry7";
     this.dataentry7.IsEditable                  = true;
     this.dataentry7.InvisibleChar               = '•';
     this.dataentry7.InheritedDataSource         = true;
     this.dataentry7.Mappings                    = "Email";
     this.dataentry7.InheritedBoundaryDataSource = false;
     this.dataentry7.InheritedDataSource         = true;
     this.dataentry7.Mappings                    = "Email";
     this.dataentry7.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.dataentry7);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.dataentry7]));
     w7.TopAttach    = ((uint)(7));
     w7.BottomAttach = ((uint)(8));
     w7.LeftAttach   = ((uint)(1));
     w7.RightAttach  = ((uint)(2));
     w7.XOptions     = ((global::Gtk.AttachOptions)(4));
     w7.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.datalabel1                             = new global::Gtk.DataBindings.DataLabel();
     this.datalabel1.Name                        = "datalabel1";
     this.datalabel1.Xalign                      = 0F;
     this.datalabel1.LabelProp                   = global::Mono.Unix.Catalog.GetString("datalabel1");
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "FullName";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datalabel1.Important                   = false;
     this.datalabel1.InheritedDataSource         = true;
     this.datalabel1.Mappings                    = "FullName";
     this.datalabel1.InheritedBoundaryDataSource = false;
     this.datatable1.Add(this.datalabel1);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.datalabel1]));
     w8.TopAttach    = ((uint)(4));
     w8.BottomAttach = ((uint)(5));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label2           = new global::Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("First Name");
     this.datatable1.Add(this.label2);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2]));
     w9.TopAttach    = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions     = ((global::Gtk.AttachOptions)(4));
     w9.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label3           = new global::Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 0F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Middle Name");
     this.datatable1.Add(this.label3);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3]));
     w10.TopAttach    = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.XOptions     = ((global::Gtk.AttachOptions)(4));
     w10.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label4           = new global::Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 0F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Last Name");
     this.datatable1.Add(this.label4);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4]));
     w11.TopAttach    = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.XOptions     = ((global::Gtk.AttachOptions)(4));
     w11.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label5           = new global::Gtk.Label();
     this.label5.Name      = "label5";
     this.label5.Xalign    = 0F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Full Name");
     this.datatable1.Add(this.label5);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label5]));
     w12.TopAttach    = ((uint)(4));
     w12.BottomAttach = ((uint)(5));
     w12.XOptions     = ((global::Gtk.AttachOptions)(4));
     w12.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label6           = new global::Gtk.Label();
     this.label6.Name      = "label6";
     this.label6.Xalign    = 0F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Phone");
     this.datatable1.Add(this.label6);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label6]));
     w13.TopAttach    = ((uint)(5));
     w13.BottomAttach = ((uint)(6));
     w13.XOptions     = ((global::Gtk.AttachOptions)(4));
     w13.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label7           = new global::Gtk.Label();
     this.label7.Name      = "label7";
     this.label7.Xalign    = 0F;
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Email");
     this.datatable1.Add(this.label7);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7]));
     w14.TopAttach    = ((uint)(7));
     w14.BottomAttach = ((uint)(8));
     w14.XOptions     = ((global::Gtk.AttachOptions)(4));
     w14.YOptions     = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label8           = new global::Gtk.Label();
     this.label8.Name      = "label8";
     this.label8.Xalign    = 0F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Webpage");
     this.datatable1.Add(this.label8);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label8]));
     w15.TopAttach    = ((uint)(6));
     w15.BottomAttach = ((uint)(7));
     w15.XOptions     = ((global::Gtk.AttachOptions)(4));
     w15.YOptions     = ((global::Gtk.AttachOptions)(4));
     w1.Add(this.datatable1);
     global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(w1 [this.datatable1]));
     w16.Position = 0;
     // Internal child sample5.NewAddress.ActionArea
     global::Gtk.HButtonBox w17 = this.ActionArea;
     w17.Events      = ((global::Gdk.EventMask)(256));
     w17.Name        = "sample5.NewAddress_ActionArea";
     w17.Spacing     = 6;
     w17.BorderWidth = ((uint)(5));
     w17.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
     // Container child sample5.NewAddress_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.button90              = new global::Gtk.Button();
     this.button90.CanDefault   = true;
     this.button90.CanFocus     = true;
     this.button90.Name         = "button90";
     this.button90.UseStock     = true;
     this.button90.UseUnderline = true;
     this.button90.Label        = "gtk-ok";
     this.AddActionWidget(this.button90, -5);
     global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w17 [this.button90]));
     w18.Expand = false;
     w18.Fill   = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 400;
     this.DefaultHeight = 323;
     this.Show();
     this.button90.Clicked += new global::System.EventHandler(this.OnButton90Clicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget LeaseAgreement.ContractDlg
     this.UIManager = new global::Gtk.UIManager ();
     global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
     this.UIManager.InsertActionGroup (w1, 0);
     this.AddAccelGroup (this.UIManager.AccelGroup);
     this.Name = "LeaseAgreement.ContractDlg";
     this.Title = global::Mono.Unix.Catalog.GetString ("Новый договор");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child LeaseAgreement.ContractDlg.VBox
     global::Gtk.VBox w2 = this.VBox;
     w2.Name = "dialog1_VBox";
     w2.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.notebookMain = new global::Gtk.Notebook ();
     this.notebookMain.CanFocus = true;
     this.notebookMain.Name = "notebookMain";
     this.notebookMain.CurrentPage = 4;
     this.notebookMain.TabPos = ((global::Gtk.PositionType)(0));
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.hboxInfo = new global::Gtk.HBox ();
     this.hboxInfo.Name = "hboxInfo";
     this.hboxInfo.Spacing = 6;
     // Container child hboxInfo.Gtk.Box+BoxChild
     this.table2 = new global::Gtk.DataBindings.DataTable (((uint)(7)), ((uint)(2)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     this.table2.InheritedDataSource = false;
     this.table2.InheritedBoundaryDataSource = false;
     this.table2.InheritedDataSource = false;
     this.table2.InheritedBoundaryDataSource = false;
     // Container child table2.Gtk.Table+TableChild
     this.checkDraft = new global::Gtk.DataBindings.DataCheckButton ();
     this.checkDraft.CanFocus = true;
     this.checkDraft.Name = "checkDraft";
     this.checkDraft.Label = global::Mono.Unix.Catalog.GetString ("Черновик");
     this.checkDraft.DrawIndicator = true;
     this.checkDraft.UseUnderline = true;
     this.checkDraft.InheritedDataSource = true;
     this.checkDraft.Mappings = "Draft";
     this.checkDraft.InheritedBoundaryDataSource = false;
     this.checkDraft.Editable = true;
     this.checkDraft.AutomaticTitle = false;
     this.checkDraft.InheritedBoundaryDataSource = false;
     this.checkDraft.InheritedDataSource = true;
     this.checkDraft.Mappings = "Draft";
     this.table2.Add (this.checkDraft);
     global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.checkDraft]));
     w3.TopAttach = ((uint)(1));
     w3.BottomAttach = ((uint)(2));
     w3.LeftAttach = ((uint)(1));
     w3.RightAttach = ((uint)(2));
     w3.XOptions = ((global::Gtk.AttachOptions)(4));
     w3.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.comboCategory = new global::Gamma.Widgets.ySpecComboBox ();
     this.comboCategory.Name = "comboCategory";
     this.comboCategory.AddIfNotExist = false;
     this.comboCategory.DefaultFirst = false;
     this.comboCategory.ShowSpecialStateAll = false;
     this.comboCategory.ShowSpecialStateNot = true;
     this.table2.Add (this.comboCategory);
     global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboCategory]));
     w4.TopAttach = ((uint)(3));
     w4.BottomAttach = ((uint)(4));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((global::Gtk.AttachOptions)(4));
     w4.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.comboContractType = new global::Gamma.Widgets.ySpecComboBox ();
     this.comboContractType.Name = "comboContractType";
     this.comboContractType.AddIfNotExist = false;
     this.comboContractType.DefaultFirst = false;
     this.comboContractType.ShowSpecialStateAll = false;
     this.comboContractType.ShowSpecialStateNot = true;
     this.table2.Add (this.comboContractType);
     global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboContractType]));
     w5.TopAttach = ((uint)(2));
     w5.BottomAttach = ((uint)(3));
     w5.LeftAttach = ((uint)(1));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((global::Gtk.AttachOptions)(4));
     w5.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.comboOrg = new global::Gamma.Widgets.ySpecComboBox ();
     this.comboOrg.Name = "comboOrg";
     this.comboOrg.AddIfNotExist = false;
     this.comboOrg.DefaultFirst = false;
     this.comboOrg.ShowSpecialStateAll = false;
     this.comboOrg.ShowSpecialStateNot = true;
     this.table2.Add (this.comboOrg);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.comboOrg]));
     w6.TopAttach = ((uint)(4));
     w6.BottomAttach = ((uint)(5));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.XOptions = ((global::Gtk.AttachOptions)(4));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.datepickerSign = new global::Gamma.Widgets.yDatePicker ();
     this.datepickerSign.Events = ((global::Gdk.EventMask)(256));
     this.datepickerSign.Name = "datepickerSign";
     this.datepickerSign.WithTime = false;
     this.datepickerSign.Date = new global::System.DateTime (0);
     this.datepickerSign.IsEditable = true;
     this.datepickerSign.AutoSeparation = true;
     this.table2.Add (this.datepickerSign);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table2 [this.datepickerSign]));
     w7.TopAttach = ((uint)(6));
     w7.BottomAttach = ((uint)(7));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.XOptions = ((global::Gtk.AttachOptions)(4));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.entryNumber = new global::Gtk.DataBindings.DataEntry ();
     this.entryNumber.CanFocus = true;
     this.entryNumber.Events = ((global::Gdk.EventMask)(16384));
     this.entryNumber.Name = "entryNumber";
     this.entryNumber.IsEditable = true;
     this.entryNumber.MaxLength = 20;
     this.entryNumber.InvisibleChar = '•';
     this.entryNumber.InheritedDataSource = true;
     this.entryNumber.Mappings = "Number";
     this.entryNumber.InheritedBoundaryDataSource = false;
     this.entryNumber.InheritedDataSource = true;
     this.entryNumber.Mappings = "Number";
     this.entryNumber.InheritedBoundaryDataSource = false;
     this.table2.Add (this.entryNumber);
     global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryNumber]));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label10 = new global::Gtk.Label ();
     this.label10.Name = "label10";
     this.label10.Xalign = 1F;
     this.label10.LabelProp = global::Mono.Unix.Catalog.GetString ("Статус:");
     this.table2.Add (this.label10);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table2 [this.label10]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(2));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label14 = new global::Gtk.Label ();
     this.label14.Name = "label14";
     this.label14.Xalign = 1F;
     this.label14.LabelProp = global::Mono.Unix.Catalog.GetString ("Тип договора:");
     this.table2.Add (this.label14);
     global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table2 [this.label14]));
     w10.TopAttach = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.XOptions = ((global::Gtk.AttachOptions)(4));
     w10.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label17 = new global::Gtk.Label ();
     this.label17.Name = "label17";
     this.label17.Xalign = 1F;
     this.label17.LabelProp = global::Mono.Unix.Catalog.GetString ("Категория:");
     this.table2.Add (this.label17);
     global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table2 [this.label17]));
     w11.TopAttach = ((uint)(3));
     w11.BottomAttach = ((uint)(4));
     w11.XOptions = ((global::Gtk.AttachOptions)(4));
     w11.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Номер договора<span foreground=\"red\">*</span>:");
     this.label5.UseMarkup = true;
     this.table2.Add (this.label5);
     global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table2 [this.label5]));
     w12.XOptions = ((global::Gtk.AttachOptions)(4));
     w12.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label6 = new global::Gtk.Label ();
     this.label6.Name = "label6";
     this.label6.Xalign = 1F;
     this.label6.LabelProp = global::Mono.Unix.Catalog.GetString ("Организация<span foreground=\"red\">*</span>:");
     this.label6.UseMarkup = true;
     this.table2.Add (this.label6);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table2 [this.label6]));
     w13.TopAttach = ((uint)(4));
     w13.BottomAttach = ((uint)(5));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label8 = new global::Gtk.Label ();
     this.label8.Name = "label8";
     this.label8.Xalign = 1F;
     this.label8.LabelProp = global::Mono.Unix.Catalog.GetString ("Арендатор<span foreground=\"red\">*</span>:");
     this.label8.UseMarkup = true;
     this.table2.Add (this.label8);
     global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8]));
     w14.TopAttach = ((uint)(5));
     w14.BottomAttach = ((uint)(6));
     w14.XOptions = ((global::Gtk.AttachOptions)(4));
     w14.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.label9 = new global::Gtk.Label ();
     this.label9.Name = "label9";
     this.label9.Xalign = 1F;
     this.label9.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата подписания:");
     this.table2.Add (this.label9);
     global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table2 [this.label9]));
     w15.TopAttach = ((uint)(6));
     w15.BottomAttach = ((uint)(7));
     w15.XOptions = ((global::Gtk.AttachOptions)(4));
     w15.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.yentryreferenceLessee = new global::Gamma.Widgets.yEntryReference ();
     this.yentryreferenceLessee.Events = ((global::Gdk.EventMask)(256));
     this.yentryreferenceLessee.Name = "yentryreferenceLessee";
     this.table2.Add (this.yentryreferenceLessee);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.yentryreferenceLessee]));
     w16.TopAttach = ((uint)(5));
     w16.BottomAttach = ((uint)(6));
     w16.LeftAttach = ((uint)(1));
     w16.RightAttach = ((uint)(2));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     this.hboxInfo.Add (this.table2);
     global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hboxInfo [this.table2]));
     w17.Position = 0;
     w17.Expand = false;
     w17.Fill = false;
     // Container child hboxInfo.Gtk.Box+BoxChild
     this.vbox3 = new global::Gtk.VBox ();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.table3 = new global::Gtk.DataBindings.DataTable (((uint)(4)), ((uint)(2)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     this.table3.InheritedDataSource = false;
     this.table3.InheritedBoundaryDataSource = false;
     this.table3.InheritedDataSource = false;
     this.table3.InheritedBoundaryDataSource = false;
     // Container child table3.Gtk.Table+TableChild
     this.comboResponsible = new global::Gamma.Widgets.ySpecComboBox ();
     this.comboResponsible.Name = "comboResponsible";
     this.comboResponsible.AddIfNotExist = true;
     this.comboResponsible.DefaultFirst = false;
     this.comboResponsible.ShowSpecialStateAll = false;
     this.comboResponsible.ShowSpecialStateNot = false;
     this.table3.Add (this.comboResponsible);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table3 [this.comboResponsible]));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.datepickerCancel = new global::Gamma.Widgets.yDatePicker ();
     this.datepickerCancel.Events = ((global::Gdk.EventMask)(256));
     this.datepickerCancel.Name = "datepickerCancel";
     this.datepickerCancel.WithTime = false;
     this.datepickerCancel.Date = new global::System.DateTime (0);
     this.datepickerCancel.IsEditable = true;
     this.datepickerCancel.AutoSeparation = true;
     this.table3.Add (this.datepickerCancel);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerCancel]));
     w19.TopAttach = ((uint)(3));
     w19.BottomAttach = ((uint)(4));
     w19.LeftAttach = ((uint)(1));
     w19.RightAttach = ((uint)(2));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.datepickerEnd = new global::Gamma.Widgets.yDatePicker ();
     this.datepickerEnd.Events = ((global::Gdk.EventMask)(256));
     this.datepickerEnd.Name = "datepickerEnd";
     this.datepickerEnd.WithTime = false;
     this.datepickerEnd.Date = new global::System.DateTime (0);
     this.datepickerEnd.IsEditable = true;
     this.datepickerEnd.AutoSeparation = true;
     this.table3.Add (this.datepickerEnd);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerEnd]));
     w20.TopAttach = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     w20.LeftAttach = ((uint)(1));
     w20.RightAttach = ((uint)(2));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.datepickerStart = new global::Gamma.Widgets.yDatePicker ();
     this.datepickerStart.Events = ((global::Gdk.EventMask)(256));
     this.datepickerStart.Name = "datepickerStart";
     this.datepickerStart.WithTime = false;
     this.datepickerStart.Date = new global::System.DateTime (0);
     this.datepickerStart.IsEditable = true;
     this.datepickerStart.AutoSeparation = true;
     this.table3.Add (this.datepickerStart);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table3 [this.datepickerStart]));
     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 table3.Gtk.Table+TableChild
     this.label11 = new global::Gtk.Label ();
     this.label11.Name = "label11";
     this.label11.Xalign = 1F;
     this.label11.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата начала аренды<span foreground=\"red\">*</span>:");
     this.label11.UseMarkup = true;
     this.table3.Add (this.label11);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table3 [this.label11]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label12 = new global::Gtk.Label ();
     this.label12.Name = "label12";
     this.label12.Xalign = 1F;
     this.label12.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата окончания аренды<span foreground=\"red\">*</span>:");
     this.label12.UseMarkup = true;
     this.table3.Add (this.label12);
     global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table3 [this.label12]));
     w23.TopAttach = ((uint)(2));
     w23.BottomAttach = ((uint)(3));
     w23.XOptions = ((global::Gtk.AttachOptions)(4));
     w23.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label13 = new global::Gtk.Label ();
     this.label13.Name = "label13";
     this.label13.Xalign = 1F;
     this.label13.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата расторжения:");
     this.table3.Add (this.label13);
     global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table3 [this.label13]));
     w24.TopAttach = ((uint)(3));
     w24.BottomAttach = ((uint)(4));
     w24.XOptions = ((global::Gtk.AttachOptions)(4));
     w24.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.label18 = new global::Gtk.Label ();
     this.label18.Name = "label18";
     this.label18.Xalign = 1F;
     this.label18.LabelProp = global::Mono.Unix.Catalog.GetString ("Ответственный:");
     this.table3.Add (this.label18);
     global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table3 [this.label18]));
     w25.XOptions = ((global::Gtk.AttachOptions)(4));
     w25.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox3.Add (this.table3);
     global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.table3]));
     w26.Position = 0;
     w26.Expand = false;
     w26.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment8 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment8.Name = "GtkAlignment8";
     this.GtkAlignment8.LeftPadding = ((uint)(12));
     // Container child GtkAlignment8.Gtk.Container+ContainerChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.textComments = new global::Gtk.DataBindings.DataTextView ();
     this.textComments.CanFocus = true;
     this.textComments.Name = "textComments";
     this.textComments.WrapMode = ((global::Gtk.WrapMode)(2));
     this.textComments.InheritedDataSource = false;
     this.textComments.Mappings = "Comments";
     this.textComments.InheritedBoundaryDataSource = false;
     this.textComments.InheritedDataSource = false;
     this.textComments.Mappings = "Comments";
     this.textComments.InheritedBoundaryDataSource = false;
     this.GtkScrolledWindow.Add (this.textComments);
     this.GtkAlignment8.Add (this.GtkScrolledWindow);
     this.frame1.Add (this.GtkAlignment8);
     this.GtkLabel9 = new global::Gtk.Label ();
     this.GtkLabel9.Name = "GtkLabel9";
     this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Комментарии</b>");
     this.GtkLabel9.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel9;
     this.vbox3.Add (this.frame1);
     global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.frame1]));
     w30.Position = 1;
     this.hboxInfo.Add (this.vbox3);
     global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.hboxInfo [this.vbox3]));
     w31.Position = 1;
     this.notebookMain.Add (this.hboxInfo);
     // Notebook tab
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Информация");
     this.notebookMain.SetTabLabel (this.hboxInfo, this.label2);
     this.label2.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.contractplacesview1 = new global::LeaseAgreement.ContractPlacesView ();
     this.contractplacesview1.Events = ((global::Gdk.EventMask)(256));
     this.contractplacesview1.Name = "contractplacesview1";
     this.notebookMain.Add (this.contractplacesview1);
     global::Gtk.Notebook.NotebookChild w33 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.contractplacesview1]));
     w33.Position = 1;
     // Notebook tab
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Места");
     this.notebookMain.SetTabLabel (this.contractplacesview1, this.label3);
     this.label3.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.customContracts = new global::QSCustomFields.CustomFields ();
     this.customContracts.Events = ((global::Gdk.EventMask)(256));
     this.customContracts.Name = "customContracts";
     this.customContracts.ObjectId = -1;
     this.notebookMain.Add (this.customContracts);
     global::Gtk.Notebook.NotebookChild w34 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.customContracts]));
     w34.Position = 2;
     // Notebook tab
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Дополнительно");
     this.notebookMain.SetTabLabel (this.customContracts, this.label4);
     this.label4.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.vboxDocs = new global::Gtk.VBox ();
     this.vboxDocs.Name = "vboxDocs";
     this.vboxDocs.Spacing = 6;
     // Container child vboxDocs.Gtk.Box+BoxChild
     this.label16 = new global::Gtk.Label ();
     this.label16.Name = "label16";
     this.label16.LabelProp = global::Mono.Unix.Catalog.GetString ("Печатные формы документов для договора.");
     this.vboxDocs.Add (this.label16);
     global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.label16]));
     w35.Position = 0;
     w35.Expand = false;
     w35.Fill = false;
     // Container child vboxDocs.Gtk.Box+BoxChild
     this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow2.Name = "GtkScrolledWindow2";
     this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild
     this.treeviewDocs = new global::Gtk.TreeView ();
     this.treeviewDocs.CanFocus = true;
     this.treeviewDocs.Name = "treeviewDocs";
     this.GtkScrolledWindow2.Add (this.treeviewDocs);
     this.vboxDocs.Add (this.GtkScrolledWindow2);
     global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.GtkScrolledWindow2]));
     w37.Position = 1;
     // Container child vboxDocs.Gtk.Box+BoxChild
     this.hbox9 = new global::Gtk.HBox ();
     this.hbox9.Name = "hbox9";
     this.hbox9.Spacing = 6;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonPrint = new global::Gtk.Button ();
     this.buttonPrint.Sensitive = false;
     this.buttonPrint.CanFocus = true;
     this.buttonPrint.Name = "buttonPrint";
     this.buttonPrint.UseUnderline = true;
     this.buttonPrint.Label = global::Mono.Unix.Catalog.GetString ("Распечатать");
     global::Gtk.Image w38 = new global::Gtk.Image ();
     w38.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-print", global::Gtk.IconSize.Menu);
     this.buttonPrint.Image = w38;
     this.hbox9.Add (this.buttonPrint);
     global::Gtk.Box.BoxChild w39 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonPrint]));
     w39.Position = 0;
     w39.Expand = false;
     w39.Fill = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonEdit = new global::Gtk.Button ();
     this.buttonEdit.TooltipMarkup = "Редактировать шаблон только для этого договора.";
     this.buttonEdit.Sensitive = false;
     this.buttonEdit.CanFocus = true;
     this.buttonEdit.Name = "buttonEdit";
     this.buttonEdit.UseUnderline = true;
     this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString ("Редактировать");
     global::Gtk.Image w40 = new global::Gtk.Image ();
     w40.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu);
     this.buttonEdit.Image = w40;
     this.hbox9.Add (this.buttonEdit);
     global::Gtk.Box.BoxChild w41 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonEdit]));
     w41.Position = 1;
     w41.Expand = false;
     w41.Fill = false;
     // Container child hbox9.Gtk.Box+BoxChild
     this.buttonRemove = new global::Gtk.Button ();
     this.buttonRemove.Sensitive = false;
     this.buttonRemove.CanFocus = true;
     this.buttonRemove.Name = "buttonRemove";
     this.buttonRemove.UseUnderline = true;
     this.buttonRemove.Label = global::Mono.Unix.Catalog.GetString ("Вернуть шаблон");
     global::Gtk.Image w42 = new global::Gtk.Image ();
     w42.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonRemove.Image = w42;
     this.hbox9.Add (this.buttonRemove);
     global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.buttonRemove]));
     w43.Position = 2;
     w43.Expand = false;
     w43.Fill = false;
     this.vboxDocs.Add (this.hbox9);
     global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vboxDocs [this.hbox9]));
     w44.Position = 2;
     w44.Expand = false;
     w44.Fill = false;
     this.notebookMain.Add (this.vboxDocs);
     global::Gtk.Notebook.NotebookChild w45 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.vboxDocs]));
     w45.Position = 3;
     // Notebook tab
     this.label15 = new global::Gtk.Label ();
     this.label15.Name = "label15";
     this.label15.LabelProp = global::Mono.Unix.Catalog.GetString ("Документы");
     this.notebookMain.SetTabLabel (this.vboxDocs, this.label15);
     this.label15.ShowAll ();
     // Container child notebookMain.Gtk.Notebook+NotebookChild
     this.attachmentFiles = new global::QSAttachment.Attachment ();
     this.attachmentFiles.Events = ((global::Gdk.EventMask)(256));
     this.attachmentFiles.Name = "attachmentFiles";
     this.notebookMain.Add (this.attachmentFiles);
     global::Gtk.Notebook.NotebookChild w46 = ((global::Gtk.Notebook.NotebookChild)(this.notebookMain [this.attachmentFiles]));
     w46.Position = 4;
     // Notebook tab
     this.label19 = new global::Gtk.Label ();
     this.label19.Name = "label19";
     this.label19.LabelProp = global::Mono.Unix.Catalog.GetString ("Файлы");
     this.notebookMain.SetTabLabel (this.attachmentFiles, this.label19);
     this.label19.ShowAll ();
     w2.Add (this.notebookMain);
     global::Gtk.Box.BoxChild w47 = ((global::Gtk.Box.BoxChild)(w2 [this.notebookMain]));
     w47.Position = 0;
     // Internal child LeaseAgreement.ContractDlg.ActionArea
     global::Gtk.HButtonBox w48 = this.ActionArea;
     w48.Name = "dialog1_ActionArea";
     w48.Spacing = 10;
     w48.BorderWidth = ((uint)(5));
     w48.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.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("О_тменить");
     global::Gtk.Image w49 = new global::Gtk.Image ();
     w49.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-cancel", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w49;
     this.AddActionWidget (this.buttonCancel, -6);
     global::Gtk.ButtonBox.ButtonBoxChild w50 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w48 [this.buttonCancel]));
     w50.Expand = false;
     w50.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new global::Gtk.Button ();
     this.buttonOk.Sensitive = false;
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = global::Mono.Unix.Catalog.GetString ("_OK");
     global::Gtk.Image w51 = new global::Gtk.Image ();
     w51.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-ok", global::Gtk.IconSize.Menu);
     this.buttonOk.Image = w51;
     w48.Add (this.buttonOk);
     global::Gtk.ButtonBox.ButtonBoxChild w52 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w48 [this.buttonOk]));
     w52.Position = 1;
     w52.Expand = false;
     w52.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 882;
     this.DefaultHeight = 383;
     this.Show ();
     this.yentryreferenceLessee.Changed += new global::System.EventHandler (this.OnYentryreferenceLesseeChanged);
     this.entryNumber.Changed += new global::System.EventHandler (this.OnEntryNumberChanged);
     this.entryNumber.Activated += new global::System.EventHandler (this.OnEntryActivated);
     this.entryNumber.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnEntryNumberFocusOutEvent);
     this.comboOrg.Changed += new global::System.EventHandler (this.OnComboOrgChanged);
     this.comboContractType.Changed += new global::System.EventHandler (this.OnComboContractTypeChanged);
     this.datepickerStart.DateChanged += new global::System.EventHandler (this.OnDatepickerStartDateChanged);
     this.datepickerEnd.DateChanged += new global::System.EventHandler (this.OnDatepickerEndDateChanged);
     this.datepickerCancel.DateChanged += new global::System.EventHandler (this.OnDatepickerCancelDateChanged);
     this.treeviewDocs.CursorChanged += new global::System.EventHandler (this.OnTreeviewDocsCursorChanged);
     this.treeviewDocs.RowActivated += new global::Gtk.RowActivatedHandler (this.OnTreeviewDocsRowActivated);
     this.buttonPrint.Clicked += new global::System.EventHandler (this.OnButtonPrintClicked);
     this.buttonEdit.Clicked += new global::System.EventHandler (this.OnButtonEditClicked);
     this.buttonRemove.Clicked += new global::System.EventHandler (this.OnButtonRemoveClicked);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
Esempio n. 22
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget Vodovoz.ProxyDlg
     global::Stetic.BinContainer.Attach (this);
     this.Name = "Vodovoz.ProxyDlg";
     // Container child Vodovoz.ProxyDlg.Gtk.Container+ContainerChild
     this.vbox1 = new global::Gtk.VBox ();
     this.vbox1.Name = "vbox1";
     this.vbox1.Spacing = 6;
     // 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.buttonSave = new global::Gtk.Button ();
     this.buttonSave.CanFocus = true;
     this.buttonSave.Name = "buttonSave";
     this.buttonSave.UseUnderline = true;
     this.buttonSave.Label = global::Mono.Unix.Catalog.GetString ("Сохранить");
     global::Gtk.Image w1 = new global::Gtk.Image ();
     w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-floppy", global::Gtk.IconSize.Menu);
     this.buttonSave.Image = w1;
     this.hbox1.Add (this.buttonSave);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonSave]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox1.Gtk.Box+BoxChild
     this.buttonCancel = new global::Gtk.Button ();
     this.buttonCancel.CanFocus = true;
     this.buttonCancel.Name = "buttonCancel";
     this.buttonCancel.UseUnderline = true;
     this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString ("Отмена");
     global::Gtk.Image w3 = new global::Gtk.Image ();
     w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-revert-to-saved", global::Gtk.IconSize.Menu);
     this.buttonCancel.Image = w3;
     this.hbox1.Add (this.buttonCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonCancel]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.vbox1.Add (this.hbox1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1]));
     w5.Position = 0;
     w5.Expand = false;
     w5.Fill = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.datatable1 = new global::Gtk.DataBindings.DataTable (((uint)(5)), ((uint)(3)), false);
     this.datatable1.Name = "datatable1";
     this.datatable1.RowSpacing = ((uint)(6));
     this.datatable1.ColumnSpacing = ((uint)(6));
     this.datatable1.InheritedDataSource = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     this.datatable1.InheritedDataSource = false;
     this.datatable1.InheritedBoundaryDataSource = false;
     // Container child datatable1.Gtk.Table+TableChild
     this.datepickerIssue = new global::QSOrmProject.DataDatePicker ();
     this.datepickerIssue.Events = ((global::Gdk.EventMask)(256));
     this.datepickerIssue.Name = "datepickerIssue";
     this.datepickerIssue.WithTime = false;
     this.datepickerIssue.Date = new global::System.DateTime (0);
     this.datepickerIssue.IsEditable = true;
     this.datepickerIssue.AutoSeparation = false;
     this.datepickerIssue.InheritedDataSource = true;
     this.datepickerIssue.Mappings = "IssueDate";
     this.datepickerIssue.InheritedBoundaryDataSource = false;
     this.datatable1.Add (this.datepickerIssue);
     global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.datepickerIssue]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(2));
     w6.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.entryNumber = new global::Gtk.DataBindings.DataEntry ();
     this.entryNumber.CanFocus = true;
     this.entryNumber.Name = "entryNumber";
     this.entryNumber.IsEditable = true;
     this.entryNumber.InvisibleChar = '●';
     this.entryNumber.InheritedDataSource = true;
     this.entryNumber.Mappings = "Number";
     this.entryNumber.InheritedBoundaryDataSource = false;
     this.entryNumber.InheritedDataSource = true;
     this.entryNumber.Mappings = "Number";
     this.entryNumber.InheritedBoundaryDataSource = false;
     this.datatable1.Add (this.entryNumber);
     global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.entryNumber]));
     w7.LeftAttach = ((uint)(1));
     w7.RightAttach = ((uint)(2));
     w7.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.GtkScrolledWindow = new global::Gtk.ScrolledWindow ();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.ytreeDeliveryPoints = new global::Gamma.GtkWidgets.yTreeView ();
     this.ytreeDeliveryPoints.WidthRequest = 400;
     this.ytreeDeliveryPoints.CanFocus = true;
     this.ytreeDeliveryPoints.Name = "ytreeDeliveryPoints";
     this.GtkScrolledWindow.Add (this.ytreeDeliveryPoints);
     this.datatable1.Add (this.GtkScrolledWindow);
     global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.GtkScrolledWindow]));
     w9.TopAttach = ((uint)(1));
     w9.BottomAttach = ((uint)(4));
     w9.LeftAttach = ((uint)(2));
     w9.RightAttach = ((uint)(3));
     w9.XOptions = ((global::Gtk.AttachOptions)(4));
     w9.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.hbox4 = new global::Gtk.HBox ();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.datepickerStart = new global::QSOrmProject.DataDatePicker ();
     this.datepickerStart.Events = ((global::Gdk.EventMask)(256));
     this.datepickerStart.Name = "datepickerStart";
     this.datepickerStart.WithTime = false;
     this.datepickerStart.Date = new global::System.DateTime (0);
     this.datepickerStart.IsEditable = true;
     this.datepickerStart.AutoSeparation = false;
     this.datepickerStart.InheritedDataSource = true;
     this.datepickerStart.Mappings = "StartDate";
     this.datepickerStart.InheritedBoundaryDataSource = false;
     this.hbox4.Add (this.datepickerStart);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.datepickerStart]));
     w10.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label5 = new global::Gtk.Label ();
     this.label5.Name = "label5";
     this.label5.Xalign = 1F;
     this.label5.LabelProp = global::Mono.Unix.Catalog.GetString (" - ");
     this.hbox4.Add (this.label5);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label5]));
     w11.Position = 1;
     w11.Expand = false;
     w11.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.datepickerExpiration = new global::QSOrmProject.DataDatePicker ();
     this.datepickerExpiration.Events = ((global::Gdk.EventMask)(256));
     this.datepickerExpiration.Name = "datepickerExpiration";
     this.datepickerExpiration.WithTime = false;
     this.datepickerExpiration.Date = new global::System.DateTime (0);
     this.datepickerExpiration.IsEditable = true;
     this.datepickerExpiration.AutoSeparation = false;
     this.datepickerExpiration.InheritedDataSource = true;
     this.datepickerExpiration.Mappings = "ExpirationDate";
     this.datepickerExpiration.InheritedBoundaryDataSource = false;
     this.hbox4.Add (this.datepickerExpiration);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.datepickerExpiration]));
     w12.Position = 2;
     this.datatable1.Add (this.hbox4);
     global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox4]));
     w13.TopAttach = ((uint)(2));
     w13.BottomAttach = ((uint)(3));
     w13.LeftAttach = ((uint)(1));
     w13.RightAttach = ((uint)(2));
     w13.XOptions = ((global::Gtk.AttachOptions)(4));
     w13.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.hbox7 = new global::Gtk.HBox ();
     this.hbox7.Name = "hbox7";
     this.hbox7.Spacing = 6;
     // Container child hbox7.Gtk.Box+BoxChild
     this.buttonAddDeliveryPoints = new global::Gtk.Button ();
     this.buttonAddDeliveryPoints.CanFocus = true;
     this.buttonAddDeliveryPoints.Name = "buttonAddDeliveryPoints";
     this.buttonAddDeliveryPoints.UseUnderline = true;
     this.buttonAddDeliveryPoints.Label = global::Mono.Unix.Catalog.GetString ("Добавить");
     this.hbox7.Add (this.buttonAddDeliveryPoints);
     global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonAddDeliveryPoints]));
     w14.Position = 0;
     w14.Expand = false;
     w14.Fill = false;
     // Container child hbox7.Gtk.Box+BoxChild
     this.buttonDeleteDeliveryPoint = new global::Gtk.Button ();
     this.buttonDeleteDeliveryPoint.CanFocus = true;
     this.buttonDeleteDeliveryPoint.Name = "buttonDeleteDeliveryPoint";
     this.buttonDeleteDeliveryPoint.UseUnderline = true;
     this.buttonDeleteDeliveryPoint.Label = global::Mono.Unix.Catalog.GetString ("Удалить");
     this.hbox7.Add (this.buttonDeleteDeliveryPoint);
     global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.buttonDeleteDeliveryPoint]));
     w15.Position = 1;
     w15.Expand = false;
     w15.Fill = false;
     this.datatable1.Add (this.hbox7);
     global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.hbox7]));
     w16.TopAttach = ((uint)(4));
     w16.BottomAttach = ((uint)(5));
     w16.LeftAttach = ((uint)(2));
     w16.RightAttach = ((uint)(3));
     w16.XOptions = ((global::Gtk.AttachOptions)(4));
     w16.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.Xalign = 1F;
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Список сотрудников:");
     this.datatable1.Add (this.label1);
     global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label1]));
     w17.TopAttach = ((uint)(3));
     w17.BottomAttach = ((uint)(4));
     w17.XOptions = ((global::Gtk.AttachOptions)(4));
     w17.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label2 = new global::Gtk.Label ();
     this.label2.Name = "label2";
     this.label2.Xalign = 1F;
     this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Номер:");
     this.datatable1.Add (this.label2);
     global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label2]));
     w18.XOptions = ((global::Gtk.AttachOptions)(4));
     w18.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label3 = new global::Gtk.Label ();
     this.label3.Name = "label3";
     this.label3.Xalign = 1F;
     this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Дата выдачи:");
     this.datatable1.Add (this.label3);
     global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label3]));
     w19.TopAttach = ((uint)(1));
     w19.BottomAttach = ((uint)(2));
     w19.XOptions = ((global::Gtk.AttachOptions)(4));
     w19.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label4 = new global::Gtk.Label ();
     this.label4.Name = "label4";
     this.label4.Xalign = 1F;
     this.label4.LabelProp = global::Mono.Unix.Catalog.GetString ("Сроки действия:");
     this.datatable1.Add (this.label4);
     global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label4]));
     w20.TopAttach = ((uint)(2));
     w20.BottomAttach = ((uint)(3));
     w20.XOptions = ((global::Gtk.AttachOptions)(4));
     w20.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.label7 = new global::Gtk.Label ();
     this.label7.Name = "label7";
     this.label7.LabelProp = global::Mono.Unix.Catalog.GetString ("Точки доставки");
     this.datatable1.Add (this.label7);
     global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.label7]));
     w21.LeftAttach = ((uint)(2));
     w21.RightAttach = ((uint)(3));
     w21.XOptions = ((global::Gtk.AttachOptions)(4));
     w21.YOptions = ((global::Gtk.AttachOptions)(4));
     // Container child datatable1.Gtk.Table+TableChild
     this.personsView = new global::QSContacts.PersonsView ();
     this.personsView.Events = ((global::Gdk.EventMask)(256));
     this.personsView.Name = "personsView";
     this.datatable1.Add (this.personsView);
     global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.datatable1 [this.personsView]));
     w22.TopAttach = ((uint)(3));
     w22.BottomAttach = ((uint)(4));
     w22.LeftAttach = ((uint)(1));
     w22.RightAttach = ((uint)(2));
     w22.XOptions = ((global::Gtk.AttachOptions)(4));
     w22.YOptions = ((global::Gtk.AttachOptions)(4));
     this.vbox1.Add (this.datatable1);
     global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.datatable1]));
     w23.Position = 1;
     w23.Expand = false;
     w23.Fill = false;
     this.Add (this.vbox1);
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.Hide ();
     this.buttonSave.Clicked += new global::System.EventHandler (this.OnButtonSaveClicked);
     this.buttonCancel.Clicked += new global::System.EventHandler (this.OnButtonCancelClicked);
     this.buttonAddDeliveryPoints.Clicked += new global::System.EventHandler (this.OnButtonAddDeliveryPointsClicked);
     this.buttonDeleteDeliveryPoint.Clicked += new global::System.EventHandler (this.OnButtonDeleteDekiveryPointClicked);
 }
	protected virtual void Build ()
	{
		global::Stetic.Gui.Initialize (this);
		// Widget MainWindow
		this.Name = "MainWindow";
		this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow");
		this.WindowPosition = ((global::Gtk.WindowPosition)(4));
		// Container child MainWindow.Gtk.Container+ContainerChild
		this.vbox1 = new global::Gtk.VBox ();
		this.vbox1.Name = "vbox1";
		this.vbox1.Spacing = 4;
		this.vbox1.BorderWidth = ((uint)(8));
		// Container child vbox1.Gtk.Box+BoxChild
		this.dataentry1 = new global::Gtk.DataBindings.DataEntry ();
		this.dataentry1.CanFocus = true;
		this.dataentry1.Name = "dataentry1";
		this.dataentry1.IsEditable = true;
		this.dataentry1.InvisibleChar = '•';
		this.dataentry1.InheritedDataSource = false;
		this.dataentry1.Mappings = "Text";
		this.dataentry1.InheritedBoundaryDataSource = false;
		this.dataentry1.InheritedDataSource = false;
		this.dataentry1.Mappings = "Text";
		this.dataentry1.InheritedBoundaryDataSource = false;
		this.vbox1.Add (this.dataentry1);
		global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.dataentry1]));
		w1.Position = 0;
		w1.Expand = false;
		w1.Fill = false;
		// Container child vbox1.Gtk.Box+BoxChild
		this.dataentry2 = new global::Gtk.DataBindings.DataEntry ();
		this.dataentry2.CanFocus = true;
		this.dataentry2.Name = "dataentry2";
		this.dataentry2.IsEditable = true;
		this.dataentry2.InvisibleChar = '•';
		this.dataentry2.InheritedDataSource = false;
		this.dataentry2.Mappings = "Text";
		this.dataentry2.InheritedBoundaryDataSource = false;
		this.dataentry2.BoundaryMappings = "";
		this.dataentry2.InheritedDataSource = false;
		this.dataentry2.Mappings = "Text";
		this.dataentry2.InheritedBoundaryDataSource = false;
		this.dataentry2.BoundaryMappings = "";
		this.vbox1.Add (this.dataentry2);
		global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.dataentry2]));
		w2.Position = 1;
		w2.Expand = false;
		w2.Fill = false;
		// Container child vbox1.Gtk.Box+BoxChild
		this.hbox2 = new global::Gtk.HBox ();
		this.hbox2.Name = "hbox2";
		// Container child hbox2.Gtk.Box+BoxChild
		this.button1 = new global::Gtk.Button ();
		this.button1.CanFocus = true;
		this.button1.Name = "button1";
		this.button1.UseUnderline = true;
		this.button1.Label = global::Mono.Unix.Catalog.GetString ("Close");
		this.hbox2.Add (this.button1);
		global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1]));
		w3.Position = 2;
		w3.Expand = false;
		w3.Fill = false;
		this.vbox1.Add (this.hbox2);
		global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2]));
		w4.Position = 2;
		w4.Expand = false;
		w4.Fill = false;
		this.Add (this.vbox1);
		if ((this.Child != null)) {
			this.Child.ShowAll ();
		}
		this.DefaultWidth = 400;
		this.DefaultHeight = 357;
		this.Show ();
		this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent);
		this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked);
	}