protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.MarkFoundDialog
     this.Name            = "ocmgtk.MarkFoundDialog";
     this.Title           = Mono.Unix.Catalog.GetString("Mark Found");
     this.TypeHint        = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition  = ((Gtk.WindowPosition)(4));
     this.Modal           = true;
     this.BorderWidth     = ((uint)(6));
     this.Resizable       = false;
     this.AllowGrow       = false;
     this.SkipPagerHint   = true;
     this.SkipTaskbarHint = true;
     // Internal child ocmgtk.MarkFoundDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.table1               = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.foundDateWidget             = new ocmgtk.DateWidget();
     this.foundDateWidget.Events      = ((Gdk.EventMask)(256));
     this.foundDateWidget.Name        = "foundDateWidget";
     this.foundDateWidget.IncludeTime = false;
     this.foundDateWidget.Date        = new System.DateTime(0);
     this.table1.Add(this.foundDateWidget);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.foundDateWidget]));
     w2.TopAttach    = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach   = ((uint)(1));
     w2.RightAttach  = ((uint)(2));
     w2.XOptions     = ((Gtk.AttachOptions)(4));
     w2.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.image12        = new Gtk.Image();
     this.image12.Name   = "image12";
     this.image12.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-question", Gtk.IconSize.Dnd, 32);
     this.hbox2.Add(this.image12);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox2[this.image12]));
     w3.Position = 0;
     w3.Expand   = false;
     w3.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label1      = new Gtk.Label();
     this.label1.Name = "label1";
     this.hbox2.Add(this.label1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1]));
     w4.Position = 1;
     w4.Expand   = false;
     w4.Fill     = false;
     this.table1.Add(this.hbox2);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.hbox2]));
     w5.RightAttach = ((uint)(2));
     w5.XOptions    = ((Gtk.AttachOptions)(0));
     w5.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.Xalign    = 0F;
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Found date:");
     this.table1.Add(this.label2);
     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
     w6.TopAttach    = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions     = ((Gtk.AttachOptions)(4));
     w6.YOptions     = ((Gtk.AttachOptions)(4));
     w1.Add(this.table1);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[this.table1]));
     w7.Position = 0;
     w7.Expand   = false;
     w7.Fill     = false;
     // Internal child ocmgtk.MarkFoundDialog.ActionArea
     Gtk.HButtonBox w8 = this.ActionArea;
     w8.Name        = "dialog1_ActionArea";
     w8.Spacing     = 10;
     w8.BorderWidth = ((uint)(5));
     w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel              = new 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);
     Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonCancel]));
     w9.Expand = false;
     w9.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonOk]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth        = 297;
     this.DefaultHeight       = 153;
     this.buttonOk.HasDefault = true;
     this.Show();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.OfflineLogDialog
     this.WidthRequest   = 450;
     this.HeightRequest  = 350;
     this.Name           = "ocmgtk.OfflineLogDialog";
     this.Title          = Mono.Unix.Catalog.GetString("Log");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.BorderWidth    = ((uint)(6));
     // Internal child ocmgtk.OfflineLogDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.Spacing     = 6;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.cacheIcon      = new Gtk.Image();
     this.cacheIcon.Name = "cacheIcon";
     this.hbox2.Add(this.cacheIcon);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.cacheIcon]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.CacheLabel           = new Gtk.Label();
     this.CacheLabel.Name      = "CacheLabel";
     this.CacheLabel.Xalign    = 0F;
     this.CacheLabel.LabelProp = "<cacheName>";
     this.hbox2.Add(this.CacheLabel);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox2[this.CacheLabel]));
     w3.Position = 1;
     w1.Add(this.hbox2);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox2]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hseparator2      = new Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     w1.Add(this.hseparator2);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.hseparator2]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox3         = new Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Log Date:");
     this.hbox3.Add(this.label3);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox3[this.label3]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.logDateWidget             = new ocmgtk.DateWidget();
     this.logDateWidget.Events      = ((Gdk.EventMask)(256));
     this.logDateWidget.Name        = "logDateWidget";
     this.logDateWidget.IncludeTime = false;
     this.logDateWidget.Date        = new System.DateTime(0);
     this.hbox3.Add(this.logDateWidget);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox3[this.logDateWidget]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     w1.Add(this.hbox3);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.hbox3]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox4         = new Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Log Type:");
     this.hbox4.Add(this.label4);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox4[this.label4]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.logChoice = Gtk.ComboBox.NewText();
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Found it"));
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Didn't Find it"));
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Write Note"));
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Needs Maintenance"));
     this.logChoice.Name   = "logChoice";
     this.logChoice.Active = 0;
     this.hbox4.Add(this.logChoice);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox4[this.logChoice]));
     w10.Position = 1;
     w1.Add(this.hbox4);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(w1[this.hbox4]));
     w11.Position = 3;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hseparator1      = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     w1.Add(this.hseparator1);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.hseparator1]));
     w12.Position = 4;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.ftfCheck               = new Gtk.CheckButton();
     this.ftfCheck.CanFocus      = true;
     this.ftfCheck.Name          = "ftfCheck";
     this.ftfCheck.Label         = Mono.Unix.Catalog.GetString("First To Find");
     this.ftfCheck.DrawIndicator = true;
     this.ftfCheck.UseUnderline  = true;
     w1.Add(this.ftfCheck);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[this.ftfCheck]));
     w13.Position = 5;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.GtkScrolledWindow            = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name       = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.logEntry          = new Gtk.TextView();
     this.logEntry.CanFocus = true;
     this.logEntry.Name     = "logEntry";
     this.GtkScrolledWindow.Add(this.logEntry);
     w1.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.GtkScrolledWindow]));
     w15.Position = 6;
     // Internal child ocmgtk.OfflineLogDialog.ActionArea
     Gtk.HButtonBox w16 = this.ActionArea;
     w16.Name        = "dialog1_ActionArea";
     w16.Spacing     = 10;
     w16.BorderWidth = ((uint)(5));
     w16.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel              = new 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);
     Gtk.ButtonBox.ButtonBoxChild w17 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonCancel]));
     w17.Expand = false;
     w17.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonOk]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth  = 462;
     this.DefaultHeight = 377;
     this.Show();
     this.logChoice.Changed += new System.EventHandler(this.OnComboChanged);
 }
Пример #3
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.OCMQueryPage6
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.OCMQueryPage6";
     // Container child ocmgtk.OCMQueryPage6.Gtk.Container+ContainerChild
     this.vbox2             = new Gtk.VBox();
     this.vbox2.Name        = "vbox2";
     this.vbox2.Spacing     = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1            = new Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.vbox3         = new Gtk.VBox();
     this.vbox3.Name    = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.lastUpdateCheck               = new Gtk.CheckButton();
     this.lastUpdateCheck.CanFocus      = true;
     this.lastUpdateCheck.Name          = "lastUpdateCheck";
     this.lastUpdateCheck.Label         = Mono.Unix.Catalog.GetString("Condition matches:");
     this.lastUpdateCheck.DrawIndicator = true;
     this.lastUpdateCheck.UseUnderline  = true;
     this.vbox3.Add(this.lastUpdateCheck);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox3[this.lastUpdateCheck]));
     w1.Position = 0;
     w1.Expand   = false;
     w1.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.updateFrame            = new Gtk.Frame();
     this.updateFrame.Sensitive  = false;
     this.updateFrame.Name       = "updateFrame";
     this.updateFrame.ShadowType = ((Gtk.ShadowType)(1));
     // Container child updateFrame.Gtk.Container+ContainerChild
     this.GtkAlignment2             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name        = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.table1               = new Gtk.Table(((uint)(3)), ((uint)(3)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth   = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.label3           = new Gtk.Label();
     this.label3.Name      = "label3";
     this.label3.Xalign    = 0F;
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("days");
     this.table1.Add(this.label3);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
     w2.TopAttach    = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach   = ((uint)(2));
     w2.RightAttach  = ((uint)(3));
     w2.XOptions     = ((Gtk.AttachOptions)(4));
     w2.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4           = new Gtk.Label();
     this.label4.Name      = "label4";
     this.label4.Xalign    = 0F;
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("days");
     this.table1.Add(this.label4);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach   = ((uint)(2));
     w3.RightAttach  = ((uint)(3));
     w3.XOptions     = ((Gtk.AttachOptions)(4));
     w3.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lastUpdateCombo = Gtk.ComboBox.NewText();
     this.lastUpdateCombo.AppendText(Mono.Unix.Catalog.GetString("On or before"));
     this.lastUpdateCombo.AppendText(Mono.Unix.Catalog.GetString("On or after"));
     this.lastUpdateCombo.Name   = "lastUpdateCombo";
     this.lastUpdateCombo.Active = 0;
     this.table1.Add(this.lastUpdateCombo);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.lastUpdateCombo]));
     w4.LeftAttach  = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions    = ((Gtk.AttachOptions)(4));
     w4.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lastUpdateDate             = new ocmgtk.DateWidget();
     this.lastUpdateDate.Events      = ((Gdk.EventMask)(256));
     this.lastUpdateDate.Name        = "lastUpdateDate";
     this.lastUpdateDate.IncludeTime = false;
     this.lastUpdateDate.Date        = new System.DateTime(0);
     this.table1.Add(this.lastUpdateDate);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.lastUpdateDate]));
     w5.LeftAttach  = ((uint)(2));
     w5.RightAttach = ((uint)(3));
     w5.XOptions    = ((Gtk.AttachOptions)(4));
     w5.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lUpdateDate               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Last update date:"));
     this.lUpdateDate.CanFocus      = true;
     this.lUpdateDate.Name          = "lUpdateDate";
     this.lUpdateDate.Active        = true;
     this.lUpdateDate.DrawIndicator = true;
     this.lUpdateDate.UseUnderline  = true;
     this.lUpdateDate.Group         = new GLib.SList(System.IntPtr.Zero);
     this.table1.Add(this.lUpdateDate);
     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.lUpdateDate]));
     w6.XOptions = ((Gtk.AttachOptions)(4));
     w6.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lUpdateWithin               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Last updated within:"));
     this.lUpdateWithin.CanFocus      = true;
     this.lUpdateWithin.Name          = "lUpdateWithin";
     this.lUpdateWithin.DrawIndicator = true;
     this.lUpdateWithin.UseUnderline  = true;
     this.lUpdateWithin.Group         = this.lUpdateDate.Group;
     this.table1.Add(this.lUpdateWithin);
     Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.lUpdateWithin]));
     w7.TopAttach    = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions     = ((Gtk.AttachOptions)(4));
     w7.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lupdatewithinEntry               = new Gtk.Entry();
     this.lupdatewithinEntry.Sensitive     = false;
     this.lupdatewithinEntry.CanFocus      = true;
     this.lupdatewithinEntry.Name          = "lupdatewithinEntry";
     this.lupdatewithinEntry.IsEditable    = true;
     this.lupdatewithinEntry.InvisibleChar = '•';
     this.table1.Add(this.lupdatewithinEntry);
     Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.lupdatewithinEntry]));
     w8.TopAttach    = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.LeftAttach   = ((uint)(1));
     w8.RightAttach  = ((uint)(2));
     w8.XOptions     = ((Gtk.AttachOptions)(4));
     w8.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.nupdatedWithinEntry               = new Gtk.Entry();
     this.nupdatedWithinEntry.Sensitive     = false;
     this.nupdatedWithinEntry.CanFocus      = true;
     this.nupdatedWithinEntry.Name          = "nupdatedWithinEntry";
     this.nupdatedWithinEntry.IsEditable    = true;
     this.nupdatedWithinEntry.InvisibleChar = '•';
     this.table1.Add(this.nupdatedWithinEntry);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.nupdatedWithinEntry]));
     w9.TopAttach    = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.LeftAttach   = ((uint)(1));
     w9.RightAttach  = ((uint)(2));
     w9.XOptions     = ((Gtk.AttachOptions)(4));
     w9.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.nUpdateWithin               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Not updated within:"));
     this.nUpdateWithin.CanFocus      = true;
     this.nUpdateWithin.Name          = "nUpdateWithin";
     this.nUpdateWithin.DrawIndicator = true;
     this.nUpdateWithin.UseUnderline  = true;
     this.nUpdateWithin.Group         = this.lUpdateDate.Group;
     this.table1.Add(this.nUpdateWithin);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.nUpdateWithin]));
     w10.TopAttach    = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.XOptions     = ((Gtk.AttachOptions)(4));
     w10.YOptions     = ((Gtk.AttachOptions)(4));
     this.GtkAlignment2.Add(this.table1);
     this.updateFrame.Add(this.GtkAlignment2);
     this.vbox3.Add(this.updateFrame);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox3[this.updateFrame]));
     w13.Position = 1;
     w13.Expand   = false;
     w13.Fill     = false;
     this.GtkAlignment.Add(this.vbox3);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel4           = new Gtk.Label();
     this.GtkLabel4.Name      = "GtkLabel4";
     this.GtkLabel4.LabelProp = Mono.Unix.Catalog.GetString("<b>Last Updated</b>");
     this.GtkLabel4.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel4;
     this.vbox2.Add(this.frame1);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1]));
     w16.Position = 0;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame2            = new Gtk.Frame();
     this.frame2.Name       = "frame2";
     this.frame2.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment1             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name        = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.table2               = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table2.Name          = "table2";
     this.table2.RowSpacing    = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.foundCheck               = new Gtk.CheckButton();
     this.foundCheck.CanFocus      = true;
     this.foundCheck.Name          = "foundCheck";
     this.foundCheck.Label         = Mono.Unix.Catalog.GetString("Last found by you");
     this.foundCheck.DrawIndicator = true;
     this.foundCheck.UseUnderline  = true;
     this.table2.Add(this.foundCheck);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table2[this.foundCheck]));
     w17.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.foundCombo = Gtk.ComboBox.NewText();
     this.foundCombo.AppendText(Mono.Unix.Catalog.GetString("on:"));
     this.foundCombo.AppendText(Mono.Unix.Catalog.GetString("on or after:"));
     this.foundCombo.AppendText(Mono.Unix.Catalog.GetString("on or before:"));
     this.foundCombo.Sensitive = false;
     this.foundCombo.Name      = "foundCombo";
     this.foundCombo.Active    = 0;
     this.table2.Add(this.foundCombo);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table2[this.foundCombo]));
     w18.LeftAttach  = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions    = ((Gtk.AttachOptions)(4));
     w18.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.foundDateEntry             = new ocmgtk.DateWidget();
     this.foundDateEntry.Sensitive   = false;
     this.foundDateEntry.Events      = ((Gdk.EventMask)(256));
     this.foundDateEntry.Name        = "foundDateEntry";
     this.foundDateEntry.IncludeTime = false;
     this.foundDateEntry.Date        = new System.DateTime(0);
     this.table2.Add(this.foundDateEntry);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table2[this.foundDateEntry]));
     w19.LeftAttach  = ((uint)(2));
     w19.RightAttach = ((uint)(3));
     w19.XOptions    = ((Gtk.AttachOptions)(4));
     w19.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lFoundAnyOneCheck               = new Gtk.CheckButton();
     this.lFoundAnyOneCheck.CanFocus      = true;
     this.lFoundAnyOneCheck.Name          = "lFoundAnyOneCheck";
     this.lFoundAnyOneCheck.Label         = Mono.Unix.Catalog.GetString("Last found by anyone");
     this.lFoundAnyOneCheck.DrawIndicator = true;
     this.lFoundAnyOneCheck.UseUnderline  = true;
     this.table2.Add(this.lFoundAnyOneCheck);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table2[this.lFoundAnyOneCheck]));
     w20.TopAttach    = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lFoundAnyoneCombo = Gtk.ComboBox.NewText();
     this.lFoundAnyoneCombo.AppendText(Mono.Unix.Catalog.GetString("On or before"));
     this.lFoundAnyoneCombo.AppendText(Mono.Unix.Catalog.GetString("On or after"));
     this.lFoundAnyoneCombo.Sensitive = false;
     this.lFoundAnyoneCombo.Name      = "lFoundAnyoneCombo";
     this.lFoundAnyoneCombo.Active    = 0;
     this.table2.Add(this.lFoundAnyoneCombo);
     Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.lFoundAnyoneCombo]));
     w21.TopAttach    = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.LeftAttach   = ((uint)(1));
     w21.RightAttach  = ((uint)(2));
     w21.XOptions     = ((Gtk.AttachOptions)(4));
     w21.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lFoundAnyoneDate             = new ocmgtk.DateWidget();
     this.lFoundAnyoneDate.Sensitive   = false;
     this.lFoundAnyoneDate.Events      = ((Gdk.EventMask)(256));
     this.lFoundAnyoneDate.Name        = "lFoundAnyoneDate";
     this.lFoundAnyoneDate.IncludeTime = false;
     this.lFoundAnyoneDate.Date        = new System.DateTime(0);
     this.table2.Add(this.lFoundAnyoneDate);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table2[this.lFoundAnyoneDate]));
     w22.TopAttach    = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach   = ((uint)(2));
     w22.RightAttach  = ((uint)(3));
     w22.XOptions     = ((Gtk.AttachOptions)(4));
     w22.YOptions     = ((Gtk.AttachOptions)(4));
     this.GtkAlignment1.Add(this.table2);
     this.frame2.Add(this.GtkAlignment1);
     this.GtkLabel7           = new Gtk.Label();
     this.GtkLabel7.Name      = "GtkLabel7";
     this.GtkLabel7.LabelProp = Mono.Unix.Catalog.GetString("<b>Last Found</b>");
     this.GtkLabel7.UseMarkup = true;
     this.frame2.LabelWidget  = this.GtkLabel7;
     this.vbox2.Add(this.frame2);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame2]));
     w25.Position = 1;
     w25.Expand   = false;
     w25.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.lastUpdateCheck.Toggled   += new System.EventHandler(this.OnUpdateToggle);
     this.nUpdateWithin.Toggled     += new System.EventHandler(this.OnNotWithinToggle);
     this.lUpdateWithin.Toggled     += new System.EventHandler(this.OnLWithinToggle);
     this.lUpdateDate.Toggled       += new System.EventHandler(this.OnLUpdateToggle);
     this.lFoundAnyOneCheck.Toggled += new System.EventHandler(this.OnLFoundAnyToggle);
     this.foundCheck.Toggled        += new System.EventHandler(this.OnFoundCheckToggle);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.MarkFoundDialog
     this.Name = "ocmgtk.MarkFoundDialog";
     this.Title = Mono.Unix.Catalog.GetString("Mark Found");
     this.TypeHint = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.Modal = true;
     this.BorderWidth = ((uint)(6));
     this.Resizable = false;
     this.AllowGrow = false;
     this.SkipPagerHint = true;
     this.SkipTaskbarHint = true;
     // Internal child ocmgtk.MarkFoundDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.table1 = new Gtk.Table(((uint)(2)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.foundDateWidget = new ocmgtk.DateWidget();
     this.foundDateWidget.Events = ((Gdk.EventMask)(256));
     this.foundDateWidget.Name = "foundDateWidget";
     this.foundDateWidget.IncludeTime = false;
     this.foundDateWidget.Date = new System.DateTime(0);
     this.table1.Add(this.foundDateWidget);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.foundDateWidget]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((Gtk.AttachOptions)(4));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.image12 = new Gtk.Image();
     this.image12.Name = "image12";
     this.image12.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-question", Gtk.IconSize.Dnd, 32);
     this.hbox2.Add(this.image12);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox2[this.image12]));
     w3.Position = 0;
     w3.Expand = false;
     w3.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.hbox2.Add(this.label1);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1]));
     w4.Position = 1;
     w4.Expand = false;
     w4.Fill = false;
     this.table1.Add(this.hbox2);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.hbox2]));
     w5.RightAttach = ((uint)(2));
     w5.XOptions = ((Gtk.AttachOptions)(0));
     w5.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.Xalign = 0F;
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("Found date:");
     this.table1.Add(this.label2);
     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label2]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.XOptions = ((Gtk.AttachOptions)(4));
     w6.YOptions = ((Gtk.AttachOptions)(4));
     w1.Add(this.table1);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(w1[this.table1]));
     w7.Position = 0;
     w7.Expand = false;
     w7.Fill = false;
     // Internal child ocmgtk.MarkFoundDialog.ActionArea
     Gtk.HButtonBox w8 = this.ActionArea;
     w8.Name = "dialog1_ActionArea";
     w8.Spacing = 10;
     w8.BorderWidth = ((uint)(5));
     w8.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new 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);
     Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonCancel]));
     w9.Expand = false;
     w9.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new Gtk.Button();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w10 = ((Gtk.ButtonBox.ButtonBoxChild)(w8[this.buttonOk]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 297;
     this.DefaultHeight = 153;
     this.buttonOk.HasDefault = true;
     this.Show();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.LoadGPSFieldNotes
     this.WidthRequest = 550;
     this.Name = "ocmgtk.LoadGPSFieldNotes";
     this.Title = Mono.Unix.Catalog.GetString("Receive Field Notes...");
     this.TypeHint = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.Modal = true;
     this.BorderWidth = ((uint)(6));
     this.Resizable = false;
     this.AllowGrow = false;
     this.SkipPagerHint = true;
     this.SkipTaskbarHint = true;
     // Internal child ocmgtk.LoadGPSFieldNotes.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.Spacing = 6;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.image38 = new Gtk.Image();
     this.image38.Name = "image38";
     this.image38.Yalign = 0F;
     this.image38.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Dialog, 48);
     this.hbox3.Add(this.image38);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox3[this.image38]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.logText = new Gtk.Label();
     this.logText.Name = "logText";
     this.logText.LabelProp = Mono.Unix.Catalog.GetString("The field notes file from your GPS will be scanned and OCM will automatically update your caches based on the field notes file. \n\nIf you wish to work with the comments entered in the field before logging your finds online, go to <b>View → Field Notes...</b>");
     this.logText.UseMarkup = true;
     this.logText.Wrap = true;
     this.logText.WidthChars = 60;
     this.hbox3.Add(this.logText);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox3[this.logText]));
     w3.Position = 1;
     w3.Expand = false;
     w3.Fill = false;
     w1.Add(this.hbox3);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox3]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hseparator3 = new Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     w1.Add(this.hseparator3);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.hseparator3]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox5 = new Gtk.HBox();
     this.hbox5.Name = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label1 = new Gtk.Label();
     this.label1.Name = "label1";
     this.label1.Xalign = 0F;
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("<b>Last field notes scan:</b>");
     this.label1.UseMarkup = true;
     this.hbox5.Add(this.label1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox5[this.label1]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.lastScan = new Gtk.Label();
     this.lastScan.Name = "lastScan";
     this.lastScan.LabelProp = Mono.Unix.Catalog.GetString("label3");
     this.hbox5.Add(this.lastScan);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox5[this.lastScan]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     w1.Add(this.hbox5);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.hbox5]));
     w8.Position = 2;
     w8.Expand = false;
     w8.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox6 = new Gtk.HBox();
     this.hbox6.Name = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label2 = new Gtk.Label();
     this.label2.Name = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("<b>Last field notes scan from this device:</b>");
     this.label2.UseMarkup = true;
     this.hbox6.Add(this.label2);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox6[this.label2]));
     w9.Position = 0;
     w9.Expand = false;
     w9.Fill = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.lastScanTD = new Gtk.Label();
     this.lastScanTD.Name = "lastScanTD";
     this.lastScanTD.LabelProp = Mono.Unix.Catalog.GetString("label4");
     this.hbox6.Add(this.lastScanTD);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox6[this.lastScanTD]));
     w10.Position = 1;
     w10.Expand = false;
     w10.Fill = false;
     w1.Add(this.hbox6);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(w1[this.hbox6]));
     w11.Position = 3;
     w11.Expand = false;
     w11.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hseparator1 = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     w1.Add(this.hseparator1);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.hseparator1]));
     w12.Position = 4;
     w12.Expand = false;
     w12.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox4 = new Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.checkIgnoreLogs = new Gtk.CheckButton();
     this.checkIgnoreLogs.CanFocus = true;
     this.checkIgnoreLogs.Name = "checkIgnoreLogs";
     this.checkIgnoreLogs.Label = Mono.Unix.Catalog.GetString("Ignore logs before:");
     this.checkIgnoreLogs.DrawIndicator = true;
     this.checkIgnoreLogs.UseUnderline = true;
     this.hbox4.Add(this.checkIgnoreLogs);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox4[this.checkIgnoreLogs]));
     w13.Position = 0;
     w13.Expand = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.ignoreDate = new ocmgtk.DateWidget();
     this.ignoreDate.Events = ((Gdk.EventMask)(256));
     this.ignoreDate.Name = "ignoreDate";
     this.ignoreDate.IncludeTime = false;
     this.ignoreDate.Date = new System.DateTime(0);
     this.hbox4.Add(this.ignoreDate);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox4[this.ignoreDate]));
     w14.Position = 1;
     w14.Expand = false;
     w14.Fill = false;
     w1.Add(this.hbox4);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.hbox4]));
     w15.Position = 5;
     w15.Expand = false;
     w15.Fill = false;
     // Internal child ocmgtk.LoadGPSFieldNotes.ActionArea
     Gtk.HButtonBox w16 = this.ActionArea;
     w16.Name = "dialog1_ActionArea";
     w16.Spacing = 10;
     w16.BorderWidth = ((uint)(5));
     w16.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new 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);
     Gtk.ButtonBox.ButtonBoxChild w17 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonCancel]));
     w17.Expand = false;
     w17.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new Gtk.Button();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonOk]));
     w18.Position = 1;
     w18.Expand = false;
     w18.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 562;
     this.DefaultHeight = 285;
     this.buttonOk.HasDefault = true;
     this.Show();
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.OfflineLogDialog
     this.WidthRequest = 450;
     this.HeightRequest = 350;
     this.Name = "ocmgtk.OfflineLogDialog";
     this.Title = Mono.Unix.Catalog.GetString("Log");
     this.WindowPosition = ((Gtk.WindowPosition)(4));
     this.BorderWidth = ((uint)(6));
     // Internal child ocmgtk.OfflineLogDialog.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name = "dialog1_VBox";
     w1.Spacing = 6;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.cacheIcon = new Gtk.Image();
     this.cacheIcon.Name = "cacheIcon";
     this.hbox2.Add(this.cacheIcon);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox2[this.cacheIcon]));
     w2.Position = 0;
     w2.Expand = false;
     w2.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.CacheLabel = new Gtk.Label();
     this.CacheLabel.Name = "CacheLabel";
     this.CacheLabel.Xalign = 0F;
     this.CacheLabel.LabelProp = "<cacheName>";
     this.hbox2.Add(this.CacheLabel);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox2[this.CacheLabel]));
     w3.Position = 1;
     w1.Add(this.hbox2);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox2]));
     w4.Position = 0;
     w4.Expand = false;
     w4.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hseparator2 = new Gtk.HSeparator();
     this.hseparator2.Name = "hseparator2";
     w1.Add(this.hseparator2);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.hseparator2]));
     w5.Position = 1;
     w5.Expand = false;
     w5.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("Log Date:");
     this.hbox3.Add(this.label3);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox3[this.label3]));
     w6.Position = 0;
     w6.Expand = false;
     w6.Fill = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.logDateWidget = new ocmgtk.DateWidget();
     this.logDateWidget.Events = ((Gdk.EventMask)(256));
     this.logDateWidget.Name = "logDateWidget";
     this.logDateWidget.IncludeTime = false;
     this.logDateWidget.Date = new System.DateTime(0);
     this.hbox3.Add(this.logDateWidget);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox3[this.logDateWidget]));
     w7.Position = 1;
     w7.Expand = false;
     w7.Fill = false;
     w1.Add(this.hbox3);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.hbox3]));
     w8.Position = 2;
     w8.Expand = false;
     w8.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox4 = new Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("Log Type:");
     this.hbox4.Add(this.label4);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox4[this.label4]));
     w9.Position = 0;
     w9.Expand = false;
     w9.Fill = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.logChoice = Gtk.ComboBox.NewText();
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Found it"));
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Didn't Find it"));
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Write Note"));
     this.logChoice.AppendText(Mono.Unix.Catalog.GetString("Needs Maintenance"));
     this.logChoice.Name = "logChoice";
     this.logChoice.Active = 0;
     this.hbox4.Add(this.logChoice);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox4[this.logChoice]));
     w10.Position = 1;
     w1.Add(this.hbox4);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(w1[this.hbox4]));
     w11.Position = 3;
     w11.Expand = false;
     w11.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hseparator1 = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     w1.Add(this.hseparator1);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.hseparator1]));
     w12.Position = 4;
     w12.Expand = false;
     w12.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.ftfCheck = new Gtk.CheckButton();
     this.ftfCheck.CanFocus = true;
     this.ftfCheck.Name = "ftfCheck";
     this.ftfCheck.Label = Mono.Unix.Catalog.GetString("First To Find");
     this.ftfCheck.DrawIndicator = true;
     this.ftfCheck.UseUnderline = true;
     w1.Add(this.ftfCheck);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(w1[this.ftfCheck]));
     w13.Position = 5;
     w13.Expand = false;
     w13.Fill = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.GtkScrolledWindow = new Gtk.ScrolledWindow();
     this.GtkScrolledWindow.Name = "GtkScrolledWindow";
     this.GtkScrolledWindow.ShadowType = ((Gtk.ShadowType)(1));
     // Container child GtkScrolledWindow.Gtk.Container+ContainerChild
     this.logEntry = new Gtk.TextView();
     this.logEntry.CanFocus = true;
     this.logEntry.Name = "logEntry";
     this.GtkScrolledWindow.Add(this.logEntry);
     w1.Add(this.GtkScrolledWindow);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.GtkScrolledWindow]));
     w15.Position = 6;
     // Internal child ocmgtk.OfflineLogDialog.ActionArea
     Gtk.HButtonBox w16 = this.ActionArea;
     w16.Name = "dialog1_ActionArea";
     w16.Spacing = 10;
     w16.BorderWidth = ((uint)(5));
     w16.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel = new 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);
     Gtk.ButtonBox.ButtonBoxChild w17 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonCancel]));
     w17.Expand = false;
     w17.Fill = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk = new Gtk.Button();
     this.buttonOk.CanDefault = true;
     this.buttonOk.CanFocus = true;
     this.buttonOk.Name = "buttonOk";
     this.buttonOk.UseStock = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonOk]));
     w18.Position = 1;
     w18.Expand = false;
     w18.Fill = false;
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.DefaultWidth = 462;
     this.DefaultHeight = 377;
     this.Show();
     this.logChoice.Changed += new System.EventHandler(this.OnComboChanged);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.OCMQueryPage3
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.OCMQueryPage3";
     // Container child ocmgtk.OCMQueryPage3.Gtk.Container+ContainerChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame6 = new Gtk.Frame();
     this.frame6.Name = "frame6";
     this.frame6.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame6.Gtk.Container+ContainerChild
     this.GtkAlignment3 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment3.Name = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding = ((uint)(12));
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     this.table3 = new Gtk.Table(((uint)(3)), ((uint)(3)), false);
     this.table3.Name = "table3";
     this.table3.RowSpacing = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.hiddenCheck = new Gtk.CheckButton();
     this.hiddenCheck.CanFocus = true;
     this.hiddenCheck.Name = "hiddenCheck";
     this.hiddenCheck.Label = Mono.Unix.Catalog.GetString("Hidden:");
     this.hiddenCheck.DrawIndicator = true;
     this.hiddenCheck.UseUnderline = true;
     this.table3.Add(this.hiddenCheck);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table3[this.hiddenCheck]));
     w1.TopAttach = ((uint)(2));
     w1.BottomAttach = ((uint)(3));
     w1.XOptions = ((Gtk.AttachOptions)(4));
     w1.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hiddenCombo = Gtk.ComboBox.NewText();
     this.hiddenCombo.AppendText(Mono.Unix.Catalog.GetString("On or before"));
     this.hiddenCombo.AppendText(Mono.Unix.Catalog.GetString("On or after"));
     this.hiddenCombo.Sensitive = false;
     this.hiddenCombo.Name = "hiddenCombo";
     this.hiddenCombo.Active = 0;
     this.table3.Add(this.hiddenCombo);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table3[this.hiddenCombo]));
     w2.TopAttach = ((uint)(2));
     w2.BottomAttach = ((uint)(3));
     w2.LeftAttach = ((uint)(1));
     w2.RightAttach = ((uint)(2));
     w2.XOptions = ((Gtk.AttachOptions)(4));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hiddenDateEntry = new ocmgtk.DateWidget();
     this.hiddenDateEntry.Sensitive = false;
     this.hiddenDateEntry.Events = ((Gdk.EventMask)(256));
     this.hiddenDateEntry.Name = "hiddenDateEntry";
     this.hiddenDateEntry.IncludeTime = false;
     this.hiddenDateEntry.Date = new System.DateTime(0);
     this.table3.Add(this.hiddenDateEntry);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table3[this.hiddenDateEntry]));
     w3.TopAttach = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach = ((uint)(2));
     w3.RightAttach = ((uint)(3));
     w3.XOptions = ((Gtk.AttachOptions)(4));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.placedAnyRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Placed by anyone"));
     this.placedAnyRadio.CanFocus = true;
     this.placedAnyRadio.Name = "placedAnyRadio";
     this.placedAnyRadio.Active = true;
     this.placedAnyRadio.DrawIndicator = true;
     this.placedAnyRadio.UseUnderline = true;
     this.placedAnyRadio.Group = new GLib.SList(System.IntPtr.Zero);
     this.table3.Add(this.placedAnyRadio);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table3[this.placedAnyRadio]));
     w4.XOptions = ((Gtk.AttachOptions)(4));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.placedByRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Placed by:"));
     this.placedByRadio.CanFocus = true;
     this.placedByRadio.Name = "placedByRadio";
     this.placedByRadio.DrawIndicator = true;
     this.placedByRadio.UseUnderline = true;
     this.placedByRadio.Group = this.placedAnyRadio.Group;
     this.table3.Add(this.placedByRadio);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table3[this.placedByRadio]));
     w5.TopAttach = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions = ((Gtk.AttachOptions)(4));
     w5.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.placedEntry = new Gtk.Entry();
     this.placedEntry.Sensitive = false;
     this.placedEntry.CanFocus = true;
     this.placedEntry.Name = "placedEntry";
     this.placedEntry.IsEditable = true;
     this.placedEntry.InvisibleChar = '•';
     this.table3.Add(this.placedEntry);
     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table3[this.placedEntry]));
     w6.TopAttach = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach = ((uint)(1));
     w6.RightAttach = ((uint)(3));
     w6.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment3.Add(this.table3);
     this.frame6.Add(this.GtkAlignment3);
     this.GtkLabel14 = new Gtk.Label();
     this.GtkLabel14.Name = "GtkLabel14";
     this.GtkLabel14.LabelProp = Mono.Unix.Catalog.GetString("<b>Cache Placement</b>");
     this.GtkLabel14.UseMarkup = true;
     this.frame6.LabelWidget = this.GtkLabel14;
     this.vbox2.Add(this.frame6);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame6]));
     w9.Position = 0;
     w9.Expand = false;
     w9.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1 = new Gtk.Frame();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.table1 = new Gtk.Table(((uint)(4)), ((uint)(2)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.countryCheck = new Gtk.CheckButton();
     this.countryCheck.CanFocus = true;
     this.countryCheck.Name = "countryCheck";
     this.countryCheck.Label = Mono.Unix.Catalog.GetString("Country:");
     this.countryCheck.DrawIndicator = true;
     this.countryCheck.UseUnderline = true;
     this.table1.Add(this.countryCheck);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.countryCheck]));
     w10.XOptions = ((Gtk.AttachOptions)(4));
     w10.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.countryEntry = new Gtk.Entry();
     this.countryEntry.Sensitive = false;
     this.countryEntry.CanFocus = true;
     this.countryEntry.Name = "countryEntry";
     this.countryEntry.IsEditable = true;
     this.countryEntry.InvisibleChar = '•';
     this.table1.Add(this.countryEntry);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.countryEntry]));
     w11.LeftAttach = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.distCheck = new Gtk.CheckButton();
     this.distCheck.CanFocus = true;
     this.distCheck.Name = "distCheck";
     this.distCheck.Label = Mono.Unix.Catalog.GetString("Distance is:");
     this.distCheck.DrawIndicator = true;
     this.distCheck.UseUnderline = true;
     this.table1.Add(this.distCheck);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.distCheck]));
     w12.TopAttach = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions = ((Gtk.AttachOptions)(4));
     w12.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.distFrame = new Gtk.Frame();
     this.distFrame.Sensitive = false;
     this.distFrame.Name = "distFrame";
     this.distFrame.ShadowType = ((Gtk.ShadowType)(1));
     // Container child distFrame.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.vbox3 = new Gtk.VBox();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     this.vbox3.BorderWidth = ((uint)(6));
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox2 = new Gtk.HBox();
     this.hbox2.Name = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.distCombo = Gtk.ComboBox.NewText();
     this.distCombo.AppendText(Mono.Unix.Catalog.GetString("Less than"));
     this.distCombo.AppendText(Mono.Unix.Catalog.GetString("Greater than"));
     this.distCombo.AppendText(Mono.Unix.Catalog.GetString("Equal to"));
     this.distCombo.Name = "distCombo";
     this.distCombo.Active = 0;
     this.hbox2.Add(this.distCombo);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox2[this.distCombo]));
     w13.Position = 0;
     w13.Expand = false;
     w13.Fill = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.distEntry = new Gtk.Entry();
     this.distEntry.CanFocus = true;
     this.distEntry.Name = "distEntry";
     this.distEntry.IsEditable = true;
     this.distEntry.InvisibleChar = '•';
     this.hbox2.Add(this.distEntry);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox2[this.distEntry]));
     w14.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.distMeasureLabel = new Gtk.Label();
     this.distMeasureLabel.Name = "distMeasureLabel";
     this.distMeasureLabel.LabelProp = Mono.Unix.Catalog.GetString("km");
     this.hbox2.Add(this.distMeasureLabel);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox2[this.distMeasureLabel]));
     w15.Position = 2;
     w15.Expand = false;
     this.vbox3.Add(this.hbox2);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.radiobutton1 = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("From current centre point"));
     this.radiobutton1.CanFocus = true;
     this.radiobutton1.Name = "radiobutton1";
     this.radiobutton1.Active = true;
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline = true;
     this.radiobutton1.Group = new GLib.SList(System.IntPtr.Zero);
     this.vbox3.Add(this.radiobutton1);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox3[this.radiobutton1]));
     w17.Position = 1;
     w17.Expand = false;
     w17.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3 = new Gtk.HBox();
     this.hbox3.Name = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.locRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("From location:"));
     this.locRadio.CanFocus = true;
     this.locRadio.Name = "locRadio";
     this.locRadio.DrawIndicator = true;
     this.locRadio.UseUnderline = true;
     this.locRadio.Group = this.radiobutton1.Group;
     this.hbox3.Add(this.locRadio);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox3[this.locRadio]));
     w18.Position = 0;
     w18.Expand = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.locationCombo = Gtk.ComboBox.NewText();
     this.locationCombo.Sensitive = false;
     this.locationCombo.Name = "locationCombo";
     this.hbox3.Add(this.locationCombo);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox3[this.locationCombo]));
     w19.Position = 1;
     w19.Expand = false;
     w19.Fill = false;
     this.vbox3.Add(this.hbox3);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
     w20.Position = 2;
     w20.Expand = false;
     w20.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4 = new Gtk.HBox();
     this.hbox4.Name = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.posRadio = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("From position:"));
     this.posRadio.CanFocus = true;
     this.posRadio.Name = "posRadio";
     this.posRadio.DrawIndicator = true;
     this.posRadio.UseUnderline = true;
     this.posRadio.Group = this.radiobutton1.Group;
     this.hbox4.Add(this.posRadio);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox4[this.posRadio]));
     w21.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.posLocation = new ocmgtk.LocationWidget();
     this.posLocation.Sensitive = false;
     this.posLocation.Events = ((Gdk.EventMask)(256));
     this.posLocation.Name = "posLocation";
     this.posLocation.Latitude = 0;
     this.posLocation.Longitude = 0;
     this.hbox4.Add(this.posLocation);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox4[this.posLocation]));
     w22.Position = 1;
     w22.Expand = false;
     w22.Fill = false;
     this.vbox3.Add(this.hbox4);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox4]));
     w23.Position = 3;
     w23.Expand = false;
     w23.Fill = false;
     this.GtkAlignment1.Add(this.vbox3);
     this.distFrame.Add(this.GtkAlignment1);
     this.table1.Add(this.distFrame);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.distFrame]));
     w26.TopAttach = ((uint)(3));
     w26.BottomAttach = ((uint)(4));
     w26.RightAttach = ((uint)(2));
     w26.XOptions = ((Gtk.AttachOptions)(4));
     w26.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.stateCheck = new Gtk.CheckButton();
     this.stateCheck.CanFocus = true;
     this.stateCheck.Name = "stateCheck";
     this.stateCheck.Label = Mono.Unix.Catalog.GetString("State or province:");
     this.stateCheck.DrawIndicator = true;
     this.stateCheck.UseUnderline = true;
     this.table1.Add(this.stateCheck);
     Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table1[this.stateCheck]));
     w27.TopAttach = ((uint)(1));
     w27.BottomAttach = ((uint)(2));
     w27.XOptions = ((Gtk.AttachOptions)(4));
     w27.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.stateEntry = new Gtk.Entry();
     this.stateEntry.Sensitive = false;
     this.stateEntry.CanFocus = true;
     this.stateEntry.Name = "stateEntry";
     this.stateEntry.IsEditable = true;
     this.stateEntry.InvisibleChar = '•';
     this.table1.Add(this.stateEntry);
     Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table1[this.stateEntry]));
     w28.TopAttach = ((uint)(1));
     w28.BottomAttach = ((uint)(2));
     w28.LeftAttach = ((uint)(1));
     w28.RightAttach = ((uint)(2));
     w28.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment.Add(this.table1);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel8 = new Gtk.Label();
     this.GtkLabel8.Name = "GtkLabel8";
     this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>Cache Location</b>");
     this.GtkLabel8.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel8;
     this.vbox2.Add(this.frame1);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1]));
     w31.Position = 1;
     w31.Expand = false;
     w31.Fill = false;
     this.Add(this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
     this.placedByRadio.Toggled += new System.EventHandler(this.OnPlacedByToggle);
     this.hiddenCheck.Toggled += new System.EventHandler(this.OnHiddenToggle);
     this.stateCheck.Toggled += new System.EventHandler(this.OnStateCheckToggle);
     this.locRadio.Toggled += new System.EventHandler(this.OnLocationToggle);
     this.posRadio.Toggled += new System.EventHandler(this.OnPositionToggle);
     this.distCheck.Toggled += new System.EventHandler(this.OnDistanceToggle);
     this.countryCheck.Toggled += new System.EventHandler(this.OnCountryToggle);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.OCMQueryPage6
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.OCMQueryPage6";
     // Container child ocmgtk.OCMQueryPage6.Gtk.Container+ContainerChild
     this.vbox2 = new Gtk.VBox();
     this.vbox2.Name = "vbox2";
     this.vbox2.Spacing = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1 = new Gtk.Frame();
     this.frame1.Name = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.vbox3 = new Gtk.VBox();
     this.vbox3.Name = "vbox3";
     this.vbox3.Spacing = 6;
     // Container child vbox3.Gtk.Box+BoxChild
     this.lastUpdateCheck = new Gtk.CheckButton();
     this.lastUpdateCheck.CanFocus = true;
     this.lastUpdateCheck.Name = "lastUpdateCheck";
     this.lastUpdateCheck.Label = Mono.Unix.Catalog.GetString("Condition matches:");
     this.lastUpdateCheck.DrawIndicator = true;
     this.lastUpdateCheck.UseUnderline = true;
     this.vbox3.Add(this.lastUpdateCheck);
     Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.vbox3[this.lastUpdateCheck]));
     w1.Position = 0;
     w1.Expand = false;
     w1.Fill = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.updateFrame = new Gtk.Frame();
     this.updateFrame.Sensitive = false;
     this.updateFrame.Name = "updateFrame";
     this.updateFrame.ShadowType = ((Gtk.ShadowType)(1));
     // Container child updateFrame.Gtk.Container+ContainerChild
     this.GtkAlignment2 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment2.Name = "GtkAlignment2";
     this.GtkAlignment2.LeftPadding = ((uint)(12));
     // Container child GtkAlignment2.Gtk.Container+ContainerChild
     this.table1 = new Gtk.Table(((uint)(3)), ((uint)(3)), false);
     this.table1.Name = "table1";
     this.table1.RowSpacing = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     this.table1.BorderWidth = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.label3 = new Gtk.Label();
     this.label3.Name = "label3";
     this.label3.Xalign = 0F;
     this.label3.LabelProp = Mono.Unix.Catalog.GetString("days");
     this.table1.Add(this.label3);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table1[this.label3]));
     w2.TopAttach = ((uint)(1));
     w2.BottomAttach = ((uint)(2));
     w2.LeftAttach = ((uint)(2));
     w2.RightAttach = ((uint)(3));
     w2.XOptions = ((Gtk.AttachOptions)(4));
     w2.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.label4 = new Gtk.Label();
     this.label4.Name = "label4";
     this.label4.Xalign = 0F;
     this.label4.LabelProp = Mono.Unix.Catalog.GetString("days");
     this.table1.Add(this.label4);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table1[this.label4]));
     w3.TopAttach = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach = ((uint)(2));
     w3.RightAttach = ((uint)(3));
     w3.XOptions = ((Gtk.AttachOptions)(4));
     w3.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lastUpdateCombo = Gtk.ComboBox.NewText();
     this.lastUpdateCombo.AppendText(Mono.Unix.Catalog.GetString("On or before"));
     this.lastUpdateCombo.AppendText(Mono.Unix.Catalog.GetString("On or after"));
     this.lastUpdateCombo.Name = "lastUpdateCombo";
     this.lastUpdateCombo.Active = 0;
     this.table1.Add(this.lastUpdateCombo);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table1[this.lastUpdateCombo]));
     w4.LeftAttach = ((uint)(1));
     w4.RightAttach = ((uint)(2));
     w4.XOptions = ((Gtk.AttachOptions)(4));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lastUpdateDate = new ocmgtk.DateWidget();
     this.lastUpdateDate.Events = ((Gdk.EventMask)(256));
     this.lastUpdateDate.Name = "lastUpdateDate";
     this.lastUpdateDate.IncludeTime = false;
     this.lastUpdateDate.Date = new System.DateTime(0);
     this.table1.Add(this.lastUpdateDate);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table1[this.lastUpdateDate]));
     w5.LeftAttach = ((uint)(2));
     w5.RightAttach = ((uint)(3));
     w5.XOptions = ((Gtk.AttachOptions)(4));
     w5.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lUpdateDate = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Last update date:"));
     this.lUpdateDate.CanFocus = true;
     this.lUpdateDate.Name = "lUpdateDate";
     this.lUpdateDate.Active = true;
     this.lUpdateDate.DrawIndicator = true;
     this.lUpdateDate.UseUnderline = true;
     this.lUpdateDate.Group = new GLib.SList(System.IntPtr.Zero);
     this.table1.Add(this.lUpdateDate);
     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.lUpdateDate]));
     w6.XOptions = ((Gtk.AttachOptions)(4));
     w6.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lUpdateWithin = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Last updated within:"));
     this.lUpdateWithin.CanFocus = true;
     this.lUpdateWithin.Name = "lUpdateWithin";
     this.lUpdateWithin.DrawIndicator = true;
     this.lUpdateWithin.UseUnderline = true;
     this.lUpdateWithin.Group = this.lUpdateDate.Group;
     this.table1.Add(this.lUpdateWithin);
     Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.lUpdateWithin]));
     w7.TopAttach = ((uint)(1));
     w7.BottomAttach = ((uint)(2));
     w7.XOptions = ((Gtk.AttachOptions)(4));
     w7.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.lupdatewithinEntry = new Gtk.Entry();
     this.lupdatewithinEntry.Sensitive = false;
     this.lupdatewithinEntry.CanFocus = true;
     this.lupdatewithinEntry.Name = "lupdatewithinEntry";
     this.lupdatewithinEntry.IsEditable = true;
     this.lupdatewithinEntry.InvisibleChar = '•';
     this.table1.Add(this.lupdatewithinEntry);
     Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.lupdatewithinEntry]));
     w8.TopAttach = ((uint)(1));
     w8.BottomAttach = ((uint)(2));
     w8.LeftAttach = ((uint)(1));
     w8.RightAttach = ((uint)(2));
     w8.XOptions = ((Gtk.AttachOptions)(4));
     w8.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.nupdatedWithinEntry = new Gtk.Entry();
     this.nupdatedWithinEntry.Sensitive = false;
     this.nupdatedWithinEntry.CanFocus = true;
     this.nupdatedWithinEntry.Name = "nupdatedWithinEntry";
     this.nupdatedWithinEntry.IsEditable = true;
     this.nupdatedWithinEntry.InvisibleChar = '•';
     this.table1.Add(this.nupdatedWithinEntry);
     Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table1[this.nupdatedWithinEntry]));
     w9.TopAttach = ((uint)(2));
     w9.BottomAttach = ((uint)(3));
     w9.LeftAttach = ((uint)(1));
     w9.RightAttach = ((uint)(2));
     w9.XOptions = ((Gtk.AttachOptions)(4));
     w9.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.nUpdateWithin = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Not updated within:"));
     this.nUpdateWithin.CanFocus = true;
     this.nUpdateWithin.Name = "nUpdateWithin";
     this.nUpdateWithin.DrawIndicator = true;
     this.nUpdateWithin.UseUnderline = true;
     this.nUpdateWithin.Group = this.lUpdateDate.Group;
     this.table1.Add(this.nUpdateWithin);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.nUpdateWithin]));
     w10.TopAttach = ((uint)(2));
     w10.BottomAttach = ((uint)(3));
     w10.XOptions = ((Gtk.AttachOptions)(4));
     w10.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment2.Add(this.table1);
     this.updateFrame.Add(this.GtkAlignment2);
     this.vbox3.Add(this.updateFrame);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox3[this.updateFrame]));
     w13.Position = 1;
     w13.Expand = false;
     w13.Fill = false;
     this.GtkAlignment.Add(this.vbox3);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel4 = new Gtk.Label();
     this.GtkLabel4.Name = "GtkLabel4";
     this.GtkLabel4.LabelProp = Mono.Unix.Catalog.GetString("<b>Last Updated</b>");
     this.GtkLabel4.UseMarkup = true;
     this.frame1.LabelWidget = this.GtkLabel4;
     this.vbox2.Add(this.frame1);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1]));
     w16.Position = 0;
     w16.Expand = false;
     w16.Fill = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame2 = new Gtk.Frame();
     this.frame2.Name = "frame2";
     this.frame2.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame2.Gtk.Container+ContainerChild
     this.GtkAlignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.table2 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
     this.table2.Name = "table2";
     this.table2.RowSpacing = ((uint)(6));
     this.table2.ColumnSpacing = ((uint)(6));
     // Container child table2.Gtk.Table+TableChild
     this.foundCheck = new Gtk.CheckButton();
     this.foundCheck.CanFocus = true;
     this.foundCheck.Name = "foundCheck";
     this.foundCheck.Label = Mono.Unix.Catalog.GetString("Last found by you");
     this.foundCheck.DrawIndicator = true;
     this.foundCheck.UseUnderline = true;
     this.table2.Add(this.foundCheck);
     Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table2[this.foundCheck]));
     w17.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.foundCombo = Gtk.ComboBox.NewText();
     this.foundCombo.AppendText(Mono.Unix.Catalog.GetString("on:"));
     this.foundCombo.AppendText(Mono.Unix.Catalog.GetString("on or after:"));
     this.foundCombo.AppendText(Mono.Unix.Catalog.GetString("on or before:"));
     this.foundCombo.Sensitive = false;
     this.foundCombo.Name = "foundCombo";
     this.foundCombo.Active = 0;
     this.table2.Add(this.foundCombo);
     Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table2[this.foundCombo]));
     w18.LeftAttach = ((uint)(1));
     w18.RightAttach = ((uint)(2));
     w18.XOptions = ((Gtk.AttachOptions)(4));
     w18.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.foundDateEntry = new ocmgtk.DateWidget();
     this.foundDateEntry.Sensitive = false;
     this.foundDateEntry.Events = ((Gdk.EventMask)(256));
     this.foundDateEntry.Name = "foundDateEntry";
     this.foundDateEntry.IncludeTime = false;
     this.foundDateEntry.Date = new System.DateTime(0);
     this.table2.Add(this.foundDateEntry);
     Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table2[this.foundDateEntry]));
     w19.LeftAttach = ((uint)(2));
     w19.RightAttach = ((uint)(3));
     w19.XOptions = ((Gtk.AttachOptions)(4));
     w19.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lFoundAnyOneCheck = new Gtk.CheckButton();
     this.lFoundAnyOneCheck.CanFocus = true;
     this.lFoundAnyOneCheck.Name = "lFoundAnyOneCheck";
     this.lFoundAnyOneCheck.Label = Mono.Unix.Catalog.GetString("Last found by anyone");
     this.lFoundAnyOneCheck.DrawIndicator = true;
     this.lFoundAnyOneCheck.UseUnderline = true;
     this.table2.Add(this.lFoundAnyOneCheck);
     Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table2[this.lFoundAnyOneCheck]));
     w20.TopAttach = ((uint)(1));
     w20.BottomAttach = ((uint)(2));
     w20.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lFoundAnyoneCombo = Gtk.ComboBox.NewText();
     this.lFoundAnyoneCombo.AppendText(Mono.Unix.Catalog.GetString("On or before"));
     this.lFoundAnyoneCombo.AppendText(Mono.Unix.Catalog.GetString("On or after"));
     this.lFoundAnyoneCombo.Sensitive = false;
     this.lFoundAnyoneCombo.Name = "lFoundAnyoneCombo";
     this.lFoundAnyoneCombo.Active = 0;
     this.table2.Add(this.lFoundAnyoneCombo);
     Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table2[this.lFoundAnyoneCombo]));
     w21.TopAttach = ((uint)(1));
     w21.BottomAttach = ((uint)(2));
     w21.LeftAttach = ((uint)(1));
     w21.RightAttach = ((uint)(2));
     w21.XOptions = ((Gtk.AttachOptions)(4));
     w21.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table2.Gtk.Table+TableChild
     this.lFoundAnyoneDate = new ocmgtk.DateWidget();
     this.lFoundAnyoneDate.Sensitive = false;
     this.lFoundAnyoneDate.Events = ((Gdk.EventMask)(256));
     this.lFoundAnyoneDate.Name = "lFoundAnyoneDate";
     this.lFoundAnyoneDate.IncludeTime = false;
     this.lFoundAnyoneDate.Date = new System.DateTime(0);
     this.table2.Add(this.lFoundAnyoneDate);
     Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table2[this.lFoundAnyoneDate]));
     w22.TopAttach = ((uint)(1));
     w22.BottomAttach = ((uint)(2));
     w22.LeftAttach = ((uint)(2));
     w22.RightAttach = ((uint)(3));
     w22.XOptions = ((Gtk.AttachOptions)(4));
     w22.YOptions = ((Gtk.AttachOptions)(4));
     this.GtkAlignment1.Add(this.table2);
     this.frame2.Add(this.GtkAlignment1);
     this.GtkLabel7 = new Gtk.Label();
     this.GtkLabel7.Name = "GtkLabel7";
     this.GtkLabel7.LabelProp = Mono.Unix.Catalog.GetString("<b>Last Found</b>");
     this.GtkLabel7.UseMarkup = true;
     this.frame2.LabelWidget = this.GtkLabel7;
     this.vbox2.Add(this.frame2);
     Gtk.Box.BoxChild w25 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame2]));
     w25.Position = 1;
     w25.Expand = false;
     w25.Fill = false;
     this.Add(this.vbox2);
     if ((this.Child != null)) {
         this.Child.ShowAll();
     }
     this.Hide();
     this.lastUpdateCheck.Toggled += new System.EventHandler(this.OnUpdateToggle);
     this.nUpdateWithin.Toggled += new System.EventHandler(this.OnNotWithinToggle);
     this.lUpdateWithin.Toggled += new System.EventHandler(this.OnLWithinToggle);
     this.lUpdateDate.Toggled += new System.EventHandler(this.OnLUpdateToggle);
     this.lFoundAnyOneCheck.Toggled += new System.EventHandler(this.OnLFoundAnyToggle);
     this.foundCheck.Toggled += new System.EventHandler(this.OnFoundCheckToggle);
 }
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.LoadGPSFieldNotes
     this.WidthRequest    = 550;
     this.Name            = "ocmgtk.LoadGPSFieldNotes";
     this.Title           = Mono.Unix.Catalog.GetString("Receive Field Notes...");
     this.TypeHint        = ((Gdk.WindowTypeHint)(1));
     this.WindowPosition  = ((Gtk.WindowPosition)(4));
     this.Modal           = true;
     this.BorderWidth     = ((uint)(6));
     this.Resizable       = false;
     this.AllowGrow       = false;
     this.SkipPagerHint   = true;
     this.SkipTaskbarHint = true;
     // Internal child ocmgtk.LoadGPSFieldNotes.VBox
     Gtk.VBox w1 = this.VBox;
     w1.Name        = "dialog1_VBox";
     w1.Spacing     = 6;
     w1.BorderWidth = ((uint)(2));
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox3         = new Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.image38        = new Gtk.Image();
     this.image38.Name   = "image38";
     this.image38.Yalign = 0F;
     this.image38.Pixbuf = Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", Gtk.IconSize.Dialog, 48);
     this.hbox3.Add(this.image38);
     Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox3[this.image38]));
     w2.Position = 0;
     w2.Expand   = false;
     w2.Fill     = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.logText            = new Gtk.Label();
     this.logText.Name       = "logText";
     this.logText.LabelProp  = Mono.Unix.Catalog.GetString("The field notes file from your GPS will be scanned and OCM will automatically update your caches based on the field notes file. \n\nIf you wish to work with the comments entered in the field before logging your finds online, go to <b>View → Field Notes...</b>");
     this.logText.UseMarkup  = true;
     this.logText.Wrap       = true;
     this.logText.WidthChars = 60;
     this.hbox3.Add(this.logText);
     Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox3[this.logText]));
     w3.Position = 1;
     w3.Expand   = false;
     w3.Fill     = false;
     w1.Add(this.hbox3);
     Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(w1[this.hbox3]));
     w4.Position = 0;
     w4.Expand   = false;
     w4.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hseparator3      = new Gtk.HSeparator();
     this.hseparator3.Name = "hseparator3";
     w1.Add(this.hseparator3);
     Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(w1[this.hseparator3]));
     w5.Position = 1;
     w5.Expand   = false;
     w5.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox5         = new Gtk.HBox();
     this.hbox5.Name    = "hbox5";
     this.hbox5.Spacing = 6;
     // Container child hbox5.Gtk.Box+BoxChild
     this.label1           = new Gtk.Label();
     this.label1.Name      = "label1";
     this.label1.Xalign    = 0F;
     this.label1.LabelProp = Mono.Unix.Catalog.GetString("<b>Last field notes scan:</b>");
     this.label1.UseMarkup = true;
     this.hbox5.Add(this.label1);
     Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox5[this.label1]));
     w6.Position = 0;
     w6.Expand   = false;
     w6.Fill     = false;
     // Container child hbox5.Gtk.Box+BoxChild
     this.lastScan           = new Gtk.Label();
     this.lastScan.Name      = "lastScan";
     this.lastScan.LabelProp = Mono.Unix.Catalog.GetString("label3");
     this.hbox5.Add(this.lastScan);
     Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.hbox5[this.lastScan]));
     w7.Position = 1;
     w7.Expand   = false;
     w7.Fill     = false;
     w1.Add(this.hbox5);
     Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(w1[this.hbox5]));
     w8.Position = 2;
     w8.Expand   = false;
     w8.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox6         = new Gtk.HBox();
     this.hbox6.Name    = "hbox6";
     this.hbox6.Spacing = 6;
     // Container child hbox6.Gtk.Box+BoxChild
     this.label2           = new Gtk.Label();
     this.label2.Name      = "label2";
     this.label2.LabelProp = Mono.Unix.Catalog.GetString("<b>Last field notes scan from this device:</b>");
     this.label2.UseMarkup = true;
     this.hbox6.Add(this.label2);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox6[this.label2]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child hbox6.Gtk.Box+BoxChild
     this.lastScanTD           = new Gtk.Label();
     this.lastScanTD.Name      = "lastScanTD";
     this.lastScanTD.LabelProp = Mono.Unix.Catalog.GetString("label4");
     this.hbox6.Add(this.lastScanTD);
     Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.hbox6[this.lastScanTD]));
     w10.Position = 1;
     w10.Expand   = false;
     w10.Fill     = false;
     w1.Add(this.hbox6);
     Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(w1[this.hbox6]));
     w11.Position = 3;
     w11.Expand   = false;
     w11.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hseparator1      = new Gtk.HSeparator();
     this.hseparator1.Name = "hseparator1";
     w1.Add(this.hseparator1);
     Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.hseparator1]));
     w12.Position = 4;
     w12.Expand   = false;
     w12.Fill     = false;
     // Container child dialog1_VBox.Gtk.Box+BoxChild
     this.hbox4         = new Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.checkIgnoreLogs               = new Gtk.CheckButton();
     this.checkIgnoreLogs.CanFocus      = true;
     this.checkIgnoreLogs.Name          = "checkIgnoreLogs";
     this.checkIgnoreLogs.Label         = Mono.Unix.Catalog.GetString("Ignore logs before:");
     this.checkIgnoreLogs.DrawIndicator = true;
     this.checkIgnoreLogs.UseUnderline  = true;
     this.hbox4.Add(this.checkIgnoreLogs);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox4[this.checkIgnoreLogs]));
     w13.Position = 0;
     w13.Expand   = false;
     // Container child hbox4.Gtk.Box+BoxChild
     this.ignoreDate             = new ocmgtk.DateWidget();
     this.ignoreDate.Events      = ((Gdk.EventMask)(256));
     this.ignoreDate.Name        = "ignoreDate";
     this.ignoreDate.IncludeTime = false;
     this.ignoreDate.Date        = new System.DateTime(0);
     this.hbox4.Add(this.ignoreDate);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox4[this.ignoreDate]));
     w14.Position = 1;
     w14.Expand   = false;
     w14.Fill     = false;
     w1.Add(this.hbox4);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(w1[this.hbox4]));
     w15.Position = 5;
     w15.Expand   = false;
     w15.Fill     = false;
     // Internal child ocmgtk.LoadGPSFieldNotes.ActionArea
     Gtk.HButtonBox w16 = this.ActionArea;
     w16.Name        = "dialog1_ActionArea";
     w16.Spacing     = 10;
     w16.BorderWidth = ((uint)(5));
     w16.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonCancel              = new 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);
     Gtk.ButtonBox.ButtonBoxChild w17 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonCancel]));
     w17.Expand = false;
     w17.Fill   = false;
     // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
     this.buttonOk              = new Gtk.Button();
     this.buttonOk.CanDefault   = true;
     this.buttonOk.CanFocus     = true;
     this.buttonOk.Name         = "buttonOk";
     this.buttonOk.UseStock     = true;
     this.buttonOk.UseUnderline = true;
     this.buttonOk.Label        = "gtk-ok";
     this.AddActionWidget(this.buttonOk, -5);
     Gtk.ButtonBox.ButtonBoxChild w18 = ((Gtk.ButtonBox.ButtonBoxChild)(w16[this.buttonOk]));
     w18.Position = 1;
     w18.Expand   = false;
     w18.Fill     = false;
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.DefaultWidth        = 562;
     this.DefaultHeight       = 285;
     this.buttonOk.HasDefault = true;
     this.Show();
 }
Пример #10
0
 protected virtual void Build()
 {
     Stetic.Gui.Initialize(this);
     // Widget ocmgtk.OCMQueryPage3
     Stetic.BinContainer.Attach(this);
     this.Name = "ocmgtk.OCMQueryPage3";
     // Container child ocmgtk.OCMQueryPage3.Gtk.Container+ContainerChild
     this.vbox2             = new Gtk.VBox();
     this.vbox2.Name        = "vbox2";
     this.vbox2.Spacing     = 6;
     this.vbox2.BorderWidth = ((uint)(6));
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame6            = new Gtk.Frame();
     this.frame6.Name       = "frame6";
     this.frame6.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame6.Gtk.Container+ContainerChild
     this.GtkAlignment3             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment3.Name        = "GtkAlignment3";
     this.GtkAlignment3.LeftPadding = ((uint)(12));
     // Container child GtkAlignment3.Gtk.Container+ContainerChild
     this.table3               = new Gtk.Table(((uint)(3)), ((uint)(3)), false);
     this.table3.Name          = "table3";
     this.table3.RowSpacing    = ((uint)(6));
     this.table3.ColumnSpacing = ((uint)(6));
     // Container child table3.Gtk.Table+TableChild
     this.hiddenCheck               = new Gtk.CheckButton();
     this.hiddenCheck.CanFocus      = true;
     this.hiddenCheck.Name          = "hiddenCheck";
     this.hiddenCheck.Label         = Mono.Unix.Catalog.GetString("Hidden:");
     this.hiddenCheck.DrawIndicator = true;
     this.hiddenCheck.UseUnderline  = true;
     this.table3.Add(this.hiddenCheck);
     Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table3[this.hiddenCheck]));
     w1.TopAttach    = ((uint)(2));
     w1.BottomAttach = ((uint)(3));
     w1.XOptions     = ((Gtk.AttachOptions)(4));
     w1.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hiddenCombo = Gtk.ComboBox.NewText();
     this.hiddenCombo.AppendText(Mono.Unix.Catalog.GetString("On or before"));
     this.hiddenCombo.AppendText(Mono.Unix.Catalog.GetString("On or after"));
     this.hiddenCombo.Sensitive = false;
     this.hiddenCombo.Name      = "hiddenCombo";
     this.hiddenCombo.Active    = 0;
     this.table3.Add(this.hiddenCombo);
     Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table3[this.hiddenCombo]));
     w2.TopAttach    = ((uint)(2));
     w2.BottomAttach = ((uint)(3));
     w2.LeftAttach   = ((uint)(1));
     w2.RightAttach  = ((uint)(2));
     w2.XOptions     = ((Gtk.AttachOptions)(4));
     w2.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.hiddenDateEntry             = new ocmgtk.DateWidget();
     this.hiddenDateEntry.Sensitive   = false;
     this.hiddenDateEntry.Events      = ((Gdk.EventMask)(256));
     this.hiddenDateEntry.Name        = "hiddenDateEntry";
     this.hiddenDateEntry.IncludeTime = false;
     this.hiddenDateEntry.Date        = new System.DateTime(0);
     this.table3.Add(this.hiddenDateEntry);
     Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table3[this.hiddenDateEntry]));
     w3.TopAttach    = ((uint)(2));
     w3.BottomAttach = ((uint)(3));
     w3.LeftAttach   = ((uint)(2));
     w3.RightAttach  = ((uint)(3));
     w3.XOptions     = ((Gtk.AttachOptions)(4));
     w3.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.placedAnyRadio               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Placed by anyone"));
     this.placedAnyRadio.CanFocus      = true;
     this.placedAnyRadio.Name          = "placedAnyRadio";
     this.placedAnyRadio.Active        = true;
     this.placedAnyRadio.DrawIndicator = true;
     this.placedAnyRadio.UseUnderline  = true;
     this.placedAnyRadio.Group         = new GLib.SList(System.IntPtr.Zero);
     this.table3.Add(this.placedAnyRadio);
     Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table3[this.placedAnyRadio]));
     w4.XOptions = ((Gtk.AttachOptions)(4));
     w4.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.placedByRadio               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Placed by:"));
     this.placedByRadio.CanFocus      = true;
     this.placedByRadio.Name          = "placedByRadio";
     this.placedByRadio.DrawIndicator = true;
     this.placedByRadio.UseUnderline  = true;
     this.placedByRadio.Group         = this.placedAnyRadio.Group;
     this.table3.Add(this.placedByRadio);
     Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table3[this.placedByRadio]));
     w5.TopAttach    = ((uint)(1));
     w5.BottomAttach = ((uint)(2));
     w5.XOptions     = ((Gtk.AttachOptions)(4));
     w5.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table3.Gtk.Table+TableChild
     this.placedEntry               = new Gtk.Entry();
     this.placedEntry.Sensitive     = false;
     this.placedEntry.CanFocus      = true;
     this.placedEntry.Name          = "placedEntry";
     this.placedEntry.IsEditable    = true;
     this.placedEntry.InvisibleChar = '•';
     this.table3.Add(this.placedEntry);
     Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table3[this.placedEntry]));
     w6.TopAttach    = ((uint)(1));
     w6.BottomAttach = ((uint)(2));
     w6.LeftAttach   = ((uint)(1));
     w6.RightAttach  = ((uint)(3));
     w6.YOptions     = ((Gtk.AttachOptions)(4));
     this.GtkAlignment3.Add(this.table3);
     this.frame6.Add(this.GtkAlignment3);
     this.GtkLabel14           = new Gtk.Label();
     this.GtkLabel14.Name      = "GtkLabel14";
     this.GtkLabel14.LabelProp = Mono.Unix.Catalog.GetString("<b>Cache Placement</b>");
     this.GtkLabel14.UseMarkup = true;
     this.frame6.LabelWidget   = this.GtkLabel14;
     this.vbox2.Add(this.frame6);
     Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame6]));
     w9.Position = 0;
     w9.Expand   = false;
     w9.Fill     = false;
     // Container child vbox2.Gtk.Box+BoxChild
     this.frame1            = new Gtk.Frame();
     this.frame1.Name       = "frame1";
     this.frame1.ShadowType = ((Gtk.ShadowType)(0));
     // Container child frame1.Gtk.Container+ContainerChild
     this.GtkAlignment             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment.Name        = "GtkAlignment";
     this.GtkAlignment.LeftPadding = ((uint)(12));
     // Container child GtkAlignment.Gtk.Container+ContainerChild
     this.table1               = new Gtk.Table(((uint)(4)), ((uint)(2)), false);
     this.table1.Name          = "table1";
     this.table1.RowSpacing    = ((uint)(6));
     this.table1.ColumnSpacing = ((uint)(6));
     // Container child table1.Gtk.Table+TableChild
     this.countryCheck               = new Gtk.CheckButton();
     this.countryCheck.CanFocus      = true;
     this.countryCheck.Name          = "countryCheck";
     this.countryCheck.Label         = Mono.Unix.Catalog.GetString("Country:");
     this.countryCheck.DrawIndicator = true;
     this.countryCheck.UseUnderline  = true;
     this.table1.Add(this.countryCheck);
     Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table1[this.countryCheck]));
     w10.XOptions = ((Gtk.AttachOptions)(4));
     w10.YOptions = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.countryEntry               = new Gtk.Entry();
     this.countryEntry.Sensitive     = false;
     this.countryEntry.CanFocus      = true;
     this.countryEntry.Name          = "countryEntry";
     this.countryEntry.IsEditable    = true;
     this.countryEntry.InvisibleChar = '•';
     this.table1.Add(this.countryEntry);
     Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.countryEntry]));
     w11.LeftAttach  = ((uint)(1));
     w11.RightAttach = ((uint)(2));
     w11.YOptions    = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.distCheck               = new Gtk.CheckButton();
     this.distCheck.CanFocus      = true;
     this.distCheck.Name          = "distCheck";
     this.distCheck.Label         = Mono.Unix.Catalog.GetString("Distance is:");
     this.distCheck.DrawIndicator = true;
     this.distCheck.UseUnderline  = true;
     this.table1.Add(this.distCheck);
     Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.distCheck]));
     w12.TopAttach    = ((uint)(2));
     w12.BottomAttach = ((uint)(3));
     w12.XOptions     = ((Gtk.AttachOptions)(4));
     w12.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.distFrame            = new Gtk.Frame();
     this.distFrame.Sensitive  = false;
     this.distFrame.Name       = "distFrame";
     this.distFrame.ShadowType = ((Gtk.ShadowType)(1));
     // Container child distFrame.Gtk.Container+ContainerChild
     this.GtkAlignment1             = new Gtk.Alignment(0F, 0F, 1F, 1F);
     this.GtkAlignment1.Name        = "GtkAlignment1";
     this.GtkAlignment1.LeftPadding = ((uint)(12));
     // Container child GtkAlignment1.Gtk.Container+ContainerChild
     this.vbox3             = new Gtk.VBox();
     this.vbox3.Name        = "vbox3";
     this.vbox3.Spacing     = 6;
     this.vbox3.BorderWidth = ((uint)(6));
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox2         = new Gtk.HBox();
     this.hbox2.Name    = "hbox2";
     this.hbox2.Spacing = 6;
     // Container child hbox2.Gtk.Box+BoxChild
     this.distCombo = Gtk.ComboBox.NewText();
     this.distCombo.AppendText(Mono.Unix.Catalog.GetString("Less than"));
     this.distCombo.AppendText(Mono.Unix.Catalog.GetString("Greater than"));
     this.distCombo.AppendText(Mono.Unix.Catalog.GetString("Equal to"));
     this.distCombo.Name   = "distCombo";
     this.distCombo.Active = 0;
     this.hbox2.Add(this.distCombo);
     Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.hbox2[this.distCombo]));
     w13.Position = 0;
     w13.Expand   = false;
     w13.Fill     = false;
     // Container child hbox2.Gtk.Box+BoxChild
     this.distEntry               = new Gtk.Entry();
     this.distEntry.CanFocus      = true;
     this.distEntry.Name          = "distEntry";
     this.distEntry.IsEditable    = true;
     this.distEntry.InvisibleChar = '•';
     this.hbox2.Add(this.distEntry);
     Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.hbox2[this.distEntry]));
     w14.Position = 1;
     // Container child hbox2.Gtk.Box+BoxChild
     this.distMeasureLabel           = new Gtk.Label();
     this.distMeasureLabel.Name      = "distMeasureLabel";
     this.distMeasureLabel.LabelProp = Mono.Unix.Catalog.GetString("km");
     this.hbox2.Add(this.distMeasureLabel);
     Gtk.Box.BoxChild w15 = ((Gtk.Box.BoxChild)(this.hbox2[this.distMeasureLabel]));
     w15.Position = 2;
     w15.Expand   = false;
     this.vbox3.Add(this.hbox2);
     Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2]));
     w16.Position = 0;
     w16.Expand   = false;
     w16.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.radiobutton1               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("From current centre point"));
     this.radiobutton1.CanFocus      = true;
     this.radiobutton1.Name          = "radiobutton1";
     this.radiobutton1.Active        = true;
     this.radiobutton1.DrawIndicator = true;
     this.radiobutton1.UseUnderline  = true;
     this.radiobutton1.Group         = new GLib.SList(System.IntPtr.Zero);
     this.vbox3.Add(this.radiobutton1);
     Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox3[this.radiobutton1]));
     w17.Position = 1;
     w17.Expand   = false;
     w17.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox3         = new Gtk.HBox();
     this.hbox3.Name    = "hbox3";
     this.hbox3.Spacing = 6;
     // Container child hbox3.Gtk.Box+BoxChild
     this.locRadio               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("From location:"));
     this.locRadio.CanFocus      = true;
     this.locRadio.Name          = "locRadio";
     this.locRadio.DrawIndicator = true;
     this.locRadio.UseUnderline  = true;
     this.locRadio.Group         = this.radiobutton1.Group;
     this.hbox3.Add(this.locRadio);
     Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.hbox3[this.locRadio]));
     w18.Position = 0;
     w18.Expand   = false;
     // Container child hbox3.Gtk.Box+BoxChild
     this.locationCombo           = Gtk.ComboBox.NewText();
     this.locationCombo.Sensitive = false;
     this.locationCombo.Name      = "locationCombo";
     this.hbox3.Add(this.locationCombo);
     Gtk.Box.BoxChild w19 = ((Gtk.Box.BoxChild)(this.hbox3[this.locationCombo]));
     w19.Position = 1;
     w19.Expand   = false;
     w19.Fill     = false;
     this.vbox3.Add(this.hbox3);
     Gtk.Box.BoxChild w20 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
     w20.Position = 2;
     w20.Expand   = false;
     w20.Fill     = false;
     // Container child vbox3.Gtk.Box+BoxChild
     this.hbox4         = new Gtk.HBox();
     this.hbox4.Name    = "hbox4";
     this.hbox4.Spacing = 6;
     // Container child hbox4.Gtk.Box+BoxChild
     this.posRadio               = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("From position:"));
     this.posRadio.CanFocus      = true;
     this.posRadio.Name          = "posRadio";
     this.posRadio.DrawIndicator = true;
     this.posRadio.UseUnderline  = true;
     this.posRadio.Group         = this.radiobutton1.Group;
     this.hbox4.Add(this.posRadio);
     Gtk.Box.BoxChild w21 = ((Gtk.Box.BoxChild)(this.hbox4[this.posRadio]));
     w21.Position = 0;
     // Container child hbox4.Gtk.Box+BoxChild
     this.posLocation           = new ocmgtk.LocationWidget();
     this.posLocation.Sensitive = false;
     this.posLocation.Events    = ((Gdk.EventMask)(256));
     this.posLocation.Name      = "posLocation";
     this.posLocation.Latitude  = 0;
     this.posLocation.Longitude = 0;
     this.hbox4.Add(this.posLocation);
     Gtk.Box.BoxChild w22 = ((Gtk.Box.BoxChild)(this.hbox4[this.posLocation]));
     w22.Position = 1;
     w22.Expand   = false;
     w22.Fill     = false;
     this.vbox3.Add(this.hbox4);
     Gtk.Box.BoxChild w23 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox4]));
     w23.Position = 3;
     w23.Expand   = false;
     w23.Fill     = false;
     this.GtkAlignment1.Add(this.vbox3);
     this.distFrame.Add(this.GtkAlignment1);
     this.table1.Add(this.distFrame);
     Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table1[this.distFrame]));
     w26.TopAttach    = ((uint)(3));
     w26.BottomAttach = ((uint)(4));
     w26.RightAttach  = ((uint)(2));
     w26.XOptions     = ((Gtk.AttachOptions)(4));
     w26.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.stateCheck               = new Gtk.CheckButton();
     this.stateCheck.CanFocus      = true;
     this.stateCheck.Name          = "stateCheck";
     this.stateCheck.Label         = Mono.Unix.Catalog.GetString("State or province:");
     this.stateCheck.DrawIndicator = true;
     this.stateCheck.UseUnderline  = true;
     this.table1.Add(this.stateCheck);
     Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table1[this.stateCheck]));
     w27.TopAttach    = ((uint)(1));
     w27.BottomAttach = ((uint)(2));
     w27.XOptions     = ((Gtk.AttachOptions)(4));
     w27.YOptions     = ((Gtk.AttachOptions)(4));
     // Container child table1.Gtk.Table+TableChild
     this.stateEntry               = new Gtk.Entry();
     this.stateEntry.Sensitive     = false;
     this.stateEntry.CanFocus      = true;
     this.stateEntry.Name          = "stateEntry";
     this.stateEntry.IsEditable    = true;
     this.stateEntry.InvisibleChar = '•';
     this.table1.Add(this.stateEntry);
     Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table1[this.stateEntry]));
     w28.TopAttach    = ((uint)(1));
     w28.BottomAttach = ((uint)(2));
     w28.LeftAttach   = ((uint)(1));
     w28.RightAttach  = ((uint)(2));
     w28.YOptions     = ((Gtk.AttachOptions)(4));
     this.GtkAlignment.Add(this.table1);
     this.frame1.Add(this.GtkAlignment);
     this.GtkLabel8           = new Gtk.Label();
     this.GtkLabel8.Name      = "GtkLabel8";
     this.GtkLabel8.LabelProp = Mono.Unix.Catalog.GetString("<b>Cache Location</b>");
     this.GtkLabel8.UseMarkup = true;
     this.frame1.LabelWidget  = this.GtkLabel8;
     this.vbox2.Add(this.frame1);
     Gtk.Box.BoxChild w31 = ((Gtk.Box.BoxChild)(this.vbox2[this.frame1]));
     w31.Position = 1;
     w31.Expand   = false;
     w31.Fill     = false;
     this.Add(this.vbox2);
     if ((this.Child != null))
     {
         this.Child.ShowAll();
     }
     this.Hide();
     this.placedByRadio.Toggled += new System.EventHandler(this.OnPlacedByToggle);
     this.hiddenCheck.Toggled   += new System.EventHandler(this.OnHiddenToggle);
     this.stateCheck.Toggled    += new System.EventHandler(this.OnStateCheckToggle);
     this.locRadio.Toggled      += new System.EventHandler(this.OnLocationToggle);
     this.posRadio.Toggled      += new System.EventHandler(this.OnPositionToggle);
     this.distCheck.Toggled     += new System.EventHandler(this.OnDistanceToggle);
     this.countryCheck.Toggled  += new System.EventHandler(this.OnCountryToggle);
 }