protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget CmisSync.Widgets.UrlWidget global::Stetic.BinContainer.Attach (this); this.Name = "CmisSync.Widgets.UrlWidget"; // Container child CmisSync.Widgets.UrlWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.urlEntry = new global::Gtk.Entry (); this.urlEntry.CanFocus = true; this.urlEntry.Name = "urlEntry"; this.urlEntry.Text = global::Mono.Unix.Catalog.GetString ("https://"); this.urlEntry.IsEditable = true; this.urlEntry.InvisibleChar = '•'; this.vbox1.Add (this.urlEntry); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.urlEntry])); w1.Position = 0; w1.Expand = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.urlEntry.Changed += new global::System.EventHandler (this.UrlChanged); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget meticulus.controls.gtk.filter_creator global::Stetic.BinContainer.Attach (this); this.Name = "meticulus.controls.gtk.filter_creator"; // Container child meticulus.controls.gtk.filter_creator.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 global::Gtk.Viewport w1 = new global::Gtk.Viewport (); w1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed (); this.fixed2.HeightRequest = 60; 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 ("Filter name:"); this.fixed2.Add (this.label1); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.label1])); w2.X = 5; w2.Y = 5; // 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 w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.entry2])); w3.X = 10; w3.Y = 30; this.vbox2.Add (this.fixed2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.fixed2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; this.vbox2.Add (this.vbox3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.vbox3])); w5.Position = 1; w1.Add (this.vbox2); this.GtkScrolledWindow.Add (w1); this.Add (this.GtkScrolledWindow); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget BugzillaInterface.SensitiveTextBox global::Stetic.BinContainer.Attach (this); this.Name = "BugzillaInterface.SensitiveTextBox"; // Container child BugzillaInterface.SensitiveTextBox.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.enabledButton = new global::Gtk.CheckButton (); this.enabledButton.CanFocus = true; this.enabledButton.Name = "enabledButton"; this.enabledButton.Label = global::Mono.Unix.Catalog.GetString ("Enabled"); this.enabledButton.DrawIndicator = true; this.enabledButton.UseUnderline = true; this.vbox2.Add (this.enabledButton); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.enabledButton])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.textLabel = new global::Gtk.Label (); this.textLabel.WidthRequest = 100; this.textLabel.Name = "textLabel"; this.textLabel.Xpad = 13; this.textLabel.Xalign = 0F; this.textLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("label1"); this.hbox1.Add (this.textLabel); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.textLabel])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.textEntry = new global::Gtk.Entry (); this.textEntry.Sensitive = false; this.textEntry.CanFocus = true; this.textEntry.Name = "textEntry"; this.textEntry.IsEditable = true; this.textEntry.InvisibleChar = '●'; this.hbox1.Add (this.textEntry); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.textEntry])); w3.Position = 1; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.enabledButton.Toggled += new global::System.EventHandler (this.ToggleSensitivity); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget PMyWidget.PersonaView global::Stetic.BinContainer.Attach (this); this.Name = "PMyWidget.PersonaView"; // Container child PMyWidget.PersonaView.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryApellidos = new global::Gtk.Entry (); this.entryApellidos.CanFocus = true; this.entryApellidos.Name = "entryApellidos"; this.entryApellidos.IsEditable = true; this.entryApellidos.InvisibleChar = '•'; this.table1.Add (this.entryApellidos); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryApellidos])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryNombre = new global::Gtk.Entry (); this.entryNombre.CanFocus = true; this.entryNombre.Name = "entryNombre"; this.entryNombre.IsEditable = true; this.entryNombre.InvisibleChar = '•'; this.table1.Add (this.entryNombre); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryNombre])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Nombre"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Apellidos"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Snively.NoteEditor global::Stetic.BinContainer.Attach (this); this.Name = "Snively.NoteEditor"; // Container child Snively.NoteEditor.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(6)); // Container child vbox1.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '•'; this.vbox1.Add (this.entry1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.entry1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // 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.NoteContentsScrolledWindow = new global::Gtk.ScrolledWindow (); this.NoteContentsScrolledWindow.Name = "NoteContentsScrolledWindow"; this.NoteContentsScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child NoteContentsScrolledWindow.Gtk.Container+ContainerChild this.NoteContentsEdit = new global::Gtk.TextView (); this.NoteContentsEdit.CanFocus = true; this.NoteContentsEdit.Name = "NoteContentsEdit"; this.NoteContentsScrolledWindow.Add (this.NoteContentsEdit); this.hbox4.Add (this.NoteContentsScrolledWindow); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.NoteContentsScrolledWindow])); w3.Position = 0; // Container child hbox4.Gtk.Box+BoxChild this.NoteChildrenScrolledWindow = new global::Gtk.ScrolledWindow (); this.NoteChildrenScrolledWindow.Name = "NoteChildrenScrolledWindow"; this.NoteChildrenScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child NoteChildrenScrolledWindow.Gtk.Container+ContainerChild this.NoteChildrenTreeView = new global::Gtk.TreeView (); this.NoteChildrenTreeView.CanFocus = true; this.NoteChildrenTreeView.Name = "NoteChildrenTreeView"; this.NoteChildrenTreeView.Reorderable = true; this.NoteChildrenScrolledWindow.Add (this.NoteChildrenTreeView); this.hbox4.Add (this.NoteChildrenScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.NoteChildrenScrolledWindow])); w5.Position = 1; this.vbox1.Add (this.hbox4); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w6.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.D.ResourcesCompilerOptionsPanel global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.D.ResourcesCompilerOptionsPanel"; // Container child MonoDevelop.D.ResourcesCompilerOptionsPanel.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(4)); this.table1.ColumnSpacing = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Compiler Executable"); this.table1.Add (this.label3); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label (); this.label4.Name = "label4"; this.label4.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Build Arguments"); this.table1.Add (this.label4); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.text_BuildArgs = new global::Gtk.Entry (); this.text_BuildArgs.CanFocus = true; this.text_BuildArgs.Name = "text_BuildArgs"; this.text_BuildArgs.IsEditable = true; this.text_BuildArgs.InvisibleChar = '●'; this.table1.Add (this.text_BuildArgs); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.text_BuildArgs])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.text_CompilerExecutable = new global::Gtk.Entry (); this.text_CompilerExecutable.CanFocus = true; this.text_CompilerExecutable.Name = "text_CompilerExecutable"; this.text_CompilerExecutable.IsEditable = true; this.text_CompilerExecutable.MaxLength = 250; this.text_CompilerExecutable.InvisibleChar = '●'; this.table1.Add (this.text_CompilerExecutable); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.text_CompilerExecutable])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget PasswordManager.ConnectionChange this.Name = "PasswordManager.ConnectionChange"; this.Title = global::Mono.Unix.Catalog.GetString ("ConnectionChange"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Modal = true; // Container child PasswordManager.ConnectionChange.Gtk.Container+ContainerChild this.fixed1 = new global::Gtk.Fixed (); this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; // Container child fixed1.Gtk.Fixed+FixedChild this.serverAddressLabel = new global::Gtk.Label (); this.serverAddressLabel.Name = "serverAddressLabel"; this.serverAddressLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Server Address"); this.fixed1.Add (this.serverAddressLabel); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.serverAddressLabel])); w1.X = 36; w1.Y = 21; // Container child fixed1.Gtk.Fixed+FixedChild this.okChange = new global::Gtk.Button (); this.okChange.CanFocus = true; this.okChange.Name = "okChange"; this.okChange.UseUnderline = true; this.okChange.Label = global::Mono.Unix.Catalog.GetString ("OK"); this.fixed1.Add (this.okChange); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.okChange])); w2.X = 38; w2.Y = 96; // Container child fixed1.Gtk.Fixed+FixedChild this.serverEntry = new global::Gtk.Entry (); this.serverEntry.CanFocus = true; this.serverEntry.Name = "serverEntry"; this.serverEntry.IsEditable = true; this.serverEntry.InvisibleChar = '●'; this.fixed1.Add (this.serverEntry); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.serverEntry])); w3.X = 33; w3.Y = 49; // Container child fixed1.Gtk.Fixed+FixedChild this.exitbutton = new global::Gtk.Button (); this.exitbutton.CanFocus = true; this.exitbutton.Name = "exitbutton"; this.exitbutton.UseUnderline = true; this.exitbutton.Label = global::Mono.Unix.Catalog.GetString ("Exit"); this.fixed1.Add (this.exitbutton); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.exitbutton])); w4.X = 245; w4.Y = 93; this.Add (this.fixed1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 379; this.DefaultHeight = 132; this.Show (); this.okChange.Clicked += new global::System.EventHandler (this.OnOkChangeClicked); this.exitbutton.Clicked += new global::System.EventHandler (this.OnExitbuttonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Number Pretifier"); 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.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry (); this.entry1.TooltipMarkup = "Input number field"; this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '•'; this.hbox2.Add (this.entry1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entry1])); w1.Position = 0; // Container child hbox2.Gtk.Box+BoxChild 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 ("Pretify"); this.hbox2.Add (this.button1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.button1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; this.vbox1.Add (this.hbox2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.vbox1.Add (this.label1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1])); w4.Position = 1; w4.Expand = false; w4.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 384; this.DefaultHeight = 62; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.entry1.Activated += new global::System.EventHandler (this.OnEntry1Activated); this.button1.Clicked += new global::System.EventHandler (this.OnButton1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSWidgetLib.LegalName global::Stetic.BinContainer.Attach (this); this.Name = "QSWidgetLib.LegalName"; // Container child QSWidgetLib.LegalName.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.comboOwnership = global::Gtk.ComboBox.NewText (); this.comboOwnership.Name = "comboOwnership"; this.hbox1.Add (this.comboOwnership); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.comboOwnership])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryName = new global::Gtk.Entry (); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.hbox1.Add (this.entryName); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryName])); w2.Position = 1; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.comboOwnership.Changed += new global::System.EventHandler (this.OnComboOwnershipChanged); this.entryName.Changed += new global::System.EventHandler (this.OnEntryNameChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget GoldAddin.OutputOptionsWidget global::Stetic.BinContainer.Attach (this); this.Name = "GoldAddin.OutputOptionsWidget"; // Container child GoldAddin.OutputOptionsWidget.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Compiled Grammar Table Name:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Table format:"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.outputFormatSelector = global::Gtk.ComboBox.NewText (); this.outputFormatSelector.AppendText (global::Mono.Unix.Catalog.GetString ("Compiled Grammar Table (.cgt)")); this.outputFormatSelector.AppendText (global::Mono.Unix.Catalog.GetString ("Enhanced Grammar Table (.egt)")); this.outputFormatSelector.Name = "outputFormatSelector"; this.table1.Add (this.outputFormatSelector); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.outputFormatSelector])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.outputTableName = new global::Gtk.Entry (); this.outputTableName.CanFocus = true; this.outputTableName.Name = "outputTableName"; this.outputTableName.IsEditable = true; this.outputTableName.InvisibleChar = '●'; this.table1.Add (this.outputTableName); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.outputTableName])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget PGtkArray.MyWidget global::Stetic.BinContainer.Attach (this); this.Name = "PGtkArray.MyWidget"; // Container child PGtkArray.MyWidget.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '•'; this.table1.Add (this.entry1); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.entry1])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entry2 = new global::Gtk.Entry (); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.InvisibleChar = '•'; this.table1.Add (this.entry2); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.entry2])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelDireccion = new global::Gtk.Label (); this.labelDireccion.Name = "labelDireccion"; this.labelDireccion.LabelProp = global::Mono.Unix.Catalog.GetString ("Dirección"); this.table1.Add (this.labelDireccion); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelDireccion])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.labelPoblacion = new global::Gtk.Label (); this.labelPoblacion.Name = "labelPoblacion"; this.labelPoblacion.LabelProp = global::Mono.Unix.Catalog.GetString ("Población"); this.table1.Add (this.labelPoblacion); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.labelPoblacion])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.D.OptionPanels.DubOptionPanel global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.D.OptionPanels.DubOptionPanel"; // Container child MonoDevelop.D.OptionPanels.DubOptionPanel.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("dub executable"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString ("Generic dub arguments"); this.table1.Add (this.label2); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.text_commonArgs = new global::Gtk.Entry (); this.text_commonArgs.CanFocus = true; this.text_commonArgs.Name = "text_commonArgs"; this.text_commonArgs.IsEditable = true; this.text_commonArgs.InvisibleChar = '•'; this.table1.Add (this.text_commonArgs); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.text_commonArgs])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.text_dub = new global::Gtk.Entry (); this.text_dub.CanFocus = true; this.text_dub.Name = "text_dub"; this.text_dub.IsEditable = true; this.text_dub.InvisibleChar = '•'; this.table1.Add (this.text_dub); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.text_dub])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Inicial.TaskTypeWindow this.Name = "Inicial.TaskTypeWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("TaskTypeWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child Inicial.TaskTypeWindow.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 ("Név:"); this.fixed2.Add (this.label1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.label1])); w1.X = 15; w1.Y = 15; // Container child fixed2.Gtk.Fixed+FixedChild this.txtName = new global::Gtk.Entry (); this.txtName.CanFocus = true; this.txtName.Name = "txtName"; this.txtName.IsEditable = true; this.txtName.InvisibleChar = '•'; this.fixed2.Add (this.txtName); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.txtName])); w2.X = 85; w2.Y = 10; // Container child fixed2.Gtk.Fixed+FixedChild this.btnOK = new global::Gtk.Button (); this.btnOK.CanFocus = true; this.btnOK.Name = "btnOK"; this.btnOK.UseUnderline = true; this.btnOK.Label = global::Mono.Unix.Catalog.GetString ("OK"); this.fixed2.Add (this.btnOK); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.btnOK])); w3.X = 15; w3.Y = 55; // Container child fixed2.Gtk.Fixed+FixedChild this.btnCancel = new global::Gtk.Button (); this.btnCancel.CanFocus = true; this.btnCancel.Name = "btnCancel"; this.btnCancel.UseUnderline = true; this.btnCancel.Label = global::Mono.Unix.Catalog.GetString ("Mégse"); this.fixed2.Add (this.btnCancel); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.btnCancel])); w4.X = 60; w4.Y = 55; this.Add (this.fixed2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 292; this.DefaultHeight = 121; this.Show (); this.btnOK.Clicked += new global::System.EventHandler (this.OnBtnOKClicked); this.btnCancel.Clicked += new global::System.EventHandler (this.OnBtnCancelClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget GUI.GTK.MainWindow this.Name = "GUI.GTK.MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(3)); this.Resizable = false; this.AllowGrow = false; this.AllowShrink = true; // Internal child GUI.GTK.MainWindow.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "__gtksharp_73_Stetic_TopLevelDialog_VBox"; // Container child __gtksharp_73_Stetic_TopLevelDialog_VBox.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry (); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; w1.Add (this.entry1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.entry1])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child __gtksharp_73_Stetic_TopLevelDialog_VBox.Gtk.Box+BoxChild this.entry2 = new global::Gtk.Entry (); this.entry2.CanFocus = true; this.entry2.Name = "entry2"; this.entry2.IsEditable = true; this.entry2.Visibility = false; this.entry2.InvisibleChar = '●'; w1.Add (this.entry2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.entry2])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Internal child GUI.GTK.MainWindow.ActionArea global::Gtk.HButtonBox w4 = this.ActionArea; w4.Name = "__gtksharp_73_Stetic_TopLevelDialog_ActionArea"; // Container child __gtksharp_73_Stetic_TopLevelDialog_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.connectButton = new global::Gtk.Button (); this.connectButton.CanFocus = true; this.connectButton.Name = "connectButton"; this.connectButton.UseUnderline = true; this.connectButton.Label = global::Mono.Unix.Catalog.GetString ("Connect"); this.AddActionWidget (this.connectButton, 0); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4 [this.connectButton])); w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 170; this.DefaultHeight = 75; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.connectButton.Clicked += new global::System.EventHandler (this.OnConnectButtonClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget MonoDevelop.SourceEditor.GotoLineNumberWidget global::Stetic.BinContainer.Attach (this); this.Name = "MonoDevelop.SourceEditor.GotoLineNumberWidget"; // Container child MonoDevelop.SourceEditor.GotoLineNumberWidget.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; // Container child hbox1.Gtk.Box+BoxChild this.entryLineNumber = new global::Gtk.Entry (); this.entryLineNumber.CanFocus = true; this.entryLineNumber.Name = "entryLineNumber"; this.entryLineNumber.IsEditable = true; this.entryLineNumber.InvisibleChar = '●'; this.hbox1.Add (this.entryLineNumber); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryLineNumber])); w1.Position = 0; w1.Expand = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonGoToLine = new global::Gtk.Button (); this.buttonGoToLine.CanDefault = true; this.buttonGoToLine.CanFocus = true; this.buttonGoToLine.Name = "buttonGoToLine"; this.buttonGoToLine.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child buttonGoToLine.Gtk.Container+ContainerChild this.image2 = new global::MonoDevelop.Components.ImageView (); this.image2.Name = "image2"; this.image2.IconId = "gtk-jump-to"; this.image2.IconSize = ((global::Gtk.IconSize)(1)); this.buttonGoToLine.Add (this.image2); this.hbox1.Add (this.buttonGoToLine); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonGoToLine])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.closeButton = new global::Gtk.Button (); this.closeButton.CanFocus = true; this.closeButton.Name = "closeButton"; this.closeButton.Relief = ((global::Gtk.ReliefStyle)(2)); // Container child closeButton.Gtk.Container+ContainerChild this.image1 = new global::MonoDevelop.Components.ImageView (); this.image1.Name = "image1"; this.image1.IconId = "gtk-close"; this.image1.IconSize = ((global::Gtk.IconSize)(1)); this.closeButton.Add (this.image1); this.hbox1.Add (this.closeButton); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.closeButton])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget TraceLab.UI.GTK.PackageBuilderMainPage global::Stetic.BinContainer.Attach (this); this.Name = "TraceLab.UI.GTK.PackageBuilderMainPage"; // Container child TraceLab.UI.GTK.PackageBuilderMainPage.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox (); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; this.vbox1.BorderWidth = ((uint)(4)); // 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.packageNameLabel = new global::Gtk.Label (); this.packageNameLabel.Name = "packageNameLabel"; this.packageNameLabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Package Name:"); this.hbox1.Add (this.packageNameLabel); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.packageNameLabel])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.packageNameEntry = new global::Gtk.Entry (); this.packageNameEntry.CanFocus = true; this.packageNameEntry.Name = "packageNameEntry"; this.packageNameEntry.IsEditable = true; this.packageNameEntry.InvisibleChar = '●'; this.hbox1.Add (this.packageNameEntry); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.packageNameEntry])); w2.Position = 1; this.vbox1.Add (this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w3.Position = 0; w3.Expand = false; w3.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.treeView = new global::Gtk.TreeView (); this.treeView.CanFocus = true; this.treeView.Name = "treeView"; this.GtkScrolledWindow.Add (this.treeView); this.vbox1.Add (this.GtkScrolledWindow); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w5.Position = 1; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.packageNameEntry.Changed += new global::System.EventHandler (this.OnPackageNameEntryChanged); this.treeView.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.HandleKeyPress); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget gpartimageng.AboutWindow this.Name = "gpartimageng.AboutWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("AboutWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.DestroyWithParent = true; // Container child gpartimageng.AboutWindow.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 ("GPartimage-ng - это графическая оболочка для приложения \npartimage-ng, написанная на C# (Mono)."); this.label1.Justify = ((global::Gtk.Justification)(2)); this.fixed2.Add (this.label1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.label1])); w1.X = 19; w1.Y = 15; // Container child fixed2.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Версия: 1.0 beta"); this.fixed2.Add (this.label2); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.label2])); w2.X = 18; w2.Y = 77; // Container child fixed2.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label (); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString ("Адрес git-репозитория:"); this.fixed2.Add (this.label3); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.label3])); w3.X = 17; w3.Y = 128; // Container child fixed2.Gtk.Fixed+FixedChild this.entry1 = new global::Gtk.Entry (); this.entry1.WidthRequest = 370; this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.Text = global::Mono.Unix.Catalog.GetString ("git://github.com/volgruk/GPartimage-ng.git"); this.entry1.IsEditable = false; this.entry1.InvisibleChar = '•'; this.fixed2.Add (this.entry1); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.entry1])); w4.X = 49; w4.Y = 154; this.Add (this.fixed2); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 462; this.DefaultHeight = 222; this.Show (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSOrmProject.EntryReference global::Stetic.BinContainer.Attach (this); this.Name = "QSOrmProject.EntryReference"; // Container child QSOrmProject.EntryReference.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.entryObject = new global::Gtk.Entry (); this.entryObject.CanFocus = true; this.entryObject.Name = "entryObject"; this.entryObject.IsEditable = true; this.entryObject.InvisibleChar = '●'; this.hbox1.Add (this.entryObject); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryObject])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button (); this.buttonEdit.TooltipMarkup = "Выбрать из справочника"; this.buttonEdit.CanFocus = true; this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.UseUnderline = true; global::Gtk.Image w2 = new global::Gtk.Image (); w2.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-index", global::Gtk.IconSize.Menu); this.buttonEdit.Image = w2; this.hbox1.Add (this.buttonEdit); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonEdit])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.buttonOpen = new global::Gtk.Button (); this.buttonOpen.TooltipMarkup = "Открыть"; this.buttonOpen.Sensitive = false; this.buttonOpen.CanFocus = true; this.buttonOpen.Name = "buttonOpen"; this.buttonOpen.UseUnderline = true; global::Gtk.Image w4 = new global::Gtk.Image (); w4.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-edit", global::Gtk.IconSize.Menu); this.buttonOpen.Image = w4; this.hbox1.Add (this.buttonOpen); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonOpen])); w5.Position = 2; w5.Expand = false; w5.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.entryObject.Changed += new global::System.EventHandler (this.OnEntryObjectChanged); this.entryObject.FocusOutEvent += new global::Gtk.FocusOutEventHandler (this.OnEntryObjectFocusOutEvent); this.buttonEdit.Clicked += new global::System.EventHandler (this.OnButtonEditClicked); this.buttonOpen.Clicked += new global::System.EventHandler (this.OnButtonOpenClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Cheque.GTK.Dialogs.RequestPassword this.Name = "Cheque.GTK.Dialogs.RequestPassword"; this.Title = global::Mono.Unix.Catalog.GetString ("Digite a senha"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); // Internal child Cheque.GTK.Dialogs.RequestPassword.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.lblEnterPasswd = new global::Gtk.Label (); this.lblEnterPasswd.Name = "lblEnterPasswd"; this.lblEnterPasswd.LabelProp = global::Mono.Unix.Catalog.GetString ("Digite a senha abaixo:"); w1.Add (this.lblEnterPasswd); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(w1 [this.lblEnterPasswd])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.entryPassword = new global::Gtk.Entry (); this.entryPassword.CanFocus = true; this.entryPassword.Name = "entryPassword"; this.entryPassword.IsEditable = true; this.entryPassword.InvisibleChar = '●'; w1.Add (this.entryPassword); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(w1 [this.entryPassword])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Internal child Cheque.GTK.Dialogs.RequestPassword.ActionArea global::Gtk.HButtonBox w4 = this.ActionArea; w4.Name = "dialog1_ActionArea"; w4.Spacing = 10; w4.BorderWidth = ((uint)(5)); w4.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button (); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget (this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w4 [this.buttonOk])); w5.Expand = false; w5.Fill = false; if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 88; this.Show (); this.buttonOk.Clicked += new global::System.EventHandler (this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget LongoMatch.Gui.Component.ProjectListWidget global::Stetic.BinContainer.Attach (this); this.Name = "LongoMatch.Gui.Component.ProjectListWidget"; // Container child LongoMatch.Gui.Component.ProjectListWidget.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox (); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.filterlabel = new global::Gtk.Label (); this.filterlabel.Name = "filterlabel"; this.filterlabel.LabelProp = global::Mono.Unix.Catalog.GetString ("Projects Search:"); this.hbox1.Add (this.filterlabel); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.filterlabel])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.filterEntry = new global::Gtk.Entry (); this.filterEntry.CanFocus = true; this.filterEntry.Name = "filterEntry"; this.filterEntry.IsEditable = true; this.filterEntry.InvisibleChar = '●'; this.hbox1.Add (this.filterEntry); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.filterEntry])); w2.Position = 1; this.vbox2.Add (this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.scrolledwindow2 = new global::Gtk.ScrolledWindow (); this.scrolledwindow2.CanFocus = true; this.scrolledwindow2.Name = "scrolledwindow2"; // Container child scrolledwindow2.Gtk.Container+ContainerChild this.treeview = new global::Gtk.TreeView (); this.treeview.CanFocus = true; this.treeview.Name = "treeview"; this.scrolledwindow2.Add (this.treeview); this.vbox2.Add (this.scrolledwindow2); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.scrolledwindow2])); w5.Position = 1; this.Add (this.vbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Show (); this.filterEntry.Changed += new global::System.EventHandler (this.OnFilterentryChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget CsvToLrMapRow global::Stetic.BinContainer.Attach (this); this.Name = "CsvToLrMapRow"; // Container child CsvToLrMapRow.Gtk.Container+ContainerChild this.RowContainer = new global::Gtk.HBox (); this.RowContainer.Name = "RowContainer"; this.RowContainer.Spacing = 6; // Container child RowContainer.Gtk.Box+BoxChild this.lbl_ResourceDataField = new global::Gtk.Label (); this.lbl_ResourceDataField.WidthRequest = 200; this.lbl_ResourceDataField.Name = "lbl_ResourceDataField"; this.lbl_ResourceDataField.Xpad = 5; this.lbl_ResourceDataField.Xalign = 0F; this.RowContainer.Add (this.lbl_ResourceDataField); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.RowContainer [this.lbl_ResourceDataField])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child RowContainer.Gtk.Box+BoxChild this.lbl_MapsTo = new global::Gtk.Label (); this.lbl_MapsTo.Name = "lbl_MapsTo"; this.lbl_MapsTo.LabelProp = global::Mono.Unix.Catalog.GetString ("Maps To:"); this.RowContainer.Add (this.lbl_MapsTo); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.RowContainer [this.lbl_MapsTo])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child RowContainer.Gtk.Box+BoxChild this.ColumnOptionsComboBox = global::Gtk.ComboBox.NewText (); this.ColumnOptionsComboBox.Name = "ColumnOptionsComboBox"; this.RowContainer.Add (this.ColumnOptionsComboBox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.RowContainer [this.ColumnOptionsComboBox])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child RowContainer.Gtk.Box+BoxChild this.CustomValueEntry = new global::Gtk.Entry (); this.CustomValueEntry.CanFocus = true; this.CustomValueEntry.Name = "CustomValueEntry"; this.CustomValueEntry.IsEditable = true; this.CustomValueEntry.InvisibleChar = '●'; this.RowContainer.Add (this.CustomValueEntry); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.RowContainer [this.CustomValueEntry])); w4.Position = 3; w4.Padding = ((uint)(5)); this.Add (this.RowContainer); if ((this.Child != null)) { this.Child.ShowAll (); } this.CustomValueEntry.Hide (); this.Hide (); this.ColumnOptionsComboBox.Changed += new global::System.EventHandler (this.OnColumnSelectionChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget CucumberBindings.GeneralOptionsPanel global::Stetic.BinContainer.Attach (this); this.Name = "CucumberBindings.GeneralOptionsPanel"; // Container child CucumberBindings.GeneralOptionsPanel.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(1)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.cucumberBrowse = new global::Gtk.Button (); this.cucumberBrowse.CanFocus = true; this.cucumberBrowse.Name = "cucumberBrowse"; this.cucumberBrowse.UseUnderline = true; this.cucumberBrowse.Label = global::Mono.Unix.Catalog.GetString ("Browse"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-open", global::Gtk.IconSize.Menu); this.cucumberBrowse.Image = w1; this.table1.Add (this.cucumberBrowse); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.cucumberBrowse])); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.cucumberEntry = new global::Gtk.Entry (); this.cucumberEntry.CanFocus = true; this.cucumberEntry.Name = "cucumberEntry"; this.cucumberEntry.IsEditable = true; this.cucumberEntry.InvisibleChar = '●'; this.table1.Add (this.cucumberEntry); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.cucumberEntry])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.Xpad = 10; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Cucumber: "); this.label1.Justify = ((global::Gtk.Justification)(1)); this.table1.Add (this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.cucumberBrowse.Clicked += new global::System.EventHandler (this.OnCucumberBrowseClicked); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget LampCP.LampConfigWin this.Name = "LampCP.LampConfigWin"; this.Title = global::Mono.Unix.Catalog.GetString ("LampConfigWin"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child LampCP.LampConfigWin.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(3)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.btnSave = new global::Gtk.Button (); this.btnSave.CanFocus = true; this.btnSave.Name = "btnSave"; this.btnSave.UseUnderline = true; this.btnSave.Label = global::Mono.Unix.Catalog.GetString ("Save"); this.table1.Add (this.btnSave); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1 [this.btnSave])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(2)); w1.RightAttach = ((uint)(3)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Document Root"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.tbDocroot = new global::Gtk.Entry (); this.tbDocroot.CanFocus = true; this.tbDocroot.Name = "tbDocroot"; this.tbDocroot.IsEditable = true; this.tbDocroot.InvisibleChar = '•'; this.table1.Add (this.tbDocroot); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.tbDocroot])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.btnSave.Clicked += new global::System.EventHandler (this.OnBtnSaveClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget WindowCategoria this.Name = "WindowCategoria"; this.Title = global::Mono.Unix.Catalog.GetString ("WindowCategoria"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child WindowCategoria.Gtk.Container+ContainerChild this.table3 = new global::Gtk.Table (((uint)(2)), ((uint)(3)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild 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 ("Añadir Categoria"); this.table3.Add (this.button2); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table3 [this.button2])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.entry4 = new global::Gtk.Entry (); this.entry4.CanFocus = true; this.entry4.Name = "entry4"; this.entry4.IsEditable = true; this.entry4.InvisibleChar = '●'; this.table3.Add (this.entry4); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table3 [this.entry4])); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label5 = new global::Gtk.Label (); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString ("Introduzca nombre de la categoria"); this.table3.Add (this.label5); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table3 [this.label5])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table3); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 384; this.DefaultHeight = 105; this.Show (); }
protected virtual void Build () { global::Stetic.Gui.Initialize (this); // Widget BlinkStick.BlinkstickServiceSettingsWidget global::Stetic.BinContainer.Attach (this); this.Name = "BlinkStick.BlinkstickServiceSettingsWidget"; // Container child BlinkStick.BlinkstickServiceSettingsWidget.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table (((uint)(2)), ((uint)(3)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(12)); // Container child table1.Gtk.Table+TableChild this.buttonPaste = new global::Gtk.Button (); this.buttonPaste.CanFocus = true; this.buttonPaste.Name = "buttonPaste"; this.buttonPaste.UseUnderline = true; this.buttonPaste.Label = global::Mono.Unix.Catalog.GetString ("Paste"); global::Gtk.Image w1 = new global::Gtk.Image (); w1.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-paste", global::Gtk.IconSize.Menu); this.buttonPaste.Image = w1; this.table1.Add (this.buttonPaste); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.buttonPaste])); w2.LeftAttach = ((uint)(2)); w2.RightAttach = ((uint)(3)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryAccessCode = new global::Gtk.Entry (); this.entryAccessCode.CanFocus = true; this.entryAccessCode.Name = "entryAccessCode"; this.entryAccessCode.IsEditable = true; this.entryAccessCode.InvisibleChar = '●'; this.table1.Add (this.entryAccessCode); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryAccessCode])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString ("Access Code:"); this.table1.Add (this.label1); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add (this.table1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.buttonPaste.Clicked += new global::System.EventHandler (this.OnButtonPasteClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget Smuxi.Frontend.Gnome.JoinWidget global::Stetic.BinContainer.Attach (this); this.Name = "Smuxi.Frontend.Gnome.JoinWidget"; // Container child Smuxi.Frontend.Gnome.JoinWidget.Gtk.Container+ContainerChild this.hbox1 = new global::Gtk.HBox (); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.f_ChatEntry = new global::Gtk.Entry (); this.f_ChatEntry.CanFocus = true; this.f_ChatEntry.Name = "f_ChatEntry"; this.f_ChatEntry.IsEditable = true; this.f_ChatEntry.InvisibleChar = '•'; this.hbox1.Add (this.f_ChatEntry); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_ChatEntry])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label (); this.label1.Name = "label1"; this.label1.LabelProp = "@"; this.hbox1.Add (this.label1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.f_NetworkComboBox = global::Gtk.ComboBox.NewText (); this.f_NetworkComboBox.Name = "f_NetworkComboBox"; this.hbox1.Add (this.f_NetworkComboBox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_NetworkComboBox])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.f_JoinButton = new global::Gtk.Button (); this.f_JoinButton.CanFocus = true; this.f_JoinButton.Name = "f_JoinButton"; this.f_JoinButton.UseUnderline = true; this.f_JoinButton.Label = global::Mono.Unix.Catalog.GetString ("Join Chat"); this.hbox1.Add (this.f_JoinButton); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.f_JoinButton])); w4.Position = 3; w4.Expand = false; w4.Fill = false; this.Add (this.hbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget PasswordUsher.AddProviderWindow this.Name = "PasswordUsher.AddProviderWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("Add Provider"); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Gravity = ((global::Gdk.Gravity)(5)); // Container child PasswordUsher.AddProviderWindow.Gtk.Container+ContainerChild this.fixed3 = new global::Gtk.Fixed (); this.fixed3.Name = "fixed3"; this.fixed3.HasWindow = false; // Container child fixed3.Gtk.Fixed+FixedChild this.LabelProvider = new global::Gtk.Label (); this.LabelProvider.Name = "LabelProvider"; this.LabelProvider.LabelProp = global::Mono.Unix.Catalog.GetString ("Provider:"); this.fixed3.Add (this.LabelProvider); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.LabelProvider])); w1.X = 49; w1.Y = 26; // Container child fixed3.Gtk.Fixed+FixedChild this.ButtonSaveProvider = new global::Gtk.Button (); this.ButtonSaveProvider.Sensitive = false; this.ButtonSaveProvider.CanFocus = true; this.ButtonSaveProvider.Name = "ButtonSaveProvider"; this.ButtonSaveProvider.UseUnderline = true; this.ButtonSaveProvider.Label = global::Mono.Unix.Catalog.GetString ("Save Provider"); this.fixed3.Add (this.ButtonSaveProvider); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.ButtonSaveProvider])); w2.X = 134; w2.Y = 84; // Container child fixed3.Gtk.Fixed+FixedChild this.EntryProvider = new global::Gtk.Entry (); this.EntryProvider.WidthRequest = 200; this.EntryProvider.CanFocus = true; this.EntryProvider.Name = "EntryProvider"; this.EntryProvider.IsEditable = true; this.EntryProvider.InvisibleChar = '•'; this.fixed3.Add (this.EntryProvider); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed3 [this.EntryProvider])); w3.X = 119; w3.Y = 23; this.Add (this.fixed3); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 374; this.DefaultHeight = 173; this.Show (); this.ButtonSaveProvider.Clicked += new global::System.EventHandler (this.SaveProvider); this.EntryProvider.Changed += new global::System.EventHandler (this.EnableSave); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget DynamicConsole.ConsoleWindow this.Name = "DynamicConsole.ConsoleWindow"; this.Title = global::Mono.Unix.Catalog.GetString ("ConsoleWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child DynamicConsole.ConsoleWindow.Gtk.Container+ContainerChild this.vbox3 = new global::Gtk.VBox (); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.OutputBox = new global::Gtk.TextView (); this.OutputBox.CanFocus = true; this.OutputBox.Name = "OutputBox"; this.OutputBox.Editable = false; this.OutputBox.CursorVisible = false; this.OutputBox.WrapMode = ((global::Gtk.WrapMode)(2)); this.vbox3.Add (this.OutputBox); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.OutputBox])); w1.Position = 0; // Container child vbox3.Gtk.Box+BoxChild this.hseparator2 = new global::Gtk.HSeparator (); this.hseparator2.Name = "hseparator2"; this.vbox3.Add (this.hseparator2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hseparator2])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.InputBox = new global::Gtk.Entry (); this.InputBox.CanFocus = true; this.InputBox.Name = "InputBox"; this.InputBox.IsEditable = true; this.InputBox.ActivatesDefault = true; this.InputBox.InvisibleChar = '●'; this.vbox3.Add (this.InputBox); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.InputBox])); w3.Position = 2; w3.Expand = false; w3.Fill = false; w3.Padding = ((uint)(8)); this.Add (this.vbox3); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 483; this.DefaultHeight = 300; this.Show (); this.KeyPressEvent += new global::Gtk.KeyPressEventHandler (this.OnWindowKeyPress); this.InputBox.Activated += new global::System.EventHandler (this.OnTextInput); }
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.lblTitulo = new global::Gtk.Label (); this.lblTitulo.Name = "lblTitulo"; this.lblTitulo.LabelProp = global::Mono.Unix.Catalog.GetString ("Um texto qualquer"); this.vbox1.Add (this.lblTitulo); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.lblTitulo])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.txtInput = new global::Gtk.Entry (); this.txtInput.CanFocus = true; this.txtInput.Name = "txtInput"; this.txtInput.IsEditable = true; this.txtInput.InvisibleChar = '•'; this.vbox1.Add (this.txtInput); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.txtInput])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.btnCliqueAqui = new global::Gtk.Button (); this.btnCliqueAqui.CanFocus = true; this.btnCliqueAqui.Name = "btnCliqueAqui"; this.btnCliqueAqui.UseUnderline = true; this.btnCliqueAqui.Label = global::Mono.Unix.Catalog.GetString ("Clique Aqui"); this.vbox1.Add (this.btnCliqueAqui); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.btnCliqueAqui])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.Add (this.vbox1); if ((this.Child != null)) { this.Child.ShowAll (); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show (); this.DeleteEvent += new global::Gtk.DeleteEventHandler (this.OnDeleteEvent); this.btnCliqueAqui.Clicked += new global::System.EventHandler (this.clicou); }
protected virtual void Build() { global::Stetic.Gui.Initialize (this); // Widget QSWidgetLib.SearchEntity global::Stetic.BinContainer.Attach (this); this.Name = "QSWidgetLib.SearchEntity"; // Container child QSWidgetLib.SearchEntity.Gtk.Container+ContainerChild this.hbox2 = new global::Gtk.HBox (); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label (); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString ("Поиск:"); this.hbox2.Add (this.label2); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label2])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.entrySearchText = new global::Gtk.Entry (); this.entrySearchText.TooltipMarkup = "Введите фразу для поиска"; this.entrySearchText.CanFocus = true; this.entrySearchText.Name = "entrySearchText"; this.entrySearchText.IsEditable = true; this.entrySearchText.InvisibleChar = '●'; this.hbox2.Add (this.entrySearchText); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.entrySearchText])); w2.Position = 1; // Container child hbox2.Gtk.Box+BoxChild this.buttonClear = new global::Gtk.Button (); this.buttonClear.TooltipMarkup = "Очистить поисковую фаразу"; this.buttonClear.CanFocus = true; this.buttonClear.Name = "buttonClear"; this.buttonClear.UseUnderline = true; global::Gtk.Image w3 = new global::Gtk.Image (); w3.Pixbuf = global::Stetic.IconLoader.LoadIcon (this, "gtk-clear", global::Gtk.IconSize.Menu); this.buttonClear.Image = w3; this.hbox2.Add (this.buttonClear); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.buttonClear])); w4.Position = 2; w4.Expand = false; w4.Fill = false; this.Add (this.hbox2); if ((this.Child != null)) { this.Child.ShowAll (); } this.Hide (); this.entrySearchText.Changed += new global::System.EventHandler (this.OnEntrySearchTextChanged); this.buttonClear.Clicked += new global::System.EventHandler (this.OnButtonClearClicked); }
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.vBoxMain = new global::Gtk.VBox(); this.vBoxMain.Name = "vBoxMain"; this.vBoxMain.Spacing = 6; // Container child vBoxMain.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Introduce tu nombre"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryNombre = new global::Gtk.Entry(); this.entryNombre.CanFocus = true; this.entryNombre.Name = "entryNombre"; this.entryNombre.IsEditable = true; this.entryNombre.InvisibleChar = '•'; this.hbox1.Add(this.entryNombre); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryNombre])); w2.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.buttonGoForward = new global::Gtk.Button(); this.buttonGoForward.CanFocus = true; this.buttonGoForward.Name = "buttonGoForward"; this.buttonGoForward.UseStock = true; this.buttonGoForward.UseUnderline = true; this.buttonGoForward.Label = "gtk-go-forward"; this.hbox1.Add(this.buttonGoForward); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.buttonGoForward])); w3.Position = 2; w3.Expand = false; w3.Fill = false; this.vBoxMain.Add(this.hbox1); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vBoxMain [this.hbox1])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vBoxMain.Gtk.Box+BoxChild this.labelSaludo = new global::Gtk.Label(); this.labelSaludo.Name = "labelSaludo"; this.vBoxMain.Add(this.labelSaludo); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vBoxMain [this.labelSaludo])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.Add(this.vBoxMain); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 448; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget WhiteRose.VntLogin this.Name = "WhiteRose.VntLogin"; this.Title = global::Mono.Unix.Catalog.GetString("WhiteRose"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); // Container child WhiteRose.VntLogin.Gtk.Container+ContainerChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(1)); this.frame3.BorderWidth = ((uint)(6)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); this.GtkAlignment.BorderWidth = ((uint)(3)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; this.vbox5.BorderWidth = ((uint)(6)); // Container child vbox5.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Homogeneous = true; // Container child hbox4.Gtk.Box+BoxChild this.vbox10 = new global::Gtk.VBox(); this.vbox10.Name = "vbox10"; this.vbox10.Homogeneous = true; // Container child vbox10.Gtk.Box+BoxChild this.LblUsuario = new global::Gtk.Label(); this.LblUsuario.Name = "LblUsuario"; this.LblUsuario.Xalign = 1F; this.LblUsuario.LabelProp = global::Mono.Unix.Catalog.GetString("Usuario:"); this.vbox10.Add(this.LblUsuario); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.LblUsuario])); w1.Position = 0; w1.Expand = false; // Container child vbox10.Gtk.Box+BoxChild this.LblContrasena = new global::Gtk.Label(); this.LblContrasena.Name = "LblContrasena"; this.LblContrasena.Xalign = 0F; this.LblContrasena.LabelProp = global::Mono.Unix.Catalog.GetString("Contraseña:"); this.vbox10.Add(this.LblContrasena); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox10 [this.LblContrasena])); w2.Position = 1; w2.Expand = false; this.hbox4.Add(this.vbox10); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox10])); w3.Position = 0; w3.Expand = false; w3.Fill = false; w3.Padding = ((uint)(7)); // Container child hbox4.Gtk.Box+BoxChild this.vbox11 = new global::Gtk.VBox(); this.vbox11.Name = "vbox11"; this.vbox11.Homogeneous = true; this.vbox11.Spacing = 5; // Container child vbox11.Gtk.Box+BoxChild this.EntUsuario = new global::Gtk.Entry(); this.EntUsuario.CanFocus = true; this.EntUsuario.Name = "EntUsuario"; this.EntUsuario.IsEditable = true; this.EntUsuario.MaxLength = 10; this.EntUsuario.InvisibleChar = '•'; this.vbox11.Add(this.EntUsuario); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.EntUsuario])); w4.Position = 0; w4.Expand = false; // Container child vbox11.Gtk.Box+BoxChild this.EntContrasena = new global::Gtk.Entry(); this.EntContrasena.CanFocus = true; this.EntContrasena.Name = "EntContrasena"; this.EntContrasena.IsEditable = true; this.EntContrasena.MaxLength = 15; this.EntContrasena.Visibility = false; this.EntContrasena.InvisibleChar = '•'; this.vbox11.Add(this.EntContrasena); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox11 [this.EntContrasena])); w5.Position = 1; w5.Expand = false; this.hbox4.Add(this.vbox11); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.vbox11])); w6.Position = 1; this.vbox5.Add(this.hbox4); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox4])); w7.Position = 0; // Container child vbox5.Gtk.Box+BoxChild this.BtnAcceder = new global::Gtk.Button(); this.BtnAcceder.HeightRequest = 80; this.BtnAcceder.CanFocus = true; this.BtnAcceder.Name = "BtnAcceder"; this.BtnAcceder.UseUnderline = true; this.BtnAcceder.BorderWidth = ((uint)(9)); this.BtnAcceder.Label = global::Mono.Unix.Catalog.GetString("Ingresar"); this.vbox5.Add(this.BtnAcceder); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.BtnAcceder])); w8.Position = 1; // Container child vbox5.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Homogeneous = true; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.BtnOlvideMiContrasena = new global::Gtk.Button(); this.BtnOlvideMiContrasena.CanFocus = true; this.BtnOlvideMiContrasena.Name = "BtnOlvideMiContrasena"; this.BtnOlvideMiContrasena.UseUnderline = true; this.BtnOlvideMiContrasena.BorderWidth = ((uint)(6)); this.BtnOlvideMiContrasena.Label = global::Mono.Unix.Catalog.GetString("¡Olvidé mi contraseña!"); this.hbox10.Add(this.BtnOlvideMiContrasena); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.BtnOlvideMiContrasena])); w9.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.BtnSalir = new global::Gtk.Button(); this.BtnSalir.CanFocus = true; this.BtnSalir.Name = "BtnSalir"; this.BtnSalir.UseUnderline = true; this.BtnSalir.BorderWidth = ((uint)(6)); this.BtnSalir.Label = global::Mono.Unix.Catalog.GetString("Salir"); this.hbox10.Add(this.BtnSalir); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.BtnSalir])); w10.Position = 1; this.vbox5.Add(this.hbox10); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hbox10])); w11.Position = 2; // Container child vbox5.Gtk.Box+BoxChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.vbox5.Add(this.hseparator1); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hseparator1])); w12.Position = 3; w12.Expand = false; w12.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.frame4 = new global::Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment1 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment1.Name = "GtkAlignment1"; this.GtkAlignment1.LeftPadding = ((uint)(12)); // Container child GtkAlignment1.Gtk.Container+ContainerChild this.LblFechaHora = new global::Gtk.Label(); this.LblFechaHora.Name = "LblFechaHora"; this.LblFechaHora.LabelProp = global::Mono.Unix.Catalog.GetString("Fecha y Hora"); this.GtkAlignment1.Add(this.LblFechaHora); this.frame4.Add(this.GtkAlignment1); this.vbox5.Add(this.frame4); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.frame4])); w15.Position = 4; w15.Expand = false; w15.Fill = false; this.GtkAlignment.Add(this.vbox5); this.frame3.Add(this.GtkAlignment); this.LblIngreso = new global::Gtk.Label(); this.LblIngreso.Name = "LblIngreso"; this.LblIngreso.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Ingresar al Sistema</b>"); this.LblIngreso.UseMarkup = true; this.frame3.LabelWidget = this.LblIngreso; this.Add(this.frame3); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 398; this.DefaultHeight = 273; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.EntUsuario.Changed += new global::System.EventHandler(this.OnEntUsuarioChanged); this.BtnAcceder.Clicked += new global::System.EventHandler(this.OnBtnAccederClicked); this.BtnOlvideMiContrasena.Clicked += new global::System.EventHandler(this.OnBtnOlvideMiContrasenaClicked); this.BtnSalir.Clicked += new global::System.EventHandler(this.OnBtnSalirClicked); }
protected virtual void Build() { MonoDevelop.Components.Gui.Initialize(this); // Widget MonoDevelop.Debugger.DebugApplicationDialog this.Name = "MonoDevelop.Debugger.DebugApplicationDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Debug Application"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child MonoDevelop.Debugger.DebugApplicationDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; this.vbox5.BorderWidth = ((uint)(9)); // Container child vbox5.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.argsEntry = new global::Gtk.Entry(); this.argsEntry.CanFocus = true; this.argsEntry.Name = "argsEntry"; this.argsEntry.IsEditable = true; this.argsEntry.InvisibleChar = '•'; this.table1.Add(this.argsEntry); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.argsEntry])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.fileEntry = new global::MonoDevelop.Components.FileEntry(); this.fileEntry.Name = "fileEntry"; this.fileEntry.DisplayAsRelativePath = false; this.table1.Add(this.fileEntry); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.fileEntry])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.folderEntry = new global::MonoDevelop.Components.FolderEntry(); this.folderEntry.Name = "folderEntry"; this.folderEntry.DisplayAsRelativePath = false; this.table1.Add(this.folderEntry); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.folderEntry])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Command"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Arguments"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Working Directory"); this.table1.Add(this.label9); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label9])); w7.TopAttach = ((uint)(2)); w7.BottomAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox5.Add(this.table1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.table1])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Environment Variables"); this.vbox5.Add(this.label6); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.label6])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox5.Gtk.Box+BoxChild this.envVarList = new global::MonoDevelop.Ide.Gui.Components.EnvVarList(); this.envVarList.CanFocus = true; this.envVarList.Name = "envVarList"; this.envVarList.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox5.Add(this.envVarList); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.envVarList])); w10.Position = 2; w1.Add(this.vbox5); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox5])); w11.Position = 0; // Internal child MonoDevelop.Debugger.DebugApplicationDialog.ActionArea global::Gtk.HButtonBox w12 = this.ActionArea; w12.Name = "dialog1_ActionArea"; w12.Spacing = 10; w12.BorderWidth = ((uint)(5)); w12.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonCancel])); w13.Expand = false; w13.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w12 [this.buttonOk])); w14.Position = 1; w14.Expand = false; w14.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 656; this.DefaultHeight = 300; }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.AddinAuthoring.AddinDescriptionWidget Stetic.BinContainer w1 = global::Stetic.BinContainer.Attach(this); this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w2 = new global::Gtk.ActionGroup("Default"); this.UIManager.InsertActionGroup(w2, 0); this.Name = "MonoDevelop.AddinAuthoring.AddinDescriptionWidget"; // Container child MonoDevelop.AddinAuthoring.AddinDescriptionWidget.Gtk.Container+ContainerChild this.mainBox = new global::Gtk.VBox(); this.mainBox.Name = "mainBox"; this.mainBox.Spacing = 3; // Container child mainBox.Gtk.Box+BoxChild this.notebook = new global::Gtk.Notebook(); this.notebook.CanFocus = true; this.notebook.Name = "notebook"; this.notebook.CurrentPage = 0; this.notebook.TabPos = ((global::Gtk.PositionType)(3)); // Container child notebook.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(11)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(12)); // Container child table1.Gtk.Table+TableChild this.checkIsRoot = new global::Gtk.CheckButton(); this.checkIsRoot.CanFocus = true; this.checkIsRoot.Name = "checkIsRoot"; this.checkIsRoot.Label = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Add-in root"); this.checkIsRoot.DrawIndicator = true; this.checkIsRoot.UseUnderline = true; this.table1.Add(this.checkIsRoot); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.checkIsRoot])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.RightAttach = ((uint)(2)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.comboNs = global::Gtk.ComboBoxEntry.NewText(); this.comboNs.Name = "comboNs"; this.table1.Add(this.comboNs); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.comboNs])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryAuthor = new global::Gtk.Entry(); this.entryAuthor.CanFocus = true; this.entryAuthor.Name = "entryAuthor"; this.entryAuthor.IsEditable = true; this.entryAuthor.InvisibleChar = '●'; this.table1.Add(this.entryAuthor); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.entryAuthor])); w5.TopAttach = ((uint)(8)); w5.BottomAttach = ((uint)(9)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryIdentifier = new global::Gtk.Entry(); this.entryIdentifier.CanFocus = true; this.entryIdentifier.Name = "entryIdentifier"; this.entryIdentifier.IsEditable = true; this.entryIdentifier.InvisibleChar = '●'; this.table1.Add(this.entryIdentifier); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.entryIdentifier])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryLicense = new global::Gtk.Entry(); this.entryLicense.CanFocus = true; this.entryLicense.Name = "entryLicense"; this.entryLicense.IsEditable = true; this.entryLicense.InvisibleChar = '●'; this.table1.Add(this.entryLicense); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.entryLicense])); w7.TopAttach = ((uint)(9)); w7.BottomAttach = ((uint)(10)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryName = new global::Gtk.Entry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.table1.Add(this.entryName); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.entryName])); w8.TopAttach = ((uint)(5)); w8.BottomAttach = ((uint)(6)); w8.LeftAttach = ((uint)(1)); w8.RightAttach = ((uint)(2)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryUrl = new global::Gtk.Entry(); this.entryUrl.CanFocus = true; this.entryUrl.Name = "entryUrl"; this.entryUrl.IsEditable = true; this.entryUrl.InvisibleChar = '●'; this.table1.Add(this.entryUrl); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.entryUrl])); w9.TopAttach = ((uint)(10)); w9.BottomAttach = ((uint)(11)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.entryVersion = new global::Gtk.Entry(); this.entryVersion.CanFocus = true; this.entryVersion.Name = "entryVersion"; this.entryVersion.IsEditable = true; this.entryVersion.WidthChars = 15; this.entryVersion.InvisibleChar = '●'; this.hbox9.Add(this.entryVersion); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.entryVersion])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Compatible Version:"); this.hbox9.Add(this.label4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.label4])); w11.Position = 1; w11.Expand = false; w11.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.entryCompatVersion = new global::Gtk.Entry(); this.entryCompatVersion.CanFocus = true; this.entryCompatVersion.Name = "entryCompatVersion"; this.entryCompatVersion.IsEditable = true; this.entryCompatVersion.WidthChars = 15; this.entryCompatVersion.InvisibleChar = '●'; this.hbox9.Add(this.entryCompatVersion); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox9[this.entryCompatVersion])); w12.Position = 2; w12.Expand = false; w12.Fill = false; this.table1.Add(this.hbox9); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.hbox9])); w13.TopAttach = ((uint)(2)); w13.BottomAttach = ((uint)(3)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator1 = new global::Gtk.HSeparator(); this.hseparator1.Name = "hseparator1"; this.table1.Add(this.hseparator1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.hseparator1])); w14.TopAttach = ((uint)(7)); w14.BottomAttach = ((uint)(8)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.hseparator2 = new global::Gtk.HSeparator(); this.hseparator2.Name = "hseparator2"; this.table1.Add(this.hseparator2); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.hseparator2])); w15.TopAttach = ((uint)(4)); w15.BottomAttach = ((uint)(5)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0f; this.label12.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("License:"); this.table1.Add(this.label12); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.label12])); w16.TopAttach = ((uint)(9)); w16.BottomAttach = ((uint)(10)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 0f; this.label13.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Author:"); this.table1.Add(this.label13); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.label13])); w17.TopAttach = ((uint)(8)); w17.BottomAttach = ((uint)(9)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 0f; this.label14.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Name:"); this.table1.Add(this.label14); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.label14])); w18.TopAttach = ((uint)(5)); w18.BottomAttach = ((uint)(6)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 0f; this.label15.Yalign = 0f; this.label15.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Description:"); this.table1.Add(this.label15); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.label15])); w19.TopAttach = ((uint)(6)); w19.BottomAttach = ((uint)(7)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0f; this.label2.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Namespace:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0f; this.label3.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Version:"); this.table1.Add(this.label3); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0f; this.label7.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("URL:"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.label7])); w22.TopAttach = ((uint)(10)); w22.BottomAttach = ((uint)(11)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0f; this.label8.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Identifier:"); this.table1.Add(this.label8); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table1[this.label8])); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.scrolledwindow1 = new global::Gtk.ScrolledWindow(); this.scrolledwindow1.CanFocus = true; this.scrolledwindow1.Name = "scrolledwindow1"; this.scrolledwindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child scrolledwindow1.Gtk.Container+ContainerChild this.textviewDesc = new global::Gtk.TextView(); this.textviewDesc.CanFocus = true; this.textviewDesc.Name = "textviewDesc"; this.scrolledwindow1.Add(this.textviewDesc); this.table1.Add(this.scrolledwindow1); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table1[this.scrolledwindow1])); w25.TopAttach = ((uint)(6)); w25.BottomAttach = ((uint)(7)); w25.LeftAttach = ((uint)(1)); w25.RightAttach = ((uint)(2)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox3.Add(this.table1); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.table1])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hseparator3 = new global::Gtk.HSeparator(); this.hseparator3.Name = "hseparator3"; this.vbox3.Add(this.hseparator3); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.hseparator3])); w27.PackType = ((global::Gtk.PackType)(1)); w27.Position = 1; w27.Expand = false; w27.Fill = false; this.notebook.Add(this.vbox3); // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Header"); this.notebook.SetTabLabel(this.vbox3, this.label5); this.label5.ShowAll(); // Container child notebook.Gtk.Notebook+NotebookChild this.extensionPointsEditor = new global::MonoDevelop.AddinAuthoring.ExtensionPointsEditorWidget(); this.extensionPointsEditor.Events = ((global::Gdk.EventMask)(256)); this.extensionPointsEditor.Name = "extensionPointsEditor"; this.notebook.Add(this.extensionPointsEditor); global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.notebook[this.extensionPointsEditor])); w29.Position = 1; // Notebook tab this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Extension Points"); this.notebook.SetTabLabel(this.extensionPointsEditor, this.label9); this.label9.ShowAll(); // Container child notebook.Gtk.Notebook+NotebookChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; this.hbox5.BorderWidth = ((uint)(6)); // Container child hbox5.Gtk.Box+BoxChild this.extensionEditor = new global::MonoDevelop.AddinAuthoring.ExtensionEditorWidget(); this.extensionEditor.Events = ((global::Gdk.EventMask)(256)); this.extensionEditor.Name = "extensionEditor"; this.hbox5.Add(this.extensionEditor); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.extensionEditor])); w30.Position = 0; this.notebook.Add(this.hbox5); global::Gtk.Notebook.NotebookChild w31 = ((global::Gtk.Notebook.NotebookChild)(this.notebook[this.hbox5])); w31.Position = 2; // Notebook tab this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Addins.AddinManager.CurrentLocalizer.GetString("Extensions"); this.notebook.SetTabLabel(this.hbox5, this.label10); this.label10.ShowAll(); this.mainBox.Add(this.notebook); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.mainBox[this.notebook])); w32.Position = 0; this.Add(this.mainBox); if ((this.Child != null)) { this.Child.ShowAll(); } w1.SetUiManager(UIManager); this.Show(); this.entryVersion.Changed += new global::System.EventHandler(this.OnEntryChanged); this.entryCompatVersion.Changed += new global::System.EventHandler(this.OnEntryChanged); this.entryUrl.Changed += new global::System.EventHandler(this.OnEntryChanged); this.entryName.Changed += new global::System.EventHandler(this.OnEntryChanged); this.entryLicense.Changed += new global::System.EventHandler(this.OnEntryChanged); this.entryIdentifier.Changed += new global::System.EventHandler(this.OnEntryChanged); this.entryIdentifier.Changed += new global::System.EventHandler(this.OnEntryIdentifierChanged); this.entryAuthor.Changed += new global::System.EventHandler(this.OnEntryChanged); this.checkIsRoot.Clicked += new global::System.EventHandler(this.OnCheckIsRootClicked); }
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.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.location = new global::Gtk.Label(); this.location.Name = "location"; this.location.Xalign = 0F; this.location.LabelProp = global::Mono.Unix.Catalog.GetString("Loaction:"); this.vbox4.Add(this.location); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.location])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.host = new global::Gtk.Entry(); this.host.CanFocus = true; this.host.Name = "host"; this.host.IsEditable = true; this.host.InvisibleChar = '•'; this.vbox4.Add(this.host); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.host])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.connect = new global::Gtk.ToggleButton(); this.connect.CanFocus = true; this.connect.Name = "connect"; this.connect.UseUnderline = true; this.connect.Label = global::Mono.Unix.Catalog.GetString("Connect"); this.vbox4.Add(this.connect); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.connect])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Model file"); this.vbox4.Add(this.label2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.label2])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.modelFilePicker = new global::Gtk.FileChooserButton(global::Mono.Unix.Catalog.GetString("Select a File"), ((global::Gtk.FileChooserAction)(0))); this.modelFilePicker.Sensitive = false; this.modelFilePicker.Name = "modelFilePicker"; this.vbox4.Add(this.modelFilePicker); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.modelFilePicker])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.start = new global::Gtk.Button(); this.start.Sensitive = false; this.start.CanFocus = true; this.start.Name = "start"; this.start.UseUnderline = true; this.start.Label = global::Mono.Unix.Catalog.GetString("start"); this.vbox4.Add(this.start); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.start])); w6.Position = 5; w6.Expand = false; w6.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.getNext = new global::Gtk.Button(); this.getNext.Sensitive = false; this.getNext.CanFocus = true; this.getNext.Name = "getNext"; this.getNext.UseUnderline = true; this.getNext.Label = global::Mono.Unix.Catalog.GetString("getNext"); this.vbox4.Add(this.getNext); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.getNext])); w7.Position = 6; w7.Expand = false; w7.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.hasNext = new global::Gtk.Button(); this.hasNext.Sensitive = false; this.hasNext.CanFocus = true; this.hasNext.Name = "hasNext"; this.hasNext.UseUnderline = true; this.hasNext.Label = global::Mono.Unix.Catalog.GetString("hasNext"); this.vbox4.Add(this.hasNext); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.hasNext])); w8.Position = 7; w8.Expand = false; w8.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.getData = new global::Gtk.Button(); this.getData.Sensitive = false; this.getData.CanFocus = true; this.getData.Name = "getData"; this.getData.UseUnderline = true; this.getData.Label = global::Mono.Unix.Catalog.GetString("getData"); this.vbox4.Add(this.getData); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.getData])); w9.Position = 8; w9.Expand = false; w9.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.restart = new global::Gtk.Button(); this.restart.Sensitive = false; this.restart.CanFocus = true; this.restart.Name = "restart"; this.restart.UseUnderline = true; this.restart.Label = global::Mono.Unix.Catalog.GetString("restart"); this.vbox4.Add(this.restart); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.restart])); w10.PackType = ((global::Gtk.PackType)(1)); w10.Position = 9; w10.Expand = false; w10.Fill = false; this.hbox2.Add(this.vbox4); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox4])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child hbox2.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.log = new global::Gtk.TextView(); this.log.CanFocus = true; this.log.Name = "log"; this.log.Editable = false; this.log.CursorVisible = false; this.log.AcceptsTab = false; this.GtkScrolledWindow.Add(this.log); this.hbox2.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.GtkScrolledWindow])); w13.Position = 1; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w14.Position = 0; w14.Expand = false; w14.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 513; this.DefaultHeight = 290; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.connect.Toggled += new global::System.EventHandler(this.onConnectToggled); this.modelFilePicker.SelectionChanged += new global::System.EventHandler(this.OnModelSelectionChanged); this.start.Clicked += new global::System.EventHandler(this.OnStart); this.getNext.Clicked += new global::System.EventHandler(this.onGetNext); this.hasNext.Clicked += new global::System.EventHandler(this.OnHasNext); this.getData.Clicked += new global::System.EventHandler(this.OnGetData); this.restart.Clicked += new global::System.EventHandler(this.OnRestart); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget stdtodo.NewItemDialog this.Name = "stdtodo.NewItemDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child stdtodo.NewItemDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Please enter the new TODO item text"); this.vbox3.Add(this.label2); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.label2])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '●'; this.vbox3.Add(this.entry1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.entry1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; w1.Add(this.vbox3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Internal child stdtodo.NewItemDialog.ActionArea global::Gtk.HButtonBox w5 = this.ActionArea; w5.Name = "dialog1_ActionArea"; w5.Spacing = 10; w5.BorderWidth = ((uint)(5)); w5.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonCancel])); w6.Expand = false; w6.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w5 [this.buttonOk])); w7.Position = 1; w7.Expand = false; w7.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 132; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget LevelEditor.RequirementEditDialog this.Name = "LevelEditor.RequirementEditDialog"; this.Title = global::Mono.Unix.Catalog.GetString("过关条件编辑器"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child LevelEditor.RequirementEditDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame1.BorderWidth = ((uint)(5)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.checkbutton_allow_burn = new global::Gtk.CheckButton(); this.checkbutton_allow_burn.CanFocus = true; this.checkbutton_allow_burn.Name = "checkbutton_allow_burn"; this.checkbutton_allow_burn.Label = global::Mono.Unix.Catalog.GetString("是否允许烧焦?"); this.checkbutton_allow_burn.Active = true; this.checkbutton_allow_burn.DrawIndicator = true; this.checkbutton_allow_burn.UseUnderline = true; this.hbox1.Add(this.checkbutton_allow_burn); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.checkbutton_allow_burn])); w2.Position = 0; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkbutton_allow_lost = new global::Gtk.CheckButton(); this.checkbutton_allow_lost.CanFocus = true; this.checkbutton_allow_lost.Name = "checkbutton_allow_lost"; this.checkbutton_allow_lost.Label = global::Mono.Unix.Catalog.GetString("是否允许顾客流失?"); this.checkbutton_allow_lost.Active = true; this.checkbutton_allow_lost.DrawIndicator = true; this.checkbutton_allow_lost.UseUnderline = true; this.vbox2.Add(this.checkbutton_allow_lost); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.checkbutton_allow_lost])); w4.Position = 1; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("收集笑脸数量:"); this.hbox3.Add(this.label3); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.label3])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.entry_smile_count = new global::Gtk.Entry(); this.entry_smile_count.WidthRequest = 50; this.entry_smile_count.CanFocus = true; this.entry_smile_count.Name = "entry_smile_count"; this.entry_smile_count.Text = global::Mono.Unix.Catalog.GetString("0"); this.entry_smile_count.IsEditable = true; this.entry_smile_count.InvisibleChar = '●'; this.hbox3.Add(this.entry_smile_count); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox3[this.entry_smile_count])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.vbox2.Add(this.hbox3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox3])); w7.Position = 2; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("服务顾客:"); this.hbox5.Add(this.label5); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.label5])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox5.Gtk.Box+BoxChild this.entry_required_customers = new global::Gtk.Entry(); this.entry_required_customers.CanFocus = true; this.entry_required_customers.Name = "entry_required_customers"; this.entry_required_customers.IsEditable = false; this.entry_required_customers.InvisibleChar = '●'; this.hbox5.Add(this.entry_required_customers); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.entry_required_customers])); w9.Position = 1; // Container child hbox5.Gtk.Box+BoxChild this.button_edit_customers = new global::Gtk.Button(); this.button_edit_customers.CanFocus = true; this.button_edit_customers.Name = "button_edit_customers"; this.button_edit_customers.UseUnderline = true; this.button_edit_customers.Label = global::Mono.Unix.Catalog.GetString("修改"); this.hbox5.Add(this.button_edit_customers); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.hbox5[this.button_edit_customers])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.vbox2.Add(this.hbox5); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox5])); w11.Position = 3; w11.Expand = false; w11.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("制作食物:"); this.hbox7.Add(this.label6); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.label6])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox7.Gtk.Box+BoxChild this.entry_required_foods = new global::Gtk.Entry(); this.entry_required_foods.CanFocus = true; this.entry_required_foods.Name = "entry_required_foods"; this.entry_required_foods.IsEditable = false; this.entry_required_foods.InvisibleChar = '●'; this.hbox7.Add(this.entry_required_foods); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.entry_required_foods])); w13.Position = 1; // Container child hbox7.Gtk.Box+BoxChild this.button_edit_foods = new global::Gtk.Button(); this.button_edit_foods.CanFocus = true; this.button_edit_foods.Name = "button_edit_foods"; this.button_edit_foods.UseUnderline = true; this.button_edit_foods.Label = global::Mono.Unix.Catalog.GetString("修改"); this.hbox7.Add(this.button_edit_foods); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.hbox7[this.button_edit_foods])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.vbox2.Add(this.hbox7); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox7])); w15.Position = 4; w15.Expand = false; w15.Fill = false; this.GtkAlignment2.Add(this.vbox2); this.frame1.Add(this.GtkAlignment2); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>过关条件</b>"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; w1.Add(this.frame1); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1[this.frame1])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Internal child LevelEditor.RequirementEditDialog.ActionArea global::Gtk.HButtonBox w19 = this.ActionArea; w19.Name = "dialog1_ActionArea"; w19.Spacing = 10; w19.BorderWidth = ((uint)(5)); w19.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19[this.buttonCancel])); w20.Expand = false; w20.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w21 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19[this.buttonOk])); w21.Position = 1; w21.Expand = false; w21.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 352; this.DefaultHeight = 255; this.Show(); this.entry_smile_count.TextInserted += new global::Gtk.TextInsertedHandler(this.OnEntrySmileCountTextInserted); this.button_edit_customers.Clicked += new global::System.EventHandler(this.OnButtonEditCustomersClicked); this.button_edit_foods.Clicked += new global::System.EventHandler(this.OnButtonEditFoodsClicked); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget EscuelaPrimaria.Grado this.Name = "EscuelaPrimaria.Grado"; this.Title = global::Mono.Unix.Catalog.GetString("Grado"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Resizable = false; // Container child EscuelaPrimaria.Grado.Gtk.Container+ContainerChild this.fixed5 = new global::Gtk.Fixed(); this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; // Container child fixed5.Gtk.Fixed+FixedChild this.image1 = new global::Gtk.Image(); this.image1.Name = "image1"; this.image1.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("EscuelaPrimaria.Imagenes.FondoGrado.png"); this.fixed5.Add(this.image1); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.image1])); w1.X = 3; w1.Y = 3; // Container child fixed5.Gtk.Fixed+FixedChild this.image2 = new global::Gtk.Image(); this.image2.Name = "image2"; this.image2.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("EscuelaPrimaria.Imagenes.GradoGrupo.png"); this.fixed5.Add(this.image2); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.image2])); w2.X = 7; w2.Y = 4; // Container child fixed5.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.nodeview1 = new global::Gtk.TreeView(); this.nodeview1.WidthRequest = 251; this.nodeview1.HeightRequest = 126; this.nodeview1.CanFocus = true; this.nodeview1.Name = "nodeview1"; this.GtkScrolledWindow.Add(this.nodeview1); this.fixed5.Add(this.GtkScrolledWindow); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.GtkScrolledWindow])); w4.X = 13; w4.Y = 101; // Container child fixed5.Gtk.Fixed+FixedChild this.image6 = new global::Gtk.Image(); this.image6.Name = "image6"; this.image6.Pixbuf = global::Gdk.Pixbuf.LoadFromResource("EscuelaPrimaria.Imagenes.EscuelaPrimaria3.png"); this.fixed5.Add(this.image6); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.image6])); w5.X = 554; w5.Y = 4; // Container child fixed5.Gtk.Fixed+FixedChild this.idLabel = new global::Gtk.Label(); this.idLabel.Name = "idLabel"; this.idLabel.LabelProp = global::Mono.Unix.Catalog.GetString("ID:"); this.fixed5.Add(this.idLabel); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.idLabel])); w6.X = 316; w6.Y = 115; // Container child fixed5.Gtk.Fixed+FixedChild this.idTxt = new global::Gtk.Entry(); this.idTxt.WidthRequest = 35; this.idTxt.CanFocus = true; this.idTxt.Name = "idTxt"; this.idTxt.IsEditable = false; this.idTxt.InvisibleChar = '●'; this.fixed5.Add(this.idTxt); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.idTxt])); w7.X = 336; w7.Y = 112; // Container child fixed5.Gtk.Fixed+FixedChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("Código Estudiante:"); this.fixed5.Add(this.label9); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label9])); w8.X = 376; w8.Y = 115; // Container child fixed5.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Datos Del Estudiante"); this.fixed5.Add(this.label4); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label4])); w9.X = 425; w9.Y = 84; // Container child fixed5.Gtk.Fixed+FixedChild this.codTxt = new global::Gtk.Entry(); this.codTxt.WidthRequest = 154; this.codTxt.CanFocus = true; this.codTxt.Name = "codTxt"; this.codTxt.IsEditable = false; this.codTxt.InvisibleChar = '●'; this.fixed5.Add(this.codTxt); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.codTxt])); w10.X = 488; w10.Y = 110; // Container child fixed5.Gtk.Fixed+FixedChild this.nomTxt = new global::Gtk.Entry(); this.nomTxt.WidthRequest = 192; this.nomTxt.CanFocus = true; this.nomTxt.Name = "nomTxt"; this.nomTxt.IsEditable = false; this.nomTxt.InvisibleChar = '●'; this.fixed5.Add(this.nomTxt); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.nomTxt])); w11.X = 451; w11.Y = 146; // Container child fixed5.Gtk.Fixed+FixedChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre del Estudiante:"); this.fixed5.Add(this.label10); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label10])); w12.X = 313; w12.Y = 150; // Container child fixed5.Gtk.Fixed+FixedChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Maestro de asignatura"); this.fixed5.Add(this.label2); global::Gtk.Fixed.FixedChild w13 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label2])); w13.X = 417; w13.Y = 185; // Container child fixed5.Gtk.Fixed+FixedChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("ID:"); this.fixed5.Add(this.label3); global::Gtk.Fixed.FixedChild w14 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label3])); w14.X = 317; w14.Y = 217; // Container child fixed5.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.nodeview2 = new global::Gtk.TreeView(); this.nodeview2.WidthRequest = 251; this.nodeview2.HeightRequest = 126; this.nodeview2.CanFocus = true; this.nodeview2.Name = "nodeview2"; this.GtkScrolledWindow1.Add(this.nodeview2); this.fixed5.Add(this.GtkScrolledWindow1); global::Gtk.Fixed.FixedChild w16 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.GtkScrolledWindow1])); w16.X = 14; w16.Y = 272; // Container child fixed5.Gtk.Fixed+FixedChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre del Maestro:"); this.fixed5.Add(this.label6); global::Gtk.Fixed.FixedChild w17 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label6])); w17.X = 307; w17.Y = 254; // Container child fixed5.Gtk.Fixed+FixedChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Especifique el Nueva Grado"); this.fixed5.Add(this.label7); global::Gtk.Fixed.FixedChild w18 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label7])); w18.X = 375; w18.Y = 291; // Container child fixed5.Gtk.Fixed+FixedChild this.idTxt2 = new global::Gtk.Entry(); this.idTxt2.WidthRequest = 35; this.idTxt2.CanFocus = true; this.idTxt2.Name = "idTxt2"; this.idTxt2.IsEditable = false; this.idTxt2.InvisibleChar = '●'; this.fixed5.Add(this.idTxt2); global::Gtk.Fixed.FixedChild w19 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.idTxt2])); w19.X = 337; w19.Y = 213; // Container child fixed5.Gtk.Fixed+FixedChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Código Maestro:"); this.fixed5.Add(this.label5); global::Gtk.Fixed.FixedChild w20 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label5])); w20.X = 380; w20.Y = 217; // Container child fixed5.Gtk.Fixed+FixedChild this.codTxt2 = new global::Gtk.Entry(); this.codTxt2.WidthRequest = 166; this.codTxt2.CanFocus = true; this.codTxt2.Name = "codTxt2"; this.codTxt2.IsEditable = false; this.codTxt2.InvisibleChar = '●'; this.fixed5.Add(this.codTxt2); global::Gtk.Fixed.FixedChild w21 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.codTxt2])); w21.X = 478; w21.Y = 211; // Container child fixed5.Gtk.Fixed+FixedChild this.cargerAlumno = new global::Gtk.Button(); this.cargerAlumno.CanFocus = true; this.cargerAlumno.Name = "cargerAlumno"; this.cargerAlumno.UseUnderline = true; this.cargerAlumno.Label = global::Mono.Unix.Catalog.GetString("Cargar Estudiante"); this.fixed5.Add(this.cargerAlumno); global::Gtk.Fixed.FixedChild w22 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.cargerAlumno])); w22.X = 80; w22.Y = 234; // Container child fixed5.Gtk.Fixed+FixedChild this.cargarMaestro = new global::Gtk.Button(); this.cargarMaestro.CanFocus = true; this.cargarMaestro.Name = "cargarMaestro"; this.cargarMaestro.UseUnderline = true; this.cargarMaestro.Label = global::Mono.Unix.Catalog.GetString("Cargar Maestro"); this.fixed5.Add(this.cargarMaestro); global::Gtk.Fixed.FixedChild w23 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.cargarMaestro])); w23.X = 86; w23.Y = 405; // Container child fixed5.Gtk.Fixed+FixedChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("Grado del Alumno"); this.fixed5.Add(this.label14); global::Gtk.Fixed.FixedChild w24 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label14])); w24.X = 700; w24.Y = 157; // Container child fixed5.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.nodeGrado = new global::Gtk.TreeView(); this.nodeGrado.WidthRequest = 138; this.nodeGrado.HeightRequest = 177; this.nodeGrado.CanFocus = true; this.nodeGrado.Name = "nodeGrado"; this.GtkScrolledWindow2.Add(this.nodeGrado); this.fixed5.Add(this.GtkScrolledWindow2); global::Gtk.Fixed.FixedChild w26 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.GtkScrolledWindow2])); w26.X = 682; w26.Y = 189; // Container child fixed5.Gtk.Fixed+FixedChild this.aulaTxt = new global::Gtk.Entry(); this.aulaTxt.WidthRequest = 50; this.aulaTxt.CanFocus = true; this.aulaTxt.Name = "aulaTxt"; this.aulaTxt.IsEditable = true; this.aulaTxt.InvisibleChar = '●'; this.fixed5.Add(this.aulaTxt); global::Gtk.Fixed.FixedChild w27 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.aulaTxt])); w27.X = 472; w27.Y = 323; // Container child fixed5.Gtk.Fixed+FixedChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("Edificio:"); this.fixed5.Add(this.label11); global::Gtk.Fixed.FixedChild w28 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label11])); w28.X = 527; w28.Y = 327; // Container child fixed5.Gtk.Fixed+FixedChild this.edificioTxt = new global::Gtk.Entry(); this.edificioTxt.WidthRequest = 75; this.edificioTxt.CanFocus = true; this.edificioTxt.Name = "edificioTxt"; this.edificioTxt.IsEditable = true; this.edificioTxt.InvisibleChar = '●'; this.fixed5.Add(this.edificioTxt); global::Gtk.Fixed.FixedChild w29 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.edificioTxt])); w29.X = 576; w29.Y = 322; // Container child fixed5.Gtk.Fixed+FixedChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("Aula:"); this.fixed5.Add(this.label12); global::Gtk.Fixed.FixedChild w30 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label12])); w30.X = 439; w30.Y = 327; // Container child fixed5.Gtk.Fixed+FixedChild this.gradoTxt = new global::Gtk.Entry(); this.gradoTxt.WidthRequest = 50; this.gradoTxt.CanFocus = true; this.gradoTxt.Name = "gradoTxt"; this.gradoTxt.IsEditable = true; this.gradoTxt.InvisibleChar = '●'; this.fixed5.Add(this.gradoTxt); global::Gtk.Fixed.FixedChild w31 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.gradoTxt])); w31.X = 386; w31.Y = 321; // Container child fixed5.Gtk.Fixed+FixedChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Numero Grado:"); this.fixed5.Add(this.label8); global::Gtk.Fixed.FixedChild w32 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.label8])); w32.X = 296; w32.Y = 325; // Container child fixed5.Gtk.Fixed+FixedChild this.actualizar = new global::Gtk.Button(); this.actualizar.CanFocus = true; this.actualizar.Name = "actualizar"; this.actualizar.UseUnderline = true; this.actualizar.Label = global::Mono.Unix.Catalog.GetString("Actualizar Grado"); this.fixed5.Add(this.actualizar); global::Gtk.Fixed.FixedChild w33 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.actualizar])); w33.X = 501; w33.Y = 371; // Container child fixed5.Gtk.Fixed+FixedChild this.agregar = new global::Gtk.Button(); this.agregar.CanFocus = true; this.agregar.Name = "agregar"; this.agregar.UseUnderline = true; this.agregar.Label = global::Mono.Unix.Catalog.GetString("Agregar Nueva Grado"); this.fixed5.Add(this.agregar); global::Gtk.Fixed.FixedChild w34 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.agregar])); w34.X = 353; w34.Y = 372; // Container child fixed5.Gtk.Fixed+FixedChild this.eliminar = new global::Gtk.Button(); this.eliminar.CanFocus = true; this.eliminar.Name = "eliminar"; this.eliminar.UseUnderline = true; this.eliminar.Label = global::Mono.Unix.Catalog.GetString("Eliminar"); this.fixed5.Add(this.eliminar); global::Gtk.Fixed.FixedChild w35 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.eliminar])); w35.X = 749; w35.Y = 382; // Container child fixed5.Gtk.Fixed+FixedChild this.cargar = new global::Gtk.Button(); this.cargar.CanFocus = true; this.cargar.Name = "cargar"; this.cargar.UseUnderline = true; this.cargar.Label = global::Mono.Unix.Catalog.GetString("Cargar"); this.fixed5.Add(this.cargar); global::Gtk.Fixed.FixedChild w36 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.cargar])); w36.X = 693; w36.Y = 381; // Container child fixed5.Gtk.Fixed+FixedChild this.cancelar = new global::Gtk.Button(); this.cancelar.WidthRequest = 131; this.cancelar.CanFocus = true; this.cancelar.Name = "cancelar"; this.cancelar.UseUnderline = true; this.cancelar.Label = global::Mono.Unix.Catalog.GetString("Cancelar"); this.fixed5.Add(this.cancelar); global::Gtk.Fixed.FixedChild w37 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.cancelar])); w37.X = 683; w37.Y = 449; // Container child fixed5.Gtk.Fixed+FixedChild this.nomTxt2 = new global::Gtk.Entry(); this.nomTxt2.WidthRequest = 212; this.nomTxt2.CanFocus = true; this.nomTxt2.Name = "nomTxt2"; this.nomTxt2.IsEditable = false; this.nomTxt2.InvisibleChar = '●'; this.fixed5.Add(this.nomTxt2); global::Gtk.Fixed.FixedChild w38 = ((global::Gtk.Fixed.FixedChild)(this.fixed5 [this.nomTxt2])); w38.X = 433; w38.Y = 246; this.Add(this.fixed5); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 870; this.DefaultHeight = 544; this.Show(); this.cargerAlumno.Clicked += new global::System.EventHandler(this.OnCargerAlumnoClicked); this.cargarMaestro.Clicked += new global::System.EventHandler(this.OnCargarMaestroClicked); this.actualizar.Clicked += new global::System.EventHandler(this.OnActualizarClicked); this.agregar.Clicked += new global::System.EventHandler(this.OnAgregarClicked); this.eliminar.Clicked += new global::System.EventHandler(this.OnEliminarClicked); this.cargar.Clicked += new global::System.EventHandler(this.OnCargarClicked); this.cancelar.Clicked += new global::System.EventHandler(this.OnCancelarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget BuildingFormulas.CylinderVolume this.WidthRequest = 800; this.HeightRequest = 600; this.Name = "BuildingFormulas.CylinderVolume"; this.Title = global::Mono.Unix.Catalog.GetString("Find Cubic Area Of A Cylinder"); this.WindowPosition = ((global::Gtk.WindowPosition)(3)); this.BorderWidth = ((uint)(8)); this.Resizable = false; this.AllowGrow = false; this.DefaultWidth = 800; this.DefaultHeight = 600; // Container child BuildingFormulas.CylinderVolume.Gtk.Container+ContainerChild this.dialog1_VBox = new global::Gtk.VBox(); this.dialog1_VBox.Name = "dialog1_VBox"; this.dialog1_VBox.BorderWidth = ((uint)(6)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.tblData = new global::Gtk.Table(((uint)(3)), ((uint)(4)), false); this.tblData.WidthRequest = 670; this.tblData.HeightRequest = 186; this.tblData.Name = "tblData"; this.tblData.RowSpacing = ((uint)(15)); this.tblData.ColumnSpacing = ((uint)(10)); this.tblData.BorderWidth = ((uint)(8)); // Container child tblData.Gtk.Table+TableChild this.lblDiameter = new global::Gtk.Label(); this.lblDiameter.WidthRequest = 142; this.lblDiameter.HeightRequest = 30; this.lblDiameter.Name = "lblDiameter"; this.lblDiameter.LabelProp = global::Mono.Unix.Catalog.GetString("Enter diameter:"); this.tblData.Add(this.lblDiameter); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.tblData [this.lblDiameter])); w1.TopAttach = ((uint)(1)); w1.BottomAttach = ((uint)(2)); w1.XOptions = ((global::Gtk.AttachOptions)(4)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.lblEmpty = new global::Gtk.Label(); this.lblEmpty.WidthRequest = 142; this.lblEmpty.HeightRequest = 24; this.lblEmpty.Name = "lblEmpty"; this.lblEmpty.Justify = ((global::Gtk.Justification)(2)); this.tblData.Add(this.lblEmpty); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.tblData [this.lblEmpty])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.lblFeet = new global::Gtk.Label(); this.lblFeet.WidthRequest = 132; this.lblFeet.HeightRequest = 24; this.lblFeet.Name = "lblFeet"; this.lblFeet.LabelProp = global::Mono.Unix.Catalog.GetString("Feet"); this.lblFeet.Justify = ((global::Gtk.Justification)(2)); this.tblData.Add(this.lblFeet); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.tblData [this.lblFeet])); w3.LeftAttach = ((uint)(2)); w3.RightAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.lblHeight = new global::Gtk.Label(); this.lblHeight.WidthRequest = 142; this.lblHeight.HeightRequest = 30; this.lblHeight.Name = "lblHeight"; this.lblHeight.LabelProp = global::Mono.Unix.Catalog.GetString("Enter height:"); this.tblData.Add(this.lblHeight); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.tblData [this.lblHeight])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.lblInches = new global::Gtk.Label(); this.lblInches.WidthRequest = 132; this.lblInches.HeightRequest = 24; this.lblInches.Name = "lblInches"; this.lblInches.LabelProp = global::Mono.Unix.Catalog.GetString("Inches"); this.lblInches.Justify = ((global::Gtk.Justification)(2)); this.tblData.Add(this.lblInches); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.tblData [this.lblInches])); w5.LeftAttach = ((uint)(3)); w5.RightAttach = ((uint)(4)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.lblYards = new global::Gtk.Label(); this.lblYards.WidthRequest = 132; this.lblYards.HeightRequest = 24; this.lblYards.Name = "lblYards"; this.lblYards.LabelProp = global::Mono.Unix.Catalog.GetString("Yards"); this.lblYards.Justify = ((global::Gtk.Justification)(2)); this.tblData.Add(this.lblYards); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.tblData [this.lblYards])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.txtDiameterFeet = new global::Gtk.Entry(); this.txtDiameterFeet.TooltipMarkup = "Enter integers only no decimals. Can be zero if not used."; this.txtDiameterFeet.WidthRequest = 159; this.txtDiameterFeet.HeightRequest = 30; this.txtDiameterFeet.CanFocus = true; this.txtDiameterFeet.Name = "txtDiameterFeet"; this.txtDiameterFeet.IsEditable = true; this.txtDiameterFeet.MaxLength = 4; this.txtDiameterFeet.InvisibleChar = '•'; this.tblData.Add(this.txtDiameterFeet); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.tblData [this.txtDiameterFeet])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(2)); w7.RightAttach = ((uint)(3)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.txtDiameterInches = new global::Gtk.Entry(); this.txtDiameterInches.TooltipMarkup = "Enter integers only no decimals. Can be zero if not used."; this.txtDiameterInches.WidthRequest = 159; this.txtDiameterInches.HeightRequest = 30; this.txtDiameterInches.CanFocus = true; this.txtDiameterInches.Name = "txtDiameterInches"; this.txtDiameterInches.IsEditable = true; this.txtDiameterInches.MaxLength = 4; this.txtDiameterInches.InvisibleChar = '•'; this.tblData.Add(this.txtDiameterInches); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.tblData [this.txtDiameterInches])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(3)); w8.RightAttach = ((uint)(4)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.txtDiameterYard = new global::Gtk.Entry(); this.txtDiameterYard.TooltipMarkup = "Enter integers only no decimals. Can be zero if not used."; this.txtDiameterYard.WidthRequest = 159; this.txtDiameterYard.HeightRequest = 30; this.txtDiameterYard.CanFocus = true; this.txtDiameterYard.Name = "txtDiameterYard"; this.txtDiameterYard.IsEditable = true; this.txtDiameterYard.MaxLength = 4; this.txtDiameterYard.InvisibleChar = '•'; this.tblData.Add(this.txtDiameterYard); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.tblData [this.txtDiameterYard])); w9.TopAttach = ((uint)(1)); w9.BottomAttach = ((uint)(2)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.txtHeightFeet = new global::Gtk.Entry(); this.txtHeightFeet.TooltipMarkup = "Enter integers only no decimals. Can be zero if not used."; this.txtHeightFeet.WidthRequest = 124; this.txtHeightFeet.HeightRequest = 30; this.txtHeightFeet.CanFocus = true; this.txtHeightFeet.Name = "txtHeightFeet"; this.txtHeightFeet.IsEditable = true; this.txtHeightFeet.MaxLength = 4; this.txtHeightFeet.InvisibleChar = '•'; this.tblData.Add(this.txtHeightFeet); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.tblData [this.txtHeightFeet])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(2)); w10.RightAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.txtHeightInches = new global::Gtk.Entry(); this.txtHeightInches.TooltipMarkup = "Enter integers only no decimals. Can be zero if not used."; this.txtHeightInches.WidthRequest = 124; this.txtHeightInches.HeightRequest = 30; this.txtHeightInches.CanFocus = true; this.txtHeightInches.Name = "txtHeightInches"; this.txtHeightInches.IsEditable = true; this.txtHeightInches.MaxLength = 4; this.txtHeightInches.InvisibleChar = '•'; this.tblData.Add(this.txtHeightInches); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.tblData [this.txtHeightInches])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(3)); w11.RightAttach = ((uint)(4)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblData.Gtk.Table+TableChild this.txtHeightYard = new global::Gtk.Entry(); this.txtHeightYard.TooltipMarkup = "Enter integers only no decimals. Can be zero if not used."; this.txtHeightYard.WidthRequest = 124; this.txtHeightYard.HeightRequest = 30; this.txtHeightYard.CanFocus = true; this.txtHeightYard.Name = "txtHeightYard"; this.txtHeightYard.IsEditable = true; this.txtHeightYard.MaxLength = 4; this.txtHeightYard.InvisibleChar = '•'; this.tblData.Add(this.txtHeightYard); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.tblData [this.txtHeightYard])); w12.TopAttach = ((uint)(2)); w12.BottomAttach = ((uint)(3)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.tblData); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.tblData])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.dialog1_VBox.Add(this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox [this.hbox1])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.tblCubicTotals = new global::Gtk.Table(((uint)(4)), ((uint)(2)), true); this.tblCubicTotals.WidthRequest = 524; this.tblCubicTotals.HeightRequest = 186; this.tblCubicTotals.Name = "tblCubicTotals"; this.tblCubicTotals.RowSpacing = ((uint)(15)); this.tblCubicTotals.ColumnSpacing = ((uint)(10)); this.tblCubicTotals.BorderWidth = ((uint)(8)); // Container child tblCubicTotals.Gtk.Table+TableChild this.lblCubicFeet = new global::Gtk.Label(); this.lblCubicFeet.WidthRequest = 348; this.lblCubicFeet.HeightRequest = 30; this.lblCubicFeet.Name = "lblCubicFeet"; this.lblCubicFeet.LabelProp = global::Mono.Unix.Catalog.GetString("Total Cubic Area in Feet:"); this.tblCubicTotals.Add(this.lblCubicFeet); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.tblCubicTotals [this.lblCubicFeet])); w15.TopAttach = ((uint)(2)); w15.BottomAttach = ((uint)(3)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblCubicTotals.Gtk.Table+TableChild this.lblCubicInches = new global::Gtk.Label(); this.lblCubicInches.WidthRequest = 348; this.lblCubicInches.HeightRequest = 30; this.lblCubicInches.Name = "lblCubicInches"; this.lblCubicInches.LabelProp = global::Mono.Unix.Catalog.GetString("Total Cubic Area in Inches:"); this.tblCubicTotals.Add(this.lblCubicInches); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.tblCubicTotals [this.lblCubicInches])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblCubicTotals.Gtk.Table+TableChild this.lblCubicYards = new global::Gtk.Label(); this.lblCubicYards.WidthRequest = 348; this.lblCubicYards.HeightRequest = 30; this.lblCubicYards.Name = "lblCubicYards"; this.lblCubicYards.LabelProp = global::Mono.Unix.Catalog.GetString("Total Cubic Area in Yards:"); this.tblCubicTotals.Add(this.lblCubicYards); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.tblCubicTotals [this.lblCubicYards])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblCubicTotals.Gtk.Table+TableChild this.lblInfo = new global::Gtk.Label(); this.lblInfo.WidthRequest = 124; this.lblInfo.HeightRequest = 30; this.lblInfo.Name = "lblInfo"; this.lblInfo.LabelProp = global::Mono.Unix.Catalog.GetString("label1"); this.tblCubicTotals.Add(this.lblInfo); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.tblCubicTotals [this.lblInfo])); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblCubicTotals.Gtk.Table+TableChild this.txtCubicFeet = new global::Gtk.Entry(); this.txtCubicFeet.TooltipMarkup = "Total cubic area for shape in feet."; this.txtCubicFeet.WidthRequest = 348; this.txtCubicFeet.HeightRequest = 30; this.txtCubicFeet.CanFocus = true; this.txtCubicFeet.Name = "txtCubicFeet"; this.txtCubicFeet.IsEditable = false; this.txtCubicFeet.InvisibleChar = '•'; this.tblCubicTotals.Add(this.txtCubicFeet); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.tblCubicTotals [this.txtCubicFeet])); w19.TopAttach = ((uint)(2)); w19.BottomAttach = ((uint)(3)); w19.LeftAttach = ((uint)(1)); w19.RightAttach = ((uint)(2)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblCubicTotals.Gtk.Table+TableChild this.txtCubicInches = new global::Gtk.Entry(); this.txtCubicInches.TooltipMarkup = "Total cubic area for shape in inches."; this.txtCubicInches.WidthRequest = 348; this.txtCubicInches.HeightRequest = 30; this.txtCubicInches.CanFocus = true; this.txtCubicInches.Name = "txtCubicInches"; this.txtCubicInches.IsEditable = false; this.txtCubicInches.InvisibleChar = '•'; this.tblCubicTotals.Add(this.txtCubicInches); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.tblCubicTotals [this.txtCubicInches])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.LeftAttach = ((uint)(1)); w20.RightAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child tblCubicTotals.Gtk.Table+TableChild this.txtCubicYards = new global::Gtk.Entry(); this.txtCubicYards.TooltipMarkup = "Total cubic area for shape in yards."; this.txtCubicYards.WidthRequest = 348; this.txtCubicYards.HeightRequest = 30; this.txtCubicYards.CanFocus = true; this.txtCubicYards.Name = "txtCubicYards"; this.txtCubicYards.IsEditable = false; this.txtCubicYards.InvisibleChar = '•'; this.tblCubicTotals.Add(this.txtCubicYards); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.tblCubicTotals [this.txtCubicYards])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); this.dialog1_VBox.Add(this.tblCubicTotals); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox [this.tblCubicTotals])); w22.Position = 1; w22.Expand = false; // Container child dialog1_VBox.Gtk.Box+BoxChild this.hbox7 = new global::Gtk.HBox(); this.hbox7.Name = "hbox7"; this.hbox7.Spacing = 6; // Container child hbox7.Gtk.Box+BoxChild this.hbox8 = new global::Gtk.HBox(); this.hbox8.Name = "hbox8"; this.hbox8.Spacing = 6; this.hbox8.BorderWidth = ((uint)(8)); // Container child hbox8.Gtk.Box+BoxChild this.alignment5 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment5.Name = "alignment5"; this.hbox8.Add(this.alignment5); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.alignment5])); w23.Position = 0; // Container child hbox8.Gtk.Box+BoxChild this.vbtnLeft = new global::Gtk.VButtonBox(); this.vbtnLeft.WidthRequest = 142; this.vbtnLeft.HeightRequest = 142; this.vbtnLeft.Name = "vbtnLeft"; this.vbtnLeft.BorderWidth = ((uint)(4)); this.vbtnLeft.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1)); // Container child vbtnLeft.Gtk.ButtonBox+ButtonBoxChild this.btnNew = new global::Gtk.Button(); this.btnNew.TooltipMarkup = "Reset all boxes to zero."; this.btnNew.WidthRequest = 118; this.btnNew.HeightRequest = 40; this.btnNew.CanFocus = true; this.btnNew.Name = "btnNew"; this.btnNew.UseUnderline = true; this.btnNew.BorderWidth = ((uint)(4)); this.btnNew.Label = global::Mono.Unix.Catalog.GetString("New Cylinder"); this.vbtnLeft.Add(this.btnNew); global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbtnLeft [this.btnNew])); w24.Expand = false; w24.Fill = false; // Container child vbtnLeft.Gtk.ButtonBox+ButtonBoxChild this.btnStandard = new global::Gtk.Button(); this.btnStandard.TooltipMarkup = "Use standard messaurement units."; this.btnStandard.WidthRequest = 118; this.btnStandard.HeightRequest = 40; this.btnStandard.CanFocus = true; this.btnStandard.Name = "btnStandard"; this.btnStandard.UseUnderline = true; this.btnStandard.BorderWidth = ((uint)(4)); this.btnStandard.Label = global::Mono.Unix.Catalog.GetString("Standard"); this.vbtnLeft.Add(this.btnStandard); global::Gtk.ButtonBox.ButtonBoxChild w25 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbtnLeft [this.btnStandard])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbtnLeft.Gtk.ButtonBox+ButtonBoxChild this.btnMetric = new global::Gtk.Button(); this.btnMetric.TooltipMarkup = "Use metric messaurement units."; this.btnMetric.WidthRequest = 118; this.btnMetric.HeightRequest = 40; this.btnMetric.CanFocus = true; this.btnMetric.Name = "btnMetric"; this.btnMetric.UseUnderline = true; this.btnMetric.BorderWidth = ((uint)(4)); this.btnMetric.Label = global::Mono.Unix.Catalog.GetString("Metric"); this.vbtnLeft.Add(this.btnMetric); global::Gtk.ButtonBox.ButtonBoxChild w26 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbtnLeft [this.btnMetric])); w26.Position = 2; w26.Expand = false; w26.Fill = false; this.hbox8.Add(this.vbtnLeft); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.vbtnLeft])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child hbox8.Gtk.Box+BoxChild this.alignment6 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment6.Name = "alignment6"; this.hbox8.Add(this.alignment6); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.hbox8 [this.alignment6])); w28.Position = 2; this.hbox7.Add(this.hbox8); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.hbox8])); w29.Position = 0; // Container child hbox7.Gtk.Box+BoxChild this.hbox9 = new global::Gtk.HBox(); this.hbox9.Name = "hbox9"; this.hbox9.Spacing = 6; // Container child hbox9.Gtk.Box+BoxChild this.alignment7 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment7.Name = "alignment7"; this.hbox9.Add(this.alignment7); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.alignment7])); w30.Position = 0; // Container child hbox9.Gtk.Box+BoxChild this.vbtnCenter = new global::Gtk.VButtonBox(); this.vbtnCenter.WidthRequest = 142; this.vbtnCenter.HeightRequest = 142; this.vbtnCenter.Name = "vbtnCenter"; this.vbtnCenter.BorderWidth = ((uint)(8)); this.vbtnCenter.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1)); // Container child vbtnCenter.Gtk.ButtonBox+ButtonBoxChild this.btnSolve = new global::Gtk.Button(); this.btnSolve.TooltipMarkup = "Get square or rectangle cubic area."; this.btnSolve.WidthRequest = 118; this.btnSolve.HeightRequest = 40; this.btnSolve.CanFocus = true; this.btnSolve.Name = "btnSolve"; this.btnSolve.UseUnderline = true; this.btnSolve.BorderWidth = ((uint)(4)); this.btnSolve.Label = global::Mono.Unix.Catalog.GetString("Solve"); this.vbtnCenter.Add(this.btnSolve); global::Gtk.ButtonBox.ButtonBoxChild w31 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbtnCenter [this.btnSolve])); w31.Expand = false; w31.Fill = false; // Container child vbtnCenter.Gtk.ButtonBox+ButtonBoxChild this.btnStore = new global::Gtk.Button(); this.btnStore.TooltipMarkup = "Save the cubic area result for this shape."; this.btnStore.WidthRequest = 118; this.btnStore.HeightRequest = 40; this.btnStore.CanFocus = true; this.btnStore.Name = "btnStore"; this.btnStore.UseUnderline = true; this.btnStore.BorderWidth = ((uint)(4)); this.btnStore.Label = global::Mono.Unix.Catalog.GetString("Store Result"); this.vbtnCenter.Add(this.btnStore); global::Gtk.ButtonBox.ButtonBoxChild w32 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbtnCenter [this.btnStore])); w32.Position = 1; w32.Expand = false; w32.Fill = false; // Container child vbtnCenter.Gtk.ButtonBox+ButtonBoxChild this.btnDisplayStore = new global::Gtk.Button(); this.btnDisplayStore.TooltipMarkup = "Display the cubic area for items stored."; this.btnDisplayStore.WidthRequest = 118; this.btnDisplayStore.HeightRequest = 40; this.btnDisplayStore.CanFocus = true; this.btnDisplayStore.Name = "btnDisplayStore"; this.btnDisplayStore.UseUnderline = true; this.btnDisplayStore.BorderWidth = ((uint)(4)); this.btnDisplayStore.Label = global::Mono.Unix.Catalog.GetString("Display Store"); this.vbtnCenter.Add(this.btnDisplayStore); global::Gtk.ButtonBox.ButtonBoxChild w33 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbtnCenter [this.btnDisplayStore])); w33.Position = 2; w33.Expand = false; w33.Fill = false; // Container child vbtnCenter.Gtk.ButtonBox+ButtonBoxChild this.btnClearStore = new global::Gtk.Button(); this.btnClearStore.TooltipMarkup = "Clear the items that are currently in store."; this.btnClearStore.WidthRequest = 118; this.btnClearStore.HeightRequest = 40; this.btnClearStore.CanFocus = true; this.btnClearStore.Name = "btnClearStore"; this.btnClearStore.UseUnderline = true; this.btnClearStore.BorderWidth = ((uint)(4)); this.btnClearStore.Label = global::Mono.Unix.Catalog.GetString("Clear Store"); this.vbtnCenter.Add(this.btnClearStore); global::Gtk.ButtonBox.ButtonBoxChild w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbtnCenter [this.btnClearStore])); w34.Position = 3; w34.Expand = false; w34.Fill = false; this.hbox9.Add(this.vbtnCenter); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.vbtnCenter])); w35.Position = 1; w35.Expand = false; w35.Fill = false; // Container child hbox9.Gtk.Box+BoxChild this.alignment8 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment8.Name = "alignment8"; this.hbox9.Add(this.alignment8); global::Gtk.Box.BoxChild w36 = ((global::Gtk.Box.BoxChild)(this.hbox9 [this.alignment8])); w36.Position = 2; this.hbox7.Add(this.hbox9); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.hbox9])); w37.Position = 1; // Container child hbox7.Gtk.Box+BoxChild this.hbox10 = new global::Gtk.HBox(); this.hbox10.Name = "hbox10"; this.hbox10.Spacing = 6; // Container child hbox10.Gtk.Box+BoxChild this.alignment9 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment9.Name = "alignment9"; this.hbox10.Add(this.alignment9); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.alignment9])); w38.Position = 0; // Container child hbox10.Gtk.Box+BoxChild this.vbtnRight = new global::Gtk.VButtonBox(); this.vbtnRight.WidthRequest = 142; this.vbtnRight.HeightRequest = 142; this.vbtnRight.Name = "vbtnRight"; this.vbtnRight.BorderWidth = ((uint)(8)); this.vbtnRight.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(1)); // Container child vbtnRight.Gtk.ButtonBox+ButtonBoxChild this.btnPrintForm = new global::Gtk.Button(); this.btnPrintForm.TooltipMarkup = "Print the information on this form."; this.btnPrintForm.WidthRequest = 118; this.btnPrintForm.HeightRequest = 40; this.btnPrintForm.CanFocus = true; this.btnPrintForm.Name = "btnPrintForm"; this.btnPrintForm.UseUnderline = true; this.btnPrintForm.BorderWidth = ((uint)(4)); this.btnPrintForm.Label = global::Mono.Unix.Catalog.GetString("Print Form"); this.vbtnRight.Add(this.btnPrintForm); global::Gtk.ButtonBox.ButtonBoxChild w39 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbtnRight [this.btnPrintForm])); w39.Expand = false; w39.Fill = false; // Container child vbtnRight.Gtk.ButtonBox+ButtonBoxChild this.btnPrintStored = new global::Gtk.Button(); this.btnPrintStored.TooltipMarkup = "Print the data that is contained in store."; this.btnPrintStored.WidthRequest = 118; this.btnPrintStored.HeightRequest = 40; this.btnPrintStored.CanFocus = true; this.btnPrintStored.Name = "btnPrintStored"; this.btnPrintStored.UseUnderline = true; this.btnPrintStored.BorderWidth = ((uint)(4)); this.btnPrintStored.Label = global::Mono.Unix.Catalog.GetString("Print Stored"); this.vbtnRight.Add(this.btnPrintStored); global::Gtk.ButtonBox.ButtonBoxChild w40 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbtnRight [this.btnPrintStored])); w40.Position = 1; w40.Expand = false; w40.Fill = false; // Container child vbtnRight.Gtk.ButtonBox+ButtonBoxChild this.btnClose = new global::Gtk.Button(); this.btnClose.TooltipMarkup = "Exit from this form. "; this.btnClose.WidthRequest = 118; this.btnClose.HeightRequest = 40; this.btnClose.CanFocus = true; this.btnClose.Name = "btnClose"; this.btnClose.UseStock = true; this.btnClose.UseUnderline = true; this.btnClose.BorderWidth = ((uint)(4)); this.btnClose.Label = "gtk-close"; this.vbtnRight.Add(this.btnClose); global::Gtk.ButtonBox.ButtonBoxChild w41 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.vbtnRight [this.btnClose])); w41.Position = 2; w41.Expand = false; w41.Fill = false; this.hbox10.Add(this.vbtnRight); global::Gtk.Box.BoxChild w42 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.vbtnRight])); w42.Position = 1; w42.Expand = false; w42.Fill = false; // Container child hbox10.Gtk.Box+BoxChild this.alignment10 = new global::Gtk.Alignment(0.5F, 0.5F, 1F, 1F); this.alignment10.Name = "alignment10"; this.hbox10.Add(this.alignment10); global::Gtk.Box.BoxChild w43 = ((global::Gtk.Box.BoxChild)(this.hbox10 [this.alignment10])); w43.Position = 2; this.hbox7.Add(this.hbox10); global::Gtk.Box.BoxChild w44 = ((global::Gtk.Box.BoxChild)(this.hbox7 [this.hbox10])); w44.Position = 2; this.dialog1_VBox.Add(this.hbox7); global::Gtk.Box.BoxChild w45 = ((global::Gtk.Box.BoxChild)(this.dialog1_VBox [this.hbox7])); w45.Position = 2; this.Add(this.dialog1_VBox); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.btnNew.Clicked += new global::System.EventHandler(this.OnBtnNewCylinderClicked); this.btnStandard.Clicked += new global::System.EventHandler(this.OnBtnStandardClicked); this.btnMetric.Clicked += new global::System.EventHandler(this.OnBtnMetricClicked); this.btnSolve.Clicked += new global::System.EventHandler(this.OnBtnSolveClicked); this.btnStore.Clicked += new global::System.EventHandler(this.OnBtnStoreResultClicked); this.btnDisplayStore.Clicked += new global::System.EventHandler(this.OnBtnDisplayStoreClicked); this.btnClearStore.Clicked += new global::System.EventHandler(this.OnBtnClearStoreClicked); this.btnPrintForm.Clicked += new global::System.EventHandler(this.OnBtnPrintFormClicked); this.btnPrintStored.Clicked += new global::System.EventHandler(this.OnBtnPrintStoredClicked); this.btnClose.Clicked += new global::System.EventHandler(this.OnBtnCloseClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.AspNet.Gui.XspOptionsPanelWidget global::Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.AspNet.Gui.XspOptionsPanelWidget"; // Container child MonoDevelop.AspNet.Gui.XspOptionsPanelWidget.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 12; // Container child vbox1.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("<b>General Options</b>"); this.label1.UseMarkup = true; this.vbox1.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; // Container child hbox2.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.WidthRequest = 18; this.label4.Name = "label4"; this.hbox2.Add(this.label4); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.label4])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.ipAddress = new global::Gtk.Entry(); this.ipAddress.CanFocus = true; this.ipAddress.Name = "ipAddress"; this.ipAddress.IsEditable = true; this.ipAddress.InvisibleChar = '●'; this.table2.Add(this.ipAddress); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table2 [this.ipAddress])); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Port number:"); this.table2.Add(this.label7); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table2 [this.label7])); w4.TopAttach = ((uint)(1)); w4.BottomAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 0F; this.label8.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("IP address:"); this.table2.Add(this.label8); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.portNumber = new global::Gtk.SpinButton(0, 32767, 1); this.portNumber.CanFocus = true; this.portNumber.Name = "portNumber"; this.portNumber.Adjustment.PageIncrement = 10; this.portNumber.ClimbRate = 1; this.portNumber.Numeric = true; this.table2.Add(this.portNumber); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table2 [this.portNumber])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table2); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.table2])); w7.Position = 0; w7.Expand = false; w7.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.verboseCheck = new global::Gtk.CheckButton(); this.verboseCheck.CanFocus = true; this.verboseCheck.Name = "verboseCheck"; this.verboseCheck.Label = global::MonoDevelop.Core.GettextCatalog.GetString("Verbose console output"); this.verboseCheck.DrawIndicator = true; this.verboseCheck.UseUnderline = true; this.vbox2.Add(this.verboseCheck); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.verboseCheck])); w8.Position = 1; w8.Expand = false; w8.Fill = false; this.hbox2.Add(this.vbox2); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.vbox2])); w9.Position = 1; w9.Expand = false; w9.Fill = false; this.vbox1.Add(this.hbox2); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox2])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("<b>Security</b>"); this.label2.UseMarkup = true; this.vbox1.Add(this.label2); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label2])); w11.Position = 2; w11.Expand = false; w11.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; // Container child hbox3.Gtk.Box+BoxChild this.label5 = new global::Gtk.Label(); this.label5.WidthRequest = 18; this.label5.Name = "label5"; this.hbox3.Add(this.label5); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label5])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.table3 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table3.Name = "table3"; this.table3.RowSpacing = ((uint)(6)); this.table3.ColumnSpacing = ((uint)(6)); // Container child table3.Gtk.Table+TableChild this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.Xalign = 0F; this.label10.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("SSL mode:"); this.table3.Add(this.label10); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table3 [this.label10])); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.Xalign = 0F; this.label9.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("SSL protocol:"); this.table3.Add(this.label9); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table3 [this.label9])); w14.TopAttach = ((uint)(1)); w14.BottomAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.sslMode = global::Gtk.ComboBox.NewText(); this.sslMode.Name = "sslMode"; this.table3.Add(this.sslMode); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table3 [this.sslMode])); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.XOptions = ((global::Gtk.AttachOptions)(4)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table3.Gtk.Table+TableChild this.sslProtocol = global::Gtk.ComboBox.NewText(); this.sslProtocol.Name = "sslProtocol"; this.table3.Add(this.sslProtocol); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table3 [this.sslProtocol])); w16.TopAttach = ((uint)(1)); w16.BottomAttach = ((uint)(2)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox3.Add(this.table3); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.table3])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.vbox1.Add(this.hbox3); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox3])); w18.Position = 3; w18.Expand = false; w18.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0F; this.label3.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("<b>SSL Key</b>"); this.label3.UseMarkup = true; this.vbox1.Add(this.label3); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.label3])); w19.Position = 4; w19.Expand = false; w19.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; // Container child hbox4.Gtk.Box+BoxChild this.label6 = new global::Gtk.Label(); this.label6.WidthRequest = 18; this.label6.Name = "label6"; this.hbox4.Add(this.label6); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label6])); w20.Position = 0; w20.Expand = false; w20.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.table4 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.certLocation = new global::MonoDevelop.Components.FileEntry(); this.certLocation.Name = "certLocation"; this.table4.Add(this.certLocation); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table4 [this.certLocation])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(1)); w21.RightAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hbox5 = new global::Gtk.HBox(); this.hbox5.Name = "hbox5"; this.hbox5.Spacing = 6; // Container child hbox5.Gtk.Box+BoxChild this.keyType = global::Gtk.ComboBox.NewText(); this.keyType.Name = "keyType"; this.hbox5.Add(this.keyType); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox5 [this.keyType])); w22.Position = 0; w22.Expand = false; w22.Fill = false; this.table4.Add(this.hbox5); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table4 [this.hbox5])); w23.LeftAttach = ((uint)(1)); w23.RightAttach = ((uint)(2)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.hbox6 = new global::Gtk.HBox(); this.hbox6.Name = "hbox6"; this.hbox6.Spacing = 6; // Container child hbox6.Gtk.Box+BoxChild this.passwordOptions = global::Gtk.ComboBox.NewText(); this.passwordOptions.Name = "passwordOptions"; this.hbox6.Add(this.passwordOptions); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.passwordOptions])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child hbox6.Gtk.Box+BoxChild this.passwordEntry = new global::Gtk.Entry(); this.passwordEntry.CanFocus = true; this.passwordEntry.Name = "passwordEntry"; this.passwordEntry.IsEditable = true; this.passwordEntry.InvisibleChar = '●'; this.hbox6.Add(this.passwordEntry); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.hbox6 [this.passwordEntry])); w25.Position = 1; this.table4.Add(this.hbox6); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table4 [this.hbox6])); w26.TopAttach = ((uint)(3)); w26.BottomAttach = ((uint)(4)); w26.LeftAttach = ((uint)(1)); w26.RightAttach = ((uint)(2)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.keyLocation = new global::MonoDevelop.Components.FileEntry(); this.keyLocation.Name = "keyLocation"; this.table4.Add(this.keyLocation); global::Gtk.Table.TableChild w27 = ((global::Gtk.Table.TableChild)(this.table4 [this.keyLocation])); w27.TopAttach = ((uint)(1)); w27.BottomAttach = ((uint)(2)); w27.LeftAttach = ((uint)(1)); w27.RightAttach = ((uint)(2)); w27.XOptions = ((global::Gtk.AttachOptions)(4)); w27.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.Xalign = 0F; this.label11.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Key type:"); this.table4.Add(this.label11); global::Gtk.Table.TableChild w28 = ((global::Gtk.Table.TableChild)(this.table4 [this.label11])); w28.XOptions = ((global::Gtk.AttachOptions)(4)); w28.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.Xalign = 0F; this.label12.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Key location:"); this.table4.Add(this.label12); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table4 [this.label12])); w29.TopAttach = ((uint)(1)); w29.BottomAttach = ((uint)(2)); w29.XOptions = ((global::Gtk.AttachOptions)(4)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 0F; this.label13.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Certificate location:"); this.table4.Add(this.label13); global::Gtk.Table.TableChild w30 = ((global::Gtk.Table.TableChild)(this.table4 [this.label13])); w30.TopAttach = ((uint)(2)); w30.BottomAttach = ((uint)(3)); w30.XOptions = ((global::Gtk.AttachOptions)(4)); w30.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.Xalign = 0F; this.label14.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("Password:"); this.table4.Add(this.label14); global::Gtk.Table.TableChild w31 = ((global::Gtk.Table.TableChild)(this.table4 [this.label14])); w31.TopAttach = ((uint)(3)); w31.BottomAttach = ((uint)(4)); w31.XOptions = ((global::Gtk.AttachOptions)(4)); w31.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox4.Add(this.table4); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.table4])); w32.Position = 1; this.vbox1.Add(this.hbox4); global::Gtk.Box.BoxChild w33 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox4])); w33.Position = 5; w33.Expand = false; w33.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.Show(); this.sslProtocol.Changed += new global::System.EventHandler(this.updateSensitivity); this.sslMode.Changed += new global::System.EventHandler(this.updateSensitivity); this.passwordOptions.Changed += new global::System.EventHandler(this.updateSensitivity); this.keyType.Changed += new global::System.EventHandler(this.updateSensitivity); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Currency Conversion"); 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.btnConvert = new global::Gtk.Button(); this.btnConvert.CanFocus = true; this.btnConvert.Name = "btnConvert"; this.btnConvert.UseUnderline = true; this.btnConvert.Label = global::Mono.Unix.Catalog.GetString("Convert"); this.fixed2.Add(this.btnConvert); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.btnConvert])); w1.X = 35; w1.Y = 87; // Container child fixed2.Gtk.Fixed+FixedChild this.tboxAmountEntry = new global::Gtk.Entry(); this.tboxAmountEntry.WidthRequest = 82; this.tboxAmountEntry.CanFocus = true; this.tboxAmountEntry.Name = "tboxAmountEntry"; this.tboxAmountEntry.IsEditable = true; this.tboxAmountEntry.InvisibleChar = '•'; this.fixed2.Add(this.tboxAmountEntry); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.tboxAmountEntry])); w2.X = 111; w2.Y = 87; // Container child fixed2.Gtk.Fixed+FixedChild this.lblMain = new global::Gtk.Label(); this.lblMain.WidthRequest = 171; this.lblMain.HeightRequest = 33; this.lblMain.Name = "lblMain"; this.lblMain.LabelProp = "Currency Converter"; this.lblMain.UseMarkup = true; this.fixed2.Add(this.lblMain); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.lblMain])); w3.X = 123; w3.Y = 24; // Container child fixed2.Gtk.Fixed+FixedChild this.lblPesoAmount = new global::Gtk.Label(); this.lblPesoAmount.Name = "lblPesoAmount"; this.lblPesoAmount.LabelProp = global::Mono.Unix.Catalog.GetString("Peso Amount"); this.fixed2.Add(this.lblPesoAmount); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.lblPesoAmount])); w4.X = 35; w4.Y = 203; // Container child fixed2.Gtk.Fixed+FixedChild this.btnClear = new global::Gtk.Button(); this.btnClear.CanFocus = true; this.btnClear.Name = "btnClear"; this.btnClear.UseUnderline = true; this.btnClear.Label = global::Mono.Unix.Catalog.GetString("Clear"); this.fixed2.Add(this.btnClear); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.btnClear])); w5.X = 35; w5.Y = 123; // Container child fixed2.Gtk.Fixed+FixedChild this.btnExit = new global::Gtk.Button(); this.btnExit.CanFocus = true; this.btnExit.Name = "btnExit"; this.btnExit.UseUnderline = true; this.btnExit.Label = global::Mono.Unix.Catalog.GetString("Exit"); this.fixed2.Add(this.btnExit); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.btnExit])); w6.X = 34; w6.Y = 158; // Container child fixed2.Gtk.Fixed+FixedChild this.lblEuroAmount = new global::Gtk.Label(); this.lblEuroAmount.Name = "lblEuroAmount"; this.lblEuroAmount.LabelProp = global::Mono.Unix.Catalog.GetString("Euro Amount"); this.fixed2.Add(this.lblEuroAmount); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.lblEuroAmount])); w7.X = 152; w7.Y = 203; // Container child fixed2.Gtk.Fixed+FixedChild this.lblMarkAmount = new global::Gtk.Label(); this.lblMarkAmount.Name = "lblMarkAmount"; this.lblMarkAmount.LabelProp = global::Mono.Unix.Catalog.GetString("Mark Amount"); this.fixed2.Add(this.lblMarkAmount); global::Gtk.Fixed.FixedChild w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed2 [this.lblMarkAmount])); w8.X = 275; w8.Y = 203; this.Add(this.fixed2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 403; this.DefaultHeight = 281; this.lblMain.MnemonicWidget = this.lblMain; this.lblPesoAmount.MnemonicWidget = this.lblPesoAmount; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.btnConvert.Clicked += new global::System.EventHandler(this.OnBtnConvertClicked); this.btnClear.Clicked += new global::System.EventHandler(this.OnBtnClearClick); this.btnExit.Clicked += new global::System.EventHandler(this.OnBtnExitClick); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget TraceLab.UI.GTK.BaseInfoPanel global::Stetic.BinContainer.Attach(this); this.CanDefault = true; this.Name = "TraceLab.UI.GTK.BaseInfoPanel"; // Container child TraceLab.UI.GTK.BaseInfoPanel.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.WidthRequest = 600; this.vbox1.Name = "vbox1"; // Container child vbox1.Gtk.Box+BoxChild this.errorTextView = new global::Gtk.TextView(); this.errorTextView.CanFocus = true; this.errorTextView.Name = "errorTextView"; this.errorTextView.Editable = false; this.errorTextView.CursorVisible = false; this.errorTextView.AcceptsTab = false; this.errorTextView.Justification = ((global::Gtk.Justification)(3)); this.errorTextView.WrapMode = ((global::Gtk.WrapMode)(2)); this.errorTextView.LeftMargin = 3; this.errorTextView.RightMargin = 3; this.vbox1.Add(this.errorTextView); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.errorTextView])); w1.Position = 0; w1.Expand = false; w1.Fill = false; w1.Padding = ((uint)(3)); // Container child vbox1.Gtk.Box+BoxChild this.componentInfoExpander = new global::Gtk.Expander(null); this.componentInfoExpander.CanFocus = true; this.componentInfoExpander.Name = "componentInfoExpander"; // Container child componentInfoExpander.Gtk.Container+ContainerChild this.infoTable = new global::Gtk.Table(((uint)(5)), ((uint)(2)), false); this.infoTable.Name = "infoTable"; this.infoTable.RowSpacing = ((uint)(6)); this.infoTable.ColumnSpacing = ((uint)(6)); // Container child infoTable.Gtk.Table+TableChild this.authorLbl = new global::Gtk.Label(); this.authorLbl.Name = "authorLbl"; this.authorLbl.Xpad = 3; this.authorLbl.Ypad = 2; this.authorLbl.Xalign = 0F; this.authorLbl.Yalign = 0F; this.authorLbl.LabelProp = global::Mono.Unix.Catalog.GetString("Author:"); this.infoTable.Add(this.authorLbl); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.infoTable [this.authorLbl])); w2.TopAttach = ((uint)(3)); w2.BottomAttach = ((uint)(4)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.authorValue = new global::Gtk.Label(); this.authorValue.Name = "authorValue"; this.authorValue.Xpad = 3; this.authorValue.Ypad = 2; this.authorValue.Xalign = 0F; this.authorValue.Yalign = 0F; this.infoTable.Add(this.authorValue); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.infoTable [this.authorValue])); w3.TopAttach = ((uint)(3)); w3.BottomAttach = ((uint)(4)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentLabelLbl = new global::Gtk.Label(); this.componentLabelLbl.Name = "componentLabelLbl"; this.componentLabelLbl.Xpad = 3; this.componentLabelLbl.Ypad = 2; this.componentLabelLbl.Xalign = 0F; this.componentLabelLbl.Yalign = 0F; this.componentLabelLbl.LabelProp = global::Mono.Unix.Catalog.GetString("Label:"); this.infoTable.Add(this.componentLabelLbl); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentLabelLbl])); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentLabelValue = new global::Gtk.Entry(); this.componentLabelValue.CanFocus = true; this.componentLabelValue.Name = "componentLabelValue"; this.componentLabelValue.IsEditable = true; this.componentLabelValue.InvisibleChar = '●'; this.infoTable.Add(this.componentLabelValue); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentLabelValue])); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentNameLbl = new global::Gtk.Label(); this.componentNameLbl.Name = "componentNameLbl"; this.componentNameLbl.Xpad = 3; this.componentNameLbl.Ypad = 2; this.componentNameLbl.Xalign = 0F; this.componentNameLbl.Yalign = 0F; this.componentNameLbl.LabelProp = global::Mono.Unix.Catalog.GetString("Component:"); this.infoTable.Add(this.componentNameLbl); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentNameLbl])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.componentNameValue = new global::Gtk.Label(); this.componentNameValue.Name = "componentNameValue"; this.componentNameValue.Xpad = 3; this.componentNameValue.Ypad = 2; this.componentNameValue.Xalign = 0F; this.componentNameValue.Yalign = 0F; this.infoTable.Add(this.componentNameValue); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.infoTable [this.componentNameValue])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.descriptionLbl = new global::Gtk.Label(); this.descriptionLbl.Name = "descriptionLbl"; this.descriptionLbl.Xpad = 3; this.descriptionLbl.Ypad = 2; this.descriptionLbl.Xalign = 0F; this.descriptionLbl.Yalign = 0F; this.descriptionLbl.LabelProp = global::Mono.Unix.Catalog.GetString("Description:"); this.infoTable.Add(this.descriptionLbl); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.infoTable [this.descriptionLbl])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.descriptionValue = new global::Gtk.Label(); this.descriptionValue.WidthRequest = 500; this.descriptionValue.Name = "descriptionValue"; this.descriptionValue.Xpad = 3; this.descriptionValue.Ypad = 2; this.descriptionValue.Xalign = 0F; this.descriptionValue.Yalign = 0F; this.descriptionValue.Wrap = true; this.infoTable.Add(this.descriptionValue); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.infoTable [this.descriptionValue])); w9.TopAttach = ((uint)(4)); w9.BottomAttach = ((uint)(5)); w9.LeftAttach = ((uint)(1)); w9.RightAttach = ((uint)(2)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.versionLbl = new global::Gtk.Label(); this.versionLbl.Name = "versionLbl"; this.versionLbl.Xpad = 3; this.versionLbl.Ypad = 2; this.versionLbl.Xalign = 0F; this.versionLbl.Yalign = 0F; this.versionLbl.LabelProp = global::Mono.Unix.Catalog.GetString("Version:"); this.infoTable.Add(this.versionLbl); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.infoTable [this.versionLbl])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child infoTable.Gtk.Table+TableChild this.versionValue = new global::Gtk.Label(); this.versionValue.Name = "versionValue"; this.versionValue.Xpad = 3; this.versionValue.Ypad = 2; this.versionValue.Xalign = 0F; this.versionValue.Yalign = 0F; this.infoTable.Add(this.versionValue); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.infoTable [this.versionValue])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); this.componentInfoExpander.Add(this.infoTable); this.componentInfoExpanderLabel = new global::Gtk.Label(); this.componentInfoExpanderLabel.Name = "componentInfoExpanderLabel"; this.componentInfoExpanderLabel.LabelProp = global::Mono.Unix.Catalog.GetString("Component Info"); this.componentInfoExpanderLabel.UseUnderline = true; this.componentInfoExpander.LabelWidget = this.componentInfoExpanderLabel; this.vbox1.Add(this.componentInfoExpander); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.componentInfoExpander])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.errorTextView.Hide(); this.Hide(); this.componentInfoExpander.Activated += new global::System.EventHandler(this.OnComponentInfoExpanderActivated); this.componentLabelValue.Changed += new global::System.EventHandler(this.HandleComponentLabelChanged); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.CanFocus = true; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); 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 = -11; // Container child vbox2.Gtk.Box+BoxChild this.resbox = new global::Gtk.Entry(); this.resbox.HeightRequest = 80; this.resbox.Sensitive = false; this.resbox.CanFocus = true; this.resbox.Name = "resbox"; this.resbox.IsEditable = false; this.resbox.HasFrame = false; this.resbox.InvisibleChar = '•'; this.vbox2.Add(this.resbox); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.resbox])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.numbox = new global::Gtk.Entry(); this.numbox.HeightRequest = 73; this.numbox.CanFocus = true; this.numbox.Name = "numbox"; this.numbox.IsEditable = false; this.numbox.MaxLength = 9; this.numbox.InvisibleChar = '•'; this.vbox2.Add(this.numbox); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.numbox])); w2.Position = 1; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(5)), false); this.table1.HeightRequest = 229; this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(1)); this.table1.ColumnSpacing = ((uint)(1)); // Container child table1.Gtk.Table+TableChild this.btn_1 = new global::Gtk.Button(); this.btn_1.CanFocus = true; this.btn_1.Name = "btn_1"; this.btn_1.UseUnderline = true; this.btn_1.FocusOnClick = false; this.btn_1.Label = global::Mono.Unix.Catalog.GetString("1"); this.table1.Add(this.btn_1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.btn_1])); w3.TopAttach = ((uint)(2)); w3.BottomAttach = ((uint)(3)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.btn_2 = new global::Gtk.Button(); this.btn_2.CanFocus = true; this.btn_2.Name = "btn_2"; this.btn_2.UseUnderline = true; this.btn_2.FocusOnClick = false; this.btn_2.Label = global::Mono.Unix.Catalog.GetString("2"); this.table1.Add(this.btn_2); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.btn_2])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.btn_3 = new global::Gtk.Button(); this.btn_3.CanFocus = true; this.btn_3.Name = "btn_3"; this.btn_3.UseUnderline = true; this.btn_3.FocusOnClick = false; this.btn_3.Label = global::Mono.Unix.Catalog.GetString("3"); this.table1.Add(this.btn_3); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.btn_3])); w5.TopAttach = ((uint)(2)); w5.BottomAttach = ((uint)(3)); w5.LeftAttach = ((uint)(2)); w5.RightAttach = ((uint)(3)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.btn_4 = new global::Gtk.Button(); this.btn_4.CanFocus = true; this.btn_4.Name = "btn_4"; this.btn_4.UseUnderline = true; this.btn_4.FocusOnClick = false; this.btn_4.Label = global::Mono.Unix.Catalog.GetString("4"); this.table1.Add(this.btn_4); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.btn_4])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.btn_5 = new global::Gtk.Button(); this.btn_5.CanFocus = true; this.btn_5.Name = "btn_5"; this.btn_5.UseUnderline = true; this.btn_5.FocusOnClick = false; this.btn_5.Label = global::Mono.Unix.Catalog.GetString("5"); this.table1.Add(this.btn_5); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1[this.btn_5])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.LeftAttach = ((uint)(1)); w7.RightAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.btn_6 = new global::Gtk.Button(); this.btn_6.CanFocus = true; this.btn_6.Name = "btn_6"; this.btn_6.UseUnderline = true; this.btn_6.FocusOnClick = false; this.btn_6.Label = global::Mono.Unix.Catalog.GetString("6"); this.table1.Add(this.btn_6); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1[this.btn_6])); w8.TopAttach = ((uint)(1)); w8.BottomAttach = ((uint)(2)); w8.LeftAttach = ((uint)(2)); w8.RightAttach = ((uint)(3)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.btn_7 = new global::Gtk.Button(); this.btn_7.CanDefault = true; this.btn_7.CanFocus = true; this.btn_7.Name = "btn_7"; this.btn_7.UseUnderline = true; this.btn_7.FocusOnClick = false; this.btn_7.Label = global::Mono.Unix.Catalog.GetString("7"); this.table1.Add(this.btn_7); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1[this.btn_7])); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.btn_8 = new global::Gtk.Button(); this.btn_8.CanFocus = true; this.btn_8.Name = "btn_8"; this.btn_8.UseUnderline = true; this.btn_8.FocusOnClick = false; this.btn_8.Label = global::Mono.Unix.Catalog.GetString("8"); this.table1.Add(this.btn_8); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1[this.btn_8])); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); // Container child table1.Gtk.Table+TableChild this.btn_9 = new global::Gtk.Button(); this.btn_9.CanFocus = true; this.btn_9.Name = "btn_9"; this.btn_9.UseUnderline = true; this.btn_9.FocusOnClick = false; this.btn_9.Label = global::Mono.Unix.Catalog.GetString("9"); this.table1.Add(this.btn_9); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1[this.btn_9])); w11.LeftAttach = ((uint)(2)); w11.RightAttach = ((uint)(3)); // Container child table1.Gtk.Table+TableChild this.btn_zero = new global::Gtk.Button(); this.btn_zero.CanFocus = true; this.btn_zero.Name = "btn_zero"; this.btn_zero.UseUnderline = true; this.btn_zero.FocusOnClick = false; this.btn_zero.Label = global::Mono.Unix.Catalog.GetString("0"); this.table1.Add(this.btn_zero); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1[this.btn_zero])); w12.TopAttach = ((uint)(3)); w12.BottomAttach = ((uint)(4)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.clean = new global::Gtk.Button(); this.clean.CanFocus = true; this.clean.Name = "clean"; this.clean.UseUnderline = true; this.clean.FocusOnClick = false; this.clean.Label = global::Mono.Unix.Catalog.GetString("C"); this.table1.Add(this.clean); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1[this.clean])); w13.LeftAttach = ((uint)(4)); w13.RightAttach = ((uint)(5)); // Container child table1.Gtk.Table+TableChild this.comma = new global::Gtk.Button(); this.comma.CanFocus = true; this.comma.Name = "comma"; this.comma.UseUnderline = true; this.comma.FocusOnClick = false; this.comma.Label = global::Mono.Unix.Catalog.GetString(","); this.table1.Add(this.comma); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1[this.comma])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.div = new global::Gtk.Button(); this.div.CanFocus = true; this.div.Name = "div"; this.div.UseUnderline = true; this.div.FocusOnClick = false; this.div.Label = global::Mono.Unix.Catalog.GetString("/"); this.table1.Add(this.div); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table1[this.div])); w15.LeftAttach = ((uint)(3)); w15.RightAttach = ((uint)(4)); // Container child table1.Gtk.Table+TableChild this.equal = new global::Gtk.Button(); this.equal.CanFocus = true; this.equal.Name = "equal"; this.equal.UseUnderline = true; this.equal.FocusOnClick = false; this.equal.Label = global::Mono.Unix.Catalog.GetString("="); this.table1.Add(this.equal); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1[this.equal])); w16.TopAttach = ((uint)(3)); w16.BottomAttach = ((uint)(4)); w16.LeftAttach = ((uint)(4)); w16.RightAttach = ((uint)(5)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.exp = new global::Gtk.Button(); this.exp.CanFocus = true; this.exp.Name = "exp"; this.exp.UseUnderline = true; this.exp.FocusOnClick = false; this.exp.Label = global::Mono.Unix.Catalog.GetString("x²"); this.table1.Add(this.exp); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table1[this.exp])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(4)); w17.RightAttach = ((uint)(5)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.minus = new global::Gtk.Button(); this.minus.CanFocus = true; this.minus.Name = "minus"; this.minus.UseUnderline = true; this.minus.FocusOnClick = false; this.minus.Label = global::Mono.Unix.Catalog.GetString("-"); this.table1.Add(this.minus); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table1[this.minus])); w18.TopAttach = ((uint)(2)); w18.BottomAttach = ((uint)(3)); w18.LeftAttach = ((uint)(3)); w18.RightAttach = ((uint)(4)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.mult = new global::Gtk.Button(); this.mult.CanFocus = true; this.mult.Name = "mult"; this.mult.UseUnderline = true; this.mult.FocusOnClick = false; this.mult.Label = global::Mono.Unix.Catalog.GetString("*"); this.table1.Add(this.mult); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table1[this.mult])); w19.TopAttach = ((uint)(1)); w19.BottomAttach = ((uint)(2)); w19.LeftAttach = ((uint)(3)); w19.RightAttach = ((uint)(4)); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.percentage = new global::Gtk.Button(); this.percentage.CanFocus = true; this.percentage.Name = "percentage"; this.percentage.UseUnderline = true; this.percentage.FocusOnClick = false; this.percentage.Label = global::Mono.Unix.Catalog.GetString("%"); this.table1.Add(this.percentage); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table1[this.percentage])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.LeftAttach = ((uint)(2)); w20.RightAttach = ((uint)(3)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.root = new global::Gtk.Button(); this.root.CanFocus = true; this.root.Name = "root"; this.root.UseUnderline = true; this.root.FocusOnClick = false; this.root.Label = global::Mono.Unix.Catalog.GetString("raiz"); this.table1.Add(this.root); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table1[this.root])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.LeftAttach = ((uint)(4)); w21.RightAttach = ((uint)(5)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.sum = new global::Gtk.Button(); this.sum.CanFocus = true; this.sum.Name = "sum"; this.sum.UseUnderline = true; this.sum.FocusOnClick = false; this.sum.Label = global::Mono.Unix.Catalog.GetString("+"); this.table1.Add(this.sum); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table1[this.sum])); w22.TopAttach = ((uint)(3)); w22.BottomAttach = ((uint)(4)); w22.LeftAttach = ((uint)(3)); w22.RightAttach = ((uint)(4)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w23.Position = 2; w23.Expand = false; w23.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 289; this.DefaultHeight = 384; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.numbox.KeyPressEvent += new global::Gtk.KeyPressEventHandler(this.OnNumboxKeyPressEvent); this.sum.Clicked += new global::System.EventHandler(this.OnSumClicked); this.root.Clicked += new global::System.EventHandler(this.OnRootClicked); this.percentage.Clicked += new global::System.EventHandler(this.OnPercentageClicked); this.mult.Clicked += new global::System.EventHandler(this.OnMultClicked); this.minus.Clicked += new global::System.EventHandler(this.OnMinusClicked); this.exp.Clicked += new global::System.EventHandler(this.OnExpClicked); this.equal.Clicked += new global::System.EventHandler(this.OnEqualClicked); this.div.Clicked += new global::System.EventHandler(this.OnDivClicked); this.comma.Clicked += new global::System.EventHandler(this.OnCommaClicked); this.clean.Clicked += new global::System.EventHandler(this.OnCleanClicked); this.btn_zero.Clicked += new global::System.EventHandler(this.OnBtnZeroClicked); this.btn_9.Clicked += new global::System.EventHandler(this.OnBtn9Clicked); this.btn_8.Clicked += new global::System.EventHandler(this.OnBtn8Clicked); this.btn_7.Clicked += new global::System.EventHandler(this.OnBtn7Clicked); this.btn_6.Clicked += new global::System.EventHandler(this.OnBtn6Clicked); this.btn_5.Clicked += new global::System.EventHandler(this.OnBtn5Clicked); this.btn_4.Clicked += new global::System.EventHandler(this.OnBtn4Clicked); this.btn_3.Clicked += new global::System.EventHandler(this.OnBtn3Clicked); this.btn_2.Clicked += new global::System.EventHandler(this.OnBtn2Clicked); this.btn_1.Clicked += new global::System.EventHandler(this.OnBtn1Clicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("ISBN Check"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child MainWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.CanFocus = true; this.vbox2.Name = "vbox2"; this.vbox2.Homogeneous = true; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.fixed5 = new global::Gtk.Fixed(); this.fixed5.Name = "fixed5"; this.fixed5.HasWindow = false; this.hbox1.Add(this.fixed5); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.fixed5])); w1.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.eventbox1 = new global::Gtk.EventBox(); this.eventbox1.Name = "eventbox1"; // Container child eventbox1.Gtk.Container+ContainerChild this.IsbnEntry = new global::Gtk.Entry(); this.IsbnEntry.CanFocus = true; this.IsbnEntry.Name = "IsbnEntry"; this.IsbnEntry.IsEditable = true; this.IsbnEntry.WidthChars = 13; this.IsbnEntry.MaxLength = 13; this.IsbnEntry.InvisibleChar = '•'; this.eventbox1.Add(this.IsbnEntry); this.hbox1.Add(this.eventbox1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.eventbox1])); w3.Position = 1; // Container child hbox1.Gtk.Box+BoxChild this.IsbnButton = new global::Gtk.ToggleButton(); this.IsbnButton.CanFocus = true; this.IsbnButton.Name = "IsbnButton"; this.IsbnButton.UseUnderline = true; this.IsbnButton.Label = global::Mono.Unix.Catalog.GetString("Check"); this.hbox1.Add(this.IsbnButton); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.IsbnButton])); w4.Position = 2; w4.Expand = false; w4.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.fixed6 = new global::Gtk.Fixed(); this.fixed6.Name = "fixed6"; this.fixed6.HasWindow = false; this.hbox1.Add(this.fixed6); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.fixed6])); w5.Position = 3; this.vbox2.Add(this.hbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbox1])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.Isbn_Text_Block = new global::Gtk.Label(); this.Isbn_Text_Block.Name = "Isbn_Text_Block"; this.Isbn_Text_Block.Ypad = 40; this.Isbn_Text_Block.LabelProp = global::Mono.Unix.Catalog.GetString("Enter ISBN"); this.Isbn_Text_Block.Justify = ((global::Gtk.Justification)(2)); this.vbox2.Add(this.Isbn_Text_Block); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.Isbn_Text_Block])); w7.Position = 1; w7.Expand = false; w7.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 398; this.DefaultHeight = 352; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.IsbnEntry.Activated += new global::System.EventHandler(this.OnIsbnButtonClicked); this.IsbnButton.Clicked += new global::System.EventHandler(this.OnIsbnButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget Client.FrmLogin this.WidthRequest = 250; this.Name = "Client.FrmLogin"; this.Title = global::Mono.Unix.Catalog.GetString("Login"); this.WindowPosition = ((global::Gtk.WindowPosition)(1)); this.Resizable = false; // Container child Client.FrmLogin.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.FrForm = new global::Gtk.Frame(); this.FrForm.Name = "FrForm"; this.FrForm.ShadowType = ((global::Gtk.ShadowType)(2)); this.FrForm.BorderWidth = ((uint)(10)); // Container child FrForm.Gtk.Container+ContainerChild this.GtkAlignment = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment.Name = "GtkAlignment"; this.GtkAlignment.LeftPadding = ((uint)(12)); this.GtkAlignment.TopPadding = ((uint)(12)); this.GtkAlignment.RightPadding = ((uint)(12)); this.GtkAlignment.BottomPadding = ((uint)(12)); // Container child GtkAlignment.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Usuário:"); this.vbox2.Add(this.label1); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label1])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.txtUserName = new global::Gtk.Entry(); this.txtUserName.CanFocus = true; this.txtUserName.Name = "txtUserName"; this.txtUserName.IsEditable = true; this.txtUserName.InvisibleChar = '•'; this.vbox2.Add(this.txtUserName); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.txtUserName])); w2.Position = 1; w2.Expand = false; w2.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Senha:"); this.vbox2.Add(this.label2); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.label2])); w3.Position = 2; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.txtPassword = new global::Gtk.Entry(); this.txtPassword.CanFocus = true; this.txtPassword.Name = "txtPassword"; this.txtPassword.IsEditable = true; this.txtPassword.Visibility = false; this.txtPassword.InvisibleChar = '•'; this.vbox2.Add(this.txtPassword); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.txtPassword])); w4.Position = 3; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btSignIn = new global::Gtk.Button(); this.btSignIn.CanDefault = true; this.btSignIn.CanFocus = true; this.btSignIn.Name = "btSignIn"; this.btSignIn.UseUnderline = true; this.btSignIn.Label = global::Mono.Unix.Catalog.GetString("Entrar"); this.vbox2.Add(this.btSignIn); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btSignIn])); w5.Position = 4; w5.Expand = false; w5.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btSignUp = new global::Gtk.Button(); this.btSignUp.CanFocus = true; this.btSignUp.Name = "btSignUp"; this.btSignUp.UseUnderline = true; this.btSignUp.Label = global::Mono.Unix.Catalog.GetString("Cadastrar-se"); this.vbox2.Add(this.btSignUp); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btSignUp])); w6.Position = 5; w6.Expand = false; w6.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.btQuit = new global::Gtk.Button(); this.btQuit.CanFocus = true; this.btQuit.Name = "btQuit"; this.btQuit.UseUnderline = true; this.btQuit.Label = global::Mono.Unix.Catalog.GetString("Sair"); this.vbox2.Add(this.btQuit); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.btQuit])); w7.Position = 6; w7.Expand = false; w7.Fill = false; this.GtkAlignment.Add(this.vbox2); this.FrForm.Add(this.GtkAlignment); this.GtkLabel3 = new global::Gtk.Label(); this.GtkLabel3.Name = "GtkLabel3"; this.GtkLabel3.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Login</b>"); this.GtkLabel3.UseMarkup = true; this.FrForm.LabelWidget = this.GtkLabel3; this.vbox1.Add(this.FrForm); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.FrForm])); w10.Position = 0; w10.Expand = false; w10.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar1])); w11.Position = 1; w11.Expand = false; w11.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 300; this.DefaultHeight = 301; this.Show(); this.txtUserName.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.OnTxtKeyReleaseEvent); this.txtPassword.KeyReleaseEvent += new global::Gtk.KeyReleaseEventHandler(this.OnTxtKeyReleaseEvent); this.btSignIn.Clicked += new global::System.EventHandler(this.OnBtSignInClicked); this.btSignUp.Clicked += new global::System.EventHandler(this.OnBtSignUpClicked); this.btQuit.Clicked += new global::System.EventHandler(this.OnBtQuitClicked); }
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.quitAction = new global::Gtk.Action("quitAction", null, null, "gtk-quit"); w1.Add(this.quitAction, 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.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='quitAction' action='quitAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add(this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.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.textview1 = new global::Gtk.TextView(); this.textview1.CanFocus = true; this.textview1.Name = "textview1"; this.GtkScrolledWindow.Add(this.textview1); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.GtkScrolledWindow])); w4.Position = 1; // Container child vbox1.Gtk.Box+BoxChild this.entry1 = new global::Gtk.Entry(); this.entry1.CanFocus = true; this.entry1.Name = "entry1"; this.entry1.IsEditable = true; this.entry1.InvisibleChar = '•'; this.vbox1.Add(this.entry1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.entry1])); w5.Position = 2; w5.Expand = false; w5.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.statusbar1 = new global::Gtk.Statusbar(); this.statusbar1.Name = "statusbar1"; this.statusbar1.Spacing = 6; this.vbox1.Add(this.statusbar1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.statusbar1])); w6.Position = 3; w6.Expand = false; w6.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget PCategoria.CategoriaView this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save"); w1.Add(this.saveAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "PCategoria.CategoriaView"; this.Title = global::Mono.Unix.Catalog.GetString("CategoriaView"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child PCategoria.CategoriaView.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString("<ui><toolbar name='toolbar1'><toolitem name='saveAction' action='saveAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add(this.toolbar1); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.toolbar1])); w2.Position = 0; w2.Expand = false; w2.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.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre"); this.hbox1.Add(this.label1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.label1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child hbox1.Gtk.Box+BoxChild this.entryNombre = new global::Gtk.Entry(); this.entryNombre.CanFocus = true; this.entryNombre.Name = "entryNombre"; this.entryNombre.IsEditable = true; this.entryNombre.InvisibleChar = '•'; this.hbox1.Add(this.entryNombre); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.entryNombre])); w4.Position = 1; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.hbox1])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); this.saveAction.Activated += new global::System.EventHandler(this.OnSaveActionActivated); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.TypeHint = ((global::Gdk.WindowTypeHint)(2)); 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.btnSumar = new global::Gtk.Button(); this.btnSumar.CanFocus = true; this.btnSumar.Name = "btnSumar"; this.btnSumar.UseUnderline = true; this.btnSumar.Label = global::Mono.Unix.Catalog.GetString("SUMAR"); this.fixed1.Add(this.btnSumar); global::Gtk.Fixed.FixedChild w1 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btnSumar])); w1.X = 30; w1.Y = 210; // Container child fixed1.Gtk.Fixed+FixedChild this.btnRestar = new global::Gtk.Button(); this.btnRestar.CanFocus = true; this.btnRestar.Name = "btnRestar"; this.btnRestar.UseUnderline = true; this.btnRestar.Label = global::Mono.Unix.Catalog.GetString("RESTAR"); this.fixed1.Add(this.btnRestar); global::Gtk.Fixed.FixedChild w2 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btnRestar])); w2.X = 104; w2.Y = 211; // Container child fixed1.Gtk.Fixed+FixedChild this.btnMultiplicar = new global::Gtk.Button(); this.btnMultiplicar.CanFocus = true; this.btnMultiplicar.Name = "btnMultiplicar"; this.btnMultiplicar.UseUnderline = true; this.btnMultiplicar.Label = global::Mono.Unix.Catalog.GetString("MULTIPLICAR"); this.fixed1.Add(this.btnMultiplicar); global::Gtk.Fixed.FixedChild w3 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btnMultiplicar])); w3.X = 179; w3.Y = 211; // Container child fixed1.Gtk.Fixed+FixedChild this.btnDividir = new global::Gtk.Button(); this.btnDividir.CanFocus = true; this.btnDividir.Name = "btnDividir"; this.btnDividir.UseUnderline = true; this.btnDividir.Label = global::Mono.Unix.Catalog.GetString("DIVIDIR"); this.fixed1.Add(this.btnDividir); global::Gtk.Fixed.FixedChild w4 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btnDividir])); w4.X = 290; w4.Y = 211; // Container child fixed1.Gtk.Fixed+FixedChild this.lblNumero1 = new global::Gtk.Label(); this.lblNumero1.Name = "lblNumero1"; this.lblNumero1.LabelProp = global::Mono.Unix.Catalog.GetString("Numero 1"); this.fixed1.Add(this.lblNumero1); global::Gtk.Fixed.FixedChild w5 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblNumero1])); w5.X = 27; w5.Y = 34; // Container child fixed1.Gtk.Fixed+FixedChild this.lblNumero2 = new global::Gtk.Label(); this.lblNumero2.Name = "lblNumero2"; this.lblNumero2.LabelProp = global::Mono.Unix.Catalog.GetString("Numero 2"); this.fixed1.Add(this.lblNumero2); global::Gtk.Fixed.FixedChild w6 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblNumero2])); w6.X = 21; w6.Y = 83; // Container child fixed1.Gtk.Fixed+FixedChild this.lblNumero3 = new global::Gtk.Label(); this.lblNumero3.Name = "lblNumero3"; this.lblNumero3.LabelProp = global::Mono.Unix.Catalog.GetString("Resultado"); this.fixed1.Add(this.lblNumero3); global::Gtk.Fixed.FixedChild w7 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.lblNumero3])); w7.X = 21; w7.Y = 124; // 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 w8 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.resultado])); w8.X = 131; w8.Y = 125; // Container child fixed1.Gtk.Fixed+FixedChild this.numero1 = new global::Gtk.Entry(); this.numero1.CanFocus = true; this.numero1.Name = "numero1"; this.numero1.IsEditable = true; this.numero1.InvisibleChar = '●'; this.fixed1.Add(this.numero1); global::Gtk.Fixed.FixedChild w9 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.numero1])); w9.X = 132; w9.Y = 29; // Container child fixed1.Gtk.Fixed+FixedChild this.numero2 = new global::Gtk.Entry(); this.numero2.CanFocus = true; this.numero2.Name = "numero2"; this.numero2.IsEditable = true; this.numero2.InvisibleChar = '●'; this.fixed1.Add(this.numero2); global::Gtk.Fixed.FixedChild w10 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.numero2])); w10.X = 131; w10.Y = 76; // Container child fixed1.Gtk.Fixed+FixedChild this.btnLimpiar = new global::Gtk.Button(); this.btnLimpiar.CanFocus = true; this.btnLimpiar.Name = "btnLimpiar"; this.btnLimpiar.UseUnderline = true; this.btnLimpiar.Label = global::Mono.Unix.Catalog.GetString("Limpiar"); this.fixed1.Add(this.btnLimpiar); global::Gtk.Fixed.FixedChild w11 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.btnLimpiar])); w11.X = 305; w11.Y = 30; // Container child fixed1.Gtk.Fixed+FixedChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Programado por : JOEL VALDIVIA"); this.fixed1.Add(this.label4); global::Gtk.Fixed.FixedChild w12 = ((global::Gtk.Fixed.FixedChild)(this.fixed1 [this.label4])); w12.X = 119; w12.Y = 4; this.Add(this.fixed1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 424; this.DefaultHeight = 300; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.btnSumar.Clicked += new global::System.EventHandler(this.OnBtnSumarClicked); this.btnRestar.Clicked += new global::System.EventHandler(this.OnBtnRestarClicked); this.btnMultiplicar.Clicked += new global::System.EventHandler(this.OnBtnMultiplicarClicked); this.btnDividir.Clicked += new global::System.EventHandler(this.OnBtnDividirClicked); this.btnLimpiar.Clicked += new global::System.EventHandler(this.OnBtnLimpiarClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget CatalogueWindow this.UIManager = new global::Gtk.UIManager(); global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup("Default"); this.openAction = new global::Gtk.Action("openAction", null, null, "gtk-open"); w1.Add(this.openAction, "<Control><Mod2>o"); this.saveAction = new global::Gtk.Action("saveAction", null, null, "gtk-save"); w1.Add(this.saveAction, null); this.addAction = new global::Gtk.Action("addAction", null, null, "gtk-add"); w1.Add(this.addAction, null); this.removeAction = new global::Gtk.Action("removeAction", null, null, "gtk-remove"); w1.Add(this.removeAction, null); this.aboutAction = new global::Gtk.Action("aboutAction", null, null, "gtk-about"); w1.Add(this.aboutAction, null); this.saveAsAction = new global::Gtk.Action("saveAsAction", null, null, "gtk-save-as"); w1.Add(this.saveAsAction, null); this.disconnectAction = new global::Gtk.Action("disconnectAction", null, null, "gtk-disconnect"); w1.Add(this.disconnectAction, null); this.convertAction = new global::Gtk.Action("convertAction", null, null, "gtk-convert"); w1.Add(this.convertAction, null); this.newAction = new global::Gtk.Action("newAction", null, null, "gtk-new"); w1.Add(this.newAction, null); this.preferencesAction = new global::Gtk.Action("preferencesAction", null, null, "gtk-preferences"); w1.Add(this.preferencesAction, null); 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.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.EditAction = new global::Gtk.Action("EditAction", global::Mono.Unix.Catalog.GetString("Edit"), null, null); this.EditAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Edit"); w1.Add(this.EditAction, null); this.AddAction = new global::Gtk.Action("AddAction", global::Mono.Unix.Catalog.GetString("Add"), null, null); this.AddAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Add"); w1.Add(this.AddAction, "<Control>a"); this.RemoveAction = new global::Gtk.Action("RemoveAction", global::Mono.Unix.Catalog.GetString("Remove"), null, null); this.RemoveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Remove"); w1.Add(this.RemoveAction, "<Control>d"); 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, "<Control>h"); this.SaveAction = new global::Gtk.Action("SaveAction", global::Mono.Unix.Catalog.GetString("Save"), null, null); this.SaveAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Save"); w1.Add(this.SaveAction, "<Control>s"); this.OpenAction = new global::Gtk.Action("OpenAction", global::Mono.Unix.Catalog.GetString("Open"), null, null); this.OpenAction.ShortLabel = global::Mono.Unix.Catalog.GetString("Open"); w1.Add(this.OpenAction, "<Control>o"); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "CatalogueWindow"; this.Title = global::Mono.Unix.Catalog.GetString("Catalogue"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child CatalogueWindow.Gtk.Container+ContainerChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='menubar'><menu name='FileAction' action='FileAction'><menuitem name='SaveAction' action='SaveAction'/><menuitem name='OpenAction' action='OpenAction'/><menuitem name='ExitAction' action='ExitAction'/></menu><menu name='EditAction' action='EditAction'><menuitem name='AddAction' action='AddAction'/><menuitem name='RemoveAction' action='RemoveAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/></menu></menubar></ui>"); this.menubar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/menubar"))); this.menubar.Name = "menubar"; this.vbox1.Add(this.menubar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.menubar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><toolbar name='toolbar1'><toolitem name='newAction' action='newAction'/><toolitem name='openAction' action='openAction'/><toolitem name='saveAction' action='saveAction'/><toolitem name='saveAsAction' action='saveAsAction'/><toolitem name='addAction' action='addAction'/><toolitem name='removeAction' action='removeAction'/><toolitem name='convertAction' action='convertAction'/><separator/><toolitem name='preferencesAction' action='preferencesAction'/><toolitem name='aboutAction' action='aboutAction'/></toolbar></ui>"); this.toolbar1 = ((global::Gtk.Toolbar)(this.UIManager.GetWidget("/toolbar1"))); this.toolbar1.Name = "toolbar1"; this.toolbar1.ShowArrow = false; this.vbox1.Add(this.toolbar1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.toolbar1])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; this.hbox1.BorderWidth = ((uint)(4)); // Container child hbox1.Gtk.Box+BoxChild this.entry3 = new global::Gtk.Entry(); this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '•'; this.hbox1.Add(this.entry3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.entry3])); w4.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.SearchButton = new global::Gtk.Button(); this.SearchButton.CanFocus = true; this.SearchButton.Name = "SearchButton"; this.SearchButton.UseUnderline = true; // Container child SearchButton.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-find", 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("_Find"); w9.UseUnderline = true; w6.Add(w9); w5.Add(w6); this.SearchButton.Add(w5); this.hbox1.Add(this.SearchButton); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox1[this.SearchButton])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.vbox1.Add(this.hbox1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.hbox1])); w14.Position = 2; w14.Expand = false; w14.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)); this.GtkScrolledWindow.WindowPlacement = ((global::Gtk.CornerType)(3)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.mainTreeView = new global::Gtk.TreeView(); this.mainTreeView.CanFocus = true; this.mainTreeView.Name = "mainTreeView"; this.mainTreeView.RulesHint = true; this.mainTreeView.SearchColumn = 1; this.GtkScrolledWindow.Add(this.mainTreeView); this.vbox1.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.GtkScrolledWindow])); w16.Position = 3; // Container child vbox1.Gtk.Box+BoxChild this.statusbar = new global::Gtk.Statusbar(); this.statusbar.Name = "statusbar"; this.statusbar.Spacing = 6; this.vbox1.Add(this.statusbar); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox1[this.statusbar])); w17.Position = 4; w17.Expand = false; w17.Fill = false; this.Add(this.vbox1); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 648; this.DefaultHeight = 501; this.menubar.Hide(); this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.openAction.Activated += new global::System.EventHandler(this.OpenFileButton); this.saveAction.Activated += new global::System.EventHandler(this.SaveFileButton); this.addAction.Activated += new global::System.EventHandler(this.AddLineButton); this.removeAction.Activated += new global::System.EventHandler(this.DeleteLineButton); this.aboutAction.Activated += new global::System.EventHandler(this.AboutButton); this.saveAsAction.Activated += new global::System.EventHandler(this.SaveFileButton); this.convertAction.Activated += new global::System.EventHandler(this.ExportAction); this.newAction.Activated += new global::System.EventHandler(this.NewActivate); this.preferencesAction.Activated += new global::System.EventHandler(this.PreferencesActivated); this.ExitAction.Activated += new global::System.EventHandler(this.ExitActivate); this.AddAction.Activated += new global::System.EventHandler(this.AddLineButton); this.RemoveAction.Activated += new global::System.EventHandler(this.DeleteLineButton); this.AboutAction.Activated += new global::System.EventHandler(this.AboutButton); this.SaveAction.Activated += new global::System.EventHandler(this.SaveFileButton); this.OpenAction.Activated += new global::System.EventHandler(this.OpenFileButton); this.SearchButton.Activated += new global::System.EventHandler(this.FindButtonActivate); this.SearchButton.Clicked += new global::System.EventHandler(this.FindButtonActivate); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MainWindow this.WidthRequest = 350; this.HeightRequest = 500; this.Name = "MainWindow"; this.Title = global::Mono.Unix.Catalog.GetString("MainWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.AllowShrink = true; // Container child MainWindow.Gtk.Container+ContainerChild this.vbox13 = new global::Gtk.VBox(); this.vbox13.Name = "vbox13"; this.vbox13.Spacing = 6; // Container child vbox13.Gtk.Box+BoxChild this.entry3 = new global::Gtk.Entry(); this.entry3.HeightRequest = 100; this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '●'; this.vbox13.Add(this.entry3); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.entry3])); w1.Position = 0; w1.Fill = false; // Container child vbox13.Gtk.Box+BoxChild this.hbox39 = new global::Gtk.HBox(); this.hbox39.WidthRequest = 300; this.hbox39.HeightRequest = 400; this.hbox39.Name = "hbox39"; this.hbox39.Spacing = 6; // Container child hbox39.Gtk.Box+BoxChild this.vbox14 = new global::Gtk.VBox(); this.vbox14.WidthRequest = 50; this.vbox14.HeightRequest = 70; this.vbox14.Name = "vbox14"; this.vbox14.Spacing = 6; // Container child vbox14.Gtk.Box+BoxChild this.button53 = new global::Gtk.Button(); this.button53.HeightRequest = 65; this.button53.CanFocus = true; this.button53.Name = "button53"; this.button53.UseUnderline = true; this.button53.Label = global::Mono.Unix.Catalog.GetString("C"); this.vbox14.Add(this.button53); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.button53])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child vbox14.Gtk.Box+BoxChild this.button61 = new global::Gtk.Button(); this.button61.HeightRequest = 65; this.button61.CanFocus = true; this.button61.Name = "button61"; this.button61.UseUnderline = true; this.button61.Label = global::Mono.Unix.Catalog.GetString("7"); this.vbox14.Add(this.button61); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.button61])); w3.Position = 1; w3.Expand = false; w3.Fill = false; // Container child vbox14.Gtk.Box+BoxChild this.vbox22 = new global::Gtk.VBox(); this.vbox22.Name = "vbox22"; this.vbox22.Spacing = 6; // Container child vbox22.Gtk.Box+BoxChild this.button65 = new global::Gtk.Button(); this.button65.HeightRequest = 65; this.button65.CanFocus = true; this.button65.Name = "button65"; this.button65.UseUnderline = true; this.button65.Label = global::Mono.Unix.Catalog.GetString("4"); this.vbox22.Add(this.button65); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.button65])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox22.Gtk.Box+BoxChild this.button69 = new global::Gtk.Button(); this.button69.HeightRequest = 65; this.button69.CanFocus = true; this.button69.Name = "button69"; this.button69.UseUnderline = true; this.button69.Label = global::Mono.Unix.Catalog.GetString("1"); this.vbox22.Add(this.button69); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.button69])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox22.Gtk.Box+BoxChild this.button73 = new global::Gtk.Button(); this.button73.HeightRequest = 65; this.button73.CanFocus = true; this.button73.Name = "button73"; this.button73.UseUnderline = true; this.button73.Label = global::Mono.Unix.Catalog.GetString("radq"); this.vbox22.Add(this.button73); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox22[this.button73])); w6.Position = 2; w6.Expand = false; w6.Fill = false; this.vbox14.Add(this.vbox22); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.vbox22])); w7.Position = 2; w7.Expand = false; w7.Fill = false; this.hbox39.Add(this.vbox14); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.vbox14])); w8.Position = 0; w8.Expand = false; w8.Fill = false; // Container child hbox39.Gtk.Box+BoxChild this.hbox41 = new global::Gtk.HBox(); this.hbox41.Name = "hbox41"; this.hbox41.Spacing = 6; // Container child hbox41.Gtk.Box+BoxChild this.vbox16 = new global::Gtk.VBox(); this.vbox16.WidthRequest = 50; this.vbox16.HeightRequest = 0; this.vbox16.Name = "vbox16"; this.vbox16.Spacing = 6; // Container child vbox16.Gtk.Box+BoxChild this.button55 = new global::Gtk.Button(); this.button55.WidthRequest = 30; this.button55.HeightRequest = 65; this.button55.CanFocus = true; this.button55.Name = "button55"; this.button55.UseUnderline = true; this.button55.Label = global::Mono.Unix.Catalog.GetString("+/-"); this.vbox16.Add(this.button55); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox16[this.button55])); w9.Position = 0; w9.Expand = false; w9.Fill = false; // Container child vbox16.Gtk.Box+BoxChild this.button62 = new global::Gtk.Button(); this.button62.HeightRequest = 65; this.button62.CanFocus = true; this.button62.Name = "button62"; this.button62.UseUnderline = true; this.button62.Label = global::Mono.Unix.Catalog.GetString("8"); this.vbox16.Add(this.button62); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox16[this.button62])); w10.Position = 1; w10.Expand = false; w10.Fill = false; // Container child vbox16.Gtk.Box+BoxChild this.vbox24 = new global::Gtk.VBox(); this.vbox24.Name = "vbox24"; this.vbox24.Spacing = 6; // Container child vbox24.Gtk.Box+BoxChild this.button66 = new global::Gtk.Button(); this.button66.HeightRequest = 65; this.button66.CanFocus = true; this.button66.Name = "button66"; this.button66.UseUnderline = true; this.button66.Label = global::Mono.Unix.Catalog.GetString("5"); this.vbox24.Add(this.button66); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox24[this.button66])); w11.Position = 0; w11.Expand = false; w11.Fill = false; // Container child vbox24.Gtk.Box+BoxChild this.button70 = new global::Gtk.Button(); this.button70.HeightRequest = 65; this.button70.CanFocus = true; this.button70.Name = "button70"; this.button70.UseUnderline = true; this.button70.Label = global::Mono.Unix.Catalog.GetString("2"); this.vbox24.Add(this.button70); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox24[this.button70])); w12.Position = 1; w12.Expand = false; w12.Fill = false; // Container child vbox24.Gtk.Box+BoxChild this.button74 = new global::Gtk.Button(); this.button74.HeightRequest = 65; this.button74.CanFocus = true; this.button74.Name = "button74"; this.button74.UseUnderline = true; this.button74.Label = global::Mono.Unix.Catalog.GetString("0"); this.vbox24.Add(this.button74); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox24[this.button74])); w13.Position = 2; w13.Expand = false; w13.Fill = false; this.vbox16.Add(this.vbox24); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox16[this.vbox24])); w14.Position = 2; w14.Expand = false; w14.Fill = false; this.hbox41.Add(this.vbox16); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox41[this.vbox16])); w15.Position = 0; w15.Expand = false; w15.Fill = false; // Container child hbox41.Gtk.Box+BoxChild this.vbox18 = new global::Gtk.VBox(); this.vbox18.WidthRequest = 50; this.vbox18.Name = "vbox18"; this.vbox18.Spacing = 6; // Container child vbox18.Gtk.Box+BoxChild this.button57 = new global::Gtk.Button(); this.button57.WidthRequest = 50; this.button57.HeightRequest = 65; this.button57.CanFocus = true; this.button57.Name = "button57"; this.button57.UseUnderline = true; this.button57.Label = global::Mono.Unix.Catalog.GetString("%"); this.vbox18.Add(this.button57); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox18[this.button57])); w16.Position = 0; w16.Expand = false; w16.Fill = false; // Container child vbox18.Gtk.Box+BoxChild this.button63 = new global::Gtk.Button(); this.button63.HeightRequest = 65; this.button63.CanFocus = true; this.button63.Name = "button63"; this.button63.UseUnderline = true; this.button63.Label = global::Mono.Unix.Catalog.GetString("9"); this.vbox18.Add(this.button63); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox18[this.button63])); w17.Position = 1; w17.Expand = false; w17.Fill = false; // Container child vbox18.Gtk.Box+BoxChild this.vbox26 = new global::Gtk.VBox(); this.vbox26.Name = "vbox26"; this.vbox26.Spacing = 6; // Container child vbox26.Gtk.Box+BoxChild this.button67 = new global::Gtk.Button(); this.button67.HeightRequest = 65; this.button67.CanFocus = true; this.button67.Name = "button67"; this.button67.UseUnderline = true; this.button67.Label = global::Mono.Unix.Catalog.GetString("6"); this.vbox26.Add(this.button67); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.vbox26[this.button67])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Container child vbox26.Gtk.Box+BoxChild this.button71 = new global::Gtk.Button(); this.button71.HeightRequest = 65; this.button71.CanFocus = true; this.button71.Name = "button71"; this.button71.UseUnderline = true; this.button71.Label = global::Mono.Unix.Catalog.GetString("3"); this.vbox26.Add(this.button71); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox26[this.button71])); w19.Position = 1; w19.Expand = false; w19.Fill = false; // Container child vbox26.Gtk.Box+BoxChild this.button75 = new global::Gtk.Button(); this.button75.HeightRequest = 65; this.button75.CanFocus = true; this.button75.Name = "button75"; this.button75.UseUnderline = true; this.button75.Label = global::Mono.Unix.Catalog.GetString(","); this.vbox26.Add(this.button75); global::Gtk.Box.BoxChild w20 = ((global::Gtk.Box.BoxChild)(this.vbox26[this.button75])); w20.Position = 2; w20.Expand = false; w20.Fill = false; this.vbox18.Add(this.vbox26); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(this.vbox18[this.vbox26])); w21.Position = 2; w21.Expand = false; w21.Fill = false; this.hbox41.Add(this.vbox18); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.hbox41[this.vbox18])); w22.Position = 1; w22.Expand = false; w22.Fill = false; this.hbox39.Add(this.hbox41); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.hbox41])); w23.Position = 1; w23.Expand = false; w23.Fill = false; // Container child hbox39.Gtk.Box+BoxChild this.vbox20 = new global::Gtk.VBox(); this.vbox20.WidthRequest = 50; this.vbox20.Name = "vbox20"; this.vbox20.Spacing = 6; // Container child vbox20.Gtk.Box+BoxChild this.button59 = new global::Gtk.Button(); this.button59.HeightRequest = 65; this.button59.CanFocus = true; this.button59.Name = "button59"; this.button59.UseUnderline = true; this.button59.Label = global::Mono.Unix.Catalog.GetString("/"); this.vbox20.Add(this.button59); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox20[this.button59])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox20.Gtk.Box+BoxChild this.button64 = new global::Gtk.Button(); this.button64.HeightRequest = 65; this.button64.CanFocus = true; this.button64.Name = "button64"; this.button64.UseUnderline = true; this.button64.Label = global::Mono.Unix.Catalog.GetString("x"); this.vbox20.Add(this.button64); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox20[this.button64])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox20.Gtk.Box+BoxChild this.vbox28 = new global::Gtk.VBox(); this.vbox28.Name = "vbox28"; this.vbox28.Spacing = 6; // Container child vbox28.Gtk.Box+BoxChild this.button68 = new global::Gtk.Button(); this.button68.HeightRequest = 65; this.button68.CanFocus = true; this.button68.Name = "button68"; this.button68.UseUnderline = true; this.button68.Label = global::Mono.Unix.Catalog.GetString("-"); this.vbox28.Add(this.button68); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox28[this.button68])); w26.Position = 0; w26.Expand = false; w26.Fill = false; // Container child vbox28.Gtk.Box+BoxChild this.button72 = new global::Gtk.Button(); this.button72.HeightRequest = 65; this.button72.CanFocus = true; this.button72.Name = "button72"; this.button72.UseUnderline = true; this.button72.Label = global::Mono.Unix.Catalog.GetString("+"); this.vbox28.Add(this.button72); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox28[this.button72])); w27.Position = 1; w27.Expand = false; w27.Fill = false; // Container child vbox28.Gtk.Box+BoxChild this.button76 = new global::Gtk.Button(); this.button76.HeightRequest = 65; this.button76.CanFocus = true; this.button76.Name = "button76"; this.button76.UseUnderline = true; this.button76.Label = global::Mono.Unix.Catalog.GetString("="); this.vbox28.Add(this.button76); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox28[this.button76])); w28.Position = 2; w28.Expand = false; w28.Fill = false; this.vbox20.Add(this.vbox28); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.vbox20[this.vbox28])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.hbox39.Add(this.vbox20); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox39[this.vbox20])); w30.Position = 2; w30.Expand = false; w30.Fill = false; this.vbox13.Add(this.hbox39); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox13[this.hbox39])); w31.Position = 1; w31.Expand = false; w31.Fill = false; this.Add(this.vbox13); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 500; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget SSLMaker.Preferences this.Name = "SSLMaker.Preferences"; this.Title = ""; this.Icon = global::Gdk.Pixbuf.LoadFromResource("SSLMaker.images.padlockandkeys16x16.png"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; // Internal child SSLMaker.Preferences.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.Gtk.Box+BoxChild this.hbox12 = new global::Gtk.HBox(); this.hbox12.Name = "hbox12"; this.hbox12.Spacing = 6; // Container child hbox12.Gtk.Box+BoxChild this.image47 = new global::Gtk.Image(); this.image47.Name = "image47"; this.image47.Xpad = 6; this.image47.Ypad = 6; this.image47.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-preferences", global::Gtk.IconSize.Menu); this.hbox12.Add(this.image47); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.image47])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox12.Gtk.Box+BoxChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Preferences</b>"); this.label19.UseMarkup = true; this.hbox12.Add(this.label19); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox12 [this.label19])); w3.Position = 1; this.vbox8.Add(this.hbox12); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.hbox12])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Use this dialog to set where you would like the application's files to be stored."); this.label20.Wrap = true; this.label20.Justify = ((global::Gtk.Justification)(2)); this.vbox8.Add(this.label20); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.label20])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child vbox8.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(2)); this.frame2.BorderWidth = ((uint)(6)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.vbox9 = new global::Gtk.VBox(); this.vbox9.Name = "vbox9"; this.vbox9.Spacing = 6; // Container child vbox9.Gtk.Box+BoxChild this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.Xalign = 0F; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Key file..."); this.vbox9.Add(this.label21); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.label21])); w6.Position = 0; w6.Expand = false; w6.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.ebKeyFile = new global::Gtk.Entry(); this.ebKeyFile.CanFocus = true; this.ebKeyFile.Name = "ebKeyFile"; this.ebKeyFile.IsEditable = true; this.ebKeyFile.InvisibleChar = '•'; this.hbox1.Add(this.ebKeyFile); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.ebKeyFile])); w7.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.fixed1 = new global::Gtk.Fixed(); this.fixed1.WidthRequest = 6; this.fixed1.Name = "fixed1"; this.fixed1.HasWindow = false; this.hbox1.Add(this.fixed1); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.fixed1])); w8.Position = 1; w8.Expand = false; this.vbox9.Add(this.hbox1); global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hbox1])); w9.Position = 1; w9.Expand = false; w9.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.Xalign = 0F; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Certificate file..."); this.vbox9.Add(this.label22); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.label22])); w10.Position = 2; w10.Expand = false; w10.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; // Container child hbox2.Gtk.Box+BoxChild this.ebCertFile = new global::Gtk.Entry(); this.ebCertFile.CanFocus = true; this.ebCertFile.Name = "ebCertFile"; this.ebCertFile.IsEditable = true; this.ebCertFile.InvisibleChar = '•'; this.hbox2.Add(this.ebCertFile); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.ebCertFile])); w11.Position = 0; // Container child hbox2.Gtk.Box+BoxChild this.fixed2 = new global::Gtk.Fixed(); this.fixed2.WidthRequest = 6; this.fixed2.Name = "fixed2"; this.fixed2.HasWindow = false; this.hbox2.Add(this.fixed2); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox2 [this.fixed2])); w12.Position = 1; w12.Expand = false; this.vbox9.Add(this.hbox2); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.hbox2])); w13.Position = 3; w13.Expand = false; w13.Fill = false; // Container child vbox9.Gtk.Box+BoxChild this.checkbutton1 = new global::Gtk.CheckButton(); this.checkbutton1.CanFocus = true; this.checkbutton1.Name = "checkbutton1"; this.checkbutton1.Label = global::Mono.Unix.Catalog.GetString("Prompt for destination when saving."); this.checkbutton1.DrawIndicator = true; this.checkbutton1.UseUnderline = true; this.vbox9.Add(this.checkbutton1); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox9 [this.checkbutton1])); w14.Position = 4; w14.Expand = false; w14.Fill = false; this.GtkAlignment2.Add(this.vbox9); this.frame2.Add(this.GtkAlignment2); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>File Locations</b>"); this.GtkLabel2.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel2; this.vbox8.Add(this.frame2); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.frame2])); w17.Position = 2; w17.Expand = false; w17.Fill = false; w1.Add(this.vbox8); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox8])); w18.Position = 0; w18.Expand = false; w18.Fill = false; // Internal child SSLMaker.Preferences.ActionArea global::Gtk.HButtonBox w19 = this.ActionArea; w19.Name = "dialog1_ActionArea"; w19.Spacing = 10; w19.BorderWidth = ((uint)(5)); w19.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; // Container child buttonCancel.Gtk.Container+ContainerChild global::Gtk.Alignment w20 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w21 = new global::Gtk.HBox(); w21.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w22 = new global::Gtk.Image(); w22.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu); w21.Add(w22); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w24 = new global::Gtk.Label(); w24.LabelProp = global::Mono.Unix.Catalog.GetString("_Cancel"); w24.UseUnderline = true; w21.Add(w24); w20.Add(w21); this.buttonCancel.Add(w20); this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w28 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19 [this.buttonCancel])); w28.Expand = false; w28.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; // Container child buttonOk.Gtk.Container+ContainerChild global::Gtk.Alignment w29 = new global::Gtk.Alignment(0.5F, 0.5F, 0F, 0F); // Container child GtkAlignment.Gtk.Container+ContainerChild global::Gtk.HBox w30 = new global::Gtk.HBox(); w30.Spacing = 2; // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Image w31 = new global::Gtk.Image(); w31.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-apply", global::Gtk.IconSize.Menu); w30.Add(w31); // Container child GtkHBox.Gtk.Container+ContainerChild global::Gtk.Label w33 = new global::Gtk.Label(); w33.LabelProp = global::Mono.Unix.Catalog.GetString("_Save"); w33.UseUnderline = true; w30.Add(w33); w29.Add(w30); this.buttonOk.Add(w29); this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w37 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w19 [this.buttonOk])); w37.Position = 1; w37.Expand = false; w37.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 516; this.DefaultHeight = 355; this.Show(); this.buttonCancel.Clicked += new global::System.EventHandler(this.onCancel_clicked); this.buttonOk.Activated += new global::System.EventHandler(this.onSave_clicked); this.buttonOk.Clicked += new global::System.EventHandler(this.onSave_clicked); }
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", "_File", null, null); this.FileAction.ShortLabel = "_File"; w1.Add(this.FileAction, null); this.QuitAction = new global::Gtk.Action("QuitAction", "_Quit", null, null); this.QuitAction.ShortLabel = "_Quit"; w1.Add(this.QuitAction, "<Primary><Mod2>q"); this.PreferencesAction = new global::Gtk.Action("PreferencesAction", "_Preferences", null, null); this.PreferencesAction.ShortLabel = "_Preferences"; w1.Add(this.PreferencesAction, null); this.NoRoundingOffAction = new global::Gtk.RadioAction("NoRoundingOffAction", "_No Rounding Off", null, null, 0); this.NoRoundingOffAction.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.NoRoundingOffAction.ShortLabel = "_No Rounding Off"; w1.Add(this.NoRoundingOffAction, "<Primary><Alt><Mod2>n"); this.WholeNumberAction = new global::Gtk.RadioAction("WholeNumberAction", "_Whole Number", null, null, 0); this.WholeNumberAction.Group = this.NoRoundingOffAction.Group; this.WholeNumberAction.ShortLabel = "_Whole Number"; w1.Add(this.WholeNumberAction, "<Primary><Alt><Mod2>w"); this.DecimalPlaceAction1 = new global::Gtk.RadioAction("DecimalPlaceAction1", "_1 Decimal Place", null, null, 0); this.DecimalPlaceAction1.Group = this.WholeNumberAction.Group; this.DecimalPlaceAction1.ShortLabel = "_1 Decimal Place"; w1.Add(this.DecimalPlaceAction1, "<Primary><Alt><Mod2>1"); this.DecimalPlacesAction2 = new global::Gtk.RadioAction("DecimalPlacesAction2", "_2 Decimal Places", null, null, 0); this.DecimalPlacesAction2.Group = this.WholeNumberAction.Group; this.DecimalPlacesAction2.ShortLabel = "_2 Decimal Places"; w1.Add(this.DecimalPlacesAction2, "<Primary><Alt><Mod2>2"); this.DecimalPlacesAction3 = new global::Gtk.RadioAction("DecimalPlacesAction3", "_3 Decimal Places", null, null, 0); this.DecimalPlacesAction3.Group = this.WholeNumberAction.Group; this.DecimalPlacesAction3.ShortLabel = "_3 Decimal Places"; w1.Add(this.DecimalPlacesAction3, "<Primary><Alt><Mod2>3"); this.DecimalPlacesAction4 = new global::Gtk.RadioAction("DecimalPlacesAction4", "_4 Decimal Places", null, null, 0); this.DecimalPlacesAction4.Group = this.WholeNumberAction.Group; this.DecimalPlacesAction4.ShortLabel = "_4 Decimal Places"; w1.Add(this.DecimalPlacesAction4, "<Primary><Alt><Mod2>4"); this.DecimalPlacesAction5 = new global::Gtk.RadioAction("DecimalPlacesAction5", "_5 Decimal Places", null, null, 0); this.DecimalPlacesAction5.Group = this.WholeNumberAction.Group; this.DecimalPlacesAction5.ShortLabel = "_5 Decimal Places"; w1.Add(this.DecimalPlacesAction5, "<Primary><Alt><Mod2>5"); this.DecimalPlacesAction6 = new global::Gtk.RadioAction("DecimalPlacesAction6", "_6 Decimal Places", null, null, 0); this.DecimalPlacesAction6.Group = this.WholeNumberAction.Group; this.DecimalPlacesAction6.ShortLabel = "_6 Decimal Places"; w1.Add(this.DecimalPlacesAction6, "<Primary><Alt><Mod2>6"); this.DecimalPlacesAction7 = new global::Gtk.RadioAction("DecimalPlacesAction7", "_7 Decimal Places", null, null, 0); this.DecimalPlacesAction7.Group = this.WholeNumberAction.Group; this.DecimalPlacesAction7.ShortLabel = "_7 Decimal Places"; w1.Add(this.DecimalPlacesAction7, "<Primary><Alt><Mod2>7"); this.DecimalPlacesAction8 = new global::Gtk.RadioAction("DecimalPlacesAction8", "_8 Decimal Places", null, null, 0); this.DecimalPlacesAction8.Group = this.WholeNumberAction.Group; this.DecimalPlacesAction8.ShortLabel = "_8 Decimal Places"; w1.Add(this.DecimalPlacesAction8, "<Primary><Alt><Mod2>8"); this.DecimalPlacesAction9 = new global::Gtk.RadioAction("DecimalPlacesAction9", "_9 Decimal Places", null, null, 0); this.DecimalPlacesAction9.Group = this.WholeNumberAction.Group; this.DecimalPlacesAction9.ShortLabel = "_9 Decimal Places"; w1.Add(this.DecimalPlacesAction9, "<Primary><Alt><Mod2>9"); this.DecimalPlacesAction10 = new global::Gtk.RadioAction("DecimalPlacesAction10", "1_0 Decimal Places", null, null, 0); this.DecimalPlacesAction10.Group = this.WholeNumberAction.Group; this.DecimalPlacesAction10.ShortLabel = "1_0 Decimal Places"; w1.Add(this.DecimalPlacesAction10, "<Primary><Alt><Mod2>0"); this.AboutAction = new global::Gtk.Action("AboutAction", "_About", null, null); this.AboutAction.ShortLabel = "_About"; w1.Add(this.AboutAction, null); this.AboutUnitConverterAction = new global::Gtk.Action("AboutUnitConverterAction", "About _Unit Converter", null, null); this.AboutUnitConverterAction.ShortLabel = "About _Unit Converter"; w1.Add(this.AboutUnitConverterAction, null); this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "MainWindow"; this.Title = "Unit Converter"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Resizable = false; this.AllowGrow = false; // Container child MainWindow.Gtk.Container+ContainerChild this.MainArea = new global::Gtk.VBox(); this.MainArea.Name = "MainArea"; this.MainArea.Spacing = 6; // Container child MainArea.Gtk.Box+BoxChild this.UIManager.AddUiFromString(@"<ui><menubar name='MenuBar'><menu name='FileAction' action='FileAction'><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='PreferencesAction' action='PreferencesAction'><menuitem name='NoRoundingOffAction' action='NoRoundingOffAction'/><menuitem name='WholeNumberAction' action='WholeNumberAction'/><menuitem name='DecimalPlaceAction1' action='DecimalPlaceAction1'/><menuitem name='DecimalPlacesAction2' action='DecimalPlacesAction2'/><menuitem name='DecimalPlacesAction3' action='DecimalPlacesAction3'/><menuitem name='DecimalPlacesAction4' action='DecimalPlacesAction4'/><menuitem name='DecimalPlacesAction5' action='DecimalPlacesAction5'/><menuitem name='DecimalPlacesAction6' action='DecimalPlacesAction6'/><menuitem name='DecimalPlacesAction7' action='DecimalPlacesAction7'/><menuitem name='DecimalPlacesAction8' action='DecimalPlacesAction8'/><menuitem name='DecimalPlacesAction9' action='DecimalPlacesAction9'/><menuitem name='DecimalPlacesAction10' action='DecimalPlacesAction10'/></menu><menu name='AboutAction' action='AboutAction'><menuitem name='AboutUnitConverterAction' action='AboutUnitConverterAction'/></menu></menubar></ui>"); this.MenuBar = ((global::Gtk.MenuBar)(this.UIManager.GetWidget("/MenuBar"))); this.MenuBar.Name = "MenuBar"; this.MainArea.Add(this.MenuBar); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.MainArea[this.MenuBar])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child MainArea.Gtk.Box+BoxChild this.MainConversionArea = new global::Gtk.HBox(); this.MainConversionArea.Name = "MainConversionArea"; this.MainConversionArea.Spacing = 6; // Container child MainConversionArea.Gtk.Box+BoxChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.WidthRequest = 120; this.GtkScrolledWindow.HeightRequest = 208; this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.HscrollbarPolicy = ((global::Gtk.PolicyType)(2)); this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild global::Gtk.Viewport w3 = new global::Gtk.Viewport(); w3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child GtkViewport.Gtk.Container+ContainerChild this.QuantityPicker = new global::Gtk.VButtonBox(); this.QuantityPicker.Name = "QuantityPicker"; this.QuantityPicker.Homogeneous = true; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.LengthSelector = new global::Gtk.Button(); this.LengthSelector.CanFocus = true; this.LengthSelector.Name = "LengthSelector"; this.LengthSelector.UseUnderline = true; this.LengthSelector.Label = "Length"; this.QuantityPicker.Add(this.LengthSelector); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.LengthSelector])); w4.Expand = false; w4.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.AreaSelector = new global::Gtk.Button(); this.AreaSelector.CanFocus = true; this.AreaSelector.Name = "AreaSelector"; this.AreaSelector.UseUnderline = true; this.AreaSelector.Label = "Area"; this.QuantityPicker.Add(this.AreaSelector); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.AreaSelector])); w5.Position = 1; w5.Expand = false; w5.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.VolumeSelector = new global::Gtk.Button(); this.VolumeSelector.CanFocus = true; this.VolumeSelector.Name = "VolumeSelector"; this.VolumeSelector.UseUnderline = true; this.VolumeSelector.Label = "Volume"; this.QuantityPicker.Add(this.VolumeSelector); global::Gtk.ButtonBox.ButtonBoxChild w6 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.VolumeSelector])); w6.Position = 2; w6.Expand = false; w6.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.TimeSelector = new global::Gtk.Button(); this.TimeSelector.CanFocus = true; this.TimeSelector.Name = "TimeSelector"; this.TimeSelector.UseUnderline = true; this.TimeSelector.Label = "Time"; this.QuantityPicker.Add(this.TimeSelector); global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.TimeSelector])); w7.Position = 3; w7.Expand = false; w7.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.SpeedSelector = new global::Gtk.Button(); this.SpeedSelector.CanFocus = true; this.SpeedSelector.Name = "SpeedSelector"; this.SpeedSelector.UseUnderline = true; this.SpeedSelector.Label = "Speed"; this.QuantityPicker.Add(this.SpeedSelector); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.SpeedSelector])); w8.Position = 4; w8.Expand = false; w8.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.FlowAreaSelector = new global::Gtk.Button(); this.FlowAreaSelector.CanFocus = true; this.FlowAreaSelector.Name = "FlowAreaSelector"; this.FlowAreaSelector.UseUnderline = true; this.FlowAreaSelector.Label = "Flow Area"; this.QuantityPicker.Add(this.FlowAreaSelector); global::Gtk.ButtonBox.ButtonBoxChild w9 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.FlowAreaSelector])); w9.Position = 5; w9.Expand = false; w9.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.FlowVolumeSelector = new global::Gtk.Button(); this.FlowVolumeSelector.CanFocus = true; this.FlowVolumeSelector.Name = "FlowVolumeSelector"; this.FlowVolumeSelector.UseUnderline = true; this.FlowVolumeSelector.Label = "Flow Volume"; this.QuantityPicker.Add(this.FlowVolumeSelector); global::Gtk.ButtonBox.ButtonBoxChild w10 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.FlowVolumeSelector])); w10.Position = 6; w10.Expand = false; w10.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.FlowMassSelector = new global::Gtk.Button(); this.FlowMassSelector.CanFocus = true; this.FlowMassSelector.Name = "FlowMassSelector"; this.FlowMassSelector.UseUnderline = true; this.FlowMassSelector.Label = "Flow Mass"; this.QuantityPicker.Add(this.FlowMassSelector); global::Gtk.ButtonBox.ButtonBoxChild w11 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.FlowMassSelector])); w11.Position = 7; w11.Expand = false; w11.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.MassSelector = new global::Gtk.Button(); this.MassSelector.CanFocus = true; this.MassSelector.Name = "MassSelector"; this.MassSelector.UseUnderline = true; this.MassSelector.Label = "Mass"; this.QuantityPicker.Add(this.MassSelector); global::Gtk.ButtonBox.ButtonBoxChild w12 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.MassSelector])); w12.Position = 8; w12.Expand = false; w12.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.EnergySelector = new global::Gtk.Button(); this.EnergySelector.CanFocus = true; this.EnergySelector.Name = "EnergySelector"; this.EnergySelector.UseUnderline = true; this.EnergySelector.Label = "Energy"; this.QuantityPicker.Add(this.EnergySelector); global::Gtk.ButtonBox.ButtonBoxChild w13 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.EnergySelector])); w13.Position = 9; w13.Expand = false; w13.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.PressureSelector = new global::Gtk.Button(); this.PressureSelector.CanFocus = true; this.PressureSelector.Name = "PressureSelector"; this.PressureSelector.UseUnderline = true; this.PressureSelector.Label = "Pressure"; this.QuantityPicker.Add(this.PressureSelector); global::Gtk.ButtonBox.ButtonBoxChild w14 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.PressureSelector])); w14.Position = 10; w14.Expand = false; w14.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.TemperatureSelector = new global::Gtk.Button(); this.TemperatureSelector.CanFocus = true; this.TemperatureSelector.Name = "TemperatureSelector"; this.TemperatureSelector.UseUnderline = true; this.TemperatureSelector.Label = "Temperature"; this.QuantityPicker.Add(this.TemperatureSelector); global::Gtk.ButtonBox.ButtonBoxChild w15 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.TemperatureSelector])); w15.Position = 11; w15.Expand = false; w15.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.LuminanceSelector = new global::Gtk.Button(); this.LuminanceSelector.CanFocus = true; this.LuminanceSelector.Name = "LuminanceSelector"; this.LuminanceSelector.UseUnderline = true; this.LuminanceSelector.Label = "Luminance"; this.QuantityPicker.Add(this.LuminanceSelector); global::Gtk.ButtonBox.ButtonBoxChild w16 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.LuminanceSelector])); w16.Position = 12; w16.Expand = false; w16.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.IlluminanceSelector = new global::Gtk.Button(); this.IlluminanceSelector.CanFocus = true; this.IlluminanceSelector.Name = "IlluminanceSelector"; this.IlluminanceSelector.UseUnderline = true; this.IlluminanceSelector.Label = "Illuminance"; this.QuantityPicker.Add(this.IlluminanceSelector); global::Gtk.ButtonBox.ButtonBoxChild w17 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.IlluminanceSelector])); w17.Position = 13; w17.Expand = false; w17.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.AngleSelector = new global::Gtk.Button(); this.AngleSelector.CanFocus = true; this.AngleSelector.Name = "AngleSelector"; this.AngleSelector.UseUnderline = true; this.AngleSelector.Label = "Angle"; this.QuantityPicker.Add(this.AngleSelector); global::Gtk.ButtonBox.ButtonBoxChild w18 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.AngleSelector])); w18.Position = 14; w18.Expand = false; w18.Fill = false; // Container child QuantityPicker.Gtk.ButtonBox+ButtonBoxChild this.DataSizeSelector = new global::Gtk.Button(); this.DataSizeSelector.CanFocus = true; this.DataSizeSelector.Name = "DataSizeSelector"; this.DataSizeSelector.UseUnderline = true; this.DataSizeSelector.Label = "Data Size"; this.QuantityPicker.Add(this.DataSizeSelector); global::Gtk.ButtonBox.ButtonBoxChild w19 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.QuantityPicker[this.DataSizeSelector])); w19.Position = 15; w19.Expand = false; w19.Fill = false; w3.Add(this.QuantityPicker); this.GtkScrolledWindow.Add(w3); this.MainConversionArea.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.MainConversionArea[this.GtkScrolledWindow])); w22.Position = 0; // Container child MainConversionArea.Gtk.Box+BoxChild this.ConversionAreaA = new global::Gtk.VBox(); this.ConversionAreaA.Name = "ConversionAreaA"; this.ConversionAreaA.Spacing = 6; // Container child ConversionAreaA.Gtk.Box+BoxChild this.FromUnitPicker = global::Gtk.ComboBox.NewText(); this.FromUnitPicker.WidthRequest = 320; this.FromUnitPicker.Name = "FromUnitPicker"; this.ConversionAreaA.Add(this.FromUnitPicker); global::Gtk.Box.BoxChild w23 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaA[this.FromUnitPicker])); w23.Position = 0; w23.Fill = false; // Container child ConversionAreaA.Gtk.Box+BoxChild this.InputBox = new global::Gtk.Entry(); this.InputBox.CanFocus = true; this.InputBox.Name = "InputBox"; this.InputBox.IsEditable = true; this.InputBox.InvisibleChar = '•'; this.ConversionAreaA.Add(this.InputBox); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaA[this.InputBox])); w24.Position = 1; w24.Expand = false; w24.Fill = false; // Container child ConversionAreaA.Gtk.Box+BoxChild this.ClearButton = new global::Gtk.Button(); this.ClearButton.CanFocus = true; this.ClearButton.Name = "ClearButton"; this.ClearButton.UseUnderline = true; this.ClearButton.Label = "_Clear"; this.ConversionAreaA.Add(this.ClearButton); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaA[this.ClearButton])); w25.Position = 2; w25.Expand = false; w25.Fill = false; this.MainConversionArea.Add(this.ConversionAreaA); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.MainConversionArea[this.ConversionAreaA])); w26.Position = 1; w26.Fill = false; // Container child MainConversionArea.Gtk.Box+BoxChild this.ConversionAreaB = new global::Gtk.VBox(); this.ConversionAreaB.Name = "ConversionAreaB"; this.ConversionAreaB.Spacing = 6; // Container child ConversionAreaB.Gtk.Box+BoxChild this.ToUnitPicker = global::Gtk.ComboBox.NewText(); this.ToUnitPicker.WidthRequest = 320; this.ToUnitPicker.Name = "ToUnitPicker"; this.ConversionAreaB.Add(this.ToUnitPicker); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaB[this.ToUnitPicker])); w27.Position = 0; w27.Fill = false; // Container child ConversionAreaB.Gtk.Box+BoxChild this.OutputBox = new global::Gtk.Entry(); this.OutputBox.CanFocus = true; this.OutputBox.Name = "OutputBox"; this.OutputBox.IsEditable = false; this.OutputBox.InvisibleChar = '•'; this.ConversionAreaB.Add(this.OutputBox); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaB[this.OutputBox])); w28.Position = 1; w28.Expand = false; w28.Fill = false; // Container child ConversionAreaB.Gtk.Box+BoxChild this.SwapButton = new global::Gtk.Button(); this.SwapButton.CanFocus = true; this.SwapButton.Name = "SwapButton"; this.SwapButton.UseUnderline = true; this.SwapButton.Label = "_Swap"; this.ConversionAreaB.Add(this.SwapButton); global::Gtk.Box.BoxChild w29 = ((global::Gtk.Box.BoxChild)(this.ConversionAreaB[this.SwapButton])); w29.Position = 2; w29.Expand = false; w29.Fill = false; this.MainConversionArea.Add(this.ConversionAreaB); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.MainConversionArea[this.ConversionAreaB])); w30.Position = 2; w30.Fill = false; this.MainArea.Add(this.MainConversionArea); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.MainArea[this.MainConversionArea])); w31.Position = 1; w31.Expand = false; w31.Fill = false; // Container child MainArea.Gtk.Box+BoxChild this.StatusBar = new global::Gtk.Statusbar(); this.StatusBar.Name = "StatusBar"; this.StatusBar.Spacing = 6; this.MainArea.Add(this.StatusBar); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.MainArea[this.StatusBar])); w32.Position = 2; w32.Expand = false; w32.Fill = false; this.Add(this.MainArea); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 772; this.DefaultHeight = 264; this.Show(); this.DeleteEvent += new global::Gtk.DeleteEventHandler(this.OnDeleteEvent); this.QuitAction.Activated += new global::System.EventHandler(this.QuitSelected); this.NoRoundingOffAction.Activated += new global::System.EventHandler(this.NoRoundingOffSelected); this.WholeNumberAction.Activated += new global::System.EventHandler(this.WholeNumberSelected); this.DecimalPlaceAction1.Activated += new global::System.EventHandler(this.DP1Selected); this.DecimalPlacesAction2.Activated += new global::System.EventHandler(this.DP2Selected); this.DecimalPlacesAction3.Activated += new global::System.EventHandler(this.DP3Selected); this.DecimalPlacesAction4.Activated += new global::System.EventHandler(this.DP4Selected); this.DecimalPlacesAction5.Activated += new global::System.EventHandler(this.DP5Selected); this.DecimalPlacesAction6.Activated += new global::System.EventHandler(this.DP6Selected); this.DecimalPlacesAction7.Activated += new global::System.EventHandler(this.DP7Selected); this.DecimalPlacesAction8.Activated += new global::System.EventHandler(this.DP8Selected); this.DecimalPlacesAction9.Activated += new global::System.EventHandler(this.DP9Selected); this.DecimalPlacesAction10.Activated += new global::System.EventHandler(this.DP10Selected); this.LengthSelector.Clicked += new global::System.EventHandler(this.LengthButtonClicked); this.AreaSelector.Clicked += new global::System.EventHandler(this.AreaButtonClicked); this.VolumeSelector.Clicked += new global::System.EventHandler(this.VolumeButtonClicked); this.TimeSelector.Clicked += new global::System.EventHandler(this.TimeButtonClicked); this.SpeedSelector.Clicked += new global::System.EventHandler(this.SpeedButtonClicked); this.FlowAreaSelector.Clicked += new global::System.EventHandler(this.FlowAreaButtonClicked); this.FlowVolumeSelector.Clicked += new global::System.EventHandler(this.FlowVolumeButtonClicked); this.FlowMassSelector.Clicked += new global::System.EventHandler(this.FlowMassButtonClicked); this.MassSelector.Clicked += new global::System.EventHandler(this.MassButtonClicked); this.EnergySelector.Clicked += new global::System.EventHandler(this.EnergyButtonClicked); this.PressureSelector.Clicked += new global::System.EventHandler(this.PressureButtonClicked); this.TemperatureSelector.Clicked += new global::System.EventHandler(this.TemperatureButtonClicked); this.LuminanceSelector.Clicked += new global::System.EventHandler(this.LuminanceButtonClicked); this.IlluminanceSelector.Clicked += new global::System.EventHandler(this.IlluminanceButtonClicked); this.AngleSelector.Clicked += new global::System.EventHandler(this.AngleButtonClicked); this.DataSizeSelector.Clicked += new global::System.EventHandler(this.DataSizeClick); this.FromUnitPicker.Changed += new global::System.EventHandler(this.InputBoxSelectedChanged); this.InputBox.TextInserted += new global::Gtk.TextInsertedHandler(this.InputTextInserted); this.InputBox.TextDeleted += new global::Gtk.TextDeletedHandler(this.InputTextDeleted); this.ClearButton.Clicked += new global::System.EventHandler(this.ClearButtonClicked); this.ToUnitPicker.Changed += new global::System.EventHandler(this.OutputBoxSelectedChanged); this.SwapButton.Clicked += new global::System.EventHandler(this.SwapButtonClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.CSharp.Formatting.CSharpFormattingProfileDialog this.Name = "MonoDevelop.CSharp.Formatting.CSharpFormattingProfileDialog"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.BorderWidth = ((uint)(6)); // Internal child MonoDevelop.CSharp.Formatting.CSharpFormattingProfileDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.Spacing = 6; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox5 = new global::Gtk.VBox(); this.vbox5.Name = "vbox5"; this.vbox5.Spacing = 6; // Container child vbox5.Gtk.Box+BoxChild this.hpaned1 = new global::Gtk.HPaned(); this.hpaned1.CanFocus = true; this.hpaned1.Name = "hpaned1"; this.hpaned1.Position = 424; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.hbox4 = new global::Gtk.HBox(); this.hbox4.Name = "hbox4"; this.hbox4.Spacing = 6; // Container child hbox4.Gtk.Box+BoxChild this.label12 = new global::Gtk.Label(); this.label12.Name = "label12"; this.label12.LabelProp = global::Mono.Unix.Catalog.GetString("_Category:"); this.label12.UseUnderline = true; this.hbox4.Add(this.label12); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.label12])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox4.Gtk.Box+BoxChild this.comboboxCategories = global::Gtk.ComboBox.NewText(); this.comboboxCategories.Name = "comboboxCategories"; this.hbox4.Add(this.comboboxCategories); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox4 [this.comboboxCategories])); w3.Position = 1; this.vbox2.Add(this.hbox4); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.hbox4])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.notebookCategories = new global::Gtk.Notebook(); this.notebookCategories.CanFocus = true; this.notebookCategories.Name = "notebookCategories"; this.notebookCategories.CurrentPage = 3; // Container child notebookCategories.Gtk.Notebook+NotebookChild this.vbox8 = new global::Gtk.VBox(); this.vbox8.Name = "vbox8"; this.vbox8.Spacing = 6; // Container child vbox8.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.treeviewIndentOptions = new global::Gtk.TreeView(); this.treeviewIndentOptions.CanFocus = true; this.treeviewIndentOptions.Name = "treeviewIndentOptions"; this.GtkScrolledWindow.Add(this.treeviewIndentOptions); this.vbox8.Add(this.GtkScrolledWindow); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox8 [this.GtkScrolledWindow])); w6.Position = 0; this.notebookCategories.Add(this.vbox8); // Notebook tab this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("page1"); this.notebookCategories.SetTabLabel(this.vbox8, this.label8); this.label8.ShowAll(); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeviewBracePositions = new global::Gtk.TreeView(); this.treeviewBracePositions.CanFocus = true; this.treeviewBracePositions.Name = "treeviewBracePositions"; this.GtkScrolledWindow1.Add(this.treeviewBracePositions); this.notebookCategories.Add(this.GtkScrolledWindow1); global::Gtk.Notebook.NotebookChild w9 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow1])); w9.Position = 1; // Notebook tab this.label9 = new global::Gtk.Label(); this.label9.Name = "label9"; this.label9.LabelProp = global::Mono.Unix.Catalog.GetString("page2"); this.notebookCategories.SetTabLabel(this.GtkScrolledWindow1, this.label9); this.label9.ShowAll(); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.table4 = new global::Gtk.Table(((uint)(10)), ((uint)(2)), false); this.table4.Name = "table4"; this.table4.RowSpacing = ((uint)(6)); this.table4.ColumnSpacing = ((uint)(6)); // Container child table4.Gtk.Table+TableChild this.entryAfterUsings = new global::Gtk.Entry(); this.entryAfterUsings.CanFocus = true; this.entryAfterUsings.Name = "entryAfterUsings"; this.entryAfterUsings.IsEditable = true; this.entryAfterUsings.InvisibleChar = '●'; this.table4.Add(this.entryAfterUsings); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryAfterUsings])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.LeftAttach = ((uint)(1)); w10.RightAttach = ((uint)(2)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBeforeFirstDeclaration = new global::Gtk.Entry(); this.entryBeforeFirstDeclaration.CanFocus = true; this.entryBeforeFirstDeclaration.Name = "entryBeforeFirstDeclaration"; this.entryBeforeFirstDeclaration.IsEditable = true; this.entryBeforeFirstDeclaration.InvisibleChar = '●'; this.table4.Add(this.entryBeforeFirstDeclaration); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBeforeFirstDeclaration])); w11.TopAttach = ((uint)(4)); w11.BottomAttach = ((uint)(5)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBeforUsings = new global::Gtk.Entry(); this.entryBeforUsings.CanFocus = true; this.entryBeforUsings.Name = "entryBeforUsings"; this.entryBeforUsings.IsEditable = true; this.entryBeforUsings.InvisibleChar = '●'; this.table4.Add(this.entryBeforUsings); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBeforUsings])); w12.TopAttach = ((uint)(1)); w12.BottomAttach = ((uint)(2)); w12.LeftAttach = ((uint)(1)); w12.RightAttach = ((uint)(2)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenEvents = new global::Gtk.Entry(); this.entryBetweenEvents.CanFocus = true; this.entryBetweenEvents.Name = "entryBetweenEvents"; this.entryBetweenEvents.IsEditable = true; this.entryBetweenEvents.InvisibleChar = '●'; this.table4.Add(this.entryBetweenEvents); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenEvents])); w13.TopAttach = ((uint)(8)); w13.BottomAttach = ((uint)(9)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenFields = new global::Gtk.Entry(); this.entryBetweenFields.CanFocus = true; this.entryBetweenFields.Name = "entryBetweenFields"; this.entryBetweenFields.IsEditable = true; this.entryBetweenFields.InvisibleChar = '●'; this.table4.Add(this.entryBetweenFields); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenFields])); w14.TopAttach = ((uint)(7)); w14.BottomAttach = ((uint)(8)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenMembers = new global::Gtk.Entry(); this.entryBetweenMembers.CanFocus = true; this.entryBetweenMembers.Name = "entryBetweenMembers"; this.entryBetweenMembers.IsEditable = true; this.entryBetweenMembers.InvisibleChar = '●'; this.table4.Add(this.entryBetweenMembers); global::Gtk.Table.TableChild w15 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenMembers])); w15.TopAttach = ((uint)(9)); w15.BottomAttach = ((uint)(10)); w15.LeftAttach = ((uint)(1)); w15.RightAttach = ((uint)(2)); w15.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.entryBetweenTypes = new global::Gtk.Entry(); this.entryBetweenTypes.CanFocus = true; this.entryBetweenTypes.Name = "entryBetweenTypes"; this.entryBetweenTypes.IsEditable = true; this.entryBetweenTypes.InvisibleChar = '●'; this.table4.Add(this.entryBetweenTypes); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table4 [this.entryBetweenTypes])); w16.TopAttach = ((uint)(5)); w16.BottomAttach = ((uint)(6)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.GtkLabel8 = new global::Gtk.Label(); this.GtkLabel8.Name = "GtkLabel8"; this.GtkLabel8.Xalign = 0F; this.GtkLabel8.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Blank lines in namespaces</b>"); this.GtkLabel8.UseMarkup = true; this.table4.Add(this.GtkLabel8); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table4 [this.GtkLabel8])); w17.TopAttach = ((uint)(3)); w17.BottomAttach = ((uint)(4)); w17.XOptions = ((global::Gtk.AttachOptions)(4)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.GtkLabel9 = new global::Gtk.Label(); this.GtkLabel9.Name = "GtkLabel9"; this.GtkLabel9.Xalign = 0F; this.GtkLabel9.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Blank lines in types</b>"); this.GtkLabel9.UseMarkup = true; this.table4.Add(this.GtkLabel9); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table4 [this.GtkLabel9])); w18.TopAttach = ((uint)(6)); w18.BottomAttach = ((uint)(7)); w18.XOptions = ((global::Gtk.AttachOptions)(4)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 0F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Blank lines in compilation unit</b>"); this.label1.UseMarkup = true; this.table4.Add(this.label1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table4 [this.label1])); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label15 = new global::Gtk.Label(); this.label15.Name = "label15"; this.label15.Xalign = 1F; this.label15.LabelProp = global::Mono.Unix.Catalog.GetString("Before using declaration:"); this.table4.Add(this.label15); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table4 [this.label15])); w20.TopAttach = ((uint)(1)); w20.BottomAttach = ((uint)(2)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label16 = new global::Gtk.Label(); this.label16.Name = "label16"; this.label16.Xalign = 1F; this.label16.LabelProp = global::Mono.Unix.Catalog.GetString("After using declaration:"); this.table4.Add(this.label16); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table4 [this.label16])); w21.TopAttach = ((uint)(2)); w21.BottomAttach = ((uint)(3)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label19 = new global::Gtk.Label(); this.label19.Name = "label19"; this.label19.Xalign = 1F; this.label19.LabelProp = global::Mono.Unix.Catalog.GetString("Between type declarations:"); this.table4.Add(this.label19); global::Gtk.Table.TableChild w22 = ((global::Gtk.Table.TableChild)(this.table4 [this.label19])); w22.TopAttach = ((uint)(5)); w22.BottomAttach = ((uint)(6)); w22.XOptions = ((global::Gtk.AttachOptions)(4)); w22.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label20 = new global::Gtk.Label(); this.label20.Name = "label20"; this.label20.Xalign = 1F; this.label20.LabelProp = global::Mono.Unix.Catalog.GetString("Before first declaration:"); this.table4.Add(this.label20); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table4 [this.label20])); w23.TopAttach = ((uint)(4)); w23.BottomAttach = ((uint)(5)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label21 = new global::Gtk.Label(); this.label21.Name = "label21"; this.label21.Xalign = 1F; this.label21.LabelProp = global::Mono.Unix.Catalog.GetString("Between field declarations:"); this.table4.Add(this.label21); global::Gtk.Table.TableChild w24 = ((global::Gtk.Table.TableChild)(this.table4 [this.label21])); w24.TopAttach = ((uint)(7)); w24.BottomAttach = ((uint)(8)); w24.XOptions = ((global::Gtk.AttachOptions)(4)); w24.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label22 = new global::Gtk.Label(); this.label22.Name = "label22"; this.label22.Xalign = 1F; this.label22.LabelProp = global::Mono.Unix.Catalog.GetString("Between other member declarations:"); this.table4.Add(this.label22); global::Gtk.Table.TableChild w25 = ((global::Gtk.Table.TableChild)(this.table4 [this.label22])); w25.TopAttach = ((uint)(9)); w25.BottomAttach = ((uint)(10)); w25.XOptions = ((global::Gtk.AttachOptions)(4)); w25.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table4.Gtk.Table+TableChild this.label23 = new global::Gtk.Label(); this.label23.Name = "label23"; this.label23.Xalign = 1F; this.label23.LabelProp = global::Mono.Unix.Catalog.GetString("Between simple event declarations:"); this.table4.Add(this.label23); global::Gtk.Table.TableChild w26 = ((global::Gtk.Table.TableChild)(this.table4 [this.label23])); w26.TopAttach = ((uint)(8)); w26.BottomAttach = ((uint)(9)); w26.XOptions = ((global::Gtk.AttachOptions)(4)); w26.YOptions = ((global::Gtk.AttachOptions)(4)); this.notebookCategories.Add(this.table4); global::Gtk.Notebook.NotebookChild w27 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.table4])); w27.Position = 2; // Notebook tab this.label14 = new global::Gtk.Label(); this.label14.Name = "label14"; this.label14.LabelProp = global::Mono.Unix.Catalog.GetString("page5"); this.notebookCategories.SetTabLabel(this.table4, this.label14); this.label14.ShowAll(); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.GtkScrolledWindow2 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow2.Name = "GtkScrolledWindow2"; this.GtkScrolledWindow2.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow2.Gtk.Container+ContainerChild this.treeviewInsertWhiteSpaceCategory = new global::Gtk.TreeView(); this.treeviewInsertWhiteSpaceCategory.CanFocus = true; this.treeviewInsertWhiteSpaceCategory.Name = "treeviewInsertWhiteSpaceCategory"; this.GtkScrolledWindow2.Add(this.treeviewInsertWhiteSpaceCategory); this.notebookCategories.Add(this.GtkScrolledWindow2); global::Gtk.Notebook.NotebookChild w29 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow2])); w29.Position = 3; // Notebook tab this.label10 = new global::Gtk.Label(); this.label10.Name = "label10"; this.label10.LabelProp = global::Mono.Unix.Catalog.GetString("page3"); this.notebookCategories.SetTabLabel(this.GtkScrolledWindow2, this.label10); this.label10.ShowAll(); // Container child notebookCategories.Gtk.Notebook+NotebookChild this.GtkScrolledWindow4 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow4.Name = "GtkScrolledWindow4"; this.GtkScrolledWindow4.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow4.Gtk.Container+ContainerChild this.treeviewNewLines = new global::Gtk.TreeView(); this.treeviewNewLines.CanFocus = true; this.treeviewNewLines.Name = "treeviewNewLines"; this.GtkScrolledWindow4.Add(this.treeviewNewLines); this.notebookCategories.Add(this.GtkScrolledWindow4); global::Gtk.Notebook.NotebookChild w31 = ((global::Gtk.Notebook.NotebookChild)(this.notebookCategories [this.GtkScrolledWindow4])); w31.Position = 4; // Notebook tab this.label11 = new global::Gtk.Label(); this.label11.Name = "label11"; this.label11.LabelProp = global::Mono.Unix.Catalog.GetString("page4"); this.notebookCategories.SetTabLabel(this.GtkScrolledWindow4, this.label11); this.label11.ShowAll(); this.vbox2.Add(this.notebookCategories); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.notebookCategories])); w32.Position = 1; this.hpaned1.Add(this.vbox2); global::Gtk.Paned.PanedChild w33 = ((global::Gtk.Paned.PanedChild)(this.hpaned1 [this.vbox2])); w33.Resize = false; // Container child hpaned1.Gtk.Paned+PanedChild this.vbox6 = new global::Gtk.VBox(); this.vbox6.Name = "vbox6"; this.vbox6.Spacing = 6; // Container child vbox6.Gtk.Box+BoxChild this.label13 = new global::Gtk.Label(); this.label13.Name = "label13"; this.label13.Xalign = 0F; this.label13.LabelProp = global::Mono.Unix.Catalog.GetString("Preview:"); this.vbox6.Add(this.label13); global::Gtk.Box.BoxChild w34 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.label13])); w34.Position = 0; w34.Expand = false; w34.Fill = false; // Container child vbox6.Gtk.Box+BoxChild this.scrolledwindow = new global::Gtk.ScrolledWindow(); this.scrolledwindow.CanFocus = true; this.scrolledwindow.Name = "scrolledwindow"; this.scrolledwindow.ShadowType = ((global::Gtk.ShadowType)(1)); this.vbox6.Add(this.scrolledwindow); global::Gtk.Box.BoxChild w35 = ((global::Gtk.Box.BoxChild)(this.vbox6 [this.scrolledwindow])); w35.Position = 1; this.hpaned1.Add(this.vbox6); this.vbox5.Add(this.hpaned1); global::Gtk.Box.BoxChild w37 = ((global::Gtk.Box.BoxChild)(this.vbox5 [this.hpaned1])); w37.Position = 0; w1.Add(this.vbox5); global::Gtk.Box.BoxChild w38 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox5])); w38.Position = 0; // Internal child MonoDevelop.CSharp.Formatting.CSharpFormattingProfileDialog.ActionArea global::Gtk.HButtonBox w39 = this.ActionArea; w39.Name = "dialog1_ActionArea"; w39.Spacing = 10; w39.BorderWidth = ((uint)(5)); w39.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w40 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w39 [this.buttonCancel])); w40.Expand = false; w40.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w41 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w39 [this.buttonOk])); w41.Position = 1; w41.Expand = false; w41.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 880; this.DefaultHeight = 551; this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget BMarksgXmlView.AddNewLink this.Name = "BMarksgXmlView.AddNewLink"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child BMarksgXmlView.AddNewLink.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.frame1 = new global::Gtk.Frame(); this.frame1.Name = "frame1"; this.frame1.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame1.Gtk.Container+ContainerChild this.GtkAlignment2 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment2.Name = "GtkAlignment2"; this.GtkAlignment2.LeftPadding = ((uint)(12)); // Container child GtkAlignment2.Gtk.Container+ContainerChild this.notebook4 = new global::Gtk.Notebook(); this.notebook4.CanFocus = true; this.notebook4.Name = "notebook4"; this.notebook4.CurrentPage = 1; // Container child notebook4.Gtk.Notebook+NotebookChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.frame2 = new global::Gtk.Frame(); this.frame2.Name = "frame2"; this.frame2.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame2.Gtk.Container+ContainerChild this.GtkAlignment3 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment3.Name = "GtkAlignment3"; this.GtkAlignment3.LeftPadding = ((uint)(12)); // Container child GtkAlignment3.Gtk.Container+ContainerChild this.entry3 = new global::Gtk.Entry(); this.entry3.CanFocus = true; this.entry3.Name = "entry3"; this.entry3.IsEditable = true; this.entry3.InvisibleChar = '●'; this.GtkAlignment3.Add(this.entry3); this.frame2.Add(this.GtkAlignment3); this.GtkLabel = new global::Gtk.Label(); this.GtkLabel.Name = "GtkLabel"; this.GtkLabel.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Title</b>"); this.GtkLabel.UseMarkup = true; this.frame2.LabelWidget = this.GtkLabel; this.vbox3.Add(this.frame2); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.frame2])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.frame3 = new global::Gtk.Frame(); this.frame3.Name = "frame3"; this.frame3.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame3.Gtk.Container+ContainerChild this.GtkAlignment4 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment4.Name = "GtkAlignment4"; this.GtkAlignment4.LeftPadding = ((uint)(12)); // Container child GtkAlignment4.Gtk.Container+ContainerChild this.entry4 = new global::Gtk.Entry(); this.entry4.CanFocus = true; this.entry4.Name = "entry4"; this.entry4.IsEditable = true; this.entry4.InvisibleChar = '●'; this.GtkAlignment4.Add(this.entry4); this.frame3.Add(this.GtkAlignment4); this.GtkLabel4 = new global::Gtk.Label(); this.GtkLabel4.Name = "GtkLabel4"; this.GtkLabel4.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Url</b>"); this.GtkLabel4.UseMarkup = true; this.frame3.LabelWidget = this.GtkLabel4; this.vbox3.Add(this.frame3); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.frame3])); w7.Position = 1; w7.Expand = false; w7.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.frame4 = new global::Gtk.Frame(); this.frame4.Name = "frame4"; this.frame4.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame4.Gtk.Container+ContainerChild this.GtkAlignment5 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment5.Name = "GtkAlignment5"; this.GtkAlignment5.LeftPadding = ((uint)(12)); // Container child GtkAlignment5.Gtk.Container+ContainerChild this.combobox1 = global::Gtk.ComboBox.NewText(); this.combobox1.Name = "combobox1"; this.GtkAlignment5.Add(this.combobox1); this.frame4.Add(this.GtkAlignment5); this.GtkLabel5 = new global::Gtk.Label(); this.GtkLabel5.Name = "GtkLabel5"; this.GtkLabel5.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Group</b>"); this.GtkLabel5.UseMarkup = true; this.frame4.LabelWidget = this.GtkLabel5; this.vbox3.Add(this.frame4); global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox3[this.frame4])); w10.Position = 2; w10.Expand = false; w10.Fill = false; this.notebook4.Add(this.vbox3); // Notebook tab this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Link"); this.notebook4.SetTabLabel(this.vbox3, this.label4); this.label4.ShowAll(); // Container child notebook4.Gtk.Notebook+NotebookChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.frame5 = new global::Gtk.Frame(); this.frame5.Name = "frame5"; this.frame5.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame5.Gtk.Container+ContainerChild this.GtkAlignment6 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment6.Name = "GtkAlignment6"; this.GtkAlignment6.LeftPadding = ((uint)(12)); // Container child GtkAlignment6.Gtk.Container+ContainerChild this.entry5 = new global::Gtk.Entry(); this.entry5.CanFocus = true; this.entry5.Name = "entry5"; this.entry5.IsEditable = true; this.entry5.InvisibleChar = '●'; this.GtkAlignment6.Add(this.entry5); this.frame5.Add(this.GtkAlignment6); this.GtkLabel1 = new global::Gtk.Label(); this.GtkLabel1.Name = "GtkLabel1"; this.GtkLabel1.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Name</b>"); this.GtkLabel1.UseMarkup = true; this.frame5.LabelWidget = this.GtkLabel1; this.vbox4.Add(this.frame5); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frame5])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.frame6 = new global::Gtk.Frame(); this.frame6.Name = "frame6"; this.frame6.ShadowType = ((global::Gtk.ShadowType)(0)); // Container child frame6.Gtk.Container+ContainerChild this.GtkAlignment7 = new global::Gtk.Alignment(0F, 0F, 1F, 1F); this.GtkAlignment7.Name = "GtkAlignment7"; this.GtkAlignment7.LeftPadding = ((uint)(12)); // Container child GtkAlignment7.Gtk.Container+ContainerChild this.combobox2 = global::Gtk.ComboBox.NewText(); this.combobox2.Name = "combobox2"; this.GtkAlignment7.Add(this.combobox2); this.frame6.Add(this.GtkAlignment7); this.GtkLabel7 = new global::Gtk.Label(); this.GtkLabel7.Name = "GtkLabel7"; this.GtkLabel7.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Parent Group</b>"); this.GtkLabel7.UseMarkup = true; this.frame6.LabelWidget = this.GtkLabel7; this.vbox4.Add(this.frame6); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.frame6])); w17.Position = 1; w17.Expand = false; w17.Fill = false; this.notebook4.Add(this.vbox4); global::Gtk.Notebook.NotebookChild w18 = ((global::Gtk.Notebook.NotebookChild)(this.notebook4[this.vbox4])); w18.Position = 1; // Notebook tab this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Group"); this.notebook4.SetTabLabel(this.vbox4, this.label5); this.label5.ShowAll(); this.GtkAlignment2.Add(this.notebook4); this.frame1.Add(this.GtkAlignment2); this.GtkLabel2 = new global::Gtk.Label(); this.GtkLabel2.Name = "GtkLabel2"; this.GtkLabel2.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Add new..</b>"); this.GtkLabel2.UseMarkup = true; this.frame1.LabelWidget = this.GtkLabel2; w1.Add(this.frame1); global::Gtk.Box.BoxChild w21 = ((global::Gtk.Box.BoxChild)(w1[this.frame1])); w21.Position = 0; w21.Expand = false; w21.Fill = false; // Internal child BMarksgXmlView.AddNewLink.ActionArea global::Gtk.HButtonBox w22 = this.ActionArea; w22.Name = "dialog1_ActionArea"; w22.Spacing = 10; w22.BorderWidth = ((uint)(5)); w22.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w23 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22[this.buttonCancel])); w23.Expand = false; w23.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w24 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w22[this.buttonOk])); w24.Position = 1; w24.Expand = false; w24.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 300; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget CGtk2.CategoriaWindow this.Name = "CGtk2.CategoriaWindow"; this.Title = global::Mono.Unix.Catalog.GetString("CategoriaWindow"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child CGtk2.CategoriaWindow.Gtk.Container+ContainerChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(1)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.entryName = new global::Gtk.Entry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '•'; this.table1.Add(this.entryName); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.entryName])); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label = new global::Gtk.Label(); this.label.Name = "label"; this.label.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre"); this.table1.Add(this.label); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.label])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox2.Add(this.table1); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.table1])); w3.Position = 0; w3.Expand = false; w3.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.hbuttonbox1 = new global::Gtk.HButtonBox(); this.hbuttonbox1.Name = "hbuttonbox1"; this.hbuttonbox1.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.hbuttonbox1.Add(this.buttonCancel); global::Gtk.ButtonBox.ButtonBoxChild w4 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.buttonCancel])); w4.Expand = false; w4.Fill = false; // Container child hbuttonbox1.Gtk.ButtonBox+ButtonBoxChild this.buttonAceptar = new global::Gtk.Button(); this.buttonAceptar.CanFocus = true; this.buttonAceptar.Name = "buttonAceptar"; this.buttonAceptar.UseStock = true; this.buttonAceptar.UseUnderline = true; this.buttonAceptar.Label = "gtk-ok"; this.hbuttonbox1.Add(this.buttonAceptar); global::Gtk.ButtonBox.ButtonBoxChild w5 = ((global::Gtk.ButtonBox.ButtonBoxChild)(this.hbuttonbox1[this.buttonAceptar])); w5.Position = 1; w5.Expand = false; w5.Fill = false; this.vbox2.Add(this.hbuttonbox1); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox2[this.hbuttonbox1])); w6.Position = 1; w6.Expand = false; w6.Fill = false; this.Add(this.vbox2); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 400; this.DefaultHeight = 218; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget earchive.ExtraField this.Name = "earchive.ExtraField"; this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Internal child earchive.ExtraField.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(7)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.comboType = global::Gtk.ComboBox.NewText(); this.comboType.AppendText(global::Mono.Unix.Catalog.GetString("Строка")); this.comboType.Name = "comboType"; this.comboType.Active = 0; this.table1.Add(this.comboType); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.comboType])); w2.TopAttach = ((uint)(5)); w2.BottomAttach = ((uint)(6)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryDBName = new global::Gtk.Entry(); this.entryDBName.CanFocus = true; this.entryDBName.Name = "entryDBName"; this.entryDBName.IsEditable = true; this.entryDBName.InvisibleChar = '●'; this.table1.Add(this.entryDBName); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryDBName])); w3.TopAttach = ((uint)(4)); w3.BottomAttach = ((uint)(5)); w3.LeftAttach = ((uint)(1)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryID = new global::Gtk.Entry(); this.entryID.Sensitive = false; this.entryID.CanFocus = true; this.entryID.Name = "entryID"; this.entryID.IsEditable = true; this.entryID.InvisibleChar = '●'; this.table1.Add(this.entryID); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryID])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.entryName = new global::Gtk.Entry(); this.entryName.CanFocus = true; this.entryName.Name = "entryName"; this.entryName.IsEditable = true; this.entryName.InvisibleChar = '●'; this.table1.Add(this.entryName); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1 [this.entryName])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.LeftAttach = ((uint)(1)); w5.RightAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Код:"); this.table1.Add(this.label2); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.label2])); w6.XOptions = ((global::Gtk.AttachOptions)(4)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Имя поля<span foreground=\"red\">*</span>:"); this.label3.UseMarkup = true; this.table1.Add(this.label3); global::Gtk.Table.TableChild w7 = ((global::Gtk.Table.TableChild)(this.table1 [this.label3])); w7.TopAttach = ((uint)(1)); w7.BottomAttach = ((uint)(2)); w7.XOptions = ((global::Gtk.AttachOptions)(4)); w7.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("Имя в БД<span foreground=\"red\">*</span>:"); this.label4.UseMarkup = true; this.table1.Add(this.label4); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.label4])); w8.TopAttach = ((uint)(4)); w8.BottomAttach = ((uint)(5)); w8.XOptions = ((global::Gtk.AttachOptions)(4)); w8.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 1F; this.label5.Yalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("Свойства:"); this.table1.Add(this.label5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w9.TopAttach = ((uint)(2)); w9.BottomAttach = ((uint)(3)); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("<b>Настройки хранения в БД</b>"); this.label6.UseMarkup = true; this.table1.Add(this.label6); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w10.TopAttach = ((uint)(3)); w10.BottomAttach = ((uint)(4)); w10.RightAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 1F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Тип поля<span foreground=\"red\">*</span>:"); this.label7.UseMarkup = true; this.table1.Add(this.label7); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w11.TopAttach = ((uint)(5)); w11.BottomAttach = ((uint)(6)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Размер<span foreground=\"red\">*</span>:"); this.label8.UseMarkup = true; this.table1.Add(this.label8); global::Gtk.Table.TableChild w12 = ((global::Gtk.Table.TableChild)(this.table1 [this.label8])); w12.TopAttach = ((uint)(6)); w12.BottomAttach = ((uint)(7)); w12.XOptions = ((global::Gtk.AttachOptions)(4)); w12.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.spinSize = new global::Gtk.SpinButton(1, 255, 1); this.spinSize.CanFocus = true; this.spinSize.Name = "spinSize"; this.spinSize.Adjustment.PageIncrement = 10; this.spinSize.ClimbRate = 1; this.spinSize.Numeric = true; this.spinSize.Value = 15; this.table1.Add(this.spinSize); global::Gtk.Table.TableChild w13 = ((global::Gtk.Table.TableChild)(this.table1 [this.spinSize])); w13.TopAttach = ((uint)(6)); w13.BottomAttach = ((uint)(7)); w13.LeftAttach = ((uint)(1)); w13.RightAttach = ((uint)(2)); w13.XOptions = ((global::Gtk.AttachOptions)(4)); w13.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.checkbuttonDisplay = new global::Gtk.CheckButton(); this.checkbuttonDisplay.CanFocus = true; this.checkbuttonDisplay.Name = "checkbuttonDisplay"; this.checkbuttonDisplay.Label = global::Mono.Unix.Catalog.GetString("Отображать в главной таблице"); this.checkbuttonDisplay.DrawIndicator = true; this.checkbuttonDisplay.UseUnderline = true; this.vbox2.Add(this.checkbuttonDisplay); global::Gtk.Box.BoxChild w14 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.checkbuttonDisplay])); w14.Position = 0; w14.Expand = false; w14.Fill = false; // Container child vbox2.Gtk.Box+BoxChild this.checkbuttonSearch = new global::Gtk.CheckButton(); this.checkbuttonSearch.CanFocus = true; this.checkbuttonSearch.Name = "checkbuttonSearch"; this.checkbuttonSearch.Label = global::Mono.Unix.Catalog.GetString("Поиск по полю"); this.checkbuttonSearch.DrawIndicator = true; this.checkbuttonSearch.UseUnderline = true; this.vbox2.Add(this.checkbuttonSearch); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.checkbuttonSearch])); w15.Position = 1; w15.Expand = false; w15.Fill = false; this.table1.Add(this.vbox2); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox2])); w16.TopAttach = ((uint)(2)); w16.BottomAttach = ((uint)(3)); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.XOptions = ((global::Gtk.AttachOptions)(4)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add(this.table1); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w17.Position = 0; w17.Expand = false; w17.Fill = false; // Internal child earchive.ExtraField.ActionArea global::Gtk.HButtonBox w18 = this.ActionArea; w18.Name = "dialog1_ActionArea"; w18.Spacing = 10; w18.BorderWidth = ((uint)(5)); w18.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = global::Mono.Unix.Catalog.GetString("О_тменить"); global::Gtk.Image w19 = new global::Gtk.Image(); w19.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-cancel", global::Gtk.IconSize.Menu); this.buttonCancel.Image = w19; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w20 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonCancel])); w20.Expand = false; w20.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseUnderline = true; this.buttonOk.Label = global::Mono.Unix.Catalog.GetString("_OK"); global::Gtk.Image w21 = new global::Gtk.Image(); w21.Pixbuf = global::Stetic.IconLoader.LoadIcon(this, "gtk-ok", global::Gtk.IconSize.Menu); this.buttonOk.Image = w21; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w22 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w18 [this.buttonOk])); w22.Position = 1; w22.Expand = false; w22.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 343; this.DefaultHeight = 338; this.Show(); this.buttonOk.Clicked += new global::System.EventHandler(this.OnButtonOkClicked); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget proyectoKermesse.arqueoBonos this.Name = "proyectoKermesse.arqueoBonos"; this.Title = global::Mono.Unix.Catalog.GetString("arqueoBonos"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); // Container child proyectoKermesse.arqueoBonos.Gtk.Container+ContainerChild this.vbox14 = new global::Gtk.VBox(); this.vbox14.Name = "vbox14"; this.vbox14.Spacing = 6; // Container child vbox14.Gtk.Box+BoxChild this.label28 = new global::Gtk.Label(); this.label28.Name = "label28"; this.label28.LabelProp = global::Mono.Unix.Catalog.GetString("Arqueo de Bonos"); this.vbox14.Add(this.label28); global::Gtk.Box.BoxChild w1 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.label28])); w1.Position = 0; w1.Expand = false; w1.Fill = false; // Container child vbox14.Gtk.Box+BoxChild this.vbox15 = new global::Gtk.VBox(); this.vbox15.Name = "vbox15"; this.vbox15.Spacing = 6; // Container child vbox15.Gtk.Box+BoxChild this.hbox20 = new global::Gtk.HBox(); this.hbox20.Name = "hbox20"; this.hbox20.Spacing = 6; // Container child hbox20.Gtk.Box+BoxChild this.label31 = new global::Gtk.Label(); this.label31.Name = "label31"; this.label31.LabelProp = global::Mono.Unix.Catalog.GetString("Nombre"); this.hbox20.Add(this.label31); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.label31])); w2.Position = 0; w2.Expand = false; w2.Fill = false; w2.Padding = ((uint)(33)); // Container child hbox20.Gtk.Box+BoxChild this.entry18 = new global::Gtk.Entry(); this.entry18.CanFocus = true; this.entry18.Name = "entry18"; this.entry18.IsEditable = true; this.entry18.InvisibleChar = '•'; this.hbox20.Add(this.entry18); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox20[this.entry18])); w3.Position = 1; this.vbox15.Add(this.hbox20); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hbox20])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox15.Gtk.Box+BoxChild this.hbox19 = new global::Gtk.HBox(); this.hbox19.Name = "hbox19"; this.hbox19.Spacing = 6; // Container child hbox19.Gtk.Box+BoxChild this.hbox21 = new global::Gtk.HBox(); this.hbox21.Name = "hbox21"; this.hbox21.Spacing = 6; // Container child hbox21.Gtk.Box+BoxChild this.label32 = new global::Gtk.Label(); this.label32.Name = "label32"; this.label32.LabelProp = global::Mono.Unix.Catalog.GetString("Producto Vendido"); this.hbox21.Add(this.label32); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.label32])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Container child hbox21.Gtk.Box+BoxChild this.entry19 = new global::Gtk.Entry(); this.entry19.CanFocus = true; this.entry19.Name = "entry19"; this.entry19.IsEditable = true; this.entry19.InvisibleChar = '•'; this.hbox21.Add(this.entry19); global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox21[this.entry19])); w6.Position = 1; this.hbox19.Add(this.hbox21); global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox19[this.hbox21])); w7.Position = 0; this.vbox15.Add(this.hbox19); global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.hbox19])); w8.Position = 1; w8.Expand = false; w8.Fill = false; // Container child vbox15.Gtk.Box+BoxChild this.table10 = new global::Gtk.Table(((uint)(2)), ((uint)(1)), false); this.table10.Name = "table10"; this.table10.RowSpacing = ((uint)(6)); this.table10.ColumnSpacing = ((uint)(6)); // Container child table10.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeview4 = new global::Gtk.TreeView(); this.treeview4.CanFocus = true; this.treeview4.Name = "treeview4"; this.GtkScrolledWindow.Add(this.treeview4); this.table10.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table10[this.GtkScrolledWindow])); w10.TopAttach = ((uint)(1)); w10.BottomAttach = ((uint)(2)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table10.Gtk.Table+TableChild this.hbox22 = new global::Gtk.HBox(); this.hbox22.Name = "hbox22"; this.hbox22.Spacing = 6; // Container child hbox22.Gtk.Box+BoxChild this.lblCantidad = new global::Gtk.Label(); this.lblCantidad.Name = "lblCantidad"; this.lblCantidad.LabelProp = global::Mono.Unix.Catalog.GetString("Cantidad"); this.hbox22.Add(this.lblCantidad); global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.lblCantidad])); w11.Position = 0; w11.Expand = false; w11.Fill = false; w11.Padding = ((uint)(74)); // Container child hbox22.Gtk.Box+BoxChild this.label34 = new global::Gtk.Label(); this.label34.Name = "label34"; this.label34.LabelProp = global::Mono.Unix.Catalog.GetString("Bonos de"); this.hbox22.Add(this.label34); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.label34])); w12.Position = 1; w12.Expand = false; w12.Fill = false; w12.Padding = ((uint)(100)); // Container child hbox22.Gtk.Box+BoxChild this.label35 = new global::Gtk.Label(); this.label35.Name = "label35"; this.label35.LabelProp = global::Mono.Unix.Catalog.GetString("Valor total"); this.hbox22.Add(this.label35); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.hbox22[this.label35])); w13.Position = 2; w13.Expand = false; w13.Fill = false; w13.Padding = ((uint)(59)); this.table10.Add(this.hbox22); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table10[this.hbox22])); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.vbox15.Add(this.table10); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.vbox15[this.table10])); w15.Position = 2; w15.Padding = ((uint)(9)); this.vbox14.Add(this.vbox15); global::Gtk.Box.BoxChild w16 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.vbox15])); w16.Position = 1; // Container child vbox14.Gtk.Box+BoxChild this.hbox23 = new global::Gtk.HBox(); this.hbox23.Name = "hbox23"; this.hbox23.Spacing = 6; // Container child hbox23.Gtk.Box+BoxChild 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.hbox23.Add(this.btnGuardar); global::Gtk.Box.BoxChild w17 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.btnGuardar])); w17.Position = 0; w17.Expand = false; w17.Fill = false; w17.Padding = ((uint)(165)); // Container child hbox23.Gtk.Box+BoxChild 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.hbox23.Add(this.btnCancelar); global::Gtk.Box.BoxChild w18 = ((global::Gtk.Box.BoxChild)(this.hbox23[this.btnCancelar])); w18.Position = 1; w18.Expand = false; w18.Fill = false; this.vbox14.Add(this.hbox23); global::Gtk.Box.BoxChild w19 = ((global::Gtk.Box.BoxChild)(this.vbox14[this.hbox23])); w19.Position = 2; w19.Expand = false; w19.Fill = false; this.Add(this.vbox14); if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 674; this.DefaultHeight = 525; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.Ide.Gui.OptionPanels.GlobalAuthorInformationPanelWidget global::Stetic.BinContainer.Attach(this); this.Name = "MonoDevelop.Ide.Gui.OptionPanels.GlobalAuthorInformationPanelWidget"; // Container child MonoDevelop.Ide.Gui.OptionPanels.GlobalAuthorInformationPanelWidget.Gtk.Container+ContainerChild this.table1 = new global::Gtk.Table(((uint)(3)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.copyrightEntry = new global::Gtk.Entry(); this.copyrightEntry.CanFocus = true; this.copyrightEntry.Name = "copyrightEntry"; this.copyrightEntry.IsEditable = true; this.copyrightEntry.InvisibleChar = '●'; this.table1.Add(this.copyrightEntry); global::Gtk.Table.TableChild w1 = ((global::Gtk.Table.TableChild)(this.table1[this.copyrightEntry])); w1.TopAttach = ((uint)(2)); w1.BottomAttach = ((uint)(3)); w1.LeftAttach = ((uint)(1)); w1.RightAttach = ((uint)(2)); w1.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.emailEntry = new global::Gtk.Entry(); this.emailEntry.CanFocus = true; this.emailEntry.Name = "emailEntry"; this.emailEntry.IsEditable = true; this.emailEntry.InvisibleChar = '●'; this.table1.Add(this.emailEntry); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1[this.emailEntry])); w2.TopAttach = ((uint)(1)); w2.BottomAttach = ((uint)(2)); w2.LeftAttach = ((uint)(1)); w2.RightAttach = ((uint)(2)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 0f; this.label2.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("_Name:"); this.label2.UseUnderline = true; this.table1.Add(this.label2); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1[this.label2])); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 0f; this.label3.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("_Copyright:"); this.label3.UseUnderline = true; this.table1.Add(this.label3); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1[this.label3])); w4.TopAttach = ((uint)(2)); w4.BottomAttach = ((uint)(3)); w4.XOptions = ((global::Gtk.AttachOptions)(4)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 0f; this.label4.LabelProp = global::MonoDevelop.Core.GettextCatalog.GetString("_Email:"); this.label4.UseUnderline = true; this.table1.Add(this.label4); global::Gtk.Table.TableChild w5 = ((global::Gtk.Table.TableChild)(this.table1[this.label4])); w5.TopAttach = ((uint)(1)); w5.BottomAttach = ((uint)(2)); w5.XOptions = ((global::Gtk.AttachOptions)(4)); w5.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.nameEntry = new global::Gtk.Entry(); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '●'; this.table1.Add(this.nameEntry); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1[this.nameEntry])); w6.LeftAttach = ((uint)(1)); w6.RightAttach = ((uint)(2)); w6.YOptions = ((global::Gtk.AttachOptions)(4)); this.Add(this.table1); if ((this.Child != null)) { this.Child.ShowAll(); } this.label2.MnemonicWidget = this.nameEntry; this.Hide(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget MonoDevelop.CSharp.Refactoring.CodeIssues.NameConventionEditRuleDialog this.WidthRequest = 640; this.HeightRequest = 480; this.Name = "MonoDevelop.CSharp.Refactoring.CodeIssues.NameConventionEditRuleDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Edit Naming Rule"); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.Resizable = false; this.DestroyWithParent = true; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child MonoDevelop.CSharp.Refactoring.CodeIssues.NameConventionEditRuleDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.vbox3 = new global::Gtk.VBox(); this.vbox3.Name = "vbox3"; this.vbox3.Spacing = 6; // Container child vbox3.Gtk.Box+BoxChild this.hbox3 = new global::Gtk.HBox(); this.hbox3.Name = "hbox3"; this.hbox3.Spacing = 6; // Container child hbox3.Gtk.Box+BoxChild this.label4 = new global::Gtk.Label(); this.label4.Name = "label4"; this.label4.Xalign = 1F; this.label4.LabelProp = global::Mono.Unix.Catalog.GetString("_Rule:"); this.label4.UseUnderline = true; this.hbox3.Add(this.label4); global::Gtk.Box.BoxChild w2 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.label4])); w2.Position = 0; w2.Expand = false; w2.Fill = false; // Container child hbox3.Gtk.Box+BoxChild this.entryRuleName = new global::Gtk.Entry(); this.entryRuleName.CanFocus = true; this.entryRuleName.Name = "entryRuleName"; this.entryRuleName.IsEditable = true; this.entryRuleName.InvisibleChar = '●'; this.hbox3.Add(this.entryRuleName); global::Gtk.Box.BoxChild w3 = ((global::Gtk.Box.BoxChild)(this.hbox3 [this.entryRuleName])); w3.Position = 1; this.vbox3.Add(this.hbox3); global::Gtk.Box.BoxChild w4 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox3])); w4.Position = 0; w4.Expand = false; w4.Fill = false; // Container child vbox3.Gtk.Box+BoxChild this.hbox1 = new global::Gtk.HBox(); this.hbox1.Name = "hbox1"; this.hbox1.Spacing = 6; // Container child hbox1.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); this.table1.BorderWidth = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow.Name = "GtkScrolledWindow"; this.GtkScrolledWindow.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow.Gtk.Container+ContainerChild this.treeviewEntities = new global::Gtk.TreeView(); this.treeviewEntities.WidthRequest = 0; this.treeviewEntities.CanFocus = true; this.treeviewEntities.Name = "treeviewEntities"; this.treeviewEntities.HeadersVisible = false; this.GtkScrolledWindow.Add(this.treeviewEntities); this.table1.Add(this.GtkScrolledWindow); global::Gtk.Table.TableChild w6 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow])); w6.TopAttach = ((uint)(1)); w6.BottomAttach = ((uint)(2)); w6.RightAttach = ((uint)(2)); w6.XOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.GtkScrolledWindow1 = new global::Gtk.ScrolledWindow(); this.GtkScrolledWindow1.Name = "GtkScrolledWindow1"; this.GtkScrolledWindow1.ShadowType = ((global::Gtk.ShadowType)(1)); // Container child GtkScrolledWindow1.Gtk.Container+ContainerChild this.treeviewAccessibility = new global::Gtk.TreeView(); this.treeviewAccessibility.CanFocus = true; this.treeviewAccessibility.Name = "treeviewAccessibility"; this.treeviewAccessibility.HeadersVisible = false; this.GtkScrolledWindow1.Add(this.treeviewAccessibility); this.table1.Add(this.GtkScrolledWindow1); global::Gtk.Table.TableChild w8 = ((global::Gtk.Table.TableChild)(this.table1 [this.GtkScrolledWindow1])); w8.TopAttach = ((uint)(3)); w8.BottomAttach = ((uint)(4)); // Container child table1.Gtk.Table+TableChild this.label5 = new global::Gtk.Label(); this.label5.Name = "label5"; this.label5.Xalign = 0F; this.label5.LabelProp = global::Mono.Unix.Catalog.GetString("_Affected entities:"); this.label5.UseUnderline = true; this.table1.Add(this.label5); global::Gtk.Table.TableChild w9 = ((global::Gtk.Table.TableChild)(this.table1 [this.label5])); w9.XOptions = ((global::Gtk.AttachOptions)(4)); w9.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label6 = new global::Gtk.Label(); this.label6.Name = "label6"; this.label6.Xalign = 0F; this.label6.LabelProp = global::Mono.Unix.Catalog.GetString("_Accessibility:"); this.label6.UseUnderline = true; this.table1.Add(this.label6); global::Gtk.Table.TableChild w10 = ((global::Gtk.Table.TableChild)(this.table1 [this.label6])); w10.TopAttach = ((uint)(2)); w10.BottomAttach = ((uint)(3)); w10.XOptions = ((global::Gtk.AttachOptions)(4)); w10.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.label7 = new global::Gtk.Label(); this.label7.Name = "label7"; this.label7.Xalign = 0F; this.label7.LabelProp = global::Mono.Unix.Catalog.GetString("Static/Non Static"); this.table1.Add(this.label7); global::Gtk.Table.TableChild w11 = ((global::Gtk.Table.TableChild)(this.table1 [this.label7])); w11.TopAttach = ((uint)(2)); w11.BottomAttach = ((uint)(3)); w11.LeftAttach = ((uint)(1)); w11.RightAttach = ((uint)(2)); w11.XOptions = ((global::Gtk.AttachOptions)(4)); w11.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.vbox1 = new global::Gtk.VBox(); this.vbox1.Name = "vbox1"; this.vbox1.Spacing = 6; // Container child vbox1.Gtk.Box+BoxChild this.checkbuttonStatic = new global::Gtk.CheckButton(); this.checkbuttonStatic.CanFocus = true; this.checkbuttonStatic.Name = "checkbuttonStatic"; this.checkbuttonStatic.Label = global::Mono.Unix.Catalog.GetString("_Static member and types"); this.checkbuttonStatic.Active = true; this.checkbuttonStatic.DrawIndicator = true; this.checkbuttonStatic.UseUnderline = true; this.vbox1.Add(this.checkbuttonStatic); global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.checkbuttonStatic])); w12.Position = 0; w12.Expand = false; w12.Fill = false; // Container child vbox1.Gtk.Box+BoxChild this.checkbuttonInstanceMembers = new global::Gtk.CheckButton(); this.checkbuttonInstanceMembers.CanFocus = true; this.checkbuttonInstanceMembers.Name = "checkbuttonInstanceMembers"; this.checkbuttonInstanceMembers.Label = global::Mono.Unix.Catalog.GetString("_Instance members and locals"); this.checkbuttonInstanceMembers.DrawIndicator = true; this.checkbuttonInstanceMembers.UseUnderline = true; this.vbox1.Add(this.checkbuttonInstanceMembers); global::Gtk.Box.BoxChild w13 = ((global::Gtk.Box.BoxChild)(this.vbox1 [this.checkbuttonInstanceMembers])); w13.Position = 1; w13.Expand = false; w13.Fill = false; this.table1.Add(this.vbox1); global::Gtk.Table.TableChild w14 = ((global::Gtk.Table.TableChild)(this.table1 [this.vbox1])); w14.TopAttach = ((uint)(3)); w14.BottomAttach = ((uint)(4)); w14.LeftAttach = ((uint)(1)); w14.RightAttach = ((uint)(2)); w14.XOptions = ((global::Gtk.AttachOptions)(4)); w14.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table1); global::Gtk.Box.BoxChild w15 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table1])); w15.Position = 0; // Container child hbox1.Gtk.Box+BoxChild this.table2 = new global::Gtk.Table(((uint)(4)), ((uint)(2)), false); this.table2.Name = "table2"; this.table2.RowSpacing = ((uint)(6)); this.table2.ColumnSpacing = ((uint)(6)); // Container child table2.Gtk.Table+TableChild this.entryPrefix = new global::Gtk.Entry(); this.entryPrefix.CanFocus = true; this.entryPrefix.Name = "entryPrefix"; this.entryPrefix.IsEditable = true; this.entryPrefix.InvisibleChar = '●'; this.table2.Add(this.entryPrefix); global::Gtk.Table.TableChild w16 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryPrefix])); w16.LeftAttach = ((uint)(1)); w16.RightAttach = ((uint)(2)); w16.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entryPrefixAllowed = new global::Gtk.Entry(); this.entryPrefixAllowed.CanFocus = true; this.entryPrefixAllowed.Name = "entryPrefixAllowed"; this.entryPrefixAllowed.IsEditable = true; this.entryPrefixAllowed.InvisibleChar = '●'; this.table2.Add(this.entryPrefixAllowed); global::Gtk.Table.TableChild w17 = ((global::Gtk.Table.TableChild)(this.table2 [this.entryPrefixAllowed])); w17.TopAttach = ((uint)(1)); w17.BottomAttach = ((uint)(2)); w17.LeftAttach = ((uint)(1)); w17.RightAttach = ((uint)(2)); w17.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.entrySuffix = new global::Gtk.Entry(); this.entrySuffix.CanFocus = true; this.entrySuffix.Name = "entrySuffix"; this.entrySuffix.IsEditable = true; this.entrySuffix.InvisibleChar = '●'; this.table2.Add(this.entrySuffix); global::Gtk.Table.TableChild w18 = ((global::Gtk.Table.TableChild)(this.table2 [this.entrySuffix])); w18.TopAttach = ((uint)(3)); w18.BottomAttach = ((uint)(4)); w18.LeftAttach = ((uint)(1)); w18.RightAttach = ((uint)(2)); w18.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.Xalign = 1F; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Prefix:"); this.table2.Add(this.label1); global::Gtk.Table.TableChild w19 = ((global::Gtk.Table.TableChild)(this.table2 [this.label1])); w19.XOptions = ((global::Gtk.AttachOptions)(4)); w19.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label3 = new global::Gtk.Label(); this.label3.Name = "label3"; this.label3.Xalign = 1F; this.label3.LabelProp = global::Mono.Unix.Catalog.GetString("Suffix:"); this.table2.Add(this.label3); global::Gtk.Table.TableChild w20 = ((global::Gtk.Table.TableChild)(this.table2 [this.label3])); w20.TopAttach = ((uint)(3)); w20.BottomAttach = ((uint)(4)); w20.XOptions = ((global::Gtk.AttachOptions)(4)); w20.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.label8 = new global::Gtk.Label(); this.label8.Name = "label8"; this.label8.Xalign = 1F; this.label8.LabelProp = global::Mono.Unix.Catalog.GetString("Optional Prefixes:"); this.table2.Add(this.label8); global::Gtk.Table.TableChild w21 = ((global::Gtk.Table.TableChild)(this.table2 [this.label8])); w21.TopAttach = ((uint)(1)); w21.BottomAttach = ((uint)(2)); w21.XOptions = ((global::Gtk.AttachOptions)(4)); w21.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.vbox2 = new global::Gtk.VBox(); this.vbox2.Name = "vbox2"; this.vbox2.Spacing = 6; // Container child vbox2.Gtk.Box+BoxChild this.label2 = new global::Gtk.Label(); this.label2.Name = "label2"; this.label2.Xalign = 1F; this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Style:"); this.vbox2.Add(this.label2); global::Gtk.Box.BoxChild w22 = ((global::Gtk.Box.BoxChild)(this.vbox2 [this.label2])); w22.Position = 0; w22.Expand = false; w22.Fill = false; this.table2.Add(this.vbox2); global::Gtk.Table.TableChild w23 = ((global::Gtk.Table.TableChild)(this.table2 [this.vbox2])); w23.TopAttach = ((uint)(2)); w23.BottomAttach = ((uint)(3)); w23.XOptions = ((global::Gtk.AttachOptions)(4)); w23.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table2.Gtk.Table+TableChild this.vbox4 = new global::Gtk.VBox(); this.vbox4.Name = "vbox4"; this.vbox4.Spacing = 6; // Container child vbox4.Gtk.Box+BoxChild this.radiobuttonPascalCase = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("_PascalCase")); this.radiobuttonPascalCase.CanFocus = true; this.radiobuttonPascalCase.Name = "radiobuttonPascalCase"; this.radiobuttonPascalCase.Active = true; this.radiobuttonPascalCase.DrawIndicator = true; this.radiobuttonPascalCase.UseUnderline = true; this.radiobuttonPascalCase.Group = new global::GLib.SList(global::System.IntPtr.Zero); this.vbox4.Add(this.radiobuttonPascalCase); global::Gtk.Box.BoxChild w24 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.radiobuttonPascalCase])); w24.Position = 0; w24.Expand = false; w24.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobuttonCamelCase = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("_camelCase")); this.radiobuttonCamelCase.CanFocus = true; this.radiobuttonCamelCase.Name = "radiobuttonCamelCase"; this.radiobuttonCamelCase.DrawIndicator = true; this.radiobuttonCamelCase.UseUnderline = true; this.radiobuttonCamelCase.Group = this.radiobuttonPascalCase.Group; this.vbox4.Add(this.radiobuttonCamelCase); global::Gtk.Box.BoxChild w25 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.radiobuttonCamelCase])); w25.Position = 1; w25.Expand = false; w25.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobuttonAllUpper = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("_ALL__Upper")); this.radiobuttonAllUpper.CanFocus = true; this.radiobuttonAllUpper.Name = "radiobuttonAllUpper"; this.radiobuttonAllUpper.DrawIndicator = true; this.radiobuttonAllUpper.UseUnderline = true; this.radiobuttonAllUpper.Group = this.radiobuttonPascalCase.Group; this.vbox4.Add(this.radiobuttonAllUpper); global::Gtk.Box.BoxChild w26 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.radiobuttonAllUpper])); w26.Position = 2; w26.Expand = false; w26.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobuttonAllLower = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("all__l_ower")); this.radiobuttonAllLower.CanFocus = true; this.radiobuttonAllLower.Name = "radiobuttonAllLower"; this.radiobuttonAllLower.DrawIndicator = true; this.radiobuttonAllLower.UseUnderline = true; this.radiobuttonAllLower.Group = this.radiobuttonPascalCase.Group; this.vbox4.Add(this.radiobuttonAllLower); global::Gtk.Box.BoxChild w27 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.radiobuttonAllLower])); w27.Position = 3; w27.Expand = false; w27.Fill = false; // Container child vbox4.Gtk.Box+BoxChild this.radiobuttonFirstUpper = new global::Gtk.RadioButton(global::Mono.Unix.Catalog.GetString("_First__upper")); this.radiobuttonFirstUpper.CanFocus = true; this.radiobuttonFirstUpper.Name = "radiobuttonFirstUpper"; this.radiobuttonFirstUpper.DrawIndicator = true; this.radiobuttonFirstUpper.UseUnderline = true; this.radiobuttonFirstUpper.Group = this.radiobuttonPascalCase.Group; this.vbox4.Add(this.radiobuttonFirstUpper); global::Gtk.Box.BoxChild w28 = ((global::Gtk.Box.BoxChild)(this.vbox4 [this.radiobuttonFirstUpper])); w28.Position = 4; w28.Expand = false; w28.Fill = false; this.table2.Add(this.vbox4); global::Gtk.Table.TableChild w29 = ((global::Gtk.Table.TableChild)(this.table2 [this.vbox4])); w29.TopAttach = ((uint)(2)); w29.BottomAttach = ((uint)(3)); w29.LeftAttach = ((uint)(1)); w29.RightAttach = ((uint)(2)); w29.YOptions = ((global::Gtk.AttachOptions)(4)); this.hbox1.Add(this.table2); global::Gtk.Box.BoxChild w30 = ((global::Gtk.Box.BoxChild)(this.hbox1 [this.table2])); w30.Position = 1; this.vbox3.Add(this.hbox1); global::Gtk.Box.BoxChild w31 = ((global::Gtk.Box.BoxChild)(this.vbox3 [this.hbox1])); w31.Position = 1; w1.Add(this.vbox3); global::Gtk.Box.BoxChild w32 = ((global::Gtk.Box.BoxChild)(w1 [this.vbox3])); w32.Position = 0; w32.Padding = ((uint)(6)); // Internal child MonoDevelop.CSharp.Refactoring.CodeIssues.NameConventionEditRuleDialog.ActionArea global::Gtk.HButtonBox w33 = this.ActionArea; w33.Name = "dialog1_ActionArea"; w33.Spacing = 10; w33.BorderWidth = ((uint)(5)); w33.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w34 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w33 [this.buttonCancel])); w34.Expand = false; w34.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w35 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w33 [this.buttonOk])); w35.Position = 1; w35.Expand = false; w35.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 646; this.DefaultHeight = 508; this.Show(); }
protected virtual void Build() { global::Stetic.Gui.Initialize(this); // Widget ocmgtk.AddLocationDialog this.Name = "ocmgtk.AddLocationDialog"; this.Title = global::Mono.Unix.Catalog.GetString("Add Location..."); this.TypeHint = ((global::Gdk.WindowTypeHint)(1)); this.WindowPosition = ((global::Gtk.WindowPosition)(4)); this.Modal = true; this.BorderWidth = ((uint)(6)); this.Resizable = false; this.AllowGrow = false; this.Role = ""; this.SkipPagerHint = true; this.SkipTaskbarHint = true; // Internal child ocmgtk.AddLocationDialog.VBox global::Gtk.VBox w1 = this.VBox; w1.Name = "dialog1_VBox"; w1.BorderWidth = ((uint)(2)); // Container child dialog1_VBox.Gtk.Box+BoxChild this.table1 = new global::Gtk.Table(((uint)(2)), ((uint)(2)), false); this.table1.Name = "table1"; this.table1.RowSpacing = ((uint)(6)); this.table1.ColumnSpacing = ((uint)(6)); // Container child table1.Gtk.Table+TableChild this.label1 = new global::Gtk.Label(); this.label1.Name = "label1"; this.label1.LabelProp = global::Mono.Unix.Catalog.GetString("Name:"); this.table1.Add(this.label1); global::Gtk.Table.TableChild w2 = ((global::Gtk.Table.TableChild)(this.table1 [this.label1])); w2.XOptions = ((global::Gtk.AttachOptions)(4)); w2.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.locationwidget1 = null; this.table1.Add(this.locationwidget1); global::Gtk.Table.TableChild w3 = ((global::Gtk.Table.TableChild)(this.table1 [this.locationwidget1])); w3.TopAttach = ((uint)(1)); w3.BottomAttach = ((uint)(2)); w3.RightAttach = ((uint)(2)); w3.XOptions = ((global::Gtk.AttachOptions)(4)); w3.YOptions = ((global::Gtk.AttachOptions)(4)); // Container child table1.Gtk.Table+TableChild this.nameEntry = new global::Gtk.Entry(); this.nameEntry.CanFocus = true; this.nameEntry.Name = "nameEntry"; this.nameEntry.IsEditable = true; this.nameEntry.InvisibleChar = '•'; this.table1.Add(this.nameEntry); global::Gtk.Table.TableChild w4 = ((global::Gtk.Table.TableChild)(this.table1 [this.nameEntry])); w4.LeftAttach = ((uint)(1)); w4.RightAttach = ((uint)(2)); w4.YOptions = ((global::Gtk.AttachOptions)(4)); w1.Add(this.table1); global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(w1 [this.table1])); w5.Position = 0; w5.Expand = false; w5.Fill = false; // Internal child ocmgtk.AddLocationDialog.ActionArea global::Gtk.HButtonBox w6 = this.ActionArea; w6.Name = "dialog1_ActionArea"; w6.Spacing = 10; w6.BorderWidth = ((uint)(5)); w6.LayoutStyle = ((global::Gtk.ButtonBoxStyle)(4)); // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonCancel = new global::Gtk.Button(); this.buttonCancel.CanDefault = true; this.buttonCancel.CanFocus = true; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.UseStock = true; this.buttonCancel.UseUnderline = true; this.buttonCancel.Label = "gtk-cancel"; this.AddActionWidget(this.buttonCancel, -6); global::Gtk.ButtonBox.ButtonBoxChild w7 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonCancel])); w7.Expand = false; w7.Fill = false; // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild this.buttonOk = new global::Gtk.Button(); this.buttonOk.CanDefault = true; this.buttonOk.CanFocus = true; this.buttonOk.Name = "buttonOk"; this.buttonOk.UseStock = true; this.buttonOk.UseUnderline = true; this.buttonOk.Label = "gtk-ok"; this.AddActionWidget(this.buttonOk, -5); global::Gtk.ButtonBox.ButtonBoxChild w8 = ((global::Gtk.ButtonBox.ButtonBoxChild)(w6 [this.buttonOk])); w8.Position = 1; w8.Expand = false; w8.Fill = false; if ((this.Child != null)) { this.Child.ShowAll(); } this.DefaultWidth = 351; this.DefaultHeight = 195; this.Show(); this.buttonCancel.Clicked += new global::System.EventHandler(this.OnCancelClick); this.buttonOk.Clicked += new global::System.EventHandler(this.OnOKClick); }