OpenGridServices.Manager.ConnectToGridServerDialog.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. /*
  2. * Copyright (c) Contributors, http://opensimulator.org/
  3. * See CONTRIBUTORS.TXT for a full list of copyright holders.
  4. *
  5. * Redistribution and use in source and binary forms, with or without
  6. * modification, are permitted provided that the following conditions are met:
  7. * * Redistributions of source code must retain the above copyright
  8. * notice, this list of conditions and the following disclaimer.
  9. * * Redistributions in binary form must reproduce the above copyright
  10. * notice, this list of conditions and the following disclaimer in the
  11. * documentation and/or other materials provided with the distribution.
  12. * * Neither the name of the OpenSimulator Project nor the
  13. * names of its contributors may be used to endorse or promote products
  14. * derived from this software without specific prior written permission.
  15. *
  16. * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
  17. * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  18. * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  19. * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
  20. * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  21. * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  22. * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  23. * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  24. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  25. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  26. */
  27. // ------------------------------------------------------------------------------
  28. // <autogenerated>
  29. // This code was generated by a tool.
  30. // Mono Runtime Version: 2.0.50727.42
  31. //
  32. // Changes to this file may cause incorrect behavior and will be lost if
  33. // the code is regenerated.
  34. // </autogenerated>
  35. // ------------------------------------------------------------------------------
  36. namespace OpenGridServices.Manager
  37. {
  38. public partial class ConnectToGridServerDialog
  39. {
  40. private Gtk.VBox vbox2;
  41. private Gtk.VBox vbox3;
  42. private Gtk.HBox hbox1;
  43. private Gtk.Label label1;
  44. private Gtk.Entry entry1;
  45. private Gtk.HBox hbox2;
  46. private Gtk.Label label2;
  47. private Gtk.Entry entry2;
  48. private Gtk.HBox hbox3;
  49. private Gtk.Label label3;
  50. private Gtk.Entry entry3;
  51. private Gtk.Button button2;
  52. private Gtk.Button button8;
  53. protected virtual void Build()
  54. {
  55. Stetic.Gui.Initialize();
  56. // Widget OpenGridServices.Manager.ConnectToGridServerDialog
  57. this.Events = ((Gdk.EventMask)(256));
  58. this.Name = "OpenGridServices.Manager.ConnectToGridServerDialog";
  59. this.Title = Mono.Unix.Catalog.GetString("Connect to Grid server");
  60. this.WindowPosition = ((Gtk.WindowPosition)(4));
  61. this.HasSeparator = false;
  62. // Internal child OpenGridServices.Manager.ConnectToGridServerDialog.VBox
  63. Gtk.VBox w1 = this.VBox;
  64. w1.Events = ((Gdk.EventMask)(256));
  65. w1.Name = "dialog_VBox";
  66. w1.BorderWidth = ((uint)(2));
  67. // Container child dialog_VBox.Gtk.Box+BoxChild
  68. this.vbox2 = new Gtk.VBox();
  69. this.vbox2.Name = "vbox2";
  70. // Container child vbox2.Gtk.Box+BoxChild
  71. this.vbox3 = new Gtk.VBox();
  72. this.vbox3.Name = "vbox3";
  73. // Container child vbox3.Gtk.Box+BoxChild
  74. this.hbox1 = new Gtk.HBox();
  75. this.hbox1.Name = "hbox1";
  76. // Container child hbox1.Gtk.Box+BoxChild
  77. this.label1 = new Gtk.Label();
  78. this.label1.Name = "label1";
  79. this.label1.Xalign = 1F;
  80. this.label1.LabelProp = Mono.Unix.Catalog.GetString("Grid server URL: ");
  81. this.label1.Justify = ((Gtk.Justification)(1));
  82. this.hbox1.Add(this.label1);
  83. Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
  84. w2.Position = 0;
  85. // Container child hbox1.Gtk.Box+BoxChild
  86. this.entry1 = new Gtk.Entry();
  87. this.entry1.CanFocus = true;
  88. this.entry1.Name = "entry1";
  89. this.entry1.Text = Mono.Unix.Catalog.GetString("http://gridserver:8001");
  90. this.entry1.IsEditable = true;
  91. this.entry1.MaxLength = 255;
  92. this.entry1.InvisibleChar = '•';
  93. this.hbox1.Add(this.entry1);
  94. Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.entry1]));
  95. w3.Position = 1;
  96. this.vbox3.Add(this.hbox1);
  97. Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox1]));
  98. w4.Position = 0;
  99. w4.Expand = false;
  100. w4.Fill = false;
  101. // Container child vbox3.Gtk.Box+BoxChild
  102. this.hbox2 = new Gtk.HBox();
  103. this.hbox2.Name = "hbox2";
  104. // Container child hbox2.Gtk.Box+BoxChild
  105. this.label2 = new Gtk.Label();
  106. this.label2.Name = "label2";
  107. this.label2.Xalign = 1F;
  108. this.label2.LabelProp = Mono.Unix.Catalog.GetString("Username:");
  109. this.label2.Justify = ((Gtk.Justification)(1));
  110. this.hbox2.Add(this.label2);
  111. Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.label2]));
  112. w5.Position = 0;
  113. // Container child hbox2.Gtk.Box+BoxChild
  114. this.entry2 = new Gtk.Entry();
  115. this.entry2.CanFocus = true;
  116. this.entry2.Name = "entry2";
  117. this.entry2.IsEditable = true;
  118. this.entry2.InvisibleChar = '•';
  119. this.hbox2.Add(this.entry2);
  120. Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.entry2]));
  121. w6.Position = 1;
  122. this.vbox3.Add(this.hbox2);
  123. Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2]));
  124. w7.Position = 1;
  125. w7.Expand = false;
  126. w7.Fill = false;
  127. // Container child vbox3.Gtk.Box+BoxChild
  128. this.hbox3 = new Gtk.HBox();
  129. this.hbox3.Name = "hbox3";
  130. // Container child hbox3.Gtk.Box+BoxChild
  131. this.label3 = new Gtk.Label();
  132. this.label3.Name = "label3";
  133. this.label3.Xalign = 1F;
  134. this.label3.LabelProp = Mono.Unix.Catalog.GetString("Password:");
  135. this.label3.Justify = ((Gtk.Justification)(1));
  136. this.hbox3.Add(this.label3);
  137. Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.label3]));
  138. w8.Position = 0;
  139. // Container child hbox3.Gtk.Box+BoxChild
  140. this.entry3 = new Gtk.Entry();
  141. this.entry3.CanFocus = true;
  142. this.entry3.Name = "entry3";
  143. this.entry3.IsEditable = true;
  144. this.entry3.InvisibleChar = '•';
  145. this.hbox3.Add(this.entry3);
  146. Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.entry3]));
  147. w9.Position = 1;
  148. this.vbox3.Add(this.hbox3);
  149. Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
  150. w10.Position = 2;
  151. w10.Expand = false;
  152. w10.Fill = false;
  153. this.vbox2.Add(this.vbox3);
  154. Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox3]));
  155. w11.Position = 2;
  156. w11.Expand = false;
  157. w11.Fill = false;
  158. w1.Add(this.vbox2);
  159. Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
  160. w12.Position = 0;
  161. // Internal child OpenGridServices.Manager.ConnectToGridServerDialog.ActionArea
  162. Gtk.HButtonBox w13 = this.ActionArea;
  163. w13.Events = ((Gdk.EventMask)(256));
  164. w13.Name = "OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea";
  165. w13.Spacing = 6;
  166. w13.BorderWidth = ((uint)(5));
  167. w13.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
  168. // Container child OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  169. this.button2 = new Gtk.Button();
  170. this.button2.CanDefault = true;
  171. this.button2.CanFocus = true;
  172. this.button2.Name = "button2";
  173. this.button2.UseUnderline = true;
  174. // Container child button2.Gtk.Container+ContainerChild
  175. Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
  176. w14.Name = "GtkAlignment";
  177. // Container child GtkAlignment.Gtk.Container+ContainerChild
  178. Gtk.HBox w15 = new Gtk.HBox();
  179. w15.Name = "GtkHBox";
  180. w15.Spacing = 2;
  181. // Container child GtkHBox.Gtk.Container+ContainerChild
  182. Gtk.Image w16 = new Gtk.Image();
  183. w16.Name = "image1";
  184. w16.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-apply", 16, 0);
  185. w15.Add(w16);
  186. // Container child GtkHBox.Gtk.Container+ContainerChild
  187. Gtk.Label w18 = new Gtk.Label();
  188. w18.Name = "GtkLabel";
  189. w18.LabelProp = Mono.Unix.Catalog.GetString("Connect");
  190. w18.UseUnderline = true;
  191. w15.Add(w18);
  192. w14.Add(w15);
  193. this.button2.Add(w14);
  194. this.AddActionWidget(this.button2, -5);
  195. Gtk.ButtonBox.ButtonBoxChild w22 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.button2]));
  196. w22.Expand = false;
  197. w22.Fill = false;
  198. // Container child OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  199. this.button8 = new Gtk.Button();
  200. this.button8.CanDefault = true;
  201. this.button8.CanFocus = true;
  202. this.button8.Name = "button8";
  203. this.button8.UseUnderline = true;
  204. // Container child button8.Gtk.Container+ContainerChild
  205. Gtk.Alignment w23 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
  206. w23.Name = "GtkAlignment1";
  207. // Container child GtkAlignment1.Gtk.Container+ContainerChild
  208. Gtk.HBox w24 = new Gtk.HBox();
  209. w24.Name = "GtkHBox1";
  210. w24.Spacing = 2;
  211. // Container child GtkHBox1.Gtk.Container+ContainerChild
  212. Gtk.Image w25 = new Gtk.Image();
  213. w25.Name = "image2";
  214. w25.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0);
  215. w24.Add(w25);
  216. // Container child GtkHBox1.Gtk.Container+ContainerChild
  217. Gtk.Label w27 = new Gtk.Label();
  218. w27.Name = "GtkLabel1";
  219. w27.LabelProp = Mono.Unix.Catalog.GetString("Cancel");
  220. w27.UseUnderline = true;
  221. w24.Add(w27);
  222. w23.Add(w24);
  223. this.button8.Add(w23);
  224. this.AddActionWidget(this.button8, -6);
  225. Gtk.ButtonBox.ButtonBoxChild w31 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.button8]));
  226. w31.Position = 1;
  227. w31.Expand = false;
  228. w31.Fill = false;
  229. if (this.Child != null)
  230. {
  231. this.Child.ShowAll();
  232. }
  233. this.DefaultWidth = 476;
  234. this.DefaultHeight = 137;
  235. this.Show();
  236. this.Response += new Gtk.ResponseHandler(this.OnResponse);
  237. }
  238. }
  239. }