OpenGridServices.Manager.ConnectToGridServerDialog.cs 11 KB

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