protected virtual void Build()
 {
     global::Stetic.Gui.Initialize (this);
     // Widget QSSupportLib.EditSerialNumber
     this.Name = "QSSupportLib.EditSerialNumber";
     this.Title = global::Mono.Unix.Catalog.GetString ("Серийный номер продукта");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child QSSupportLib.EditSerialNumber.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label1 = new global::Gtk.Label ();
     this.label1.Name = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Серийный номер сохраняется в БД.\nПоэтому нет необходимости вводить его на всех компьютерах.");
     w1.Add (this.label1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.label1]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.frame1 = new global::Gtk.Frame ();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((global::Gtk.ShadowType)(0));
     this.frame1.BorderWidth = ((uint)(15));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new global::Gtk.Alignment (0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.serialnumberentry1 = new global::QSSupportLib.SerialNumberEntry ();
     this.serialnumberentry1.CanFocus = true;
     this.serialnumberentry1.Name = "serialnumberentry1";
     this.serialnumberentry1.IsEditable = true;
     this.serialnumberentry1.InvisibleChar = '●';
     this.GtkAlignment2.Add (this.serialnumberentry1);
     this.frame1.Add (this.GtkAlignment2);
     this.GtkLabel2 = new global::Gtk.Label ();
     this.GtkLabel2.Name = "GtkLabel2";
     this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString ("<b>Серийный номер</b>");
     this.GtkLabel2.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel2;
     w1.Add (this.frame1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.frame1]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hboxResult = new global::Gtk.HBox ();
     this.hboxResult.Name = "hboxResult";
     this.hboxResult.Spacing = 6;
     this.hboxResult.BorderWidth = ((uint)(12));
     // Container child hboxResult.Gtk.Box+BoxChild
     this.labelResult = new global::Gtk.Label ();
     this.labelResult.Name = "labelResult";
     this.labelResult.LabelProp = global::Mono.Unix.Catalog.GetString ("Введите серийник");
     this.hboxResult.Add (this.labelResult);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxResult [this.labelResult]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     w1.Add (this.hboxResult);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.hboxResult]));
     w7.Position = 2;
     w7.Expand = false;
     w7.Fill = false;
     // Internal child QSSupportLib.EditSerialNumber.ActionArea
     global::Gtk.HButtonBox w8 = this.ActionArea;
     w8.Name = "dialog1_ActionArea";
     w8.Spacing = 10;
     w8.BorderWidth = ((uint)(5));
     w8.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 w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel]));
     w9.Expand = false;
     w9.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 w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonOk]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll ();
     }
     this.DefaultWidth = 412;
     this.DefaultHeight = 214;
     this.Show ();
     this.serialnumberentry1.Changed += new global::System.EventHandler (this.OnSerialnumberentry1Changed);
     this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked);
 }
 protected virtual void Build()
 {
     global::Stetic.Gui.Initialize(this);
     // Widget QSSupportLib.EditSerialNumber
     this.Name           = "QSSupportLib.EditSerialNumber";
     this.Title          = global::Mono.Unix.Catalog.GetString("Серийный номер продукта");
     this.WindowPosition = ((global::Gtk.WindowPosition)(4));
     // Internal child QSSupportLib.EditSerialNumber.VBox
     global::Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.label1           = new global::Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Серийный номер сохраняется в БД.\nПоэтому нет необходимости вводить его на всех компьютерах.");
     w1.Add(this.label1);
     global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.label1]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.frame1             = new global::Gtk.Frame();
     this.frame1.Name        = "frame1";
     this.frame1.ShadowType  = ((global::Gtk.ShadowType)(0));
     this.frame1.BorderWidth = ((uint)(15));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment2             = new global::Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name        = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.serialnumberentry1               = new global::QSSupportLib.SerialNumberEntry();
     this.serialnumberentry1.CanFocus      = true;
     this.serialnumberentry1.Name          = "serialnumberentry1";
     this.serialnumberentry1.IsEditable    = true;
     this.serialnumberentry1.InvisibleChar = '●';
     this.GtkAlignment2.Add(this.serialnumberentry1);
     this.frame1.Add(this.GtkAlignment2);
     this.GtkLabel2           = new global::Gtk.Label();
     this.GtkLabel2.Name      = "GtkLabel2";
     this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Серийный номер</b>");
     this.GtkLabel2.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel2;
     w1.Add(this.frame1);
     global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.frame1]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hboxResult             = new global::Gtk.HBox();
     this.hboxResult.Name        = "hboxResult";
     this.hboxResult.Spacing     = 6;
     this.hboxResult.BorderWidth = ((uint)(12));
     // Container child hboxResult.Gtk.Box+BoxChild
     this.labelResult           = new global::Gtk.Label();
     this.labelResult.Name      = "labelResult";
     this.labelResult.LabelProp = global::Mono.Unix.Catalog.GetString("Введите серийник");
     this.hboxResult.Add(this.labelResult);
     global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hboxResult [this.labelResult]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     w1.Add(this.hboxResult);
     global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(w1 [this.hboxResult]));
     w7.Position = 2;
     w7.Expand   = false;
     w7.Fill     = false;
     // Internal child QSSupportLib.EditSerialNumber.ActionArea
     global::Gtk.HButtonBox w8 = this.ActionArea;
     w8.Name        = "dialog1_ActionArea";
     w8.Spacing     = 10;
     w8.BorderWidth = ((uint)(5));
     w8.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 w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonCancel]));
     w9.Expand = false;
     w9.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 w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w8 [this.buttonOk]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 412;
     this.DefaultHeight = 214;
     this.Show();
     this.serialnumberentry1.Changed += new global::System.EventHandler(this.OnSerialnumberentry1Changed);
     this.buttonOk.Clicked           += new global::System.EventHandler(this.OnButtonOkClicked);
 }