Example #1
0
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Wallet.SendDialogStep2
     global::Stetic.BinContainer.Attach(this);
     this.Name = "Wallet.SendDialogStep2";
     // Container child Wallet.SendDialogStep2.Gtk.Container+ContainerChild
     this.vbox1         = new global::Gtk.VBox();
     this.vbox1.Name    = "vbox1";
     this.vbox1.Spacing = 6;
     // Container child vbox1.Gtk.Box+BoxChild
     this.senddialogwaiting        = new global::Wallet.SendDialogWaiting();
     this.senddialogwaiting.Events = ((global::Gdk.EventMask)(256));
     this.senddialogwaiting.Name   = "senddialogwaiting";
     this.vbox1.Add(this.senddialogwaiting);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.senddialogwaiting]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.dialogfieldTo        = new global::Wallet.DialogField();
     this.dialogfieldTo.Events = ((global::Gdk.EventMask)(256));
     this.dialogfieldTo.Name   = "dialogfieldTo";
     this.vbox1.Add(this.dialogfieldTo);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.dialogfieldTo]));
     w2.Position = 1;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.dialogfieldAmount        = new global::Wallet.DialogField();
     this.dialogfieldAmount.Events = ((global::Gdk.EventMask)(256));
     this.dialogfieldAmount.Name   = "dialogfieldAmount";
     this.vbox1.Add(this.dialogfieldAmount);
     global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.dialogfieldAmount]));
     w3.Position = 2;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.expander          = new global::Gtk.Expander(null);
     this.expander.CanFocus = true;
     this.expander.Name     = "expander";
     this.expander.Expanded = true;
     // Container child expander.Gtk.Container+ContainerChild
     this.vbox2         = new global::Gtk.VBox();
     this.vbox2.Name    = "vbox2";
     this.vbox2.Spacing = 6;
     // Container child vbox2.Gtk.Box+BoxChild
     this.dialogfield3        = new global::Wallet.DialogField();
     this.dialogfield3.Events = ((global::Gdk.EventMask)(256));
     this.dialogfield3.Name   = "dialogfield3";
     this.vbox2.Add(this.dialogfield3);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.dialogfield3]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.dialogfield4        = new global::Wallet.DialogField();
     this.dialogfield4.Events = ((global::Gdk.EventMask)(256));
     this.dialogfield4.Name   = "dialogfield4";
     this.vbox2.Add(this.dialogfield4);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.dialogfield4]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.dialogfield5        = new global::Wallet.DialogField();
     this.dialogfield5.Events = ((global::Gdk.EventMask)(256));
     this.dialogfield5.Name   = "dialogfield5";
     this.vbox2.Add(this.dialogfield5);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.dialogfield5]));
     w6.Position = 2;
     w6.Expand   = false;
     w6.Fill     = false;
     this.expander.Add(this.vbox2);
     this.GtkLabel              = new global::Gtk.Label();
     this.GtkLabel.Name         = "GtkLabel";
     this.GtkLabel.LabelProp    = global::Mono.Unix.Catalog.GetString("More");
     this.GtkLabel.UseUnderline = true;
     this.expander.LabelWidget  = this.GtkLabel;
     this.vbox1.Add(this.expander);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.expander]));
     w8.Position = 3;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox12             = new global::Gtk.HBox();
     this.hbox12.Name        = "hbox12";
     this.hbox12.Homogeneous = true;
     // Container child hbox12.Gtk.Box+BoxChild
     this.eventboxBack      = new global::Gtk.EventBox();
     this.eventboxBack.Name = "eventboxBack";
     // Container child eventboxBack.Gtk.Container+ContainerChild
     this.image1        = new global::Gtk.Image();
     this.image1.Name   = "image1";
     this.image1.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-copy", global::Gtk.IconSize.Menu);
     this.eventboxBack.Add(this.image1);
     this.hbox12.Add(this.eventboxBack);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.eventboxBack]));
     w10.Position = 0;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child hbox12.Gtk.Box+BoxChild
     this.eventboxSend      = new global::Gtk.EventBox();
     this.eventboxSend.Name = "eventboxSend";
     // Container child eventboxSend.Gtk.Container+ContainerChild
     this.imageNext        = new global::Gtk.Image();
     this.imageNext.Name   = "imageNext";
     this.imageNext.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-dnd-multiple", global::Gtk.IconSize.Menu);
     this.eventboxSend.Add(this.imageNext);
     this.hbox12.Add(this.eventboxSend);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox12[this.eventboxSend]));
     w12.Position = 1;
     w12.Expand   = false;
     w12.Fill     = false;
     this.vbox1.Add(this.hbox12);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox12]));
     w13.Position = 4;
     w13.Expand   = false;
     w13.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget Wallet.SendDialog
     global::Stetic.BinContainer.Attach(this);
     this.WidthRequest = 650;
     this.Name         = "Wallet.SendDialog";
     // Container child Wallet.SendDialog.Gtk.Container+ContainerChild
     this.vbox1             = new global::Gtk.VBox();
     this.vbox1.Name        = "vbox1";
     this.vbox1.Spacing     = 20;
     this.vbox1.BorderWidth = ((uint)(15));
     // Container child vbox1.Gtk.Box+BoxChild
     this.hbox5      = new global::Gtk.HBox();
     this.hbox5.Name = "hbox5";
     // Container child hbox5.Gtk.Box+BoxChild
     this.label4 = new global::Gtk.Label();
     this.label4.WidthRequest = 50;
     this.label4.Name         = "label4";
     this.hbox5.Add(this.label4);
     global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label4]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.labelHeader           = new global::Gtk.Label();
     this.labelHeader.Name      = "labelHeader";
     this.labelHeader.LabelProp = global::Mono.Unix.Catalog.GetString("Send");
     this.hbox5.Add(this.labelHeader);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.labelHeader]));
     w2.Position = 1;
     // Container child hbox5.Gtk.Box+BoxChild
     this.eventboxCancel      = new global::Gtk.EventBox();
     this.eventboxCancel.Name = "eventboxCancel";
     // Container child eventboxCancel.Gtk.Container+ContainerChild
     this.image5 = new global::Gtk.Image();
     this.image5.WidthRequest = 50;
     this.image5.Name         = "image5";
     this.image5.Pixbuf       = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-error", global::Gtk.IconSize.Menu);
     this.eventboxCancel.Add(this.image5);
     this.hbox5.Add(this.eventboxCancel);
     global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.eventboxCancel]));
     w4.Position = 2;
     w4.Expand   = false;
     w4.Fill     = false;
     this.vbox1.Add(this.hbox5);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox5]));
     w5.Position = 0;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.imageCurrency      = new global::Gtk.Image();
     this.imageCurrency.Name = "imageCurrency";
     this.vbox1.Add(this.imageCurrency);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.imageCurrency]));
     w6.Position = 1;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hboxContent         = new global::Gtk.HBox();
     this.hboxContent.Name    = "hboxContent";
     this.hboxContent.Spacing = 6;
     // Container child hboxContent.Gtk.Box+BoxChild
     this.senddialogwaiting        = new global::Wallet.SendDialogWaiting();
     this.senddialogwaiting.Events = ((global::Gdk.EventMask)(256));
     this.senddialogwaiting.Name   = "senddialogwaiting";
     this.hboxContent.Add(this.senddialogwaiting);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hboxContent[this.senddialogwaiting]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Container child hboxContent.Gtk.Box+BoxChild
     this.senddialogstep1        = new global::Wallet.SendDialogStep1();
     this.senddialogstep1.Events = ((global::Gdk.EventMask)(256));
     this.senddialogstep1.Name   = "senddialogstep1";
     this.hboxContent.Add(this.senddialogstep1);
     global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hboxContent[this.senddialogstep1]));
     w8.Position = 1;
     // Container child hboxContent.Gtk.Box+BoxChild
     this.senddialogstep2        = new global::Wallet.SendDialogStep2();
     this.senddialogstep2.Events = ((global::Gdk.EventMask)(256));
     this.senddialogstep2.Name   = "senddialogstep2";
     this.hboxContent.Add(this.senddialogstep2);
     global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hboxContent[this.senddialogstep2]));
     w9.Position = 2;
     w9.Expand   = false;
     w9.Fill     = false;
     this.vbox1.Add(this.hboxContent);
     global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxContent]));
     w10.Position = 2;
     w10.Expand   = false;
     w10.Fill     = false;
     // Container child vbox1.Gtk.Box+BoxChild
     this.hboxFooter             = new global::Gtk.HBox();
     this.hboxFooter.Name        = "hboxFooter";
     this.hboxFooter.Homogeneous = true;
     this.hboxFooter.Spacing     = 6;
     // Container child hboxFooter.Gtk.Box+BoxChild
     this.labelBalance           = new global::Gtk.Label();
     this.labelBalance.Name      = "labelBalance";
     this.labelBalance.Xalign    = 0F;
     this.labelBalance.LabelProp = global::Mono.Unix.Catalog.GetString("Balance");
     this.hboxFooter.Add(this.labelBalance);
     global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hboxFooter[this.labelBalance]));
     w11.Position = 0;
     // Container child hboxFooter.Gtk.Box+BoxChild
     this.labelFee           = new global::Gtk.Label();
     this.labelFee.Name      = "labelFee";
     this.labelFee.Xalign    = 1F;
     this.labelFee.LabelProp = global::Mono.Unix.Catalog.GetString("Fee");
     this.hboxFooter.Add(this.labelFee);
     global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hboxFooter[this.labelFee]));
     w12.Position = 1;
     this.vbox1.Add(this.hboxFooter);
     global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hboxFooter]));
     w13.Position = 3;
     w13.Expand   = false;
     w13.Fill     = false;
     this.Add(this.vbox1);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
 }