1
// ------------------------------------------------------------------------------
3
// This code was generated by a tool.
4
// Mono Runtime Version: 2.0.50727.42
6
// Changes to this file may cause incorrect behavior and will be lost if
7
// the code is regenerated.
9
// ------------------------------------------------------------------------------
11
namespace ImageShack {
14
public partial class ImageShackConfig {
16
private Gtk.VBox vbox1;
18
private Gtk.Frame frame1;
20
private Gtk.Alignment GtkAlignment1;
22
private Gtk.VBox vbox2;
24
private Gtk.HBox hbox1;
26
private Gtk.Label label2;
28
private Gtk.HBox hbox2;
30
private Gtk.Label label1;
32
private Gtk.Entry RegistrationCodeEntry;
34
private Gtk.HBox hbox3;
36
private Gtk.Button RegistrationButton;
38
private Gtk.Label GtkLabel1;
40
protected virtual void Build() {
41
Stetic.Gui.Initialize(this);
42
// Widget ImageShack.ImageShackConfig
43
Stetic.BinContainer.Attach(this);
44
this.Name = "ImageShack.ImageShackConfig";
45
// Container child ImageShack.ImageShackConfig.Gtk.Container+ContainerChild
46
this.vbox1 = new Gtk.VBox();
47
this.vbox1.Name = "vbox1";
48
this.vbox1.Spacing = 6;
49
// Container child vbox1.Gtk.Box+BoxChild
50
this.frame1 = new Gtk.Frame();
51
this.frame1.Name = "frame1";
52
this.frame1.ShadowType = ((Gtk.ShadowType)(0));
53
// Container child frame1.Gtk.Container+ContainerChild
54
this.GtkAlignment1 = new Gtk.Alignment(0F, 0F, 1F, 1F);
55
this.GtkAlignment1.Name = "GtkAlignment1";
56
this.GtkAlignment1.LeftPadding = ((uint)(12));
57
// Container child GtkAlignment1.Gtk.Container+ContainerChild
58
this.vbox2 = new Gtk.VBox();
59
this.vbox2.Name = "vbox2";
60
this.vbox2.Spacing = 6;
61
// Container child vbox2.Gtk.Box+BoxChild
62
this.hbox1 = new Gtk.HBox();
63
this.hbox1.Name = "hbox1";
64
this.hbox1.Spacing = 6;
65
// Container child hbox1.Gtk.Box+BoxChild
66
this.label2 = new Gtk.Label();
67
this.label2.Name = "label2";
68
this.label2.Xalign = 0F;
69
this.label2.LabelProp = Mono.Unix.Catalog.GetString("If you have an ImageShack account, a registration code allows you to save images to the My Images sections of your account.\n\nPlease log-in to your ImageShack account before getting your registration code.");
70
this.label2.Wrap = true;
71
this.hbox1.Add(this.label2);
72
Gtk.Box.BoxChild w1 = ((Gtk.Box.BoxChild)(this.hbox1[this.label2]));
76
this.vbox2.Add(this.hbox1);
77
Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox1]));
81
// Container child vbox2.Gtk.Box+BoxChild
82
this.hbox2 = new Gtk.HBox();
83
this.hbox2.Name = "hbox2";
84
this.hbox2.Spacing = 6;
85
this.hbox2.BorderWidth = ((uint)(3));
86
// Container child hbox2.Gtk.Box+BoxChild
87
this.label1 = new Gtk.Label();
88
this.label1.Name = "label1";
89
this.label1.Xalign = 0F;
90
this.label1.LabelProp = Mono.Unix.Catalog.GetString("_Registration Code");
91
this.label1.UseUnderline = true;
92
this.hbox2.Add(this.label1);
93
Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox2[this.label1]));
97
// Container child hbox2.Gtk.Box+BoxChild
98
this.RegistrationCodeEntry = new Gtk.Entry();
99
this.RegistrationCodeEntry.CanFocus = true;
100
this.RegistrationCodeEntry.Name = "RegistrationCodeEntry";
101
this.RegistrationCodeEntry.IsEditable = true;
102
this.RegistrationCodeEntry.WidthChars = 35;
103
this.RegistrationCodeEntry.InvisibleChar = '●';
104
this.hbox2.Add(this.RegistrationCodeEntry);
105
Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.hbox2[this.RegistrationCodeEntry]));
108
this.vbox2.Add(this.hbox2);
109
Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox2]));
113
// Container child vbox2.Gtk.Box+BoxChild
114
this.hbox3 = new Gtk.HBox();
115
this.hbox3.Name = "hbox3";
116
this.hbox3.Spacing = 6;
117
this.hbox3.BorderWidth = ((uint)(3));
118
// Container child hbox3.Gtk.Box+BoxChild
119
this.RegistrationButton = new Gtk.Button();
120
this.RegistrationButton.CanFocus = true;
121
this.RegistrationButton.Name = "RegistrationButton";
122
this.RegistrationButton.UseUnderline = true;
123
this.RegistrationButton.Xalign = 0F;
124
this.RegistrationButton.Label = Mono.Unix.Catalog.GetString("_Get Registration Code");
125
this.hbox3.Add(this.RegistrationButton);
126
Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox3[this.RegistrationButton]));
130
this.vbox2.Add(this.hbox3);
131
Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox2[this.hbox3]));
135
this.GtkAlignment1.Add(this.vbox2);
136
this.frame1.Add(this.GtkAlignment1);
137
this.GtkLabel1 = new Gtk.Label();
138
this.GtkLabel1.Name = "GtkLabel1";
139
this.GtkLabel1.Xalign = 0F;
140
this.GtkLabel1.LabelProp = Mono.Unix.Catalog.GetString("<b>Registration Code</b>");
141
this.GtkLabel1.UseMarkup = true;
142
this.frame1.LabelWidget = this.GtkLabel1;
143
this.vbox1.Add(this.frame1);
144
Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox1[this.frame1]));
148
this.Add(this.vbox1);
149
if ((this.Child != null)) {
150
this.Child.ShowAll();
152
this.label1.MnemonicWidget = this.RegistrationCodeEntry;
154
this.RegistrationCodeEntry.Changed += new System.EventHandler(this.OnRegistrationCodeEntryChanged);
155
this.RegistrationButton.Clicked += new System.EventHandler(this.OnRegistrationButtonClicked);