protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Estado"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label1])); w1.X = 12; w1.Y = 12; // Container child fixed1.Gtk.Fixed+FixedChild this.cmbEstado = global::Gtk.ComboBox.NewText(); this.cmbEstado.AppendText(""); this.cmbEstado.AppendText(global::Mono.Unix.Catalog.GetString("Jalisco")); this.cmbEstado.AppendText(global::Mono.Unix.Catalog.GetString("Nayarit")); this.cmbEstado.AppendText(global::Mono.Unix.Catalog.GetString("Colima")); this.cmbEstado.AppendText(global::Mono.Unix.Catalog.GetString("Yucatan")); this.cmbEstado.Name = "cmbEstado"; this.fixed1.Add(this.cmbEstado); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.cmbEstado])); w2.X = 20; w2.Y = 40; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Idiomas"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label2])); w3.X = 19; w3.Y = 88; // Container child fixed1.Gtk.Fixed+FixedChild this.chkAleman = new global::Gtk.CheckButton(); this.chkAleman.CanFocus = true; this.chkAleman.Name = "chkAleman"; this.chkAleman.Label = global::Mono.Unix.Catalog.GetString("Aleman"); this.chkAleman.DrawIndicator = true; this.chkAleman.UseUnderline = true; this.fixed1.Add(this.chkAleman); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.chkAleman])); w4.X = 15; w4.Y = 112; // Container child fixed1.Gtk.Fixed+FixedChild this.chkIngles = new global::Gtk.CheckButton(); this.chkIngles.CanFocus = true; this.chkIngles.Name = "chkIngles"; this.chkIngles.Label = global::Mono.Unix.Catalog.GetString("Inglés"); this.chkIngles.DrawIndicator = true; this.chkIngles.UseUnderline = true; this.fixed1.Add(this.chkIngles); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.chkIngles])); w5.X = 15; w5.Y = 135; // Container child fixed1.Gtk.Fixed+FixedChild this.chkIslandes = new global::Gtk.CheckButton(); this.chkIslandes.CanFocus = true; this.chkIslandes.Name = "chkIslandes"; this.chkIslandes.Label = global::Mono.Unix.Catalog.GetString("Islandes"); this.chkIslandes.DrawIndicator = true; this.chkIslandes.UseUnderline = true; this.fixed1.Add(this.chkIslandes); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.chkIslandes])); w6.X = 17; w6.Y = 160; // Container child fixed1.Gtk.Fixed+FixedChild this.radMasculino = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Masculino")); this.radMasculino.CanFocus = true; this.radMasculino.Name = "radMasculino"; this.radMasculino.DrawIndicator = true; this.radMasculino.UseUnderline = true; this.radMasculino.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.fixed1.Add(this.radMasculino); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radMasculino])); w7.X = 18; w7.Y = 238; // Container child fixed1.Gtk.Fixed+FixedChild this.radFemenino = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Femenino")); this.radFemenino.CanFocus = true; this.radFemenino.Name = "radFemenino"; this.radFemenino.DrawIndicator = true; this.radFemenino.UseUnderline = true; this.radFemenino.Group = this.radMasculino.Group; this.fixed1.Add(this.radFemenino); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.radFemenino])); w8.X = 18; w8.Y = 265; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Sexo"); this.fixed1.Add(this.label3); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label3])); w9.X = 20; w9.Y = 200; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Fecha de nacimiento"); this.fixed1.Add(this.label4); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w10.X = 202; w10.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.calFecha = new global::Gtk.Calendar(); this.calFecha.CanFocus = true; this.calFecha.Name = "calFecha"; this.calFecha.DisplayOptions = ((global::Gtk.CalendarDisplayOptions)(35)); this.fixed1.Add(this.calFecha); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.calFecha])); w11.X = 212; w11.Y = 73; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Edad"); this.fixed1.Add(this.label5); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label5])); w12.X = 22; w12.Y = 297; // Container child fixed1.Gtk.Fixed+FixedChild this.spinEdad = new global::Gtk.SpinButton(10, 40, 1); this.spinEdad.CanFocus = true; this.spinEdad.Name = "spinEdad"; this.spinEdad.Adjustment.PageIncrement = 10; this.spinEdad.ClimbRate = 1; this.spinEdad.Numeric = true; this.spinEdad.Value = 10; this.fixed1.Add(this.spinEdad); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.spinEdad])); w13.X = 22; w13.Y = 315; // Container child fixed1.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.txtComentarios = new global::Gtk.TextView(); this.txtComentarios.WidthRequest = 440; this.txtComentarios.HeightRequest = 158; this.txtComentarios.CanFocus = true; this.txtComentarios.Name = "txtComentarios"; this.GtkScrolledWindow.Add(this.txtComentarios); this.fixed1.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.GtkScrolledWindow])); w15.X = 26; w15.Y = 370; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Observaciones"); this.fixed1.Add(this.label6); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label6])); w16.X = 30; w16.Y = 347; // Container child fixed1.Gtk.Fixed+FixedChild this.btnGuardar = new global::Gtk.Button(); this.btnGuardar.CanFocus = true; this.btnGuardar.Name = "btnGuardar"; this.btnGuardar.UseUnderline = true; this.btnGuardar.Label = global::Mono.Unix.Catalog.GetString("Guardar"); this.fixed1.Add(this.btnGuardar); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btnGuardar])); w17.X = 404; w17.Y = 284; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 601; this.DefaultHeight = 547; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.Shown += new global::System.EventHandler(this.OnShown); this.cmbEstado.Changed += new global::System.EventHandler(this.OnCombobox1Changed); this.calFecha.PrevMonth += new global::System.EventHandler(this.OnCalFechaPrevMonth); this.calFecha.NextMonth += new global::System.EventHandler(this.OnCalFechaNextMonth); this.calFecha.DaySelected += new global::System.EventHandler(this.OnCalFechaDaySelected); this.btnGuardar.Clicked += new global::System.EventHandler(this.OnBtnGuardarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Turing.TuringDisplay this.WidthRequest = 1400; this.HeightRequest = 800; this.Name = "Turing.TuringDisplay"; this.Title = global::Mono.Unix.Catalog.GetString("TuringDisplay"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Turing.TuringDisplay.Gtk.Container+ContainerChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.WidthRequest = 1390; this.scrolledwindow1.HeightRequest = 710; this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild global::Gtk.Viewport w1 = new global::Gtk.Viewport(); w1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.turingCode = new global::Gtk.DrawingArea(); this.turingCode.Name = "turingCode"; w1.Add(this.turingCode); this.scrolledwindow1.Add(w1); this.fixed2.Add(this.scrolledwindow1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.scrolledwindow1])); w4.X = 5; w4.Y = 5; // Container child fixed2.Gtk.Fixed+FixedChild this.nextStepBtn = new global::Gtk.Button(); this.nextStepBtn.CanFocus = true; this.nextStepBtn.Name = "nextStepBtn"; this.nextStepBtn.UseUnderline = true; this.nextStepBtn.Label = global::Mono.Unix.Catalog.GetString("Наступний крок"); this.fixed2.Add(this.nextStepBtn); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.nextStepBtn])); w5.X = 5; w5.Y = 720; // Container child fixed2.Gtk.Fixed+FixedChild this.runToEnd = new global::Gtk.Button(); this.runToEnd.CanFocus = true; this.runToEnd.Name = "runToEnd"; this.runToEnd.UseUnderline = true; this.runToEnd.Label = global::Mono.Unix.Catalog.GetString("Запустити до кінця без зупинок"); this.fixed2.Add(this.runToEnd); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.runToEnd])); w6.X = 120; w6.Y = 720; // Container child fixed2.Gtk.Fixed+FixedChild this.showLog = new global::Gtk.Button(); this.showLog.CanFocus = true; this.showLog.Name = "showLog"; this.showLog.UseUnderline = true; this.showLog.Label = global::Mono.Unix.Catalog.GetString("Показати лог виконання программи"); this.fixed2.Add(this.showLog); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.showLog])); w7.X = 330; w7.Y = 720; // Container child fixed2.Gtk.Fixed+FixedChild this.turingAruaContainer = new global::Gtk.ScrolledWindow(); this.turingAruaContainer.WidthRequest = 1390; this.turingAruaContainer.HeightRequest = 35; this.turingAruaContainer.CanFocus = true; this.turingAruaContainer.Name = "turingAruaContainer"; this.turingAruaContainer.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child turingAruaContainer.Gtk.Container+ContainerChild global::Gtk.Viewport w8 = new global::Gtk.Viewport(); w8.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport1.Gtk.Container+ContainerChild this.turingAria = new global::Gtk.DrawingArea(); this.turingAria.Name = "turingAria"; w8.Add(this.turingAria); this.turingAruaContainer.Add(w8); this.fixed2.Add(this.turingAruaContainer); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.turingAruaContainer])); w11.X = 5; w11.Y = 760; // Container child fixed2.Gtk.Fixed+FixedChild this.expander1 = new global::Gtk.Expander(null); this.expander1.CanFocus = true; this.expander1.Name = "expander1"; this.GtkLabel = new global::Gtk.Label(); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.UseUnderline = true; this.expander1.LabelWidget = this.GtkLabel; this.fixed2.Add(this.expander1); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.expander1])); w12.X = 614; w12.Y = 144; this.Add(this.fixed2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1400; this.DefaultHeight = 800; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("OpenWeasel Setup"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.Gravity = ((global::Gdk.Gravity)(5)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.WidthRequest = 350; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.acceptbt = new global::Gtk.Button(); this.acceptbt.WidthRequest = 138; this.acceptbt.CanFocus = true; this.acceptbt.Events = ((global::Gdk.EventMask)(256)); this.acceptbt.Name = "acceptbt"; this.acceptbt.UseUnderline = true; this.acceptbt.Label = global::Mono.Unix.Catalog.GetString("Accept"); this.fixed1.Add(this.acceptbt); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.acceptbt])); w1.X = 416; w1.Y = 463; // Container child fixed1.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview2 = new global::Gtk.TextView(); this.textview2.Buffer.Text = "GNU GENERAL PUBLIC LICENSE\n\nVersion 3, 29 June 2007\n\nCopyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>\n\nEveryone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.\nPreamble\n\nThe GNU General Public License is a free, copyleft license for software and other kinds of works.\n\nThe licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.\n\nWhen we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.\n\nTo protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.\n\nFor example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.\n\nDevelopers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.\n\nFor the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.\n\nSome devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.\n\nFinally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.\n\nThe precise terms and conditions for copying, distribution and modification follow.\nTERMS AND CONDITIONS\n0. Definitions.\n\n“This License” refers to version 3 of the GNU General Public License.\n\n“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.\n\n“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.\n\nTo “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.\n\nA “covered work” means either the unmodified Program or a work based on the Program.\n\nTo “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.\n\nTo “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.\n\nAn interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.\n1. Source Code.\n\nThe “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.\n\nA “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.\n\nThe “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.\n\nThe “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.\n\nThe Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.\n\nThe Corresponding Source for a work in source code form is that same work.\n2. Basic Permissions.\n\nAll rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.\n\nYou may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.\n\nConveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.\n3. Protecting Users' Legal Rights From Anti-Circumvention Law.\n\nNo covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.\n\nWhen you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.\n4. Conveying Verbatim Copies.\n\nYou may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.\n\nYou may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.\n5. Conveying Modified Source Versions.\n\nYou may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:\n\n a) The work must carry prominent notices stating that you modified it, and giving a relevant date.\n b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.\n c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.\n d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.\n\nA compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.\n6. Conveying Non-Source Forms.\n\nYou may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:\n\n a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.\n b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.\n c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.\n d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.\n e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.\n\nA separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.\n\nA “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.\n\n“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.\n\nIf you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).\n\nThe requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.\n\nCorresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.\n7. Additional Terms.\n\n“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.\n\nWhen you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.\n\nNotwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:\n\n a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or\n b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or\n c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or\n d) Limiting the use for publicity purposes of names of licensors or authors of the material; or\n e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or\n f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.\n\nAll other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.\n\nIf you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.\n\nAdditional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.\n8. Termination.\n\nYou may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).\n\nHowever, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.\n\nMoreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.\n\nTermination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.\n9. Acceptance Not Required for Having Copies.\n\nYou are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.\n10. Automatic Licensing of Downstream Recipients.\n\nEach time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.\n\nAn “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.\n\nYou may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.\n11. Patents.\n\nA “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.\n\nA contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.\n\nEach contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.\n\nIn the following three paragraphs, a “patent license” is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.\n\nIf you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.\n\nIf, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.\n\nA patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.\n\nNothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.\n12. No Surrender of Others' Freedom.\n\nIf conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.\n13. Use with the GNU Affero General Public License.\n\nNotwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.\n14. Revised Versions of this License.\n\nThe Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.\n\nEach version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.\n\nIf the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.\n\nLater license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.\n15. Disclaimer of Warranty.\n\nTHERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.\n16. Limitation of Liability.\n\nIN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.\n17. Interpretation of Sections 15 and 16.\n\nIf the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.\n\nEND OF TERMS AND CONDITIONS"; this.textview2.WidthRequest = 582; this.textview2.HeightRequest = 406; this.textview2.CanFocus = true; this.textview2.Name = "textview2"; this.textview2.Editable = false; this.textview2.Overwrite = true; this.textview2.Justification = ((global::Gtk.Justification)(2)); this.textview2.WrapMode = ((global::Gtk.WrapMode)(2)); this.GtkScrolledWindow.Add(this.textview2); this.fixed1.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.GtkScrolledWindow])); w3.Y = 28; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Terms and Conditions"); this.fixed1.Add(this.label3); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label3])); w4.X = 214; w4.Y = 6; // Container child fixed1.Gtk.Fixed+FixedChild this.declinebt = new global::Gtk.Button(); this.declinebt.WidthRequest = 138; this.declinebt.CanFocus = true; this.declinebt.Events = ((global::Gdk.EventMask)(3840)); this.declinebt.Name = "declinebt"; this.declinebt.UseUnderline = true; this.declinebt.Label = global::Mono.Unix.Catalog.GetString("Decline"); this.fixed1.Add(this.declinebt); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.declinebt])); w5.X = 32; w5.Y = 463; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 584; this.DefaultHeight = 515; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.acceptbt.Released += new global::System.EventHandler(this.OnAcceptbtReleased); this.declinebt.Clicked += new global::System.EventHandler(this.OnDeclinebtClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Game Of Life"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.GameOfLifeFixed = new global::Gtk.Fixed(); this.GameOfLifeFixed.Name = "GameOfLifeFixed"; this.GameOfLifeFixed.HasWindow = false; // Container child GameOfLifeFixed.Gtk.Fixed+FixedChild this.StartButton = new global::Gtk.Button(); this.StartButton.CanFocus = true; this.StartButton.Name = "StartButton"; this.StartButton.UseUnderline = true; this.StartButton.Label = global::Mono.Unix.Catalog.GetString("Start"); this.GameOfLifeFixed.Add(this.StartButton); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.GameOfLifeFixed[this.StartButton])); w1.X = 17; w1.Y = 23; // Container child GameOfLifeFixed.Gtk.Fixed+FixedChild this.StopButton = new global::Gtk.Button(); this.StopButton.CanFocus = true; this.StopButton.Name = "StopButton"; this.StopButton.UseUnderline = true; this.StopButton.Label = global::Mono.Unix.Catalog.GetString("Stop"); this.GameOfLifeFixed.Add(this.StopButton); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.GameOfLifeFixed[this.StopButton])); w2.X = 19; w2.Y = 62; // Container child GameOfLifeFixed.Gtk.Fixed+FixedChild this.ResetButton = new global::Gtk.Button(); this.ResetButton.CanFocus = true; this.ResetButton.Name = "ResetButton"; this.ResetButton.UseUnderline = true; this.ResetButton.Label = global::Mono.Unix.Catalog.GetString("Reset"); this.GameOfLifeFixed.Add(this.ResetButton); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.GameOfLifeFixed[this.ResetButton])); w3.X = 17; w3.Y = 104; // Container child GameOfLifeFixed.Gtk.Fixed+FixedChild this.QuitButton = new global::Gtk.Button(); this.QuitButton.CanFocus = true; this.QuitButton.Name = "QuitButton"; this.QuitButton.UseUnderline = true; this.QuitButton.Label = global::Mono.Unix.Catalog.GetString("Quit"); this.GameOfLifeFixed.Add(this.QuitButton); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.GameOfLifeFixed[this.QuitButton])); w4.X = 20; w4.Y = 145; // Container child GameOfLifeFixed.Gtk.Fixed+FixedChild this.GameOfLifeTickCount = new global::Gtk.Label(); this.GameOfLifeTickCount.Name = "GameOfLifeTickCount"; this.GameOfLifeTickCount.LabelProp = global::Mono.Unix.Catalog.GetString("0"); this.GameOfLifeFixed.Add(this.GameOfLifeTickCount); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.GameOfLifeFixed[this.GameOfLifeTickCount])); w5.X = 456; w5.Y = 445; // Container child GameOfLifeFixed.Gtk.Fixed+FixedChild this.GameOfLifeTickCountLabel = new global::Gtk.Label(); this.GameOfLifeTickCountLabel.Name = "GameOfLifeTickCountLabel"; this.GameOfLifeTickCountLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Tick Count:"); this.GameOfLifeFixed.Add(this.GameOfLifeTickCountLabel); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.GameOfLifeFixed[this.GameOfLifeTickCountLabel])); w6.X = 350; w6.Y = 445; // Container child GameOfLifeFixed.Gtk.Fixed+FixedChild this.GameOfLifeCellGrid = new global::Gtk.DrawingArea(); this.GameOfLifeCellGrid.WidthRequest = 400; this.GameOfLifeCellGrid.HeightRequest = 400; this.GameOfLifeCellGrid.Name = "GameOfLifeCellGrid"; this.GameOfLifeFixed.Add(this.GameOfLifeCellGrid); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.GameOfLifeFixed[this.GameOfLifeCellGrid])); w7.X = 73; w7.Y = 22; this.Add(this.GameOfLifeFixed); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 489; this.DefaultHeight = 475; this.Show(); this.StartButton.Clicked += new global::System.EventHandler(this.OnStartButtonClicked); this.StopButton.Clicked += new global::System.EventHandler(this.OnStopButtonClicked); this.ResetButton.Clicked += new global::System.EventHandler(this.OnResetButtonClicked); this.QuitButton.Clicked += new global::System.EventHandler(this.OnQuitButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("вычислить"); this.fixed1.Add(this.button1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button1])); w1.X = 10; w1.Y = 230; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed1.Add(this.entry1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry1])); w2.X = 50; w2.Y = 5; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("b="); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w3.X = 10; w3.Y = 40; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("a="); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w4.X = 10; w4.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.entry2 = new global::Gtk.Entry(); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '●'; this.fixed1.Add(this.entry2); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry2])); w5.X = 50; w5.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("c="); this.fixed1.Add(this.label3); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label3])); w6.X = 10; w6.Y = 60; // Container child fixed1.Gtk.Fixed+FixedChild this.entry3 = new global::Gtk.Entry(); this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '●'; this.fixed1.Add(this.entry3); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry3])); w7.X = 50; w7.Y = 60; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("b="); this.fixed1.Add(this.label4); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label4])); w8.X = 10; w8.Y = 90; // Container child fixed1.Gtk.Fixed+FixedChild this.entry4 = new global::Gtk.Entry(); this.entry4.Sensitive = false; this.entry4.CanFocus = true; this.entry4.Name = "entry4"; this.entry4.IsEditable = true; this.entry4.InvisibleChar = '●'; this.fixed1.Add(this.entry4); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry4])); w9.X = 50; w9.Y = 90; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("x1="); this.fixed1.Add(this.label5); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label5])); w10.X = 10; w10.Y = 120; // Container child fixed1.Gtk.Fixed+FixedChild this.entry5 = new global::Gtk.Entry(); this.entry5.Sensitive = false; this.entry5.CanFocus = true; this.entry5.Name = "entry5"; this.entry5.IsEditable = true; this.entry5.InvisibleChar = '●'; this.fixed1.Add(this.entry5); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry5])); w11.X = 50; w11.Y = 120; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("x2="); this.fixed1.Add(this.label6); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label6])); w12.X = 10; w12.Y = 150; // Container child fixed1.Gtk.Fixed+FixedChild this.entry6 = new global::Gtk.Entry(); this.entry6.Sensitive = false; this.entry6.CanFocus = true; this.entry6.Name = "entry6"; this.entry6.IsEditable = true; this.entry6.InvisibleChar = '●'; this.fixed1.Add(this.entry6); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry6])); w13.X = 50; w13.Y = 150; // Container child fixed1.Gtk.Fixed+FixedChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("очистить"); this.fixed1.Add(this.button2); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button2])); w14.X = 100; w14.Y = 230; // Container child fixed1.Gtk.Fixed+FixedChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("сбросить"); this.fixed1.Add(this.button3); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button3])); w15.X = 190; w15.Y = 230; // Container child fixed1.Gtk.Fixed+FixedChild this.star1 = new global::Gtk.Label(); this.star1.Name = "star1"; this.star1.LabelProp = global::Mono.Unix.Catalog.GetString("*"); this.fixed1.Add(this.star1); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.star1])); w16.X = 215; w16.Y = 10; // Container child fixed1.Gtk.Fixed+FixedChild this.star2 = new global::Gtk.Label(); this.star2.Name = "star2"; this.star2.LabelProp = global::Mono.Unix.Catalog.GetString("*"); this.fixed1.Add(this.star2); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.star2])); w17.X = 215; w17.Y = 35; // Container child fixed1.Gtk.Fixed+FixedChild this.star3 = new global::Gtk.Label(); this.star3.Name = "star3"; this.star3.LabelProp = global::Mono.Unix.Catalog.GetString("*"); this.fixed1.Add(this.star3); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.star3])); w18.X = 215; w18.Y = 65; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 405; this.DefaultHeight = 300; this.label4.Hide(); this.entry4.Hide(); this.label5.Hide(); this.entry5.Hide(); this.label6.Hide(); this.entry6.Hide(); this.star1.Hide(); this.star2.Hide(); this.star3.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Proyecto.mailForm this.Name = "Proyecto.mailForm"; this.Title = global::Mono.Unix.Catalog.GetString("mailForm"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Proyecto.mailForm.Gtk.Container+ContainerChild this.fixed3 = new global::Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; // Container child fixed3.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Para:"); this.fixed3.Add(this.label1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.label1])); w1.X = 100; w1.Y = 60; // Container child fixed3.Gtk.Fixed+FixedChild this.Para = new global::Gtk.Entry(); this.Para.CanFocus = true; this.Para.Name = "Para"; this.Para.IsEditable = true; this.Para.InvisibleChar = '●'; this.fixed3.Add(this.Para); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.Para])); w2.X = 140; w2.Y = 55; // Container child fixed3.Gtk.Fixed+FixedChild this.Asunto = new global::Gtk.Entry(); this.Asunto.CanFocus = true; this.Asunto.Name = "Asunto"; this.Asunto.IsEditable = true; this.Asunto.InvisibleChar = '●'; this.fixed3.Add(this.Asunto); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.Asunto])); w3.X = 145; w3.Y = 102; // Container child fixed3.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Asunto"); this.fixed3.Add(this.label2); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.label2])); w4.X = 95; w4.Y = 108; // Container child fixed3.Gtk.Fixed+FixedChild this.Enviar = new global::Gtk.Button(); this.Enviar.CanFocus = true; this.Enviar.Name = "Enviar"; this.Enviar.UseUnderline = true; this.Enviar.Label = global::Mono.Unix.Catalog.GetString("Enviar"); this.fixed3.Add(this.Enviar); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.Enviar])); w5.X = 583; w5.Y = 385; // Container child fixed3.Gtk.Fixed+FixedChild this.Body = new global::Gtk.Entry(); this.Body.WidthRequest = 400; this.Body.HeightRequest = 200; this.Body.CanFocus = true; this.Body.Name = "Body"; this.Body.IsEditable = true; this.Body.InvisibleChar = '●'; this.fixed3.Add(this.Body); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.Body])); w6.X = 104; w6.Y = 153; this.Add(this.fixed3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 660; this.DefaultHeight = 429; this.Show(); this.Enviar.Clicked += new global::System.EventHandler(this.OnEnviarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget escuela_manejo.Security_forms.SecurityAdmin this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.UsuariosAction = new global::Gtk.Action("UsuariosAction", global::Mono.Unix.Catalog.GetString("Usuarios"), null, null); this.UsuariosAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Usuarios"); w1.Add(this.UsuariosAction, null); this.RolesAction = new global::Gtk.Action("RolesAction", global::Mono.Unix.Catalog.GetString("Roles"), null, null); this.RolesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Roles"); w1.Add(this.RolesAction, null); this.OpcionesAction = new global::Gtk.Action("OpcionesAction", global::Mono.Unix.Catalog.GetString("Opciones"), null, null); this.OpcionesAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Opciones"); w1.Add(this.OpcionesAction, null); this.AgregarAction = new global::Gtk.Action("AgregarAction", global::Mono.Unix.Catalog.GetString("Agregar"), null, null); this.AgregarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Agregar"); w1.Add(this.AgregarAction, null); this.ModificarYEliminarAction = new global::Gtk.Action("ModificarYEliminarAction", global::Mono.Unix.Catalog.GetString("Modificar y Eliminar"), null, null); this.ModificarYEliminarAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Modificar y Eliminar"); w1.Add(this.ModificarYEliminarAction, null); this.AgregarAction1 = new global::Gtk.Action("AgregarAction1", global::Mono.Unix.Catalog.GetString("Agregar"), null, null); this.AgregarAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Agregar"); w1.Add(this.AgregarAction1, null); this.ModificarYEliminarAction1 = new global::Gtk.Action("ModificarYEliminarAction1", global::Mono.Unix.Catalog.GetString("Modificar y eliminar"), null, null); this.ModificarYEliminarAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Modificar y eliminar"); w1.Add(this.ModificarYEliminarAction1, null); this.AgregarAction2 = new global::Gtk.Action("AgregarAction2", global::Mono.Unix.Catalog.GetString("Agregar"), null, null); this.AgregarAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Agregar"); w1.Add(this.AgregarAction2, null); this.ModificarYEliminarAction2 = new global::Gtk.Action("ModificarYEliminarAction2", global::Mono.Unix.Catalog.GetString("Modificar y eliminar"), null, null); this.ModificarYEliminarAction2.ShortLabel = global::Mono.Unix.Catalog.GetString("Modificar y eliminar"); w1.Add(this.ModificarYEliminarAction2, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "escuela_manejo.Security_forms.SecurityAdmin"; this.Title = global::Mono.Unix.Catalog.GetString("SecurityMain"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child escuela_manejo.Security_forms.SecurityAdmin.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar1'><menu name='UsuariosAction' action='UsuariosAction'><menuitem name='AgregarAction' action='AgregarAction'/><menuitem name='ModificarYEliminarAction' action='ModificarYEliminarAction'/></menu><menu name='RolesAction' action='RolesAction'><menuitem name='AgregarAction1' action='AgregarAction1'/><menuitem name='ModificarYEliminarAction1' action='ModificarYEliminarAction1'/></menu><menu name='OpcionesAction' action='OpcionesAction'><menuitem name='AgregarAction2' action='AgregarAction2'/><menuitem name='ModificarYEliminarAction2' action='ModificarYEliminarAction2'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.fixed1.Add(this.menubar1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.menubar1])); w2.X = -2; w2.Y = 3; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 463; this.DefaultHeight = 300; this.Show(); this.AgregarAction.Activated += new global::System.EventHandler(this.OnButtonAddUserClicked); this.ModificarYEliminarAction.Activated += new global::System.EventHandler(this.OnButtonModifyUserClicked); this.AgregarAction1.Activated += new global::System.EventHandler(this.OnButtonAddRolClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Gebat.FoodManager this.Name = "Gebat.FoodManager"; this.Title = global::Mono.Unix.Catalog.GetString("FoodManager"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Gebat.FoodManager.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.fixedQuantity = new global::Gtk.Fixed(); this.fixedQuantity.Name = "fixedQuantity"; this.fixedQuantity.HasWindow = false; // Container child fixedQuantity.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre: "); this.fixedQuantity.Add(this.label2); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixedQuantity [this.label2])); w1.X = 4; w1.Y = 83; // Container child fixedQuantity.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Cantidad: "); this.fixedQuantity.Add(this.label3); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixedQuantity [this.label3])); w2.X = 4; w2.Y = 157; // Container child fixedQuantity.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Tipo de cantidad: "); this.fixedQuantity.Add(this.label4); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixedQuantity [this.label4])); w3.X = 7; w3.Y = 239; // Container child fixedQuantity.Gtk.Fixed+FixedChild this.comboboxType = global::Gtk.ComboBox.NewText(); this.comboboxType.Name = "comboboxType"; this.fixedQuantity.Add(this.comboboxType); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixedQuantity [this.comboboxType])); w4.X = 133; w4.Y = 231; // Container child fixedQuantity.Gtk.Fixed+FixedChild this.spinbuttonQuantity = new global::Gtk.SpinButton(0, 100, 1); this.spinbuttonQuantity.CanFocus = true; this.spinbuttonQuantity.Name = "spinbuttonQuantity"; this.spinbuttonQuantity.Adjustment.PageIncrement = 10; this.spinbuttonQuantity.ClimbRate = 1; this.spinbuttonQuantity.Numeric = true; this.fixedQuantity.Add(this.spinbuttonQuantity); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixedQuantity [this.spinbuttonQuantity])); w5.X = 132; w5.Y = 150; // Container child fixedQuantity.Gtk.Fixed+FixedChild this.entryName = new global::Gtk.Entry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.fixedQuantity.Add(this.entryName); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixedQuantity [this.entryName])); w6.X = 128; w6.Y = 75; // Container child fixedQuantity.Gtk.Fixed+FixedChild this.buttonAccept = new global::Gtk.Button(); this.buttonAccept.CanFocus = true; this.buttonAccept.Name = "buttonAccept"; this.buttonAccept.UseUnderline = true; // Container child buttonAccept.Gtk.Container+ContainerChild global::Gtk.Alignment w7 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w8 = new global::Gtk.HBox(); w8.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w9 = new global::Gtk.Image(); w9.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); w8.Add(w9); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w11 = new global::Gtk.Label(); w11.LabelProp = global::Mono.Unix.Catalog.GetString("Aceptar"); w11.UseUnderline = true; w8.Add(w11); w7.Add(w8); this.buttonAccept.Add(w7); this.fixedQuantity.Add(this.buttonAccept); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixedQuantity [this.buttonAccept])); w15.X = 126; w15.Y = 337; this.hbox1.Add(this.fixedQuantity); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixedQuantity])); w16.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Buscar: "); this.hbox3.Add(this.label1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label1])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.entrySearch = new global::Gtk.Entry(); this.entrySearch.CanFocus = true; this.entrySearch.Name = "entrySearch"; this.entrySearch.IsEditable = true; this.entrySearch.InvisibleChar = '●'; this.hbox3.Add(this.entrySearch); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entrySearch])); w18.Position = 1; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w19.Position = 0; w19.Expand = false; w19.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewFood = new global::Gtk.TreeView(); this.treeviewFood.CanFocus = true; this.treeviewFood.Name = "treeviewFood"; this.GtkScrolledWindow.Add(this.treeviewFood); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w21.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.buttonDelete = new global::Gtk.Button(); this.buttonDelete.Sensitive = false; this.buttonDelete.CanFocus = true; this.buttonDelete.Name = "buttonDelete"; this.buttonDelete.UseUnderline = true; // Container child buttonDelete.Gtk.Container+ContainerChild global::Gtk.Alignment w22 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w23 = new global::Gtk.HBox(); w23.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w24 = new global::Gtk.Image(); w24.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-delete", global::Gtk.IconSize.Menu); w23.Add(w24); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w26 = new global::Gtk.Label(); w26.LabelProp = global::Mono.Unix.Catalog.GetString("Eliminar"); w26.UseUnderline = true; w23.Add(w26); w22.Add(w23); this.buttonDelete.Add(w22); this.hbox2.Add(this.buttonDelete); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonDelete])); w30.Position = 1; w30.Expand = false; w30.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w31.Position = 2; w31.Expand = false; w31.Fill = false; this.hbox1.Add(this.vbox1); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.vbox1])); w32.Position = 1; this.Add(this.hbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 717; this.DefaultHeight = 544; this.Show(); this.comboboxType.Changed += new global::System.EventHandler(this.quantityChanged); this.buttonAccept.Clicked += new global::System.EventHandler(this.insertFood); this.entrySearch.Changed += new global::System.EventHandler(this.searchFood); this.treeviewFood.CursorChanged += new global::System.EventHandler(this.treefoodchanged); this.buttonDelete.Clicked += new global::System.EventHandler(this.deletefood); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("File"); w1.Add(this.FileAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", global::Mono.Unix.Catalog.GetString("Quit"), null, null); this.QuitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Quit"); w1.Add(this.QuitAction, null); this.HelpAction1 = new global::Gtk.Action("HelpAction1", global::Mono.Unix.Catalog.GetString("Help"), null, null); this.HelpAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("Help"); w1.Add(this.HelpAction1, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("About"), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("About"); w1.Add(this.AboutAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Maxixie"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-yes", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar2'><menu name='FileAction' action='FileAction'><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='HelpAction1' action='HelpAction1'/><menuitem name='AboutAction' action='AboutAction'/></menu><menu><menuitem/></menu><menu><menuitem/></menu></menubar></ui>"); this.menubar2 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar2"))); this.menubar2.Name = "menubar2"; this.vbox2.Add(this.menubar2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.menubar2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu><menuitem/></menu><menu><menuitem/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox2.Add(this.menubar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.menubar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.btn_clear = new global::Gtk.Button(); this.btn_clear.CanFocus = true; this.btn_clear.Name = "btn_clear"; this.btn_clear.UseUnderline = true; this.btn_clear.Label = global::Mono.Unix.Catalog.GetString("Clear"); this.fixed1.Add(this.btn_clear); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btn_clear])); w4.X = 309; w4.Y = 188; // Container child fixed1.Gtk.Fixed+FixedChild this.btn_write = new global::Gtk.Button(); this.btn_write.CanFocus = true; this.btn_write.Name = "btn_write"; this.btn_write.UseUnderline = true; this.btn_write.Label = global::Mono.Unix.Catalog.GetString("Write"); this.fixed1.Add(this.btn_write); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btn_write])); w5.X = 309; w5.Y = 157; // Container child fixed1.Gtk.Fixed+FixedChild this.btn_quit = new global::Gtk.Button(); this.btn_quit.CanFocus = true; this.btn_quit.Name = "btn_quit"; this.btn_quit.UseUnderline = true; this.btn_quit.Label = global::Mono.Unix.Catalog.GetString("Quit"); this.fixed1.Add(this.btn_quit); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btn_quit])); w6.X = 348; w6.Y = 189; // Container child fixed1.Gtk.Fixed+FixedChild this.chkBx_readOnly = new global::Gtk.CheckButton(); this.chkBx_readOnly.CanFocus = true; this.chkBx_readOnly.Name = "chkBx_readOnly"; this.chkBx_readOnly.Label = global::Mono.Unix.Catalog.GetString("Read Only"); this.chkBx_readOnly.DrawIndicator = true; this.chkBx_readOnly.UseUnderline = true; this.fixed1.Add(this.chkBx_readOnly); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkBx_readOnly])); w7.X = 9; w7.Y = 15; // Container child fixed1.Gtk.Fixed+FixedChild this.chkBx_printable = new global::Gtk.CheckButton(); this.chkBx_printable.CanFocus = true; this.chkBx_printable.Name = "chkBx_printable"; this.chkBx_printable.Label = global::Mono.Unix.Catalog.GetString("Printable"); this.chkBx_printable.DrawIndicator = true; this.chkBx_printable.UseUnderline = true; this.fixed1.Add(this.chkBx_printable); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkBx_printable])); w8.X = 9; w8.Y = 33; // Container child fixed1.Gtk.Fixed+FixedChild this.chkBx_guests = new global::Gtk.CheckButton(); this.chkBx_guests.CanFocus = true; this.chkBx_guests.Name = "chkBx_guests"; this.chkBx_guests.Label = global::Mono.Unix.Catalog.GetString("Allow Guests"); this.chkBx_guests.DrawIndicator = true; this.chkBx_guests.UseUnderline = true; this.fixed1.Add(this.chkBx_guests); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkBx_guests])); w9.X = 9; w9.Y = 50; // Container child fixed1.Gtk.Fixed+FixedChild this.chkBx_browseable = new global::Gtk.CheckButton(); this.chkBx_browseable.CanFocus = true; this.chkBx_browseable.Name = "chkBx_browseable"; this.chkBx_browseable.Label = global::Mono.Unix.Catalog.GetString("Browseable"); this.chkBx_browseable.DrawIndicator = true; this.chkBx_browseable.UseUnderline = true; this.fixed1.Add(this.chkBx_browseable); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.chkBx_browseable])); w10.X = 9; w10.Y = 67; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBx_shareName = new global::Gtk.Entry(); this.txtBx_shareName.CanFocus = true; this.txtBx_shareName.Name = "txtBx_shareName"; this.txtBx_shareName.IsEditable = true; this.txtBx_shareName.InvisibleChar = '●'; this.fixed1.Add(this.txtBx_shareName); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBx_shareName])); w11.X = 215; w11.Y = 4; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBx_desc = new global::Gtk.Entry(); this.txtBx_desc.CanFocus = true; this.txtBx_desc.Name = "txtBx_desc"; this.txtBx_desc.IsEditable = true; this.txtBx_desc.InvisibleChar = '●'; this.fixed1.Add(this.txtBx_desc); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBx_desc])); w12.X = 216; w12.Y = 35; // Container child fixed1.Gtk.Fixed+FixedChild this.txtbx_path = new global::Gtk.Entry(); this.txtbx_path.CanFocus = true; this.txtbx_path.Name = "txtbx_path"; this.txtbx_path.IsEditable = true; this.txtbx_path.InvisibleChar = '●'; this.fixed1.Add(this.txtbx_path); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtbx_path])); w13.X = 214; w13.Y = 70; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBx_validUsers = new global::Gtk.Entry(); this.txtBx_validUsers.CanFocus = true; this.txtBx_validUsers.Name = "txtBx_validUsers"; this.txtBx_validUsers.IsEditable = true; this.txtBx_validUsers.InvisibleChar = '●'; this.fixed1.Add(this.txtBx_validUsers); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBx_validUsers])); w14.X = 212; w14.Y = 103; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Share Name"); this.fixed1.Add(this.label4); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label4])); w15.X = 142; w15.Y = 6; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Description"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w16.X = 146; w16.Y = 38; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Share Path"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w17.X = 143; w17.Y = 74; // Container child fixed1.Gtk.Fixed+FixedChild this.btn_userHelp = new global::Gtk.Button(); this.btn_userHelp.CanFocus = true; this.btn_userHelp.Name = "btn_userHelp"; this.btn_userHelp.UseUnderline = true; this.btn_userHelp.Label = global::Mono.Unix.Catalog.GetString("?"); this.fixed1.Add(this.btn_userHelp); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btn_userHelp])); w18.X = 196; w18.Y = 102; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Valid Users"); this.fixed1.Add(this.label3); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label3])); w19.X = 131; w19.Y = 107; this.vbox2.Add(this.fixed1); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.fixed1])); w20.Position = 2; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 293; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler(this.OnQuitActionActivated); this.HelpAction1.Activated += new global::System.EventHandler(this.OnHelpAction1Activated); this.AboutAction.Activated += new global::System.EventHandler(this.OnAboutActionActivated); this.btn_clear.Clicked += new global::System.EventHandler(this.OnBtnClearClicked); this.btn_write.Clicked += new global::System.EventHandler(this.OnBtnWriteClicked); this.btn_quit.Clicked += new global::System.EventHandler(this.OnBtnQuitClicked); this.btn_userHelp.Activated += new global::System.EventHandler(this.OnBtnUserHelpActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.FileAction = new global::Gtk.Action("FileAction", global::Mono.Unix.Catalog.GetString("_File"), null, null); this.FileAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_File"); w1.Add(this.FileAction, null); this.OpenURLAction = new global::Gtk.Action("OpenURLAction", global::Mono.Unix.Catalog.GetString("_Open URL..."), null, null); this.OpenURLAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Open URL ..."); w1.Add(this.OpenURLAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("_Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Exit"); w1.Add(this.ExitAction, null); this.MediaPlayerAction = new global::Gtk.Action("MediaPlayerAction", global::Mono.Unix.Catalog.GetString("_Media Player"), null, null); this.MediaPlayerAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Media Player"); w1.Add(this.MediaPlayerAction, null); this.AlwaysOnTopAction = new global::Gtk.ToggleAction("AlwaysOnTopAction", global::Mono.Unix.Catalog.GetString("Always on Top"), null, null); this.AlwaysOnTopAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Always on Top"); w1.Add(this.AlwaysOnTopAction, null); this.HelpAction = new global::Gtk.Action("HelpAction", global::Mono.Unix.Catalog.GetString("_Help"), null, null); this.HelpAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_Help"); w1.Add(this.HelpAction, null); this.AboutAction = new global::Gtk.Action("AboutAction", global::Mono.Unix.Catalog.GetString("_About..."), null, null); this.AboutAction.ShortLabel = global::Mono.Unix.Catalog.GetString("_About..."); w1.Add(this.AboutAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("LiveStreamer"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-network", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='OpenURLAction' action='OpenURLAction'/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.Name = "menubar1"; this.vbox2.Add(this.menubar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.menubar1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanDefault = true; this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 273; // Container child hpaned1.Gtk.Paned+PanedChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.streamList = new global::Gtk.TreeView(); this.streamList.CanFocus = true; this.streamList.Name = "streamList"; this.streamList.Reorderable = true; this.streamList.SearchColumn = 0; this.GtkScrolledWindow.Add(this.streamList); this.hbox4.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.GtkScrolledWindow])); w4.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.vbuttonbox2 = new global::Gtk.VButtonBox(); this.vbuttonbox2.Name = "vbuttonbox2"; this.vbuttonbox2.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(3)); // Container child vbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; // Container child button2.Gtk.Container+ContainerChild global::Gtk.Alignment w5 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w6 = new global::Gtk.HBox(); w6.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w7 = new global::Gtk.Image(); w7.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-add", global::Gtk.IconSize.Menu); w6.Add(w7); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w9 = new global::Gtk.Label(); w9.LabelProp = global::Mono.Unix.Catalog.GetString("_Add"); w9.UseUnderline = true; w6.Add(w9); w5.Add(w6); this.button2.Add(w5); this.vbuttonbox2.Add(this.button2); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox2 [this.button2])); w13.Expand = false; w13.Fill = false; // Container child vbuttonbox2.Gtk.ButtonBox+ButtonBoxChild this.button4 = new global::Gtk.Button(); this.button4.CanFocus = true; this.button4.Name = "button4"; this.button4.UseUnderline = true; // Container child button4.Gtk.Container+ContainerChild global::Gtk.Alignment w14 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w15 = new global::Gtk.HBox(); w15.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w16 = new global::Gtk.Image(); w16.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-remove", global::Gtk.IconSize.Menu); w15.Add(w16); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w18 = new global::Gtk.Label(); w18.LabelProp = global::Mono.Unix.Catalog.GetString("_Remove"); w18.UseUnderline = true; w15.Add(w18); w14.Add(w15); this.button4.Add(w14); this.vbuttonbox2.Add(this.button4); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbuttonbox2 [this.button4])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.hbox4.Add(this.vbuttonbox2); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbuttonbox2])); w23.Position = 1; w23.Expand = false; w23.Fill = false; this.hpaned1.Add(this.hbox4); global::Gtk.Paned.PanedChild w24 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.hbox4])); w24.Resize = false; w24.Shrink = false; // Container child hpaned1.Gtk.Paned+PanedChild this.fixed11 = new global::Gtk.Fixed(); this.fixed11.Name = "fixed11"; this.fixed11.HasWindow = false; // Container child fixed11.Gtk.Fixed+FixedChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); this.GtkAlignment3.BorderWidth = ((uint)(3)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.table4 = new global::Gtk.Table(((uint)(2)), ((uint)(3)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.addPlayerButton = new global::Gtk.Button(); this.addPlayerButton.CanFocus = true; this.addPlayerButton.Name = "addPlayerButton"; this.addPlayerButton.UseUnderline = true; // Container child addPlayerButton.Gtk.Container+ContainerChild global::Gtk.Alignment w25 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w26 = new global::Gtk.HBox(); w26.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w27 = new global::Gtk.Image(); w27.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-edit", global::Gtk.IconSize.Menu); w26.Add(w27); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w29 = new global::Gtk.Label(); w26.Add(w29); w25.Add(w26); this.addPlayerButton.Add(w25); this.table4.Add(this.addPlayerButton); global::Gtk.Table.TableChild w33 = ((global::Gtk.Table.TableChild)(this.table4 [this.addPlayerButton])); w33.LeftAttach = ((uint)(2)); w33.RightAttach = ((uint)(3)); w33.XOptions = ((global::Gtk.AttachOptions)(4)); w33.YOptions = ((global::Gtk.AttachOptions)(0)); // Container child table4.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Media Player"); this.table4.Add(this.label2); global::Gtk.Table.TableChild w34 = ((global::Gtk.Table.TableChild)(this.table4 [this.label2])); w34.XOptions = ((global::Gtk.AttachOptions)(4)); w34.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Quality"); this.table4.Add(this.label3); global::Gtk.Table.TableChild w35 = ((global::Gtk.Table.TableChild)(this.table4 [this.label3])); w35.TopAttach = ((uint)(1)); w35.BottomAttach = ((uint)(2)); w35.XOptions = ((global::Gtk.AttachOptions)(4)); w35.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.mediaPlayerCombo = global::Gtk.ComboBox.NewText(); this.mediaPlayerCombo.AppendText(global::Mono.Unix.Catalog.GetString("vlc")); this.mediaPlayerCombo.AppendText(global::Mono.Unix.Catalog.GetString("mplayer")); this.mediaPlayerCombo.Name = "mediaPlayerCombo"; this.mediaPlayerCombo.Active = 0; this.table4.Add(this.mediaPlayerCombo); global::Gtk.Table.TableChild w36 = ((global::Gtk.Table.TableChild)(this.table4 [this.mediaPlayerCombo])); w36.LeftAttach = ((uint)(1)); w36.RightAttach = ((uint)(2)); w36.XOptions = ((global::Gtk.AttachOptions)(4)); w36.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.qualityCombo = global::Gtk.ComboBox.NewText(); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("best")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("1080p+")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("1080p")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("720p+")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("720p")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("480p")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("360p")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("240p")); this.qualityCombo.AppendText(global::Mono.Unix.Catalog.GetString("worst")); this.qualityCombo.Name = "qualityCombo"; this.qualityCombo.Active = 0; this.table4.Add(this.qualityCombo); global::Gtk.Table.TableChild w37 = ((global::Gtk.Table.TableChild)(this.table4 [this.qualityCombo])); w37.TopAttach = ((uint)(1)); w37.BottomAttach = ((uint)(2)); w37.LeftAttach = ((uint)(1)); w37.RightAttach = ((uint)(2)); w37.XOptions = ((global::Gtk.AttachOptions)(4)); w37.YOptions = ((global::Gtk.AttachOptions)(4)); this.GtkAlignment3.Add(this.table4); this.frame3.Add(this.GtkAlignment3); this.GtkLabel6 = new global::Gtk.Label(); this.GtkLabel6.WidthRequest = 200; this.GtkLabel6.Name = "GtkLabel6"; this.GtkLabel6.Xalign = 0F; this.GtkLabel6.LabelProp = global::Mono.Unix.Catalog.GetString("Options"); this.GtkLabel6.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel6; this.fixed11.Add(this.frame3); global::Gtk.Fixed.FixedChild w40 = ((global::Gtk.Fixed.FixedChild)(this.fixed11 [this.frame3])); w40.X = 13; w40.Y = 4; this.hpaned1.Add(this.fixed11); this.vbox2.Add(this.hpaned1); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hpaned1])); w42.Position = 1; // Container child vbox2.Gtk.Box+BoxChild this.stdOutStatus = new global::Gtk.Statusbar(); this.stdOutStatus.Name = "stdOutStatus"; this.stdOutStatus.Spacing = 6; this.stdOutStatus.HasResizeGrip = false; // Container child stdOutStatus.Gtk.Box+BoxChild this.watchButton = new global::Gtk.Button(); this.watchButton.CanFocus = true; this.watchButton.Name = "watchButton"; this.watchButton.UseUnderline = true; this.watchButton.Label = global::Mono.Unix.Catalog.GetString("Watch"); this.stdOutStatus.Add(this.watchButton); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.stdOutStatus [this.watchButton])); w43.Position = 1; w43.Expand = false; w43.Fill = false; this.vbox2.Add(this.stdOutStatus); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.stdOutStatus])); w44.Position = 2; w44.Expand = false; w44.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 510; this.DefaultHeight = 203; this.hpaned1.HasDefault = true; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.OpenURLAction.Activated += new global::System.EventHandler(this.OpenURL); this.ExitAction.Activated += new global::System.EventHandler(this.OnQuit); this.AboutAction.Activated += new global::System.EventHandler(this.OnAbout); this.button2.Clicked += new global::System.EventHandler(this.AddStream); this.button4.Clicked += new global::System.EventHandler(this.RemoveStream); this.addPlayerButton.Clicked += new global::System.EventHandler(this.EditPlayers); this.watchButton.Clicked += new global::System.EventHandler(this.WatchSelectedStream); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget SimpleLauncher.MainWindow this.WidthRequest = 480; this.HeightRequest = 180; this.Name = "SimpleLauncher.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Atmosphir Launcher"); this.Icon = global::Gdk.Pixbuf.LoadFromResource("SimpleLauncher.troposphir_launcher_icon.ico"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 483; this.DefaultHeight = 180; // Container child SimpleLauncher.MainWindow.Gtk.Container+ContainerChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.image5 = new global::Gtk.Image(); this.image5.Name = "image5"; this.image5.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("SimpleLauncher.bg.png"); this.fixed2.Add(this.image5); // Container child fixed2.Gtk.Fixed+FixedChild this.image6 = new global::Gtk.Image(); this.image6.Name = "image6"; this.image6.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("SimpleLauncher.gear.png"); this.fixed2.Add(this.image6); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.image6])); w2.X = 186; w2.Y = 18; // Container child fixed2.Gtk.Fixed+FixedChild this.image7 = new global::Gtk.Image(); this.image7.Name = "image7"; this.image7.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("SimpleLauncher.nogear.png"); this.fixed2.Add(this.image7); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.image7])); w3.X = 186; w3.Y = 18; // Container child fixed2.Gtk.Fixed+FixedChild this.progressbar1 = new global::Gtk.ProgressBar(); this.progressbar1.WidthRequest = 378; this.progressbar1.Name = "progressbar1"; this.progressbar1.Text = global::Mono.Unix.Catalog.GetString("0%"); this.fixed2.Add(this.progressbar1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.progressbar1])); w4.X = 56; w4.Y = 136; // Container child fixed2.Gtk.Fixed+FixedChild this.labelStatus = new global::Gtk.Label(); this.labelStatus.Name = "labelStatus"; this.labelStatus.LabelProp = global::Mono.Unix.Catalog.GetString("Checking for updates..."); this.fixed2.Add(this.labelStatus); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.labelStatus])); w5.X = 60; w5.Y = 116; // Container child fixed2.Gtk.Fixed+FixedChild this.labelVersion = new global::Gtk.Label(); this.labelVersion.Name = "labelVersion"; this.labelVersion.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.fixed2.Add(this.labelVersion); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.labelVersion])); w6.X = 48; w6.Y = 161; this.Add(this.fixed2); if ((this.Child != null)) { this.Child.ShowAll(); } this.labelVersion.Hide(); this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Hotel.frmTipoHabitaciones this.Name = "Hotel.frmTipoHabitaciones"; this.Title = global::Mono.Unix.Catalog.GetString("frmTipoHabitaciones"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Hotel.frmTipoHabitaciones.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Tipos de Habitaciones"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w1.X = 126; w1.Y = 8; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Descripcion de Habitacion:"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w2.X = 11; w2.Y = 63; // Container child fixed1.Gtk.Fixed+FixedChild this.txtDescripHab = new global::Gtk.Entry(); this.txtDescripHab.CanFocus = true; this.txtDescripHab.Name = "txtDescripHab"; this.txtDescripHab.IsEditable = true; this.txtDescripHab.InvisibleChar = '•'; this.fixed1.Add(this.txtDescripHab); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtDescripHab])); w3.X = 199; w3.Y = 60; // Container child fixed1.Gtk.Fixed+FixedChild this.btnGuardar = new global::Gtk.Button(); this.btnGuardar.CanFocus = true; this.btnGuardar.Name = "btnGuardar"; this.btnGuardar.UseUnderline = true; this.btnGuardar.Label = global::Mono.Unix.Catalog.GetString("Guardar"); this.fixed1.Add(this.btnGuardar); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnGuardar])); w4.X = 40; w4.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.btnModificar = new global::Gtk.Button(); this.btnModificar.CanFocus = true; this.btnModificar.Name = "btnModificar"; this.btnModificar.UseUnderline = true; this.btnModificar.Label = global::Mono.Unix.Catalog.GetString("Modificar"); this.fixed1.Add(this.btnModificar); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnModificar])); w5.X = 115; w5.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.btnEliminar = new global::Gtk.Button(); this.btnEliminar.CanFocus = true; this.btnEliminar.Name = "btnEliminar"; this.btnEliminar.UseUnderline = true; this.btnEliminar.Label = global::Mono.Unix.Catalog.GetString("Eliminar"); this.fixed1.Add(this.btnEliminar); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnEliminar])); w6.X = 280; w6.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.WidthRequest = 350; this.GtkScrolledWindow.HeightRequest = 300; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.tvwTipHabitacion = new global::Gtk.TreeView(); this.tvwTipHabitacion.CanFocus = true; this.tvwTipHabitacion.Name = "tvwTipHabitacion"; this.GtkScrolledWindow.Add(this.tvwTipHabitacion); this.fixed1.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.GtkScrolledWindow])); w8.X = 27; w8.Y = 180; // Container child fixed1.Gtk.Fixed+FixedChild this.btnBuscar = new global::Gtk.Button(); this.btnBuscar.CanFocus = true; this.btnBuscar.Name = "btnBuscar"; this.btnBuscar.UseUnderline = true; this.btnBuscar.Label = global::Mono.Unix.Catalog.GetString("Buscar"); this.fixed1.Add(this.btnBuscar); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnBuscar])); w9.X = 304; w9.Y = 143; // Container child fixed1.Gtk.Fixed+FixedChild this.btnCancelar = new global::Gtk.Button(); this.btnCancelar.CanFocus = true; this.btnCancelar.Name = "btnCancelar"; this.btnCancelar.UseUnderline = true; this.btnCancelar.Label = global::Mono.Unix.Catalog.GetString("Cancelar"); this.fixed1.Add(this.btnCancelar); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnCancelar])); w10.X = 200; w10.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBuscar = new global::Gtk.Entry(); this.txtBuscar.CanFocus = true; this.txtBuscar.Name = "txtBuscar"; this.txtBuscar.IsEditable = true; this.txtBuscar.WidthChars = 32; this.txtBuscar.InvisibleChar = '•'; this.fixed1.Add(this.txtBuscar); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBuscar])); w11.X = 31; w11.Y = 145; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 408; this.DefaultHeight = 526; this.Show(); this.btnGuardar.Clicked += new global::System.EventHandler(this.OnBtnGuardarClicked); this.btnModificar.Clicked += new global::System.EventHandler(this.OnBtnModificarClicked); this.btnEliminar.Clicked += new global::System.EventHandler(this.OnBtnEliminarClicked); this.tvwTipHabitacion.CursorChanged += new global::System.EventHandler(this.OnTvwTipHabitacionCursorChanged); this.btnBuscar.Clicked += new global::System.EventHandler(this.OnBtnBuscarClicked); this.btnCancelar.Clicked += new global::System.EventHandler(this.OnBtnCancelarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget DI.WindowAddValue this.Name = "DI.WindowAddValue"; this.Title = global::Mono.Unix.Catalog.GetString("WindowAddValue"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child DI.WindowAddValue.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("label2"); this.fixed1.Add(this.label3); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label3])); w1.X = 10; w1.Y = 152; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("label3"); this.fixed1.Add(this.label4); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label4])); w2.X = 10; w2.Y = 198; // Container child fixed1.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("label4"); this.fixed1.Add(this.label5); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label5])); w3.X = 10; w3.Y = 244; // Container child fixed1.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("label5"); this.fixed1.Add(this.label6); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label6])); w4.X = 10; w4.Y = 290; // Container child fixed1.Gtk.Fixed+FixedChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("label6"); this.fixed1.Add(this.label7); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label7])); w5.X = 10; w5.Y = 336; // Container child fixed1.Gtk.Fixed+FixedChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("label7"); this.fixed1.Add(this.label8); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label8])); w6.X = 10; w6.Y = 382; // Container child fixed1.Gtk.Fixed+FixedChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("label8"); this.fixed1.Add(this.label9); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label9])); w7.X = 10; w7.Y = 428; // Container child fixed1.Gtk.Fixed+FixedChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("label9"); this.fixed1.Add(this.label10); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label10])); w8.X = 10; w8.Y = 474; // Container child fixed1.Gtk.Fixed+FixedChild this.entry3 = new global::Gtk.Entry(); this.entry3.WidthRequest = 250; this.entry3.HeightRequest = 50; this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '•'; this.fixed1.Add(this.entry3); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry3])); w9.X = 160; w9.Y = 136; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Додати"); this.fixed1.Add(this.button1); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button1])); w10.X = 347; w10.Y = 8; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry(); this.entry1.WidthRequest = 250; this.entry1.HeightRequest = 50; this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '•'; this.fixed1.Add(this.entry1); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry1])); w11.X = 160; w11.Y = 44; // Container child fixed1.Gtk.Fixed+FixedChild this.entry2 = new global::Gtk.Entry(); this.entry2.WidthRequest = 250; this.entry2.HeightRequest = 50; this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '•'; this.fixed1.Add(this.entry2); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry2])); w12.X = 160; w12.Y = 90; // Container child fixed1.Gtk.Fixed+FixedChild this.entry5 = new global::Gtk.Entry(); this.entry5.WidthRequest = 250; this.entry5.HeightRequest = 50; this.entry5.CanFocus = true; this.entry5.Name = "entry5"; this.entry5.IsEditable = true; this.entry5.InvisibleChar = '•'; this.fixed1.Add(this.entry5); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry5])); w13.X = 160; w13.Y = 182; // Container child fixed1.Gtk.Fixed+FixedChild this.entry4 = new global::Gtk.Entry(); this.entry4.WidthRequest = 250; this.entry4.HeightRequest = 50; this.entry4.CanFocus = true; this.entry4.Name = "entry4"; this.entry4.IsEditable = true; this.entry4.InvisibleChar = '•'; this.fixed1.Add(this.entry4); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry4])); w14.X = 160; w14.Y = 228; // Container child fixed1.Gtk.Fixed+FixedChild this.entry7 = new global::Gtk.Entry(); this.entry7.WidthRequest = 250; this.entry7.HeightRequest = 50; this.entry7.CanFocus = true; this.entry7.Name = "entry7"; this.entry7.IsEditable = true; this.entry7.InvisibleChar = '•'; this.fixed1.Add(this.entry7); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry7])); w15.X = 160; w15.Y = 320; // Container child fixed1.Gtk.Fixed+FixedChild this.entry8 = new global::Gtk.Entry(); this.entry8.WidthRequest = 250; this.entry8.HeightRequest = 50; this.entry8.CanFocus = true; this.entry8.Name = "entry8"; this.entry8.IsEditable = true; this.entry8.InvisibleChar = '•'; this.fixed1.Add(this.entry8); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry8])); w16.X = 160; w16.Y = 366; // Container child fixed1.Gtk.Fixed+FixedChild this.entry6 = new global::Gtk.Entry(); this.entry6.WidthRequest = 250; this.entry6.HeightRequest = 50; this.entry6.CanFocus = true; this.entry6.Name = "entry6"; this.entry6.IsEditable = true; this.entry6.InvisibleChar = '•'; this.fixed1.Add(this.entry6); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry6])); w17.X = 160; w17.Y = 274; // Container child fixed1.Gtk.Fixed+FixedChild this.entry9 = new global::Gtk.Entry(); this.entry9.WidthRequest = 250; this.entry9.HeightRequest = 50; this.entry9.CanFocus = true; this.entry9.Name = "entry9"; this.entry9.IsEditable = true; this.entry9.InvisibleChar = '•'; this.fixed1.Add(this.entry9); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry9])); w18.X = 160; w18.Y = 412; // Container child fixed1.Gtk.Fixed+FixedChild this.entry10 = new global::Gtk.Entry(); this.entry10.WidthRequest = 250; this.entry10.HeightRequest = 50; this.entry10.CanFocus = true; this.entry10.Name = "entry10"; this.entry10.IsEditable = true; this.entry10.InvisibleChar = '•'; this.fixed1.Add(this.entry10); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry10])); w19.X = 160; w19.Y = 458; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w20.X = 10; w20.Y = 60; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w21.X = 10; w21.Y = 106; // Container child fixed1.Gtk.Fixed+FixedChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.fixed1.Add(this.label11); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label11])); w22.X = 13; w22.Y = 15; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 424; this.DefaultHeight = 533; this.Show(); this.button1.Pressed += new global::System.EventHandler(this.OnButton1Pressed); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget AccessControl.frmInfo this.Name = "AccessControl.frmInfo"; this.Title = global::Mono.Unix.Catalog.GetString("Información del sistema"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-info", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child AccessControl.frmInfo.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.fixed3 = new global::Gtk.Fixed(); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; // Container child fixed3.Gtk.Fixed+FixedChild this.lb1 = new global::Gtk.Label(); this.lb1.Name = "lb1"; this.lb1.LabelProp = global::Mono.Unix.Catalog.GetString("Versión:"); this.fixed3.Add(this.lb1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb1])); w1.X = 10; w1.Y = 5; // Container child fixed3.Gtk.Fixed+FixedChild this.D1 = new global::Gtk.Label(); this.D1.Name = "D1"; this.D1.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D1])); w2.X = 180; w2.Y = 5; // Container child fixed3.Gtk.Fixed+FixedChild this.lb2 = new global::Gtk.Label(); this.lb2.Name = "lb2"; this.lb2.LabelProp = global::Mono.Unix.Catalog.GetString("Fecha de la versión:"); this.fixed3.Add(this.lb2); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb2])); w3.X = 10; w3.Y = 25; // Container child fixed3.Gtk.Fixed+FixedChild this.D2 = new global::Gtk.Label(); this.D2.Name = "D2"; this.D2.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D2); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D2])); w4.X = 180; w4.Y = 25; // Container child fixed3.Gtk.Fixed+FixedChild this.lb3 = new global::Gtk.Label(); this.lb3.Name = "lb3"; this.lb3.LabelProp = global::Mono.Unix.Catalog.GetString("Cadena de conexión:"); this.fixed3.Add(this.lb3); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb3])); w5.X = 10; w5.Y = 45; // Container child fixed3.Gtk.Fixed+FixedChild this.D3 = new global::Gtk.Label(); this.D3.Name = "D3"; this.D3.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D3); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D3])); w6.X = 180; w6.Y = 45; // Container child fixed3.Gtk.Fixed+FixedChild this.lb4 = new global::Gtk.Label(); this.lb4.Name = "lb4"; this.lb4.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre dispositivo:"); this.fixed3.Add(this.lb4); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb4])); w7.X = 10; w7.Y = 65; // Container child fixed3.Gtk.Fixed+FixedChild this.D4 = new global::Gtk.Label(); this.D4.Name = "D4"; this.D4.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D4); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D4])); w8.X = 180; w8.Y = 65; // Container child fixed3.Gtk.Fixed+FixedChild this.lb5 = new global::Gtk.Label(); this.lb5.Name = "lb5"; this.lb5.LabelProp = global::Mono.Unix.Catalog.GetString("Usuario del dispositivo:"); this.fixed3.Add(this.lb5); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb5])); w9.X = 10; w9.Y = 85; // Container child fixed3.Gtk.Fixed+FixedChild this.D5 = new global::Gtk.Label(); this.D5.Name = "D5"; this.D5.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D5); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D5])); w10.X = 180; w10.Y = 85; // Container child fixed3.Gtk.Fixed+FixedChild this.lb6 = new global::Gtk.Label(); this.lb6.Name = "lb6"; this.lb6.LabelProp = global::Mono.Unix.Catalog.GetString("HostName:"); this.fixed3.Add(this.lb6); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb6])); w11.X = 10; w11.Y = 105; // Container child fixed3.Gtk.Fixed+FixedChild this.D6 = new global::Gtk.Label(); this.D6.Name = "D6"; this.D6.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D6); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D6])); w12.X = 180; w12.Y = 105; // Container child fixed3.Gtk.Fixed+FixedChild this.lb7 = new global::Gtk.Label(); this.lb7.Name = "lb7"; this.lb7.LabelProp = global::Mono.Unix.Catalog.GetString("DomainName:"); this.fixed3.Add(this.lb7); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb7])); w13.X = 10; w13.Y = 125; // Container child fixed3.Gtk.Fixed+FixedChild this.D7 = new global::Gtk.Label(); this.D7.Name = "D7"; this.D7.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D7); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D7])); w14.X = 180; w14.Y = 125; // Container child fixed3.Gtk.Fixed+FixedChild this.lb8 = new global::Gtk.Label(); this.lb8.Name = "lb8"; this.lb8.LabelProp = global::Mono.Unix.Catalog.GetString("IP (1):"); this.fixed3.Add(this.lb8); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb8])); w15.X = 10; w15.Y = 145; // Container child fixed3.Gtk.Fixed+FixedChild this.D8 = new global::Gtk.Label(); this.D8.Name = "D8"; this.D8.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D8); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D8])); w16.X = 180; w16.Y = 145; // Container child fixed3.Gtk.Fixed+FixedChild this.lb9 = new global::Gtk.Label(); this.lb9.Name = "lb9"; this.lb9.LabelProp = global::Mono.Unix.Catalog.GetString("IP (2):"); this.fixed3.Add(this.lb9); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb9])); w17.X = 10; w17.Y = 165; // Container child fixed3.Gtk.Fixed+FixedChild this.D9 = new global::Gtk.Label(); this.D9.Name = "D9"; this.D9.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D9); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D9])); w18.X = 180; w18.Y = 165; // Container child fixed3.Gtk.Fixed+FixedChild this.lb10 = new global::Gtk.Label(); this.lb10.Name = "lb10"; this.lb10.LabelProp = global::Mono.Unix.Catalog.GetString("IP (3):"); this.fixed3.Add(this.lb10); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb10])); w19.X = 10; w19.Y = 185; // Container child fixed3.Gtk.Fixed+FixedChild this.D10 = new global::Gtk.Label(); this.D10.Name = "D10"; this.D10.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D10); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D10])); w20.X = 180; w20.Y = 185; // Container child fixed3.Gtk.Fixed+FixedChild this.lb11 = new global::Gtk.Label(); this.lb11.Name = "lb11"; this.lb11.LabelProp = global::Mono.Unix.Catalog.GetString("MAC (1):"); this.fixed3.Add(this.lb11); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb11])); w21.X = 10; w21.Y = 205; // Container child fixed3.Gtk.Fixed+FixedChild this.D11 = new global::Gtk.Label(); this.D11.Name = "D11"; this.D11.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D11); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D11])); w22.X = 180; w22.Y = 205; // Container child fixed3.Gtk.Fixed+FixedChild this.lb12 = new global::Gtk.Label(); this.lb12.Name = "lb12"; this.lb12.LabelProp = global::Mono.Unix.Catalog.GetString("MAC (2):"); this.fixed3.Add(this.lb12); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb12])); w23.X = 10; w23.Y = 225; // Container child fixed3.Gtk.Fixed+FixedChild this.D12 = new global::Gtk.Label(); this.D12.Name = "D12"; this.D12.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D12); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D12])); w24.X = 180; w24.Y = 225; // Container child fixed3.Gtk.Fixed+FixedChild this.lb13 = new global::Gtk.Label(); this.lb13.Name = "lb13"; this.lb13.LabelProp = global::Mono.Unix.Catalog.GetString("MAC (3):"); this.fixed3.Add(this.lb13); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.lb13])); w25.X = 10; w25.Y = 245; // Container child fixed3.Gtk.Fixed+FixedChild this.D13 = new global::Gtk.Label(); this.D13.Name = "D13"; this.D13.LabelProp = global::Mono.Unix.Catalog.GetString("..."); this.fixed3.Add(this.D13); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.D13])); w26.X = 180; w26.Y = 245; this.vbox5.Add(this.fixed3); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.fixed3])); w27.Position = 0; w27.Expand = false; w27.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.btnExit = new global::Gtk.Button(); this.btnExit.HeightRequest = 80; this.btnExit.CanFocus = true; this.btnExit.Name = "btnExit"; this.btnExit.UseUnderline = true; // Container child btnExit.Gtk.Container+ContainerChild global::Gtk.Alignment w28 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w29 = new global::Gtk.HBox(); w29.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w30 = new global::Gtk.Image(); w30.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-quit", global::Gtk.IconSize.Menu); w29.Add(w30); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w32 = new global::Gtk.Label(); w32.LabelProp = global::Mono.Unix.Catalog.GetString(" Salir"); w32.UseUnderline = true; w29.Add(w32); w28.Add(w29); this.btnExit.Add(w28); this.vbox5.Add(this.btnExit); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.btnExit])); w36.Position = 1; w36.Expand = false; w36.Fill = false; this.vbox3.Add(this.vbox5); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.vbox5])); w37.Position = 0; w37.Expand = false; w37.Fill = false; this.Add(this.vbox3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 352; this.Show(); this.btnExit.Clicked += new global::System.EventHandler(this.OnBtnExitClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = Mono.Unix.Catalog.GetString("LogToCSV"); this.WindowPosition = (WindowPosition)4; this.Resizable = false; this.DefaultWidth = 0; this.DefaultHeight = 0; // Container child MainWindow.Gtk.Container+ContainerChild this.fixed2 = new Fixed { Name = "fixed2", HasWindow = false }; // Container child fixed2.Gtk.Fixed+FixedChild this.button6 = new Gtk.Button { CanFocus = true, Name = "button6", UseUnderline = true, Label = global::Mono.Unix.Catalog.GetString("Dosya Seçiz") }; this.fixed2.Add(this.button6); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.button6])); w1.X = 70; w1.Y = 40; button6.Clicked += new EventHandler(FileOpen); // Container child fixed2.Gtk.Fixed+FixedChild this.button3 = new Gtk.Button { CanFocus = true, Name = "button3", UseUnderline = true, Label = global::Mono.Unix.Catalog.GetString("Dosyayı Görüntüle") }; this.fixed2.Add(this.button3); Fixed.FixedChild w2 = ((Fixed.FixedChild)(this.fixed2[this.button3])); w2.X = 70; w2.Y = 160; this.button3.Clicked += new EventHandler(FileList); // Container child fixed2.Gtk.Fixed+FixedChild this.button2 = new Gtk.Button { CanFocus = true, Name = "button2", UseUnderline = true, Label = global::Mono.Unix.Catalog.GetString("Konum Seçiniz") }; this.fixed2.Add(this.button2); Fixed.FixedChild w3 = ((Fixed.FixedChild)(this.fixed2[this.button2])); w3.X = 70; w3.Y = 220; button2.Clicked += new EventHandler(PathOpen); // Container child fixed2.Gtk.Fixed+FixedChild this.button1 = new Gtk.Button { CanFocus = true, Name = "button1", UseUnderline = true, Label = global::Mono.Unix.Catalog.GetString("Dosya Oluştur") }; this.fixed2.Add(this.button1); Fixed.FixedChild w4 = ((Fixed.FixedChild)(this.fixed2[this.button1])); w4.X = 70; w4.Y = 280; button1.Clicked += new EventHandler(FileCreate); // Container child fixed2.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new ScrolledWindow { WidthRequest = 700, HeightRequest = 400, Name = "GtkScrolledWindow", ShadowType = ((global::Gtk.ShadowType)(1)) }; // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.textview3 = new TextView { CanFocus = true, Name = "textview3" }; this.GtkScrolledWindow.Add(this.textview3); this.fixed2.Add(this.GtkScrolledWindow); Fixed.FixedChild w6 = (Fixed.FixedChild) this.fixed2[this.GtkScrolledWindow]; w6.X = 265; w6.Y = 14; // Container child fixed2.Gtk.Fixed+FixedChild this.button4 = new Gtk.Button { CanFocus = true, Name = "button4", UseUnderline = true, Label = Mono.Unix.Catalog.GetString("TcTLO Seçiniz") }; this.fixed2.Add(this.button4); Fixed.FixedChild w7 = (Fixed.FixedChild) this.fixed2[this.button4]; w7.X = 70; w7.Y = 100; button4.Clicked += new EventHandler(TcTLO_O); // Container child fixed2.Gtk.Fixed + FixedChild this.button5 = new Gtk.Button { CanFocus = true, Name = "button5", UseUnderline = true, Label = global::Mono.Unix.Catalog.GetString("Bulunamayanlar") }; this.fixed2.Add(this.button5); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.button5])); w8.X = 10; w8.Y = 330; button5.Clicked += new EventHandler(NotFound_L); // Container child fixed2.Gtk.Fixed+FixedChild this.button7 = new Gtk.Button { CanFocus = true, Name = "button7", UseUnderline = true, Label = Mono.Unix.Catalog.GetString("Temizle") }; this.fixed2.Add(this.button7); Fixed.FixedChild w9 = (Fixed.FixedChild)(this.fixed2[this.button7]); w9.X = 180; w9.Y = 380; button7.Clicked += new EventHandler(Clear); // Container child fixed2.Gtk.Fixed+FixedChild this.button8 = new Gtk.Button { CanFocus = true, Name = "button8", UseUnderline = true, Label = global::Mono.Unix.Catalog.GetString("Analiz Oluştur") }; this.fixed2.Add(this.button8); Fixed.FixedChild w10 = (Fixed.FixedChild)(this.fixed2[this.button8]); w10.X = 10; w10.Y = 380; button8.Clicked += new EventHandler(Create_analysis); this.Add(this.fixed2); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.daAction = new global::Gtk.Action("daAction", global::Mono.Unix.Catalog.GetString("da"), null, null); this.daAction.ShortLabel = global::Mono.Unix.Catalog.GetString("da"); w1.Add(this.daAction, null); this.dwaAction = new global::Gtk.Action("dwaAction", global::Mono.Unix.Catalog.GetString("dwa"), null, null); this.dwaAction.ShortLabel = global::Mono.Unix.Catalog.GetString("dwa"); w1.Add(this.dwaAction, null); this.dwaAction1 = new global::Gtk.Action("dwaAction1", global::Mono.Unix.Catalog.GetString("dwa"), null, null); this.dwaAction1.ShortLabel = global::Mono.Unix.Catalog.GetString("dwa"); w1.Add(this.dwaAction1, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(3)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.PassangerProps = new global::Gtk.VBox(); this.PassangerProps.Name = "PassangerProps"; this.PassangerProps.Spacing = 10; // Container child PassangerProps.Gtk.Box+BoxChild this.NamePassanger = new global::Gtk.Entry(); this.NamePassanger.CanFocus = true; this.NamePassanger.Name = "NamePassanger"; this.NamePassanger.Text = global::Mono.Unix.Catalog.GetString(" "); this.NamePassanger.IsEditable = true; this.NamePassanger.InvisibleChar = '•'; this.PassangerProps.Add(this.NamePassanger); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.PassangerProps[this.NamePassanger])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child PassangerProps.Gtk.Box+BoxChild this.Telephone = new global::Gtk.Entry(); this.Telephone.CanFocus = true; this.Telephone.Name = "Telephone"; this.Telephone.Text = global::Mono.Unix.Catalog.GetString(" "); this.Telephone.IsEditable = true; this.Telephone.InvisibleChar = '•'; this.PassangerProps.Add(this.Telephone); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.PassangerProps[this.Telephone])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child PassangerProps.Gtk.Box+BoxChild this.Email = new global::Gtk.Entry(); this.Email.CanFocus = true; this.Email.Name = "Email"; this.Email.Text = global::Mono.Unix.Catalog.GetString(" "); this.Email.IsEditable = true; this.Email.InvisibleChar = '•'; this.PassangerProps.Add(this.Email); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.PassangerProps[this.Email])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.fixed1.Add(this.PassangerProps); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.PassangerProps])); w5.X = 23; w5.Y = 23; // Container child fixed1.Gtk.Fixed+FixedChild this.PassangerPropsTextView = new global::Gtk.VBox(); this.PassangerPropsTextView.WidthRequest = 80; this.PassangerPropsTextView.HeightRequest = 100; this.PassangerPropsTextView.Name = "PassangerPropsTextView"; this.PassangerPropsTextView.Spacing = 19; // Container child PassangerPropsTextView.Gtk.Box+BoxChild this.NameTextView = new global::Gtk.TextView(); this.NameTextView.Buffer.Text = global::Mono.Unix.Catalog.GetString("Name"); this.NameTextView.Sensitive = false; this.NameTextView.CanFocus = true; this.NameTextView.Name = "NameTextView"; this.NameTextView.Editable = false; this.PassangerPropsTextView.Add(this.NameTextView); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.PassangerPropsTextView[this.NameTextView])); w6.Position = 0; // Container child PassangerPropsTextView.Gtk.Box+BoxChild this.TelephoneTextView = new global::Gtk.TextView(); this.TelephoneTextView.Buffer.Text = global::Mono.Unix.Catalog.GetString("Telephone"); this.TelephoneTextView.Sensitive = false; this.TelephoneTextView.CanFocus = true; this.TelephoneTextView.Name = "TelephoneTextView"; this.TelephoneTextView.Editable = false; this.PassangerPropsTextView.Add(this.TelephoneTextView); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.PassangerPropsTextView[this.TelephoneTextView])); w7.Position = 1; // Container child PassangerPropsTextView.Gtk.Box+BoxChild this.EmailTextView = new global::Gtk.TextView(); this.EmailTextView.Buffer.Text = global::Mono.Unix.Catalog.GetString("Email"); this.EmailTextView.Sensitive = false; this.EmailTextView.CanFocus = true; this.EmailTextView.Name = "EmailTextView"; this.PassangerPropsTextView.Add(this.EmailTextView); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.PassangerPropsTextView[this.EmailTextView])); w8.Position = 2; this.fixed1.Add(this.PassangerPropsTextView); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.PassangerPropsTextView])); w9.X = 223; w9.Y = 28; // Container child fixed1.Gtk.Fixed+FixedChild this.Regitration = new global::Gtk.Button(); this.Regitration.CanFocus = true; this.Regitration.Name = "Regitration"; this.Regitration.UseUnderline = true; this.Regitration.Label = global::Mono.Unix.Catalog.GetString("Registration"); this.fixed1.Add(this.Regitration); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.Regitration])); w10.X = 149; w10.Y = 147; // Container child fixed1.Gtk.Fixed+FixedChild this.Place = new global::Gtk.VBox(); this.Place.Name = "Place"; this.Place.Spacing = 6; // Container child Place.Gtk.Box+BoxChild this.placeDeparture = new global::Gtk.Entry(); this.placeDeparture.CanFocus = true; this.placeDeparture.Name = "placeDeparture"; this.placeDeparture.IsEditable = true; this.placeDeparture.InvisibleChar = '•'; this.Place.Add(this.placeDeparture); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.Place[this.placeDeparture])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child Place.Gtk.Box+BoxChild this.placeArrival = new global::Gtk.Entry(); this.placeArrival.CanFocus = true; this.placeArrival.Name = "placeArrival"; this.placeArrival.IsEditable = true; this.placeArrival.InvisibleChar = '•'; this.Place.Add(this.placeArrival); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.Place[this.placeArrival])); w12.Position = 1; w12.Expand = false; w12.Fill = false; this.fixed1.Add(this.Place); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.Place])); w13.X = 27; w13.Y = 225; // Container child fixed1.Gtk.Fixed+FixedChild this.PlaceTextView = new global::Gtk.VBox(); this.PlaceTextView.WidthRequest = 104; this.PlaceTextView.HeightRequest = 65; this.PlaceTextView.Name = "PlaceTextView"; this.PlaceTextView.Spacing = 13; // Container child PlaceTextView.Gtk.Box+BoxChild this.placeDepartueTextView = new global::Gtk.TextView(); this.placeDepartueTextView.Buffer.Text = global::Mono.Unix.Catalog.GetString("Place Departure"); this.placeDepartueTextView.Sensitive = false; this.placeDepartueTextView.CanFocus = true; this.placeDepartueTextView.Name = "placeDepartueTextView"; this.placeDepartueTextView.Editable = false; this.PlaceTextView.Add(this.placeDepartueTextView); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.PlaceTextView[this.placeDepartueTextView])); w14.Position = 0; // Container child PlaceTextView.Gtk.Box+BoxChild this.placeArrivalTextView = new global::Gtk.TextView(); this.placeArrivalTextView.Buffer.Text = global::Mono.Unix.Catalog.GetString("Place Arrival"); this.placeArrivalTextView.Sensitive = false; this.placeArrivalTextView.CanFocus = true; this.placeArrivalTextView.Name = "placeArrivalTextView"; this.placeArrivalTextView.Editable = false; this.PlaceTextView.Add(this.placeArrivalTextView); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.PlaceTextView[this.placeArrivalTextView])); w15.Position = 1; this.fixed1.Add(this.PlaceTextView); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.PlaceTextView])); w16.X = 212; w16.Y = 229; // Container child fixed1.Gtk.Fixed+FixedChild this.TextAttention = new global::Gtk.TextView(); this.TextAttention.CanFocus = true; this.TextAttention.Name = "TextAttention"; this.TextAttention.Editable = false; this.TextAttention.Overwrite = true; this.fixed1.Add(this.TextAttention); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.TextAttention])); w17.X = 470; w17.Y = 431; // Container child fixed1.Gtk.Fixed+FixedChild this.ChooseTrainBtn = new global::Gtk.Button(); this.ChooseTrainBtn.CanFocus = true; this.ChooseTrainBtn.Name = "ChooseTrainBtn"; this.ChooseTrainBtn.UseUnderline = true; this.ChooseTrainBtn.Label = global::Mono.Unix.Catalog.GetString("Choose Train"); this.fixed1.Add(this.ChooseTrainBtn); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.ChooseTrainBtn])); w18.X = 149; w18.Y = 314; // Container child fixed1.Gtk.Fixed+FixedChild this.TrainsListComboBox = global::Gtk.ComboBox.NewText(); this.TrainsListComboBox.Name = "TrainsListComboBox"; this.fixed1.Add(this.TrainsListComboBox); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.TrainsListComboBox])); w19.X = 345; w19.Y = 216; // Container child fixed1.Gtk.Fixed+FixedChild this.ChoosVanComboBox = global::Gtk.ComboBox.NewText(); this.ChoosVanComboBox.Name = "ChoosVanComboBox"; this.fixed1.Add(this.ChoosVanComboBox); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.ChoosVanComboBox])); w20.X = 549; w20.Y = 216; // Container child fixed1.Gtk.Fixed+FixedChild this.TicketingBtn = new global::Gtk.Button(); this.TicketingBtn.CanFocus = true; this.TicketingBtn.Name = "TicketingBtn"; this.TicketingBtn.UseUnderline = true; this.TicketingBtn.Label = global::Mono.Unix.Catalog.GetString("Ticketing"); this.fixed1.Add(this.TicketingBtn); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.TicketingBtn])); w21.X = 527; w21.Y = 63; // Container child fixed1.Gtk.Fixed+FixedChild this.ChooseSeatComboBox = global::Gtk.ComboBox.NewText(); this.ChooseSeatComboBox.Name = "ChooseSeatComboBox"; this.fixed1.Add(this.ChooseSeatComboBox); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.ChooseSeatComboBox])); w22.X = 749; w22.Y = 216; // Container child fixed1.Gtk.Fixed+FixedChild this.SeatTextView = new global::Gtk.TextView(); this.SeatTextView.Buffer.Text = global::Mono.Unix.Catalog.GetString("Seats"); this.SeatTextView.Sensitive = false; this.SeatTextView.CanFocus = true; this.SeatTextView.Name = "SeatTextView"; this.fixed1.Add(this.SeatTextView); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.SeatTextView])); w23.X = 750; w23.Y = 190; // Container child fixed1.Gtk.Fixed+FixedChild this.TrainsTextView = new global::Gtk.TextView(); this.TrainsTextView.Buffer.Text = global::Mono.Unix.Catalog.GetString("Trains"); this.TrainsTextView.Sensitive = false; this.TrainsTextView.CanFocus = true; this.TrainsTextView.Name = "TrainsTextView"; this.TrainsTextView.Editable = false; this.fixed1.Add(this.TrainsTextView); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.TrainsTextView])); w24.X = 343; w24.Y = 190; // Container child fixed1.Gtk.Fixed+FixedChild this.VansTextView = new global::Gtk.TextView(); this.VansTextView.Buffer.Text = global::Mono.Unix.Catalog.GetString("Vans"); this.VansTextView.Sensitive = false; this.VansTextView.CanFocus = true; this.VansTextView.Name = "VansTextView"; this.fixed1.Add(this.VansTextView); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.VansTextView])); w25.X = 550; w25.Y = 190; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1182; this.DefaultHeight = 484; this.Place.Hide(); this.PlaceTextView.Hide(); this.ChooseTrainBtn.Hide(); this.TrainsListComboBox.Hide(); this.ChoosVanComboBox.Hide(); this.TicketingBtn.Hide(); this.ChooseSeatComboBox.Hide(); this.SeatTextView.Hide(); this.TrainsTextView.Hide(); this.VansTextView.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.Regitration.Clicked += new global::System.EventHandler(this.OnRegestrationClicked); this.ChooseTrainBtn.Clicked += new global::System.EventHandler(this.OnChooseTrainClicked); this.TrainsListComboBox.Changed += new global::System.EventHandler(this.OnTrainsListComboBoxChanged); this.ChoosVanComboBox.Changed += new global::System.EventHandler(this.OnChoosVanComboBoxChanged); this.TicketingBtn.Clicked += new global::System.EventHandler(this.OnTicketingBtnClicked); this.ChooseSeatComboBox.Changed += new global::System.EventHandler(this.OnChooseSeatComboBoxChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.Numero1 = new global::Gtk.Label(); this.Numero1.Name = "Numero1"; this.Numero1.LabelProp = global::Mono.Unix.Catalog.GetString("Numero1"); this.fixed1.Add(this.Numero1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Numero1])); w1.X = 64; w1.Y = 48; // Container child fixed1.Gtk.Fixed+FixedChild this.Resultado1 = new global::Gtk.Label(); this.Resultado1.Name = "Resultado1"; this.Resultado1.LabelProp = global::Mono.Unix.Catalog.GetString("Resultado"); this.fixed1.Add(this.Resultado1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Resultado1])); w2.X = 63; w2.Y = 190; // Container child fixed1.Gtk.Fixed+FixedChild this.Numero2 = new global::Gtk.Label(); this.Numero2.Name = "Numero2"; this.Numero2.LabelProp = global::Mono.Unix.Catalog.GetString("Numero2"); this.fixed1.Add(this.Numero2); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Numero2])); w3.X = 65; w3.Y = 116; // Container child fixed1.Gtk.Fixed+FixedChild this.texto1 = new global::Gtk.Entry(); this.texto1.CanFocus = true; this.texto1.Name = "texto1"; this.texto1.IsEditable = true; this.texto1.InvisibleChar = '●'; this.fixed1.Add(this.texto1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.texto1])); w4.X = 146; w4.Y = 47; // Container child fixed1.Gtk.Fixed+FixedChild this.texto2 = new global::Gtk.Entry(); this.texto2.CanFocus = true; this.texto2.Name = "texto2"; this.texto2.IsEditable = true; this.texto2.InvisibleChar = '●'; this.fixed1.Add(this.texto2); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.texto2])); w5.X = 148; w5.Y = 112; // Container child fixed1.Gtk.Fixed+FixedChild this.resultado = new global::Gtk.Entry(); this.resultado.CanFocus = true; this.resultado.Name = "resultado"; this.resultado.IsEditable = true; this.resultado.InvisibleChar = '●'; this.fixed1.Add(this.resultado); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.resultado])); w6.X = 148; w6.Y = 183; // Container child fixed1.Gtk.Fixed+FixedChild this.multiplicar = new global::Gtk.Button(); this.multiplicar.CanFocus = true; this.multiplicar.Name = "multiplicar"; this.multiplicar.UseUnderline = true; this.multiplicar.Label = global::Mono.Unix.Catalog.GetString("multiplicar"); this.fixed1.Add(this.multiplicar); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.multiplicar])); w7.X = 264; w7.Y = 299; // Container child fixed1.Gtk.Fixed+FixedChild this.dividir = new global::Gtk.Button(); this.dividir.CanFocus = true; this.dividir.Name = "dividir"; this.dividir.UseUnderline = true; this.dividir.Label = global::Mono.Unix.Catalog.GetString("dividir"); this.fixed1.Add(this.dividir); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.dividir])); w8.X = 360; w8.Y = 298; // Container child fixed1.Gtk.Fixed+FixedChild this.restar = new global::Gtk.Button(); this.restar.CanFocus = true; this.restar.Name = "restar"; this.restar.UseUnderline = true; this.restar.Label = global::Mono.Unix.Catalog.GetString("restar"); this.fixed1.Add(this.restar); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.restar])); w9.X = 188; w9.Y = 299; // Container child fixed1.Gtk.Fixed+FixedChild this.sumar = new global::Gtk.Button(); this.sumar.CanFocus = true; this.sumar.Name = "sumar"; this.sumar.UseUnderline = true; this.sumar.Label = global::Mono.Unix.Catalog.GetString("sumar"); this.fixed1.Add(this.sumar); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.sumar])); w10.X = 105; w10.Y = 299; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 606; this.DefaultHeight = 396; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.multiplicar.Clicked += new global::System.EventHandler(this.OnMultiplicarClicked); this.dividir.Clicked += new global::System.EventHandler(this.OnDividirClicked); this.restar.Clicked += new global::System.EventHandler(this.OnRestarClicked); this.sumar.Clicked += new global::System.EventHandler(this.OnSumarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '•'; this.fixed1.Add(this.entry1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry1])); w1.X = 23; w1.Y = 59; // Container child fixed1.Gtk.Fixed+FixedChild this.entry2 = new global::Gtk.Entry(); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '•'; this.fixed1.Add(this.entry2); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry2])); w2.X = 340; w2.Y = 64; // Container child fixed1.Gtk.Fixed+FixedChild this.entry3 = new global::Gtk.Entry(); this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '•'; this.fixed1.Add(this.entry3); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry3])); w3.X = 341; w3.Y = 106; // Container child fixed1.Gtk.Fixed+FixedChild this.button3 = new global::Gtk.Button(); this.button3.CanFocus = true; this.button3.Name = "button3"; this.button3.UseUnderline = true; this.button3.Label = global::Mono.Unix.Catalog.GetString("GtkButton"); this.fixed1.Add(this.button3); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button3])); w4.X = 72; w4.Y = 107; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 556; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button3.Clicked += new global::System.EventHandler(this.click); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.InputAction = new global::Gtk.Action("InputAction", global::Mono.Unix.Catalog.GetString("Input"), null, null); this.InputAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Input"); w1.Add(this.InputAction, null); this.CalcAction = new global::Gtk.Action("CalcAction", global::Mono.Unix.Catalog.GetString("Calc"), null, null); this.CalcAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Calc"); w1.Add(this.CalcAction, null); this.DrawAction = new global::Gtk.Action("DrawAction", global::Mono.Unix.Catalog.GetString("Draw"), null, null); this.DrawAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Draw"); w1.Add(this.DrawAction, null); this.ExitAction = new global::Gtk.Action("ExitAction", global::Mono.Unix.Catalog.GetString("Exit"), null, null); this.ExitAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.ExitAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString("<ui><menubar name=\'menubar1\'><menu name=\'InputAction\' action=\'InputAction\'/><menu" + " name=\'CalcAction\' action=\'CalcAction\'/><menu name=\'DrawAction\' action=\'DrawActi" + "on\'/><menu name=\'ExitAction\' action=\'ExitAction\'/></menubar></ui>"); this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); this.menubar1.WidthRequest = 550; this.menubar1.Name = "menubar1"; this.fixed1.Add(this.menubar1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.menubar1])); w2.X = 13; w2.Y = 8; // Container child fixed1.Gtk.Fixed+FixedChild this.Area = new global::Gtk.DrawingArea(); this.Area.WidthRequest = 600; this.Area.HeightRequest = 600; this.Area.Name = "Area"; this.fixed1.Add(this.Area); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.Area])); w3.X = 20; w3.Y = 40; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 652; this.DefaultHeight = 675; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.InputAction.Activated += new global::System.EventHandler(this.OnInputActionActivated); this.CalcAction.Activated += new global::System.EventHandler(this.OnCalcActionActivated); this.DrawAction.Activated += new global::System.EventHandler(this.OnDrawActionActivated); this.ExitAction.Activated += new global::System.EventHandler(this.OnExitActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.WidthRequest = 900; this.HeightRequest = 400; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Resolution Calc"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 1200; this.DefaultHeight = 600; // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.lblResult = new global::Gtk.Label(); this.lblResult.WidthRequest = 400; this.lblResult.HeightRequest = 100; this.lblResult.Name = "lblResult"; this.lblResult.Justify = ((global::Gtk.Justification)(2)); this.fixed1.Add(this.lblResult); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.lblResult])); w1.X = 39; w1.Y = 186; // Container child fixed1.Gtk.Fixed+FixedChild this.lblRatioX = new global::Gtk.Label(); this.lblRatioX.Name = "lblRatioX"; this.lblRatioX.LabelProp = global::Mono.Unix.Catalog.GetString("ratio x:"); this.fixed1.Add(this.lblRatioX); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.lblRatioX])); w2.X = 15; w2.Y = 89; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBoxRatioX = new global::Gtk.Entry(); this.txtBoxRatioX.WidthRequest = 50; this.txtBoxRatioX.CanFocus = true; this.txtBoxRatioX.Name = "txtBoxRatioX"; this.txtBoxRatioX.IsEditable = true; this.txtBoxRatioX.InvisibleChar = '•'; this.fixed1.Add(this.txtBoxRatioX); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBoxRatioX])); w3.X = 67; w3.Y = 79; // Container child fixed1.Gtk.Fixed+FixedChild this.lblRatioY = new global::Gtk.Label(); this.lblRatioY.Name = "lblRatioY"; this.lblRatioY.LabelProp = global::Mono.Unix.Catalog.GetString("ratio y:"); this.fixed1.Add(this.lblRatioY); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.lblRatioY])); w4.X = 150; w4.Y = 86; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBoxRatioY = new global::Gtk.Entry(); this.txtBoxRatioY.WidthRequest = 50; this.txtBoxRatioY.CanFocus = true; this.txtBoxRatioY.Name = "txtBoxRatioY"; this.txtBoxRatioY.IsEditable = true; this.txtBoxRatioY.InvisibleChar = '•'; this.fixed1.Add(this.txtBoxRatioY); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBoxRatioY])); w5.X = 204; w5.Y = 80; // Container child fixed1.Gtk.Fixed+FixedChild this.lblResWidth = new global::Gtk.Label(); this.lblResWidth.Name = "lblResWidth"; this.lblResWidth.LabelProp = global::Mono.Unix.Catalog.GetString("pixel width:"); this.fixed1.Add(this.lblResWidth); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.lblResWidth])); w6.X = 299; w6.Y = 87; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBoxResWidth = new global::Gtk.Entry(); this.txtBoxResWidth.CanFocus = true; this.txtBoxResWidth.Name = "txtBoxResWidth"; this.txtBoxResWidth.IsEditable = true; this.txtBoxResWidth.InvisibleChar = '•'; this.fixed1.Add(this.txtBoxResWidth); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBoxResWidth])); w7.X = 385; w7.Y = 77; // Container child fixed1.Gtk.Fixed+FixedChild this.btnCalcResWidth = new global::Gtk.Button(); this.btnCalcResWidth.CanFocus = true; this.btnCalcResWidth.Events = ((global::Gdk.EventMask)(256)); this.btnCalcResWidth.ExtensionEvents = ((global::Gdk.ExtensionMode)(1)); this.btnCalcResWidth.Name = "btnCalcResWidth"; this.btnCalcResWidth.UseUnderline = true; this.btnCalcResWidth.Label = global::Mono.Unix.Catalog.GetString("Calculate Width"); this.fixed1.Add(this.btnCalcResWidth); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnCalcResWidth])); w8.X = 12; w8.Y = 141; // Container child fixed1.Gtk.Fixed+FixedChild this.btnCalcRatio = new global::Gtk.Button(); this.btnCalcRatio.CanFocus = true; this.btnCalcRatio.Name = "btnCalcRatio"; this.btnCalcRatio.UseUnderline = true; this.btnCalcRatio.Label = global::Mono.Unix.Catalog.GetString("Calculate Ratio"); this.fixed1.Add(this.btnCalcRatio); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.btnCalcRatio])); w9.X = 202; w9.Y = 139; // Container child fixed1.Gtk.Fixed+FixedChild this.lblResHeight = new global::Gtk.Label(); this.lblResHeight.Name = "lblResHeight"; this.lblResHeight.LabelProp = global::Mono.Unix.Catalog.GetString("pixel height:"); this.fixed1.Add(this.lblResHeight); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.lblResHeight])); w10.X = 598; w10.Y = 85; // Container child fixed1.Gtk.Fixed+FixedChild this.txtBoxResHeight = new global::Gtk.Entry(); this.txtBoxResHeight.CanFocus = true; this.txtBoxResHeight.Name = "txtBoxResHeight"; this.txtBoxResHeight.IsEditable = true; this.txtBoxResHeight.InvisibleChar = '•'; this.fixed1.Add(this.txtBoxResHeight); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.txtBoxResHeight])); w11.X = 685; w11.Y = 78; // Container child fixed1.Gtk.Fixed+FixedChild this.lblVersion = new global::Gtk.Label(); this.lblVersion.Name = "lblVersion"; this.lblVersion.LabelProp = global::Mono.Unix.Catalog.GetString("v. alpha 0.0"); this.fixed1.Add(this.lblVersion); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.lblVersion])); w12.X = 768; w12.Y = 288; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.btnCalcResWidth.Pressed += new global::System.EventHandler(this.OnBtnCalcResWidthPressed); this.btnCalcRatio.Clicked += new global::System.EventHandler(this.OnBtnCalcRatioClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget oweaselfirstrun.UpdateServer this.WidthRequest = 350; this.Name = "oweaselfirstrun.UpdateServer"; this.Title = global::Mono.Unix.Catalog.GetString("Update Server Configuration"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); // Container child oweaselfirstrun.UpdateServer.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.updateserverlabel = new global::Gtk.Label(); this.updateserverlabel.Name = "updateserverlabel"; this.updateserverlabel.LabelProp = global::Mono.Unix.Catalog.GetString("Update Server Configuration"); this.fixed1.Add(this.updateserverlabel); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.updateserverlabel])); w1.X = 181; w1.Y = 5; // Container child fixed1.Gtk.Fixed+FixedChild this.updateserverlb = new global::Gtk.Label(); this.updateserverlb.Name = "updateserverlb"; this.updateserverlb.LabelProp = global::Mono.Unix.Catalog.GetString("Update Server Address:"); this.fixed1.Add(this.updateserverlb); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.updateserverlb])); w2.X = 14; w2.Y = 74; // Container child fixed1.Gtk.Fixed+FixedChild this.updateserveraddressentry = new global::Gtk.Entry(); this.updateserveraddressentry.CanFocus = true; this.updateserveraddressentry.Name = "updateserveraddressentry"; this.updateserveraddressentry.Text = global::Mono.Unix.Catalog.GetString("weaseltestclient.kok.lan"); this.updateserveraddressentry.IsEditable = true; this.updateserveraddressentry.InvisibleChar = '●'; this.fixed1.Add(this.updateserveraddressentry); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.updateserveraddressentry])); w3.X = 155; w3.Y = 70; // Container child fixed1.Gtk.Fixed+FixedChild this.okbt = new global::Gtk.Button(); this.okbt.WidthRequest = 100; this.okbt.CanFocus = true; this.okbt.Name = "okbt"; this.okbt.UseUnderline = true; this.okbt.Label = global::Mono.Unix.Catalog.GetString("Ok"); this.fixed1.Add(this.okbt); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.okbt])); w4.X = 410; w4.Y = 116; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 536; this.DefaultHeight = 166; this.Show(); this.updateserveraddressentry.EditingDone += new global::System.EventHandler(this.OnUpdateserveraddressentryEditingDone); this.okbt.Released += new global::System.EventHandler(this.OnOkbtReleased); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.preferencesAction = new global::Gtk.Action("preferencesAction", null, null, "gtk-preferences"); w1.Add(this.preferencesAction, null); this.aboutAction = new global::Gtk.Action("aboutAction", null, null, "gtk-about"); w1.Add(this.aboutAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.WidthRequest = 400; this.HeightRequest = 300; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.Icon = global::Stetic.IconLoader.LoadIcon(this, "gtk-dialog-warning", global::Gtk.IconSize.Menu); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 400; this.DefaultHeight = 300; // Container child MainWindow.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.FocusOnClick = false; this.button1.Xalign = 1F; this.button1.Yalign = 1F; this.button1.BorderWidth = ((uint)(1)); this.button1.Label = global::Mono.Unix.Catalog.GetString(" Start "); this.fixed1.Add(this.button1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button1])); w2.X = 322; w2.Y = 264; // Container child fixed1.Gtk.Fixed+FixedChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString(" Set "); this.fixed1.Add(this.button2); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button2])); w3.X = 246; w3.Y = 264; // Container child fixed1.Gtk.Fixed+FixedChild this.UIManager.AddUiFromString("<ui><toolbar name=\'toolbar2\'><toolitem/><toolitem/><toolitem name=\'preferencesAct" + "ion\' action=\'preferencesAction\'/><toolitem name=\'aboutAction\' action=\'aboutActio" + "n\'/></toolbar></ui>"); this.toolbar2 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar2"))); this.toolbar2.WidthRequest = 400; this.toolbar2.HeightRequest = 35; this.toolbar2.Name = "toolbar2"; this.toolbar2.ShowArrow = false; this.toolbar2.ToolbarStyle = ((global::Gtk.ToolbarStyle)(0)); this.toolbar2.IconSize = ((global::Gtk.IconSize)(2)); this.fixed1.Add(this.toolbar2); // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton1 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Recovery")); this.radiobutton1.CanFocus = true; this.radiobutton1.Active = false; this.radiobutton1.DrawIndicator = true; this.radiobutton1.UseUnderline = true; this.radiobutton1.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.fixed1.Add(this.radiobutton1); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.radiobutton1])); w5.X = 10; w5.Y = 45; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton2 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Smart")); this.radiobutton2.CanFocus = true; this.radiobutton2.Name = "radiobutton2"; this.radiobutton2.Active = false; this.radiobutton2.DrawIndicator = true; this.radiobutton2.UseUnderline = true; this.radiobutton2.Group = this.radiobutton1.Group; this.fixed1.Add(this.radiobutton2); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.radiobutton2])); w6.X = 10; w6.Y = 75; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton3 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Productive")); this.radiobutton3.CanFocus = true; this.radiobutton3.Name = "radiobutton3"; this.radiobutton3.Active = false; this.radiobutton3.DrawIndicator = true; this.radiobutton3.UseUnderline = true; this.radiobutton3.Group = this.radiobutton1.Group; this.fixed1.Add(this.radiobutton3); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.radiobutton3])); w7.X = 10; w7.Y = 105; // Container child fixed1.Gtk.Fixed+FixedChild this.radiobutton4 = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("Manual")); this.radiobutton4.CanFocus = true; this.radiobutton4.Name = "radiobutton4"; this.radiobutton4.Active = false; this.radiobutton4.DrawIndicator = true; this.radiobutton4.UseUnderline = true; this.radiobutton4.Group = this.radiobutton1.Group; this.fixed1.Add(this.radiobutton4); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.radiobutton4])); w8.X = 219; w8.Y = 52; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); }
public TemplateWindow(string title) : base(Gtk.WindowType.Toplevel) { this.Decorated = false; global::Stetic.Gui.Initialize(this); // Widget CrossPlatformWebServer.TemplateWindow //this.WidthRequest = 550; //this.HeightRequest = 350; this.Name = "CrossPlatformWebServer.TemplateWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); // Container child CrossPlatformWebServer.TemplateWindow.Gtk.Container+ContainerChild this.gridMain = new global::Gtk.Fixed(); this.gridMain.Name = "gridMain"; this.gridMain.HasWindow = false; // Container child gridMain.Gtk.Fixed+FixedChild this.border = new global::Gtk.DrawingArea(); this.border.Name = "border"; this.gridMain.Add(this.border); // Container child gridMain.Gtk.Fixed+FixedChild this.titlebar = new global::Gtk.DrawingArea(); this.titlebar.Name = "titlebar"; this.gridMain.Add(this.titlebar); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.gridMain[this.titlebar])); w2.X = 1; w2.Y = 1; // Container child gridMain.Gtk.Fixed+FixedChild this.borderleft = new global::Gtk.DrawingArea(); this.borderleft.Name = "borderleft"; this.gridMain.Add(this.borderleft); // Container child gridMain.Gtk.Fixed+FixedChild this.bordertop = new global::Gtk.DrawingArea(); this.bordertop.Name = "bordertop"; this.gridMain.Add(this.bordertop); // Container child gridMain.Gtk.Fixed+FixedChild this.borderright = new global::Gtk.DrawingArea(); this.borderright.Name = "borderright"; this.gridMain.Add(this.borderright); // Container child gridMain.Gtk.Fixed+FixedChild this.borderbottom = new global::Gtk.DrawingArea(); this.borderbottom.Name = "borderbottom"; this.gridMain.Add(this.borderbottom); this.Add(this.gridMain); this._closeState = ButtonStates.Outside; this._minimizeState = ButtonStates.Outside; _closeStart = new Cairo.Point(this.WidthRequest - ButtonOffSet - ButtonWidth, ButtonOffSet); _minimizeStart = new Cairo.Point(this.WidthRequest - ButtonOffSet - ButtonWidth - ButtonWidth, ButtonOffSet); w2 = null; this.ModifyBg(StateType.Normal, new Gdk.Color(255, 255, 255)); this.titlebar.WidthRequest = this.WidthRequest - 2; this.titlebar.HeightRequest = 60; this.titlebar.AddEvents((int)Gdk.EventMask.ButtonPressMask | (int)Gdk.EventMask.PointerMotionMask | (int)Gdk.EventMask.ButtonReleaseMask); this.titlebar.ButtonPressEvent += TitlebarButtonPressEvent; this.titlebar.ExposeEvent += OnTitlebarExpose; this.titlebar.MotionNotifyEvent += OnTitlebarMotionNotifyEvent; this.titlebar.ButtonReleaseEvent += OnTitlebarButtonReleaseEvent; titleLayout = new Pango.Layout(this.PangoContext); titleLayout.Alignment = Pango.Alignment.Left; titleLayout.FontDescription = new Pango.FontDescription(); switch (Environment.OSVersion.Platform) { case PlatformID.Win32NT: case PlatformID.Win32S: case PlatformID.Win32Windows: case PlatformID.WinCE: titleLayout.FontDescription.Family = "Segoe UI Light"; break; case PlatformID.Unix: titleLayout.FontDescription.Family = "Ubuntu"; break; default: //Unknown OS, use default font family break; } titleLayout.FontDescription.Size = 17000; titleLayout.SetText(title.ToLower()); borderleft.WidthRequest = 1; borderleft.HeightRequest = this.HeightRequest; borderleft.ModifyBg(StateType.Normal, new Gdk.Color(65, 177, 225)); bordertop.WidthRequest = this.WidthRequest; bordertop.HeightRequest = 1; bordertop.ModifyBg(StateType.Normal, new Gdk.Color(65, 177, 225)); borderright.WidthRequest = 1; borderright.HeightRequest = this.HeightRequest; borderright.ModifyBg(StateType.Normal, new Gdk.Color(65, 177, 225)); w2 = ((global::Gtk.Fixed.FixedChild)(this.gridMain[this.borderright])); w2.X = this.WidthRequest - 1; w2.Y = 0; borderbottom.WidthRequest = this.WidthRequest; borderbottom.HeightRequest = 1; borderbottom.ModifyBg(StateType.Normal, new Gdk.Color(65, 177, 225)); w2 = ((global::Gtk.Fixed.FixedChild)(this.gridMain[this.borderbottom])); w2.X = 0; w2.Y = this.HeightRequest - 1; if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "MainWindow"; this.WindowPosition = ((global::Gtk.WindowPosition)(3)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.txtLogin = new global::Gtk.Entry(); this.txtLogin.CanFocus = true; this.txtLogin.Name = "txtLogin"; this.txtLogin.Text = "login"; this.txtLogin.IsEditable = true; this.txtLogin.InvisibleChar = '●'; this.fixed2.Add(this.txtLogin); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.txtLogin])); w2.X = 15; w2.Y = 15; // Container child fixed2.Gtk.Fixed+FixedChild this.chopengl = new global::Gtk.CheckButton(); this.chopengl.CanFocus = true; this.chopengl.Name = "chopengl"; this.chopengl.Label = "-opengl"; this.chopengl.Active = true; this.chopengl.DrawIndicator = true; this.chopengl.UseUnderline = true; this.fixed2.Add(this.chopengl); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.chopengl])); w3.X = 180; w3.Y = 15; // Container child fixed2.Gtk.Fixed+FixedChild this.btnPlay = new global::Gtk.Button(); this.btnPlay.CanFocus = true; this.btnPlay.Name = "btnPlay"; this.btnPlay.UseUnderline = true; this.btnPlay.Label = "odpalaj giere !"; this.fixed2.Add(this.btnPlay); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.btnPlay])); w4.X = 15; w4.Y = 45; // Container child fixed2.Gtk.Fixed+FixedChild this.btnAutors = new global::Gtk.Button(); this.btnAutors.CanFocus = true; this.btnAutors.Name = "btnAutors"; this.btnAutors.UseUnderline = true; this.btnAutors.Label = "O Programie"; this.fixed2.Add(this.btnAutors); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.btnAutors])); w5.X = 160; w5.Y = 45; this.Add(this.fixed2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 263; this.DefaultHeight = 87; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.btnPlay.Clicked += new global::System.EventHandler(this.OnBtnPlayClicked); this.btnAutors.Clicked += new global::System.EventHandler(this.OnBtnAutorsClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.mainFixedContainer = new global::Gtk.Fixed(); this.mainFixedContainer.Name = "mainFixedContainer"; this.mainFixedContainer.HasWindow = false; // Container child mainFixedContainer.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.dumpTextView = new global::Gtk.TextView(); this.dumpTextView.WidthRequest = 600; this.dumpTextView.HeightRequest = 200; this.dumpTextView.CanFocus = true; this.dumpTextView.Name = "dumpTextView"; this.dumpTextView.Editable = false; this.GtkScrolledWindow.Add(this.dumpTextView); this.mainFixedContainer.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedContainer[this.GtkScrolledWindow])); w2.X = 14; w2.Y = 286; // Container child mainFixedContainer.Gtk.Fixed+FixedChild this.testFrame = new global::Gtk.Frame(); this.testFrame.WidthRequest = 600; this.testFrame.HeightRequest = 200; this.testFrame.Name = "testFrame"; this.testFrame.ShadowType = ((global::Gtk.ShadowType)(0)); this.drawingAreaLabel = new global::Gtk.Label(); this.drawingAreaLabel.Name = "drawingAreaLabel"; this.drawingAreaLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Drawing Area</b>"); this.drawingAreaLabel.UseMarkup = true; this.testFrame.LabelWidget = this.drawingAreaLabel; this.mainFixedContainer.Add(this.testFrame); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedContainer[this.testFrame])); w3.X = 21; w3.Y = 76; // Container child mainFixedContainer.Gtk.Fixed+FixedChild this.testLabel = new global::Gtk.Label(); this.testLabel.Name = "testLabel"; this.testLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Test Suite"); this.mainFixedContainer.Add(this.testLabel); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedContainer[this.testLabel])); w4.X = 24; w4.Y = 30; // Container child mainFixedContainer.Gtk.Fixed+FixedChild this.testComboBox = global::Gtk.ComboBox.NewText(); this.testComboBox.AppendText(global::Mono.Unix.Catalog.GetString("BitBlt")); this.testComboBox.AppendText(global::Mono.Unix.Catalog.GetString("LineTo")); this.testComboBox.AppendText(global::Mono.Unix.Catalog.GetString("PolylineTo")); this.testComboBox.AppendText(global::Mono.Unix.Catalog.GetString("Ellipse")); this.testComboBox.AppendText(global::Mono.Unix.Catalog.GetString("Polygon")); this.testComboBox.Name = "testComboBox"; this.testComboBox.Active = 0; this.mainFixedContainer.Add(this.testComboBox); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedContainer[this.testComboBox])); w5.X = 79; w5.Y = 26; // Container child mainFixedContainer.Gtk.Fixed+FixedChild this.dumpButton = new global::Gtk.Button(); this.dumpButton.CanFocus = true; this.dumpButton.Name = "dumpButton"; this.dumpButton.UseUnderline = true; this.dumpButton.Label = global::Mono.Unix.Catalog.GetString("Dump"); this.mainFixedContainer.Add(this.dumpButton); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.mainFixedContainer[this.dumpButton])); w6.X = 174; w6.Y = 23; this.Add(this.mainFixedContainer); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 664; this.DefaultHeight = 562; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.testComboBox.Changed += new global::System.EventHandler(this.OnTestComboBoxChanged); this.dumpButton.Clicked += new global::System.EventHandler(this.OnDumpButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.WidthRequest = 1280; this.HeightRequest = 720; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Blob Detection Test Suite"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.MainLayout = new global::Gtk.Fixed(); this.MainLayout.WidthRequest = 1280; this.MainLayout.HeightRequest = 720; this.MainLayout.Name = "MainLayout"; this.MainLayout.HasWindow = false; // Container child MainLayout.Gtk.Fixed+FixedChild this.ImageEventBox = new global::Gtk.EventBox(); this.ImageEventBox.WidthRequest = 800; this.ImageEventBox.HeightRequest = 600; this.ImageEventBox.Name = "ImageEventBox"; // Container child ImageEventBox.Gtk.Container+ContainerChild this.imageBox = new global::Gtk.Image(); this.imageBox.WidthRequest = 800; this.imageBox.HeightRequest = 600; this.imageBox.Name = "imageBox"; this.ImageEventBox.Add(this.imageBox); this.MainLayout.Add(this.ImageEventBox); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.ImageEventBox])); w2.X = 20; w2.Y = 20; // Container child MainLayout.Gtk.Fixed+FixedChild this.selectImageButton = new global::Gtk.Button(); this.selectImageButton.WidthRequest = 120; this.selectImageButton.Name = "selectImageButton"; this.selectImageButton.UseUnderline = true; this.selectImageButton.FocusOnClick = false; this.selectImageButton.Label = global::Mono.Unix.Catalog.GetString("select image"); this.MainLayout.Add(this.selectImageButton); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.selectImageButton])); w3.X = 560; w3.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.quitButton = new global::Gtk.Button(); this.quitButton.Name = "quitButton"; this.quitButton.UseUnderline = true; this.quitButton.Label = global::Mono.Unix.Catalog.GetString("Quit"); this.MainLayout.Add(this.quitButton); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.quitButton])); w4.X = 20; w4.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.cannyThreshold = new global::Gtk.SpinButton(0D, 1000D, 1D); this.cannyThreshold.WidthRequest = 120; this.cannyThreshold.Name = "cannyThreshold"; this.cannyThreshold.Adjustment.PageIncrement = 10D; this.cannyThreshold.ClimbRate = 1D; this.cannyThreshold.Numeric = true; this.MainLayout.Add(this.cannyThreshold); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.cannyThreshold])); w5.X = 840; w5.Y = 30; // Container child MainLayout.Gtk.Fixed+FixedChild this.cannyThresholdLabel = new global::Gtk.Label(); this.cannyThresholdLabel.Name = "cannyThresholdLabel"; this.cannyThresholdLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Canny threshold"); this.MainLayout.Add(this.cannyThresholdLabel); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.cannyThresholdLabel])); w6.X = 970; w6.Y = 35; // Container child MainLayout.Gtk.Fixed+FixedChild this.linkingThreshold = new global::Gtk.SpinButton(0D, 1000D, 1D); this.linkingThreshold.WidthRequest = 120; this.linkingThreshold.Name = "linkingThreshold"; this.linkingThreshold.Adjustment.PageIncrement = 10D; this.linkingThreshold.ClimbRate = 1D; this.linkingThreshold.Numeric = true; this.MainLayout.Add(this.linkingThreshold); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.linkingThreshold])); w7.X = 840; w7.Y = 60; // Container child MainLayout.Gtk.Fixed+FixedChild this.linkingThresholdLabel = new global::Gtk.Label(); this.linkingThresholdLabel.Name = "linkingThresholdLabel"; this.linkingThresholdLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Linking threshold"); this.MainLayout.Add(this.linkingThresholdLabel); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.linkingThresholdLabel])); w8.X = 970; w8.Y = 65; // Container child MainLayout.Gtk.Fixed+FixedChild this.minArea = new global::Gtk.SpinButton(0D, 100000D, 1D); this.minArea.WidthRequest = 120; this.minArea.Name = "minArea"; this.minArea.Adjustment.PageIncrement = 100D; this.minArea.ClimbRate = 1D; this.minArea.Numeric = true; this.MainLayout.Add(this.minArea); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minArea])); w9.X = 840; w9.Y = 90; // Container child MainLayout.Gtk.Fixed+FixedChild this.minAreaLabel = new global::Gtk.Label(); this.minAreaLabel.Name = "minAreaLabel"; this.minAreaLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimum area"); this.MainLayout.Add(this.minAreaLabel); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minAreaLabel])); w10.X = 970; w10.Y = 95; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxArea = new global::Gtk.SpinButton(0D, 100000D, 1D); this.maxArea.WidthRequest = 120; this.maxArea.Name = "maxArea"; this.maxArea.Adjustment.PageIncrement = 100D; this.maxArea.ClimbRate = 1D; this.maxArea.Numeric = true; this.MainLayout.Add(this.maxArea); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxArea])); w11.X = 840; w11.Y = 120; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxAreaLabel = new global::Gtk.Label(); this.maxAreaLabel.Name = "maxAreaLabel"; this.maxAreaLabel.LabelProp = global::Mono.Unix.Catalog.GetString("maximum area"); this.MainLayout.Add(this.maxAreaLabel); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxAreaLabel])); w12.X = 970; w12.Y = 125; // Container child MainLayout.Gtk.Fixed+FixedChild this.minDist = new global::Gtk.SpinButton(0D, 1000D, 1D); this.minDist.WidthRequest = 120; this.minDist.Name = "minDist"; this.minDist.Adjustment.PageIncrement = 10D; this.minDist.ClimbRate = 1D; this.minDist.Numeric = true; this.MainLayout.Add(this.minDist); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minDist])); w13.X = 840; w13.Y = 150; // Container child MainLayout.Gtk.Fixed+FixedChild this.minDistLabel = new global::Gtk.Label(); this.minDistLabel.Name = "minDistLabel"; this.minDistLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimum distance between circles"); this.MainLayout.Add(this.minDistLabel); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minDistLabel])); w14.X = 971; w14.Y = 155; // Container child MainLayout.Gtk.Fixed+FixedChild this.circleAccumulatorThreshold = new global::Gtk.SpinButton(0D, 1000D, 1D); this.circleAccumulatorThreshold.WidthRequest = 120; this.circleAccumulatorThreshold.Name = "circleAccumulatorThreshold"; this.circleAccumulatorThreshold.Adjustment.PageIncrement = 10D; this.circleAccumulatorThreshold.ClimbRate = 1D; this.circleAccumulatorThreshold.Numeric = true; this.MainLayout.Add(this.circleAccumulatorThreshold); global::Gtk.Fixed.FixedChild w15 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.circleAccumulatorThreshold])); w15.X = 840; w15.Y = 180; // Container child MainLayout.Gtk.Fixed+FixedChild this.circleAccumulatorThresholdLabel = new global::Gtk.Label(); this.circleAccumulatorThresholdLabel.Name = "circleAccumulatorThresholdLabel"; this.circleAccumulatorThresholdLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Hough circle threshold"); this.MainLayout.Add(this.circleAccumulatorThresholdLabel); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.circleAccumulatorThresholdLabel])); w16.X = 970; w16.Y = 185; // Container child MainLayout.Gtk.Fixed+FixedChild this.minRadius = new global::Gtk.SpinButton(0D, 1000D, 1D); this.minRadius.WidthRequest = 120; this.minRadius.Name = "minRadius"; this.minRadius.Adjustment.PageIncrement = 10D; this.minRadius.ClimbRate = 1D; this.minRadius.Numeric = true; this.MainLayout.Add(this.minRadius); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minRadius])); w17.X = 840; w17.Y = 210; // Container child MainLayout.Gtk.Fixed+FixedChild this.minRadiusLabel = new global::Gtk.Label(); this.minRadiusLabel.Name = "minRadiusLabel"; this.minRadiusLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimum circle radius"); this.MainLayout.Add(this.minRadiusLabel); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minRadiusLabel])); w18.X = 970; w18.Y = 215; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxRadius = new global::Gtk.SpinButton(0D, 1000D, 1D); this.maxRadius.WidthRequest = 120; this.maxRadius.Name = "maxRadius"; this.maxRadius.Adjustment.PageIncrement = 10D; this.maxRadius.ClimbRate = 1D; this.maxRadius.Numeric = true; this.MainLayout.Add(this.maxRadius); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxRadius])); w19.X = 840; w19.Y = 240; // Container child MainLayout.Gtk.Fixed+FixedChild this.maxRadiusLabel = new global::Gtk.Label(); this.maxRadiusLabel.Name = "maxRadiusLabel"; this.maxRadiusLabel.LabelProp = global::Mono.Unix.Catalog.GetString("maximum circle radius"); this.MainLayout.Add(this.maxRadiusLabel); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.maxRadiusLabel])); w20.X = 970; w20.Y = 245; // Container child MainLayout.Gtk.Fixed+FixedChild this.markerColor = new global::Gtk.ColorButton(); this.markerColor.WidthRequest = 120; this.markerColor.Events = ((global::Gdk.EventMask)(784)); this.markerColor.Name = "markerColor"; this.markerColor.FocusOnClick = false; this.MainLayout.Add(this.markerColor); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.markerColor])); w21.X = 840; w21.Y = 390; // Container child MainLayout.Gtk.Fixed+FixedChild this.colorButtonLabel = new global::Gtk.Label(); this.colorButtonLabel.Name = "colorButtonLabel"; this.colorButtonLabel.LabelProp = global::Mono.Unix.Catalog.GetString("marker color"); this.MainLayout.Add(this.colorButtonLabel); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.colorButtonLabel])); w22.X = 970; w22.Y = 395; // Container child MainLayout.Gtk.Fixed+FixedChild this.markerSize = new global::Gtk.SpinButton(0D, 100D, 1D); this.markerSize.WidthRequest = 120; this.markerSize.Name = "markerSize"; this.markerSize.Adjustment.PageIncrement = 10D; this.markerSize.ClimbRate = 1D; this.markerSize.Numeric = true; this.MainLayout.Add(this.markerSize); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.markerSize])); w23.X = 840; w23.Y = 360; // Container child MainLayout.Gtk.Fixed+FixedChild this.markerSizeLabel = new global::Gtk.Label(); this.markerSizeLabel.Name = "markerSizeLabel"; this.markerSizeLabel.LabelProp = global::Mono.Unix.Catalog.GetString("markerSize"); this.MainLayout.Add(this.markerSizeLabel); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.markerSizeLabel])); w24.X = 970; w24.Y = 365; // Container child MainLayout.Gtk.Fixed+FixedChild this.dp = new global::Gtk.SpinButton(0D, 100D, 1D); this.dp.WidthRequest = 120; this.dp.Name = "dp"; this.dp.Adjustment.PageIncrement = 10D; this.dp.ClimbRate = 1D; this.dp.Numeric = true; this.MainLayout.Add(this.dp); global::Gtk.Fixed.FixedChild w25 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.dp])); w25.X = 840; w25.Y = 270; // Container child MainLayout.Gtk.Fixed+FixedChild this.dpLabel = new global::Gtk.Label(); this.dpLabel.Name = "dpLabel"; this.dpLabel.LabelProp = global::Mono.Unix.Catalog.GetString("dp (image / accumulator)"); this.MainLayout.Add(this.dpLabel); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.dpLabel])); w26.X = 970; w26.Y = 275; // Container child MainLayout.Gtk.Fixed+FixedChild this.detectCirclesButton = new global::Gtk.Button(); this.detectCirclesButton.WidthRequest = 120; this.detectCirclesButton.Name = "detectCirclesButton"; this.detectCirclesButton.UseUnderline = true; this.detectCirclesButton.FocusOnClick = false; this.detectCirclesButton.Label = global::Mono.Unix.Catalog.GetString("Hough circles"); this.MainLayout.Add(this.detectCirclesButton); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.detectCirclesButton])); w27.X = 840; w27.Y = 425; // Container child MainLayout.Gtk.Fixed+FixedChild this.detectBlobsButton = new global::Gtk.Button(); this.detectBlobsButton.WidthRequest = 120; this.detectBlobsButton.Name = "detectBlobsButton"; this.detectBlobsButton.UseUnderline = true; this.detectBlobsButton.FocusOnClick = false; this.detectBlobsButton.Label = global::Mono.Unix.Catalog.GetString("Edge/Polygon"); this.MainLayout.Add(this.detectBlobsButton); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.detectBlobsButton])); w28.X = 840; w28.Y = 455; // Container child MainLayout.Gtk.Fixed+FixedChild this.blobDetectorButton = new global::Gtk.Button(); this.blobDetectorButton.WidthRequest = 120; this.blobDetectorButton.Name = "blobDetectorButton"; this.blobDetectorButton.UseUnderline = true; this.blobDetectorButton.FocusOnClick = false; this.blobDetectorButton.Label = global::Mono.Unix.Catalog.GetString("Blobs"); this.MainLayout.Add(this.blobDetectorButton); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.blobDetectorButton])); w29.X = 840; w29.Y = 485; // Container child MainLayout.Gtk.Fixed+FixedChild this.simpleBlobDetector = new global::Gtk.Button(); this.simpleBlobDetector.WidthRequest = 120; this.simpleBlobDetector.Name = "simpleBlobDetector"; this.simpleBlobDetector.UseUnderline = true; this.simpleBlobDetector.FocusOnClick = false; this.simpleBlobDetector.Label = global::Mono.Unix.Catalog.GetString("Simple"); this.MainLayout.Add(this.simpleBlobDetector); global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.simpleBlobDetector])); w30.X = 840; w30.Y = 515; // Container child MainLayout.Gtk.Fixed+FixedChild this.subtractBg = new global::Gtk.CheckButton(); this.subtractBg.CanFocus = true; this.subtractBg.Name = "subtractBg"; this.subtractBg.Label = global::Mono.Unix.Catalog.GetString("sub background"); this.subtractBg.DrawIndicator = true; this.subtractBg.UseUnderline = true; this.MainLayout.Add(this.subtractBg); global::Gtk.Fixed.FixedChild w31 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.subtractBg])); w31.X = 970; w31.Y = 425; // Container child MainLayout.Gtk.Fixed+FixedChild this.imgInvert = new global::Gtk.CheckButton(); this.imgInvert.CanFocus = true; this.imgInvert.Name = "imgInvert"; this.imgInvert.Label = global::Mono.Unix.Catalog.GetString("invert"); this.imgInvert.DrawIndicator = true; this.imgInvert.UseUnderline = true; this.MainLayout.Add(this.imgInvert); global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.imgInvert])); w32.X = 970; w32.Y = 455; // Container child MainLayout.Gtk.Fixed+FixedChild this.downUpSample = new global::Gtk.CheckButton(); this.downUpSample.CanFocus = true; this.downUpSample.Name = "downUpSample"; this.downUpSample.Label = global::Mono.Unix.Catalog.GetString("down/up sampling"); this.downUpSample.DrawIndicator = true; this.downUpSample.UseUnderline = true; this.downUpSample.FocusOnClick = false; this.MainLayout.Add(this.downUpSample); global::Gtk.Fixed.FixedChild w33 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.downUpSample])); w33.X = 970; w33.Y = 485; // Container child MainLayout.Gtk.Fixed+FixedChild this.gaussianBlur = new global::Gtk.CheckButton(); this.gaussianBlur.Name = "gaussianBlur"; this.gaussianBlur.Label = global::Mono.Unix.Catalog.GetString("Guassian Filter"); this.gaussianBlur.DrawIndicator = true; this.gaussianBlur.UseUnderline = true; this.gaussianBlur.FocusOnClick = false; this.MainLayout.Add(this.gaussianBlur); global::Gtk.Fixed.FixedChild w34 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.gaussianBlur])); w34.X = 1080; w34.Y = 585; // Container child MainLayout.Gtk.Fixed+FixedChild this.sx = new global::Gtk.SpinButton(0D, 100D, 1D); this.sx.WidthRequest = 120; this.sx.Name = "sx"; this.sx.Adjustment.PageIncrement = 10D; this.sx.ClimbRate = 1D; this.sx.Numeric = true; this.MainLayout.Add(this.sx); global::Gtk.Fixed.FixedChild w35 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sx])); w35.X = 840; w35.Y = 580; // Container child MainLayout.Gtk.Fixed+FixedChild this.sy = new global::Gtk.SpinButton(0D, 100D, 1D); this.sy.WidthRequest = 120; this.sy.Name = "sy"; this.sy.Adjustment.PageIncrement = 10D; this.sy.ClimbRate = 1D; this.sy.Numeric = true; this.MainLayout.Add(this.sy); global::Gtk.Fixed.FixedChild w36 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sy])); w36.X = 840; w36.Y = 610; // Container child MainLayout.Gtk.Fixed+FixedChild this.sxLabel = new global::Gtk.Label(); this.sxLabel.Name = "sxLabel"; this.sxLabel.LabelProp = global::Mono.Unix.Catalog.GetString("kernel width"); this.MainLayout.Add(this.sxLabel); global::Gtk.Fixed.FixedChild w37 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sxLabel])); w37.X = 970; w37.Y = 585; // Container child MainLayout.Gtk.Fixed+FixedChild this.syLabel = new global::Gtk.Label(); this.syLabel.Name = "syLabel"; this.syLabel.LabelProp = global::Mono.Unix.Catalog.GetString("kernel height"); this.MainLayout.Add(this.syLabel); global::Gtk.Fixed.FixedChild w38 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.syLabel])); w38.X = 970; w38.Y = 615; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaX = new global::Gtk.SpinButton(0D, 100D, 1D); this.sigmaX.WidthRequest = 120; this.sigmaX.Name = "sigmaX"; this.sigmaX.Adjustment.PageIncrement = 10D; this.sigmaX.ClimbRate = 1D; this.sigmaX.Numeric = true; this.MainLayout.Add(this.sigmaX); global::Gtk.Fixed.FixedChild w39 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaX])); w39.X = 840; w39.Y = 640; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaY = new global::Gtk.SpinButton(0D, 100D, 1D); this.sigmaY.WidthRequest = 120; this.sigmaY.Name = "sigmaY"; this.sigmaY.Adjustment.PageIncrement = 10D; this.sigmaY.ClimbRate = 1D; this.sigmaY.Numeric = true; this.MainLayout.Add(this.sigmaY); global::Gtk.Fixed.FixedChild w40 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaY])); w40.X = 840; w40.Y = 670; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaXLabel = new global::Gtk.Label(); this.sigmaXLabel.Name = "sigmaXLabel"; this.sigmaXLabel.LabelProp = global::Mono.Unix.Catalog.GetString("stdev (X)"); this.MainLayout.Add(this.sigmaXLabel); global::Gtk.Fixed.FixedChild w41 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaXLabel])); w41.X = 970; w41.Y = 645; // Container child MainLayout.Gtk.Fixed+FixedChild this.sigmaYLabel = new global::Gtk.Label(); this.sigmaYLabel.Name = "sigmaYLabel"; this.sigmaYLabel.LabelProp = global::Mono.Unix.Catalog.GetString("stdev (Y)"); this.MainLayout.Add(this.sigmaYLabel); global::Gtk.Fixed.FixedChild w42 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.sigmaYLabel])); w42.X = 970; w42.Y = 675; // Container child MainLayout.Gtk.Fixed+FixedChild this.normalize = new global::Gtk.CheckButton(); this.normalize.CanFocus = true; this.normalize.Name = "normalize"; this.normalize.Label = global::Mono.Unix.Catalog.GetString("normalize"); this.normalize.DrawIndicator = true; this.normalize.UseUnderline = true; this.MainLayout.Add(this.normalize); global::Gtk.Fixed.FixedChild w43 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.normalize])); w43.X = 1120; w43.Y = 425; // Container child MainLayout.Gtk.Fixed+FixedChild this.saveBlobsButton = new global::Gtk.Button(); this.saveBlobsButton.Name = "saveBlobsButton"; this.saveBlobsButton.UseUnderline = true; this.saveBlobsButton.FocusOnClick = false; this.saveBlobsButton.Label = global::Mono.Unix.Catalog.GetString("Save Blobs"); this.MainLayout.Add(this.saveBlobsButton); global::Gtk.Fixed.FixedChild w44 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.saveBlobsButton])); w44.X = 60; w44.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.saveProcessedImage = new global::Gtk.Button(); this.saveProcessedImage.Name = "saveProcessedImage"; this.saveProcessedImage.UseUnderline = true; this.saveProcessedImage.FocusOnClick = false; this.saveProcessedImage.Label = global::Mono.Unix.Catalog.GetString("Save Processed Image"); this.MainLayout.Add(this.saveProcessedImage); global::Gtk.Fixed.FixedChild w45 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.saveProcessedImage])); w45.X = 150; w45.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.SelectMode = new global::Gtk.ToggleButton(); this.SelectMode.WidthRequest = 120; this.SelectMode.Name = "SelectMode"; this.SelectMode.UseUnderline = true; this.SelectMode.FocusOnClick = false; this.SelectMode.Label = global::Mono.Unix.Catalog.GetString("Ellipse / Box"); this.MainLayout.Add(this.SelectMode); global::Gtk.Fixed.FixedChild w46 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.SelectMode])); w46.X = 320; w46.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.editRegionLayout = new global::Gtk.Fixed(); this.editRegionLayout.WidthRequest = 800; this.editRegionLayout.HeightRequest = 50; this.editRegionLayout.Name = "editRegionLayout"; this.editRegionLayout.HasWindow = false; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.regionWidthLabel = new global::Gtk.Label(); this.regionWidthLabel.Name = "regionWidthLabel"; this.regionWidthLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Width</b>"); this.regionWidthLabel.UseMarkup = true; this.editRegionLayout.Add(this.regionWidthLabel); global::Gtk.Fixed.FixedChild w47 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.regionWidthLabel])); w47.Y = 5; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.widthScaleNumeric = new global::Gtk.SpinButton(2D, 1000D, 1D); this.widthScaleNumeric.Name = "widthScaleNumeric"; this.widthScaleNumeric.Adjustment.PageIncrement = 10D; this.widthScaleNumeric.ClimbRate = 1D; this.widthScaleNumeric.Numeric = true; this.widthScaleNumeric.Value = 2D; this.editRegionLayout.Add(this.widthScaleNumeric); global::Gtk.Fixed.FixedChild w48 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.widthScaleNumeric])); w48.X = 50; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.widthScale = new global::Gtk.HScale(null); this.widthScale.WidthRequest = 100; this.widthScale.Name = "widthScale"; this.widthScale.Adjustment.Lower = 2D; this.widthScale.Adjustment.Upper = 1000D; this.widthScale.Adjustment.PageIncrement = 10D; this.widthScale.Adjustment.StepIncrement = 1D; this.widthScale.DrawValue = false; this.widthScale.Digits = 0; this.widthScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.widthScale); global::Gtk.Fixed.FixedChild w49 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.widthScale])); w49.X = 120; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.heightScaleNumeric = new global::Gtk.SpinButton(2D, 1000D, 1D); this.heightScaleNumeric.Name = "heightScaleNumeric"; this.heightScaleNumeric.Adjustment.PageIncrement = 10D; this.heightScaleNumeric.ClimbRate = 1D; this.heightScaleNumeric.Numeric = true; this.heightScaleNumeric.Value = 2D; this.editRegionLayout.Add(this.heightScaleNumeric); global::Gtk.Fixed.FixedChild w50 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.heightScaleNumeric])); w50.X = 50; w50.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.heightScale = new global::Gtk.HScale(null); this.heightScale.WidthRequest = 100; this.heightScale.CanFocus = true; this.heightScale.Name = "heightScale"; this.heightScale.Adjustment.Lower = 2D; this.heightScale.Adjustment.Upper = 1000D; this.heightScale.Adjustment.PageIncrement = 10D; this.heightScale.Adjustment.StepIncrement = 1D; this.heightScale.DrawValue = false; this.heightScale.Digits = 0; this.heightScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.heightScale); global::Gtk.Fixed.FixedChild w51 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.heightScale])); w51.X = 120; w51.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.regionHeightLabel = new global::Gtk.Label(); this.regionHeightLabel.Name = "regionHeightLabel"; this.regionHeightLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Height</b>"); this.regionHeightLabel.UseMarkup = true; this.editRegionLayout.Add(this.regionHeightLabel); global::Gtk.Fixed.FixedChild w52 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.regionHeightLabel])); w52.Y = 35; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dxScaleNumeric = new global::Gtk.SpinButton(-800D, 1600D, 1D); this.dxScaleNumeric.Name = "dxScaleNumeric"; this.dxScaleNumeric.Adjustment.PageIncrement = 10D; this.dxScaleNumeric.ClimbRate = 1D; this.dxScaleNumeric.Numeric = true; this.editRegionLayout.Add(this.dxScaleNumeric); global::Gtk.Fixed.FixedChild w53 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dxScaleNumeric])); w53.X = 250; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dxLabel = new global::Gtk.Label(); this.dxLabel.Name = "dxLabel"; this.dxLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>X</b>"); this.dxLabel.UseMarkup = true; this.editRegionLayout.Add(this.dxLabel); global::Gtk.Fixed.FixedChild w54 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dxLabel])); w54.X = 230; w54.Y = 5; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dyScaleNumeric = new global::Gtk.SpinButton(-800D, 1600D, 1D); this.dyScaleNumeric.Name = "dyScaleNumeric"; this.dyScaleNumeric.Adjustment.PageIncrement = 10D; this.dyScaleNumeric.ClimbRate = 1D; this.dyScaleNumeric.Numeric = true; this.editRegionLayout.Add(this.dyScaleNumeric); global::Gtk.Fixed.FixedChild w55 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dyScaleNumeric])); w55.X = 250; w55.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dyLabel = new global::Gtk.Label(); this.dyLabel.Name = "dyLabel"; this.dyLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Y</b>"); this.dyLabel.UseMarkup = true; this.editRegionLayout.Add(this.dyLabel); global::Gtk.Fixed.FixedChild w56 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dyLabel])); w56.X = 230; w56.Y = 35; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dxScale = new global::Gtk.HScale(null); this.dxScale.WidthRequest = 100; this.dxScale.Name = "dxScale"; this.dxScale.Adjustment.Lower = -800D; this.dxScale.Adjustment.Upper = 1600D; this.dxScale.Adjustment.PageIncrement = 10D; this.dxScale.Adjustment.StepIncrement = 1D; this.dxScale.DrawValue = false; this.dxScale.Digits = 0; this.dxScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.dxScale); global::Gtk.Fixed.FixedChild w57 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dxScale])); w57.X = 320; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.dyScale = new global::Gtk.HScale(null); this.dyScale.WidthRequest = 100; this.dyScale.Name = "dyScale"; this.dyScale.Adjustment.Lower = -800D; this.dyScale.Adjustment.Upper = 1600D; this.dyScale.Adjustment.PageIncrement = 10D; this.dyScale.Adjustment.StepIncrement = 1D; this.dyScale.DrawValue = false; this.dyScale.Digits = 0; this.dyScale.ValuePos = ((global::Gtk.PositionType)(2)); this.editRegionLayout.Add(this.dyScale); global::Gtk.Fixed.FixedChild w58 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.dyScale])); w58.X = 320; w58.Y = 30; // Container child editRegionLayout.Gtk.Fixed+FixedChild this.closeEditButton = new global::Gtk.Button(); this.closeEditButton.Name = "closeEditButton"; this.closeEditButton.UseUnderline = true; this.closeEditButton.FocusOnClick = false; this.closeEditButton.Label = global::Mono.Unix.Catalog.GetString("Close"); this.editRegionLayout.Add(this.closeEditButton); global::Gtk.Fixed.FixedChild w59 = ((global::Gtk.Fixed.FixedChild)(this.editRegionLayout[this.closeEditButton])); w59.X = 440; this.MainLayout.Add(this.editRegionLayout); global::Gtk.Fixed.FixedChild w60 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.editRegionLayout])); w60.X = 20; w60.Y = 660; // Container child MainLayout.Gtk.Fixed+FixedChild this.ClearSelected = new global::Gtk.Button(); this.ClearSelected.Name = "ClearSelected"; this.ClearSelected.UseUnderline = true; this.ClearSelected.FocusOnClick = false; this.ClearSelected.Label = global::Mono.Unix.Catalog.GetString("Clear Selection"); this.MainLayout.Add(this.ClearSelected); global::Gtk.Fixed.FixedChild w61 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.ClearSelected])); w61.X = 445; w61.Y = 625; // Container child MainLayout.Gtk.Fixed+FixedChild this.detectObjectsButton = new global::Gtk.Button(); this.detectObjectsButton.WidthRequest = 120; this.detectObjectsButton.Name = "detectObjectsButton"; this.detectObjectsButton.UseUnderline = true; this.detectObjectsButton.FocusOnClick = false; this.detectObjectsButton.Label = global::Mono.Unix.Catalog.GetString("Haar Cascades"); this.MainLayout.Add(this.detectObjectsButton); global::Gtk.Fixed.FixedChild w62 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.detectObjectsButton])); w62.X = 840; w62.Y = 545; // Container child MainLayout.Gtk.Fixed+FixedChild this.scaleFactor = new global::Gtk.SpinButton(0.01D, 10D, 0.1D); this.scaleFactor.WidthRequest = 120; this.scaleFactor.Name = "scaleFactor"; this.scaleFactor.Adjustment.PageIncrement = 0.1D; this.scaleFactor.ClimbRate = 1D; this.scaleFactor.Digits = ((uint)(2)); this.scaleFactor.Numeric = true; this.scaleFactor.Value = 1D; this.MainLayout.Add(this.scaleFactor); global::Gtk.Fixed.FixedChild w63 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.scaleFactor])); w63.X = 840; w63.Y = 300; // Container child MainLayout.Gtk.Fixed+FixedChild this.scaleFactorLabel = new global::Gtk.Label(); this.scaleFactorLabel.Name = "scaleFactorLabel"; this.scaleFactorLabel.LabelProp = global::Mono.Unix.Catalog.GetString("scale factor"); this.MainLayout.Add(this.scaleFactorLabel); global::Gtk.Fixed.FixedChild w64 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.scaleFactorLabel])); w64.X = 970; w64.Y = 305; // Container child MainLayout.Gtk.Fixed+FixedChild this.minNeighbors = new global::Gtk.SpinButton(1D, 100D, 1D); this.minNeighbors.WidthRequest = 120; this.minNeighbors.Name = "minNeighbors"; this.minNeighbors.Adjustment.PageIncrement = 10D; this.minNeighbors.ClimbRate = 1D; this.minNeighbors.Numeric = true; this.minNeighbors.Value = 1D; this.MainLayout.Add(this.minNeighbors); global::Gtk.Fixed.FixedChild w65 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minNeighbors])); w65.X = 840; w65.Y = 330; // Container child MainLayout.Gtk.Fixed+FixedChild this.minNeighborsLabel = new global::Gtk.Label(); this.minNeighborsLabel.Name = "minNeighborsLabel"; this.minNeighborsLabel.LabelProp = global::Mono.Unix.Catalog.GetString("minimun # of rectangle neighbors"); this.MainLayout.Add(this.minNeighborsLabel); global::Gtk.Fixed.FixedChild w66 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.minNeighborsLabel])); w66.X = 970; w66.Y = 335; // Container child MainLayout.Gtk.Fixed+FixedChild this.selectClassifierButton = new global::Gtk.Button(); this.selectClassifierButton.WidthRequest = 120; this.selectClassifierButton.Name = "selectClassifierButton"; this.selectClassifierButton.UseUnderline = true; this.selectClassifierButton.FocusOnClick = false; this.selectClassifierButton.Label = global::Mono.Unix.Catalog.GetString("select classifier"); this.MainLayout.Add(this.selectClassifierButton); global::Gtk.Fixed.FixedChild w67 = ((global::Gtk.Fixed.FixedChild)(this.MainLayout[this.selectClassifierButton])); w67.X = 970; w67.Y = 545; this.Add(this.MainLayout); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1280; this.DefaultHeight = 720; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.ImageEventBox.ButtonPressEvent += new global::Gtk.ButtonPressEventHandler(this.ImageButtonPress); this.ImageEventBox.ButtonReleaseEvent += new global::Gtk.ButtonReleaseEventHandler(this.ImageButtonRelease); this.ImageEventBox.MotionNotifyEvent += new global::Gtk.MotionNotifyEventHandler(this.ImageMotionNotify); this.selectImageButton.Clicked += new global::System.EventHandler(this.OnSelectImageButtonClicked); this.quitButton.Clicked += new global::System.EventHandler(this.OnQuitButtonClicked); this.markerSize.ValueChanged += new global::System.EventHandler(this.OnMarkerSizeValueChanged); this.detectCirclesButton.Clicked += new global::System.EventHandler(this.OnDetectCirclesButtonClicked); this.detectBlobsButton.Clicked += new global::System.EventHandler(this.OnDetectBlobsButtonClicked); this.blobDetectorButton.Clicked += new global::System.EventHandler(this.OnBlobDetectorButtonClicked); this.simpleBlobDetector.Clicked += new global::System.EventHandler(this.OnSimpleBlobDetectorClicked); this.subtractBg.Toggled += new global::System.EventHandler(this.OnSubtractBgToggled); this.imgInvert.Toggled += new global::System.EventHandler(this.OnImgInvertToggled); this.downUpSample.Toggled += new global::System.EventHandler(this.OnDownUpSampleToggled); this.gaussianBlur.Toggled += new global::System.EventHandler(this.OnGaussianBlurToggled); this.sx.ValueChanged += new global::System.EventHandler(this.OnSxValueChanged); this.sy.ValueChanged += new global::System.EventHandler(this.OnSyValueChanged); this.sigmaX.ValueChanged += new global::System.EventHandler(this.OnSigmaXValueChanged); this.sigmaY.ValueChanged += new global::System.EventHandler(this.OnSigmaYValueChanged); this.normalize.Toggled += new global::System.EventHandler(this.OnNormalizeToggled); this.saveBlobsButton.Clicked += new global::System.EventHandler(this.OnSaveBlobsButtonClicked); this.saveProcessedImage.Clicked += new global::System.EventHandler(this.OnSaveProcessedImageClicked); this.SelectMode.Toggled += new global::System.EventHandler(this.ToggleSelectMode); this.widthScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericResizeEvent); this.widthScale.ValueChanged += new global::System.EventHandler(this.ScaleResizeEvent); this.heightScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericResizeEvent); this.heightScale.ValueChanged += new global::System.EventHandler(this.ScaleResizeEvent); this.dxScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericMoveEvent); this.dyScaleNumeric.ValueChanged += new global::System.EventHandler(this.NumericMoveEvent); this.dxScale.ValueChanged += new global::System.EventHandler(this.ScaleMoveEvent); this.dyScale.ValueChanged += new global::System.EventHandler(this.ScaleMoveEvent); this.closeEditButton.Clicked += new global::System.EventHandler(this.CloseEdit); this.ClearSelected.Clicked += new global::System.EventHandler(this.ClearRegions); this.detectObjectsButton.Clicked += new global::System.EventHandler(this.OnDetectObjectsButtonClicked); this.selectClassifierButton.Clicked += new global::System.EventHandler(this.OnSelectClassifierButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.filechooserbutton = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Select a File"), ((global::Gtk.FileChooserAction)(0))); this.filechooserbutton.Name = "filechooserbutton"; this.hbox4.Add(this.filechooserbutton); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.filechooserbutton])); w1.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Symbol Table"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w2.X = 133; w2.Y = 9; // Container child fixed1.Gtk.Fixed+FixedChild this.label = new global::Gtk.Label(); this.label.Name = "label"; this.label.Xalign = 1F; this.label.LabelProp = global::Mono.Unix.Catalog.GetString("Lexeme"); this.fixed1.Add(this.label); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label])); w3.X = 63; w3.Y = 7; this.hbox4.Add(this.fixed1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox4[this.fixed1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox4])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.textview = new global::Gtk.TextView(); this.textview.CanFocus = true; this.textview.Name = "textview"; this.GtkScrolledWindow3.Add(this.textview); this.hbox1.Add(this.GtkScrolledWindow3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow3])); w7.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeview = new global::Gtk.TreeView(); this.treeview.CanFocus = true; this.treeview.Name = "treeview"; this.GtkScrolledWindow1.Add(this.treeview); this.hbox1.Add(this.GtkScrolledWindow1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow1])); w9.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.stTree = new global::Gtk.TreeView(); this.stTree.CanFocus = true; this.stTree.Name = "stTree"; this.GtkScrolledWindow2.Add(this.stTree); this.hbox1.Add(this.GtkScrolledWindow2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.GtkScrolledWindow2])); w11.Position = 2; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w12.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.button = new global::Gtk.Button(); this.button.CanFocus = true; this.button.Name = "button"; this.button.UseUnderline = true; this.button.Label = global::Mono.Unix.Catalog.GetString("Run"); this.vbox1.Add(this.button); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.button])); w13.Position = 2; w13.Expand = false; w13.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.frame = new global::Gtk.Frame(); this.frame.Name = "frame"; this.frame.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.commandLine = new global::Gtk.TextView(); this.commandLine.CanFocus = true; this.commandLine.Name = "commandLine"; this.GtkScrolledWindow.Add(this.commandLine); this.GtkAlignment.Add(this.GtkScrolledWindow); this.frame.Add(this.GtkAlignment); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Console</b>"); this.GtkLabel2.UseMarkup = true; this.frame.LabelWidget = this.GtkLabel2; this.vbox1.Add(this.frame); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.frame])); w17.Position = 3; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 1062; this.DefaultHeight = 577; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.filechooserbutton.FileActivated += new global::System.EventHandler(this.OnOpen); this.filechooserbutton.SelectionChanged += new global::System.EventHandler(this.OnOpen); this.button.Clicked += new global::System.EventHandler(this.Run); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixedContainer = new global::Gtk.Fixed(); this.fixedContainer.Name = "fixedContainer"; this.fixedContainer.HasWindow = false; // Container child fixedContainer.Gtk.Fixed+FixedChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.tokenTreeView = new global::Gtk.TreeView(); this.tokenTreeView.WidthRequest = 300; this.tokenTreeView.HeightRequest = 150; this.tokenTreeView.CanFocus = true; this.tokenTreeView.Name = "tokenTreeView"; this.GtkScrolledWindow1.Add(this.tokenTreeView); this.fixedContainer.Add(this.GtkScrolledWindow1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixedContainer [this.GtkScrolledWindow1])); w2.X = 627; w2.Y = 52; // Container child fixedContainer.Gtk.Fixed+FixedChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.symbolTableTreeView = new global::Gtk.TreeView(); this.symbolTableTreeView.WidthRequest = 300; this.symbolTableTreeView.HeightRequest = 150; this.symbolTableTreeView.CanFocus = true; this.symbolTableTreeView.Name = "symbolTableTreeView"; this.GtkScrolledWindow2.Add(this.symbolTableTreeView); this.fixedContainer.Add(this.GtkScrolledWindow2); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixedContainer [this.GtkScrolledWindow2])); w4.X = 629; w4.Y = 233; // Container child fixedContainer.Gtk.Fixed+FixedChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.editorTextView = new global::Gtk.TextView(); this.editorTextView.WidthRequest = 600; this.editorTextView.HeightRequest = 330; this.editorTextView.CanFocus = true; this.editorTextView.Name = "editorTextView"; this.GtkScrolledWindow.Add(this.editorTextView); this.fixedContainer.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixedContainer [this.GtkScrolledWindow])); w6.X = 19; w6.Y = 52; // Container child fixedContainer.Gtk.Fixed+FixedChild this.uhm = new global::Gtk.Label(); this.uhm.Name = "uhm"; this.uhm.LabelProp = global::Mono.Unix.Catalog.GetString("Symbol Table"); this.fixedContainer.Add(this.uhm); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixedContainer [this.uhm])); w7.X = 636; w7.Y = 210; // Container child fixedContainer.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Tokens"); this.fixedContainer.Add(this.label2); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixedContainer [this.label2])); w8.X = 630; w8.Y = 30; // Container child fixedContainer.Gtk.Fixed+FixedChild this.fileChooser = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Select a File"), ((global::Gtk.FileChooserAction)(0))); this.fileChooser.WidthRequest = 150; this.fileChooser.Name = "fileChooser"; this.fixedContainer.Add(this.fileChooser); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixedContainer [this.fileChooser])); w9.X = 25; w9.Y = 12; // Container child fixedContainer.Gtk.Fixed+FixedChild this.executeButton = new global::Gtk.Button(); this.executeButton.CanFocus = true; this.executeButton.Name = "executeButton"; this.executeButton.UseUnderline = true; this.executeButton.Label = global::Mono.Unix.Catalog.GetString("Execute"); this.fixedContainer.Add(this.executeButton); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixedContainer [this.executeButton])); w10.X = 181; w10.Y = 13; // Container child fixedContainer.Gtk.Fixed+FixedChild this.GtkScrolledWindow3 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow3.Name = "GtkScrolledWindow3"; this.GtkScrolledWindow3.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow3.Gtk.Container+ContainerChild this.consoleTextView = new global::Gtk.TextView(); this.consoleTextView.WidthRequest = 910; this.consoleTextView.HeightRequest = 150; this.consoleTextView.CanFocus = true; this.consoleTextView.Name = "consoleTextView"; this.GtkScrolledWindow3.Add(this.consoleTextView); this.fixedContainer.Add(this.GtkScrolledWindow3); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixedContainer [this.GtkScrolledWindow3])); w12.X = 19; w12.Y = 392; this.Add(this.fixedContainer); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 950; this.DefaultHeight = 557; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.fileChooser.SelectionChanged += new global::System.EventHandler(this.transferSourceCodeToEditor); this.executeButton.Clicked += new global::System.EventHandler(this.onExecuteButtonClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.button1 = new global::Gtk.Button(); this.button1.CanFocus = true; this.button1.Name = "button1"; this.button1.UseUnderline = true; this.button1.Label = global::Mono.Unix.Catalog.GetString("Login"); this.fixed1.Add(this.button1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button1])); w1.X = 315; w1.Y = 300; // Container child fixed1.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("ID"); this.fixed1.Add(this.label1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label1])); w2.X = 80; w2.Y = 200; // Container child fixed1.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Password"); this.fixed1.Add(this.label2); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.label2])); w3.X = 80; w3.Y = 250; // Container child fixed1.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.fixed1.Add(this.entry1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry1])); w4.X = 200; w4.Y = 200; // Container child fixed1.Gtk.Fixed+FixedChild this.entry2 = new global::Gtk.Entry(); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '●'; this.fixed1.Add(this.entry2); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.entry2])); w5.X = 200; w5.Y = 250; // Container child fixed1.Gtk.Fixed+FixedChild this.button2 = new global::Gtk.Button(); this.button2.CanFocus = true; this.button2.Name = "button2"; this.button2.UseUnderline = true; this.button2.Label = global::Mono.Unix.Catalog.GetString("Regist"); this.fixed1.Add(this.button2); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1[this.button2])); w6.X = 200; w6.Y = 300; this.GtkAlignment.Add(this.fixed1); this.frame1.Add(this.GtkAlignment); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("Tettris"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; this.Add(this.frame1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 552; this.DefaultHeight = 446; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.button1.Clicked += new global::System.EventHandler(this.OnButton1Clicked); this.button2.Clicked += new global::System.EventHandler(this.OnButton2Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; // Container child fixed2.Gtk.Fixed+FixedChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Usuario"); this.fixed2.Add(this.label1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.label1])); w1.X = 70; w1.Y = 90; // Container child fixed2.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '•'; this.fixed2.Add(this.entry1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.entry1])); w2.X = 193; w2.Y = 81; // Container child fixed2.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Contraseña"); this.fixed2.Add(this.label2); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.label2])); w3.X = 68; w3.Y = 142; // Container child fixed2.Gtk.Fixed+FixedChild this.btnRegistrar = new global::Gtk.Button(); this.btnRegistrar.CanFocus = true; this.btnRegistrar.Name = "btnRegistrar"; this.btnRegistrar.UseUnderline = true; this.btnRegistrar.Label = global::Mono.Unix.Catalog.GetString("Registrarse"); this.fixed2.Add(this.btnRegistrar); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.btnRegistrar])); w4.X = 197; w4.Y = 207; // Container child fixed2.Gtk.Fixed+FixedChild this.entry2 = new global::Gtk.Entry(); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '•'; this.fixed2.Add(this.entry2); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed2[this.entry2])); w5.X = 187; w5.Y = 136; this.Add(this.fixed2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 544; this.DefaultHeight = 461; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.btnRegistrar.Clicked += new global::System.EventHandler(this.OnBtnRegistrarClicked); }