OpenGridServices.Manager.ConnectToGridServerDialog.cs 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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 OpenSim 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. // ------------------------------------------------------------------------------
  29. // <autogenerated>
  30. // This code was generated by a tool.
  31. // Mono Runtime Version: 2.0.50727.42
  32. //
  33. // Changes to this file may cause incorrect behavior and will be lost if
  34. // the code is regenerated.
  35. // </autogenerated>
  36. // ------------------------------------------------------------------------------
  37. namespace OpenGridServices.Manager {
  38. public partial class ConnectToGridServerDialog {
  39. private Gtk.VBox vbox2;
  40. private Gtk.VBox vbox3;
  41. private Gtk.HBox hbox1;
  42. private Gtk.Label label1;
  43. private Gtk.Entry entry1;
  44. private Gtk.HBox hbox2;
  45. private Gtk.Label label2;
  46. private Gtk.Entry entry2;
  47. private Gtk.HBox hbox3;
  48. private Gtk.Label label3;
  49. private Gtk.Entry entry3;
  50. private Gtk.Button button2;
  51. private Gtk.Button button8;
  52. protected virtual void Build() {
  53. Stetic.Gui.Initialize();
  54. // Widget OpenGridServices.Manager.ConnectToGridServerDialog
  55. this.Events = ((Gdk.EventMask)(256));
  56. this.Name = "OpenGridServices.Manager.ConnectToGridServerDialog";
  57. this.Title = Mono.Unix.Catalog.GetString("Connect to Grid server");
  58. this.WindowPosition = ((Gtk.WindowPosition)(4));
  59. this.HasSeparator = false;
  60. // Internal child OpenGridServices.Manager.ConnectToGridServerDialog.VBox
  61. Gtk.VBox w1 = this.VBox;
  62. w1.Events = ((Gdk.EventMask)(256));
  63. w1.Name = "dialog_VBox";
  64. w1.BorderWidth = ((uint)(2));
  65. // Container child dialog_VBox.Gtk.Box+BoxChild
  66. this.vbox2 = new Gtk.VBox();
  67. this.vbox2.Name = "vbox2";
  68. // Container child vbox2.Gtk.Box+BoxChild
  69. this.vbox3 = new Gtk.VBox();
  70. this.vbox3.Name = "vbox3";
  71. // Container child vbox3.Gtk.Box+BoxChild
  72. this.hbox1 = new Gtk.HBox();
  73. this.hbox1.Name = "hbox1";
  74. // Container child hbox1.Gtk.Box+BoxChild
  75. this.label1 = new Gtk.Label();
  76. this.label1.Name = "label1";
  77. this.label1.Xalign = 1F;
  78. this.label1.LabelProp = Mono.Unix.Catalog.GetString("Grid server URL: ");
  79. this.label1.Justify = ((Gtk.Justification)(1));
  80. this.hbox1.Add(this.label1);
  81. Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1]));
  82. w2.Position = 0;
  83. // Container child hbox1.Gtk.Box+BoxChild
  84. this.entry1 = new Gtk.Entry();
  85. this.entry1.CanFocus = true;
  86. this.entry1.Name = "entry1";
  87. this.entry1.Text = Mono.Unix.Catalog.GetString("http://gridserver:8001");
  88. this.entry1.IsEditable = true;
  89. this.entry1.MaxLength = 255;
  90. this.entry1.InvisibleChar = '•';
  91. this.hbox1.Add(this.entry1);
  92. Gtk.Box.BoxChild w3 = ((Gtk.Box.BoxChild)(this.hbox1[this.entry1]));
  93. w3.Position = 1;
  94. this.vbox3.Add(this.hbox1);
  95. Gtk.Box.BoxChild w4 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox1]));
  96. w4.Position = 0;
  97. w4.Expand = false;
  98. w4.Fill = false;
  99. // Container child vbox3.Gtk.Box+BoxChild
  100. this.hbox2 = new Gtk.HBox();
  101. this.hbox2.Name = "hbox2";
  102. // Container child hbox2.Gtk.Box+BoxChild
  103. this.label2 = new Gtk.Label();
  104. this.label2.Name = "label2";
  105. this.label2.Xalign = 1F;
  106. this.label2.LabelProp = Mono.Unix.Catalog.GetString("Username:");
  107. this.label2.Justify = ((Gtk.Justification)(1));
  108. this.hbox2.Add(this.label2);
  109. Gtk.Box.BoxChild w5 = ((Gtk.Box.BoxChild)(this.hbox2[this.label2]));
  110. w5.Position = 0;
  111. // Container child hbox2.Gtk.Box+BoxChild
  112. this.entry2 = new Gtk.Entry();
  113. this.entry2.CanFocus = true;
  114. this.entry2.Name = "entry2";
  115. this.entry2.IsEditable = true;
  116. this.entry2.InvisibleChar = '•';
  117. this.hbox2.Add(this.entry2);
  118. Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(this.hbox2[this.entry2]));
  119. w6.Position = 1;
  120. this.vbox3.Add(this.hbox2);
  121. Gtk.Box.BoxChild w7 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox2]));
  122. w7.Position = 1;
  123. w7.Expand = false;
  124. w7.Fill = false;
  125. // Container child vbox3.Gtk.Box+BoxChild
  126. this.hbox3 = new Gtk.HBox();
  127. this.hbox3.Name = "hbox3";
  128. // Container child hbox3.Gtk.Box+BoxChild
  129. this.label3 = new Gtk.Label();
  130. this.label3.Name = "label3";
  131. this.label3.Xalign = 1F;
  132. this.label3.LabelProp = Mono.Unix.Catalog.GetString("Password:");
  133. this.label3.Justify = ((Gtk.Justification)(1));
  134. this.hbox3.Add(this.label3);
  135. Gtk.Box.BoxChild w8 = ((Gtk.Box.BoxChild)(this.hbox3[this.label3]));
  136. w8.Position = 0;
  137. // Container child hbox3.Gtk.Box+BoxChild
  138. this.entry3 = new Gtk.Entry();
  139. this.entry3.CanFocus = true;
  140. this.entry3.Name = "entry3";
  141. this.entry3.IsEditable = true;
  142. this.entry3.InvisibleChar = '•';
  143. this.hbox3.Add(this.entry3);
  144. Gtk.Box.BoxChild w9 = ((Gtk.Box.BoxChild)(this.hbox3[this.entry3]));
  145. w9.Position = 1;
  146. this.vbox3.Add(this.hbox3);
  147. Gtk.Box.BoxChild w10 = ((Gtk.Box.BoxChild)(this.vbox3[this.hbox3]));
  148. w10.Position = 2;
  149. w10.Expand = false;
  150. w10.Fill = false;
  151. this.vbox2.Add(this.vbox3);
  152. Gtk.Box.BoxChild w11 = ((Gtk.Box.BoxChild)(this.vbox2[this.vbox3]));
  153. w11.Position = 2;
  154. w11.Expand = false;
  155. w11.Fill = false;
  156. w1.Add(this.vbox2);
  157. Gtk.Box.BoxChild w12 = ((Gtk.Box.BoxChild)(w1[this.vbox2]));
  158. w12.Position = 0;
  159. // Internal child OpenGridServices.Manager.ConnectToGridServerDialog.ActionArea
  160. Gtk.HButtonBox w13 = this.ActionArea;
  161. w13.Events = ((Gdk.EventMask)(256));
  162. w13.Name = "OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea";
  163. w13.Spacing = 6;
  164. w13.BorderWidth = ((uint)(5));
  165. w13.LayoutStyle = ((Gtk.ButtonBoxStyle)(4));
  166. // Container child OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  167. this.button2 = new Gtk.Button();
  168. this.button2.CanDefault = true;
  169. this.button2.CanFocus = true;
  170. this.button2.Name = "button2";
  171. this.button2.UseUnderline = true;
  172. // Container child button2.Gtk.Container+ContainerChild
  173. Gtk.Alignment w14 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
  174. w14.Name = "GtkAlignment";
  175. // Container child GtkAlignment.Gtk.Container+ContainerChild
  176. Gtk.HBox w15 = new Gtk.HBox();
  177. w15.Name = "GtkHBox";
  178. w15.Spacing = 2;
  179. // Container child GtkHBox.Gtk.Container+ContainerChild
  180. Gtk.Image w16 = new Gtk.Image();
  181. w16.Name = "image1";
  182. w16.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-apply", 16, 0);
  183. w15.Add(w16);
  184. // Container child GtkHBox.Gtk.Container+ContainerChild
  185. Gtk.Label w18 = new Gtk.Label();
  186. w18.Name = "GtkLabel";
  187. w18.LabelProp = Mono.Unix.Catalog.GetString("Connect");
  188. w18.UseUnderline = true;
  189. w15.Add(w18);
  190. w14.Add(w15);
  191. this.button2.Add(w14);
  192. this.AddActionWidget(this.button2, -5);
  193. Gtk.ButtonBox.ButtonBoxChild w22 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.button2]));
  194. w22.Expand = false;
  195. w22.Fill = false;
  196. // Container child OpenGridServices.Manager.ConnectToGridServerDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild
  197. this.button8 = new Gtk.Button();
  198. this.button8.CanDefault = true;
  199. this.button8.CanFocus = true;
  200. this.button8.Name = "button8";
  201. this.button8.UseUnderline = true;
  202. // Container child button8.Gtk.Container+ContainerChild
  203. Gtk.Alignment w23 = new Gtk.Alignment(0.5F, 0.5F, 0F, 0F);
  204. w23.Name = "GtkAlignment1";
  205. // Container child GtkAlignment1.Gtk.Container+ContainerChild
  206. Gtk.HBox w24 = new Gtk.HBox();
  207. w24.Name = "GtkHBox1";
  208. w24.Spacing = 2;
  209. // Container child GtkHBox1.Gtk.Container+ContainerChild
  210. Gtk.Image w25 = new Gtk.Image();
  211. w25.Name = "image2";
  212. w25.Pixbuf = Gtk.IconTheme.Default.LoadIcon("gtk-cancel", 16, 0);
  213. w24.Add(w25);
  214. // Container child GtkHBox1.Gtk.Container+ContainerChild
  215. Gtk.Label w27 = new Gtk.Label();
  216. w27.Name = "GtkLabel1";
  217. w27.LabelProp = Mono.Unix.Catalog.GetString("Cancel");
  218. w27.UseUnderline = true;
  219. w24.Add(w27);
  220. w23.Add(w24);
  221. this.button8.Add(w23);
  222. this.AddActionWidget(this.button8, -6);
  223. Gtk.ButtonBox.ButtonBoxChild w31 = ((Gtk.ButtonBox.ButtonBoxChild)(w13[this.button8]));
  224. w31.Position = 1;
  225. w31.Expand = false;
  226. w31.Fill = false;
  227. if ((this.Child != null)) {
  228. this.Child.ShowAll();
  229. }
  230. this.DefaultWidth = 476;
  231. this.DefaultHeight = 137;
  232. this.Show();
  233. this.Response += new Gtk.ResponseHandler(this.OnResponse);
  234. }
  235. }
  236. }