Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MonoDevelop.WebReferences.Dialogs.WebReferenceDialog.cs « gtk-gui « MonoDevelop.WebReferences « addins « src « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b103b95f2a2c9f2e7bdf7ad07a28eea707abb051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325

// This file has been generated by the GUI designer. Do not modify.
namespace MonoDevelop.WebReferences.Dialogs
{
	internal partial class WebReferenceDialog
	{
		private global::Gtk.UIManager UIManager;
		
		private global::Gtk.Action btnNavBack;
		
		private global::Gtk.Action btnNavNext;
		
		private global::Gtk.Action btnRefresh;
		
		private global::Gtk.Action btnStop;
		
		private global::Gtk.Action btnHome;
		
		private global::Gtk.VBox vbxContainer;
		
		private global::Gtk.Toolbar tlbNavigate;
		
		private global::Gtk.Table tblWebReferenceUrl;
		
		private global::Gtk.Button btnGO;
		
		private global::Gtk.Label lblWebServiceUrl;
		
		private global::Gtk.Entry tbxReferenceURL;
		
		private global::Gtk.Frame frmBrowser;
		
		private global::Gtk.Table tblReferenceName;
		
		private global::Gtk.HBox hbox1;
		
		private global::Gtk.ComboBox comboModel;
		
		private global::Gtk.Label label1;
		
		private global::Gtk.Label lblNamespace;
		
		private global::Gtk.Label lblReference;
		
		private global::Gtk.Entry tbxNamespace;
		
		private global::Gtk.Entry tbxReferenceName;
		
		private global::Gtk.Button btnCancel;
		
		private global::Gtk.Button btnBack;
		
		private global::Gtk.Button btnOK;
		
		private global::Gtk.Button btnConfig;

		protected virtual void Build ()
		{
			global::Stetic.Gui.Initialize (this);
			// Widget MonoDevelop.WebReferences.Dialogs.WebReferenceDialog
			this.UIManager = new global::Gtk.UIManager ();
			global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
			this.btnNavBack = new global::Gtk.Action ("btnNavBack", null, global::Mono.Unix.Catalog.GetString ("Go back one page"), "gtk-go-back");
			w1.Add (this.btnNavBack, null);
			this.btnNavNext = new global::Gtk.Action ("btnNavNext", null, global::Mono.Unix.Catalog.GetString ("Go forward one page"), "gtk-go-forward");
			w1.Add (this.btnNavNext, null);
			this.btnRefresh = new global::Gtk.Action ("btnRefresh", null, global::Mono.Unix.Catalog.GetString ("Reload current page"), "gtk-refresh");
			w1.Add (this.btnRefresh, null);
			this.btnStop = new global::Gtk.Action ("btnStop", null, global::Mono.Unix.Catalog.GetString ("Stop loading this page"), "gtk-stop");
			w1.Add (this.btnStop, null);
			this.btnHome = new global::Gtk.Action ("btnHome", null, global::Mono.Unix.Catalog.GetString ("Go back to the home page"), "gtk-home");
			w1.Add (this.btnHome, null);
			this.UIManager.InsertActionGroup (w1, 0);
			this.AddAccelGroup (this.UIManager.AccelGroup);
			this.Events = ((global::Gdk.EventMask)(256));
			this.Name = "MonoDevelop.WebReferences.Dialogs.WebReferenceDialog";
			this.Title = global::Mono.Unix.Catalog.GetString ("Add Web Reference");
			this.WindowPosition = ((global::Gtk.WindowPosition)(4));
			// Internal child MonoDevelop.WebReferences.Dialogs.WebReferenceDialog.VBox
			global::Gtk.VBox w2 = this.VBox;
			w2.Events = ((global::Gdk.EventMask)(256));
			w2.Name = "dlgWindow";
			w2.BorderWidth = ((uint)(2));
			// Container child dlgWindow.Gtk.Box+BoxChild
			this.vbxContainer = new global::Gtk.VBox ();
			this.vbxContainer.Name = "vbxContainer";
			// Container child vbxContainer.Gtk.Box+BoxChild
			this.UIManager.AddUiFromString ("<ui><toolbar name='tlbNavigate'><toolitem name='btnNavBack' action='btnNavBack'/><toolitem name='btnNavNext' action='btnNavNext'/><toolitem name='btnRefresh' action='btnRefresh'/><toolitem name='btnStop' action='btnStop'/><toolitem name='btnHome' action='btnHome'/></toolbar></ui>");
			this.tlbNavigate = ((global::Gtk.Toolbar)(this.UIManager.GetWidget ("/tlbNavigate")));
			this.tlbNavigate.Name = "tlbNavigate";
			this.tlbNavigate.ShowArrow = false;
			this.tlbNavigate.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0));
			this.tlbNavigate.IconSize = ((global::Gtk.IconSize)(2));
			this.vbxContainer.Add (this.tlbNavigate);
			global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbxContainer [this.tlbNavigate]));
			w3.Position = 0;
			w3.Expand = false;
			w3.Fill = false;
			// Container child vbxContainer.Gtk.Box+BoxChild
			this.tblWebReferenceUrl = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false);
			this.tblWebReferenceUrl.Name = "tblWebReferenceUrl";
			this.tblWebReferenceUrl.RowSpacing = ((uint)(6));
			this.tblWebReferenceUrl.ColumnSpacing = ((uint)(6));
			// Container child tblWebReferenceUrl.Gtk.Table+TableChild
			this.btnGO = new global::Gtk.Button ();
			this.btnGO.CanFocus = true;
			this.btnGO.Name = "btnGO";
			this.btnGO.UseStock = true;
			this.btnGO.UseUnderline = true;
			this.btnGO.Label = "gtk-jump-to";
			this.tblWebReferenceUrl.Add (this.btnGO);
			global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.tblWebReferenceUrl [this.btnGO]));
			w4.LeftAttach = ((uint)(2));
			w4.RightAttach = ((uint)(3));
			w4.XPadding = ((uint)(4));
			w4.YPadding = ((uint)(4));
			w4.XOptions = ((global::Gtk.AttachOptions)(0));
			w4.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child tblWebReferenceUrl.Gtk.Table+TableChild
			this.lblWebServiceUrl = new global::Gtk.Label ();
			this.lblWebServiceUrl.Name = "lblWebServiceUrl";
			this.lblWebServiceUrl.Xalign = 0F;
			this.lblWebServiceUrl.LabelProp = global::Mono.Unix.Catalog.GetString ("Web Service Url: ");
			this.tblWebReferenceUrl.Add (this.lblWebServiceUrl);
			global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tblWebReferenceUrl [this.lblWebServiceUrl]));
			w5.XPadding = ((uint)(4));
			w5.YPadding = ((uint)(4));
			w5.XOptions = ((global::Gtk.AttachOptions)(4));
			w5.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child tblWebReferenceUrl.Gtk.Table+TableChild
			this.tbxReferenceURL = new global::Gtk.Entry ();
			this.tbxReferenceURL.CanFocus = true;
			this.tbxReferenceURL.Name = "tbxReferenceURL";
			this.tbxReferenceURL.IsEditable = true;
			this.tbxReferenceURL.InvisibleChar = '●';
			this.tblWebReferenceUrl.Add (this.tbxReferenceURL);
			global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tblWebReferenceUrl [this.tbxReferenceURL]));
			w6.LeftAttach = ((uint)(1));
			w6.RightAttach = ((uint)(2));
			w6.YOptions = ((global::Gtk.AttachOptions)(4));
			this.vbxContainer.Add (this.tblWebReferenceUrl);
			global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbxContainer [this.tblWebReferenceUrl]));
			w7.Position = 1;
			w7.Expand = false;
			w7.Fill = false;
			// Container child vbxContainer.Gtk.Box+BoxChild
			this.frmBrowser = new global::Gtk.Frame ();
			this.frmBrowser.Name = "frmBrowser";
			this.frmBrowser.ShadowType = ((global::Gtk.ShadowType)(0));
			this.frmBrowser.LabelYalign = 0F;
			this.vbxContainer.Add (this.frmBrowser);
			global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbxContainer [this.frmBrowser]));
			w8.Position = 2;
			// Container child vbxContainer.Gtk.Box+BoxChild
			this.tblReferenceName = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false);
			this.tblReferenceName.Name = "tblReferenceName";
			this.tblReferenceName.RowSpacing = ((uint)(4));
			this.tblReferenceName.ColumnSpacing = ((uint)(4));
			this.tblReferenceName.BorderWidth = ((uint)(9));
			// Container child tblReferenceName.Gtk.Table+TableChild
			this.hbox1 = new global::Gtk.HBox ();
			this.hbox1.Name = "hbox1";
			this.hbox1.Spacing = 6;
			// Container child hbox1.Gtk.Box+BoxChild
			this.comboModel = global::Gtk.ComboBox.NewText ();
			this.comboModel.AppendText (global::Mono.Unix.Catalog.GetString ("Windows Communication Foundation (WCF)"));
			this.comboModel.AppendText (global::Mono.Unix.Catalog.GetString (".NET 2.0 Web Services"));
			this.comboModel.Name = "comboModel";
			this.comboModel.Active = 0;
			this.hbox1.Add (this.comboModel);
			global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboModel]));
			w9.Position = 0;
			w9.Expand = false;
			w9.Fill = false;
			this.tblReferenceName.Add (this.hbox1);
			global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.hbox1]));
			w10.LeftAttach = ((uint)(1));
			w10.RightAttach = ((uint)(2));
			w10.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child tblReferenceName.Gtk.Table+TableChild
			this.label1 = new global::Gtk.Label ();
			this.label1.Name = "label1";
			this.label1.Xalign = 0F;
			this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Framework:");
			this.tblReferenceName.Add (this.label1);
			global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.label1]));
			w11.XOptions = ((global::Gtk.AttachOptions)(4));
			w11.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child tblReferenceName.Gtk.Table+TableChild
			this.lblNamespace = new global::Gtk.Label ();
			this.lblNamespace.Name = "lblNamespace";
			this.lblNamespace.Xalign = 0F;
			this.lblNamespace.LabelProp = global::Mono.Unix.Catalog.GetString ("Namespace: ");
			this.tblReferenceName.Add (this.lblNamespace);
			global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.lblNamespace]));
			w12.TopAttach = ((uint)(2));
			w12.BottomAttach = ((uint)(3));
			w12.XOptions = ((global::Gtk.AttachOptions)(4));
			w12.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child tblReferenceName.Gtk.Table+TableChild
			this.lblReference = new global::Gtk.Label ();
			this.lblReference.Name = "lblReference";
			this.lblReference.Xalign = 0F;
			this.lblReference.LabelProp = global::Mono.Unix.Catalog.GetString ("Reference: ");
			this.tblReferenceName.Add (this.lblReference);
			global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.lblReference]));
			w13.TopAttach = ((uint)(1));
			w13.BottomAttach = ((uint)(2));
			w13.XOptions = ((global::Gtk.AttachOptions)(4));
			w13.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child tblReferenceName.Gtk.Table+TableChild
			this.tbxNamespace = new global::Gtk.Entry ();
			this.tbxNamespace.Sensitive = false;
			this.tbxNamespace.CanFocus = true;
			this.tbxNamespace.Name = "tbxNamespace";
			this.tbxNamespace.IsEditable = true;
			this.tbxNamespace.InvisibleChar = '●';
			this.tblReferenceName.Add (this.tbxNamespace);
			global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.tbxNamespace]));
			w14.TopAttach = ((uint)(2));
			w14.BottomAttach = ((uint)(3));
			w14.LeftAttach = ((uint)(1));
			w14.RightAttach = ((uint)(2));
			w14.YOptions = ((global::Gtk.AttachOptions)(4));
			// Container child tblReferenceName.Gtk.Table+TableChild
			this.tbxReferenceName = new global::Gtk.Entry ();
			this.tbxReferenceName.CanFocus = true;
			this.tbxReferenceName.Name = "tbxReferenceName";
			this.tbxReferenceName.IsEditable = true;
			this.tbxReferenceName.InvisibleChar = '●';
			this.tblReferenceName.Add (this.tbxReferenceName);
			global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tblReferenceName [this.tbxReferenceName]));
			w15.TopAttach = ((uint)(1));
			w15.BottomAttach = ((uint)(2));
			w15.LeftAttach = ((uint)(1));
			w15.RightAttach = ((uint)(2));
			w15.YOptions = ((global::Gtk.AttachOptions)(4));
			this.vbxContainer.Add (this.tblReferenceName);
			global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbxContainer [this.tblReferenceName]));
			w16.Position = 3;
			w16.Expand = false;
			w16.Fill = false;
			w2.Add (this.vbxContainer);
			global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w2 [this.vbxContainer]));
			w17.Position = 0;
			// Internal child MonoDevelop.WebReferences.Dialogs.WebReferenceDialog.ActionArea
			global::Gtk.HButtonBox w18 = this.ActionArea;
			w18.Events = ((global::Gdk.EventMask)(256));
			w18.Name = "pnlActionArea";
			w18.Spacing = 6;
			w18.BorderWidth = ((uint)(5));
			w18.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4));
			// Container child pnlActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.btnCancel = new global::Gtk.Button ();
			this.btnCancel.CanDefault = true;
			this.btnCancel.CanFocus = true;
			this.btnCancel.Name = "btnCancel";
			this.btnCancel.UseStock = true;
			this.btnCancel.UseUnderline = true;
			this.btnCancel.Label = "gtk-cancel";
			this.AddActionWidget (this.btnCancel, -6);
			global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.btnCancel]));
			w19.Expand = false;
			w19.Fill = false;
			// Container child pnlActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.btnBack = new global::Gtk.Button ();
			this.btnBack.Sensitive = false;
			this.btnBack.CanFocus = true;
			this.btnBack.Name = "btnBack";
			this.btnBack.UseUnderline = true;
			this.btnBack.Label = global::Mono.Unix.Catalog.GetString ("_Back");
			w18.Add (this.btnBack);
			global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.btnBack]));
			w20.Position = 1;
			w20.Expand = false;
			w20.Fill = false;
			// Container child pnlActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.btnOK = new global::Gtk.Button ();
			this.btnOK.Sensitive = false;
			this.btnOK.CanDefault = true;
			this.btnOK.CanFocus = true;
			this.btnOK.Name = "btnOK";
			this.btnOK.UseStock = true;
			this.btnOK.UseUnderline = true;
			this.btnOK.Label = "gtk-ok";
			w18.Add (this.btnOK);
			global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.btnOK]));
			w21.Position = 2;
			w21.Expand = false;
			w21.Fill = false;
			// Container child pnlActionArea.Gtk.ButtonBox+ButtonBoxChild
			this.btnConfig = new global::Gtk.Button ();
			this.btnConfig.Sensitive = false;
			this.btnConfig.CanFocus = true;
			this.btnConfig.Name = "btnConfig";
			this.btnConfig.UseUnderline = true;
			this.btnConfig.Label = global::Mono.Unix.Catalog.GetString ("_Config");
			w18.Add (this.btnConfig);
			global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.btnConfig]));
			w22.Position = 3;
			w22.Expand = false;
			w22.Fill = false;
			if ((this.Child != null)) {
				this.Child.ShowAll ();
			}
			this.DefaultWidth = 652;
			this.DefaultHeight = 509;
			this.btnBack.Hide ();
			this.btnOK.Hide ();
			this.btnConfig.Hide ();
			this.Hide ();
			this.btnNavBack.Activated += new global::System.EventHandler (this.Browser_BackButtonClicked);
			this.btnNavNext.Activated += new global::System.EventHandler (this.Browser_NextButtonClicked);
			this.btnRefresh.Activated += new global::System.EventHandler (this.Browser_RefreshButtonClicked);
			this.btnStop.Activated += new global::System.EventHandler (this.Browser_StopButtonClicked);
			this.btnHome.Activated += new global::System.EventHandler (this.Browser_HomeButtonClicked);
			this.tbxReferenceURL.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler (this.Browser_URLKeyReleased);
			this.btnGO.Clicked += new global::System.EventHandler (this.Browser_GoButtonClicked);
			this.comboModel.Changed += new global::System.EventHandler (this.OnComboModelChanged);
			this.btnBack.Clicked += new global::System.EventHandler (this.OnBtnBackClicked);
			this.btnOK.Clicked += new global::System.EventHandler (this.OnBtnOKClicked);
			this.btnConfig.Clicked += new global::System.EventHandler (this.OnBtnConfigClicked);
		}
	}
}