Click here to Skip to main content
15,897,334 members
Articles / Programming Languages / C#

Developing a GTK# Application that Retrieves Detailed Stock Information using MonoDevelop and Web Services

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
18 Oct 2008CPOL2 min read 28.9K   475   6  
Web Services consumption using MonoDevelop and GTK#
// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.42
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------



public partial class MainWindow {
    
    private Gtk.Table table1;
    
    private Gtk.Table table2;
    
    private Gtk.Button button2;
    
    private Gtk.ComboBox cmbTemplate;
    
    private Gtk.RadioButton radOwnSym;
    
    private Gtk.RadioButton radPreDef;
    
    private Gtk.Entry txtOwn;
    
    private Gtk.Table table3;
    
    private Gtk.Label label1;
    
    private Gtk.Label label11;
    
    private Gtk.Label label13;
    
    private Gtk.Label label15;
    
    private Gtk.Label label17;
    
    private Gtk.Label label19;
    
    private Gtk.Label label21;
    
    private Gtk.Label label23;
    
    private Gtk.Label label25;
    
    private Gtk.Label label27;
    
    private Gtk.Label label29;
    
    private Gtk.Label label3;
    
    private Gtk.Label label31;
    
    private Gtk.Label label5;
    
    private Gtk.Label label7;
    
    private Gtk.Label label9;
    
    private Gtk.Label lblAnnRange;
    
    private Gtk.Label lblChange;
    
    private Gtk.Label lblDate;
    
    private Gtk.Label lblEarns;
    
    private Gtk.Label lblHigh;
    
    private Gtk.Label lblLast;
    
    private Gtk.Label lblLow;
    
    private Gtk.Label lblMktCapt;
    
    private Gtk.Label lblName;
    
    private Gtk.Label lblOpen;
    
    private Gtk.Label lblPE;
    
    private Gtk.Label lblPercentChange;
    
    private Gtk.Label lblPrevClose;
    
    private Gtk.Label lblStockSymbol;
    
    private Gtk.Label lblTime;
    
    private Gtk.Label lblVolume;
    
    protected virtual void Build() {
        Stetic.Gui.Initialize(this);
        // Widget MainWindow
        this.Name = "MainWindow";
        this.Title = Mono.Unix.Catalog.GetString("Stock Information");
        this.WindowPosition = ((Gtk.WindowPosition)(4));
        // Container child MainWindow.Gtk.Container+ContainerChild
        this.table1 = new Gtk.Table(((uint)(2)), ((uint)(1)), false);
        this.table1.Name = "table1";
        this.table1.RowSpacing = ((uint)(6));
        this.table1.ColumnSpacing = ((uint)(6));
        // Container child table1.Gtk.Table+TableChild
        this.table2 = new Gtk.Table(((uint)(2)), ((uint)(3)), false);
        this.table2.Name = "table2";
        this.table2.RowSpacing = ((uint)(6));
        this.table2.ColumnSpacing = ((uint)(6));
        // Container child table2.Gtk.Table+TableChild
        this.button2 = new Gtk.Button();
        this.button2.CanFocus = true;
        this.button2.Name = "button2";
        this.button2.UseUnderline = true;
        this.button2.Label = Mono.Unix.Catalog.GetString("Get latest stock information");
        this.table2.Add(this.button2);
        Gtk.Table.TableChild w1 = ((Gtk.Table.TableChild)(this.table2[this.button2]));
        w1.LeftAttach = ((uint)(2));
        w1.RightAttach = ((uint)(3));
        w1.XOptions = ((Gtk.AttachOptions)(4));
        w1.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table2.Gtk.Table+TableChild
        this.cmbTemplate = Gtk.ComboBox.NewText();
        this.cmbTemplate.AppendText(Mono.Unix.Catalog.GetString("MSFT"));
        this.cmbTemplate.AppendText(Mono.Unix.Catalog.GetString("GOOG"));
        this.cmbTemplate.AppendText(Mono.Unix.Catalog.GetString("INFY"));
        this.cmbTemplate.AppendText(Mono.Unix.Catalog.GetString("BAC"));
        this.cmbTemplate.Name = "cmbTemplate";
        this.cmbTemplate.Active = 0;
        this.table2.Add(this.cmbTemplate);
        Gtk.Table.TableChild w2 = ((Gtk.Table.TableChild)(this.table2[this.cmbTemplate]));
        w2.LeftAttach = ((uint)(1));
        w2.RightAttach = ((uint)(2));
        w2.XOptions = ((Gtk.AttachOptions)(4));
        w2.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table2.Gtk.Table+TableChild
        this.radOwnSym = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Check for your symbol"));
        this.radOwnSym.CanFocus = true;
        this.radOwnSym.Name = "radOwnSym";
        this.radOwnSym.DrawIndicator = true;
        this.radOwnSym.UseUnderline = true;
        this.radOwnSym.Group = new GLib.SList(System.IntPtr.Zero);
        this.table2.Add(this.radOwnSym);
        Gtk.Table.TableChild w3 = ((Gtk.Table.TableChild)(this.table2[this.radOwnSym]));
        w3.TopAttach = ((uint)(1));
        w3.BottomAttach = ((uint)(2));
        w3.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table2.Gtk.Table+TableChild
        this.radPreDef = new Gtk.RadioButton(Mono.Unix.Catalog.GetString("Select a predefined symbol"));
        this.radPreDef.CanFocus = true;
        this.radPreDef.Name = "radPreDef";
        this.radPreDef.DrawIndicator = true;
        this.radPreDef.UseUnderline = true;
        this.radPreDef.Group = this.radOwnSym.Group;
        this.table2.Add(this.radPreDef);
        Gtk.Table.TableChild w4 = ((Gtk.Table.TableChild)(this.table2[this.radPreDef]));
        w4.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table2.Gtk.Table+TableChild
        this.txtOwn = new Gtk.Entry();
        this.txtOwn.CanFocus = true;
        this.txtOwn.Name = "txtOwn";
        this.txtOwn.IsEditable = true;
        this.txtOwn.InvisibleChar = '●';
        this.table2.Add(this.txtOwn);
        Gtk.Table.TableChild w5 = ((Gtk.Table.TableChild)(this.table2[this.txtOwn]));
        w5.TopAttach = ((uint)(1));
        w5.BottomAttach = ((uint)(2));
        w5.LeftAttach = ((uint)(1));
        w5.RightAttach = ((uint)(2));
        w5.XOptions = ((Gtk.AttachOptions)(4));
        w5.YOptions = ((Gtk.AttachOptions)(4));
        this.table1.Add(this.table2);
        Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.table2]));
        w6.XOptions = ((Gtk.AttachOptions)(4));
        w6.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table1.Gtk.Table+TableChild
        this.table3 = new Gtk.Table(((uint)(16)), ((uint)(2)), false);
        this.table3.Name = "table3";
        this.table3.RowSpacing = ((uint)(6));
        this.table3.ColumnSpacing = ((uint)(6));
        // Container child table3.Gtk.Table+TableChild
        this.label1 = new Gtk.Label();
        this.label1.Name = "label1";
        this.label1.LabelProp = Mono.Unix.Catalog.GetString("Stock Symbol");
        this.table3.Add(this.label1);
        Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table3[this.label1]));
        w7.XOptions = ((Gtk.AttachOptions)(4));
        w7.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label11 = new Gtk.Label();
        this.label11.Name = "label11";
        this.label11.LabelProp = Mono.Unix.Catalog.GetString("Open");
        this.table3.Add(this.label11);
        Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table3[this.label11]));
        w8.TopAttach = ((uint)(5));
        w8.BottomAttach = ((uint)(6));
        w8.XOptions = ((Gtk.AttachOptions)(4));
        w8.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label13 = new Gtk.Label();
        this.label13.Name = "label13";
        this.label13.LabelProp = Mono.Unix.Catalog.GetString("High");
        this.table3.Add(this.label13);
        Gtk.Table.TableChild w9 = ((Gtk.Table.TableChild)(this.table3[this.label13]));
        w9.TopAttach = ((uint)(6));
        w9.BottomAttach = ((uint)(7));
        w9.XOptions = ((Gtk.AttachOptions)(4));
        w9.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label15 = new Gtk.Label();
        this.label15.Name = "label15";
        this.label15.LabelProp = Mono.Unix.Catalog.GetString("Low");
        this.table3.Add(this.label15);
        Gtk.Table.TableChild w10 = ((Gtk.Table.TableChild)(this.table3[this.label15]));
        w10.TopAttach = ((uint)(7));
        w10.BottomAttach = ((uint)(8));
        w10.XOptions = ((Gtk.AttachOptions)(4));
        w10.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label17 = new Gtk.Label();
        this.label17.Name = "label17";
        this.label17.LabelProp = Mono.Unix.Catalog.GetString("Volume");
        this.table3.Add(this.label17);
        Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table3[this.label17]));
        w11.TopAttach = ((uint)(8));
        w11.BottomAttach = ((uint)(9));
        w11.XOptions = ((Gtk.AttachOptions)(4));
        w11.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label19 = new Gtk.Label();
        this.label19.Name = "label19";
        this.label19.LabelProp = Mono.Unix.Catalog.GetString("Market Capital");
        this.table3.Add(this.label19);
        Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table3[this.label19]));
        w12.TopAttach = ((uint)(9));
        w12.BottomAttach = ((uint)(10));
        w12.XOptions = ((Gtk.AttachOptions)(4));
        w12.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label21 = new Gtk.Label();
        this.label21.Name = "label21";
        this.label21.LabelProp = Mono.Unix.Catalog.GetString("Previous Close");
        this.table3.Add(this.label21);
        Gtk.Table.TableChild w13 = ((Gtk.Table.TableChild)(this.table3[this.label21]));
        w13.TopAttach = ((uint)(10));
        w13.BottomAttach = ((uint)(11));
        w13.XOptions = ((Gtk.AttachOptions)(4));
        w13.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label23 = new Gtk.Label();
        this.label23.Name = "label23";
        this.label23.LabelProp = Mono.Unix.Catalog.GetString("Percentage Change");
        this.table3.Add(this.label23);
        Gtk.Table.TableChild w14 = ((Gtk.Table.TableChild)(this.table3[this.label23]));
        w14.TopAttach = ((uint)(11));
        w14.BottomAttach = ((uint)(12));
        w14.XOptions = ((Gtk.AttachOptions)(4));
        w14.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label25 = new Gtk.Label();
        this.label25.Name = "label25";
        this.label25.LabelProp = Mono.Unix.Catalog.GetString("Annual Range");
        this.table3.Add(this.label25);
        Gtk.Table.TableChild w15 = ((Gtk.Table.TableChild)(this.table3[this.label25]));
        w15.TopAttach = ((uint)(12));
        w15.BottomAttach = ((uint)(13));
        w15.XOptions = ((Gtk.AttachOptions)(4));
        w15.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label27 = new Gtk.Label();
        this.label27.Name = "label27";
        this.label27.LabelProp = Mono.Unix.Catalog.GetString("Earns");
        this.table3.Add(this.label27);
        Gtk.Table.TableChild w16 = ((Gtk.Table.TableChild)(this.table3[this.label27]));
        w16.TopAttach = ((uint)(13));
        w16.BottomAttach = ((uint)(14));
        w16.XOptions = ((Gtk.AttachOptions)(4));
        w16.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label29 = new Gtk.Label();
        this.label29.Name = "label29";
        this.label29.LabelProp = Mono.Unix.Catalog.GetString("P-E");
        this.table3.Add(this.label29);
        Gtk.Table.TableChild w17 = ((Gtk.Table.TableChild)(this.table3[this.label29]));
        w17.TopAttach = ((uint)(14));
        w17.BottomAttach = ((uint)(15));
        w17.XOptions = ((Gtk.AttachOptions)(4));
        w17.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label3 = new Gtk.Label();
        this.label3.Name = "label3";
        this.label3.LabelProp = Mono.Unix.Catalog.GetString("Last");
        this.table3.Add(this.label3);
        Gtk.Table.TableChild w18 = ((Gtk.Table.TableChild)(this.table3[this.label3]));
        w18.TopAttach = ((uint)(1));
        w18.BottomAttach = ((uint)(2));
        w18.XOptions = ((Gtk.AttachOptions)(4));
        w18.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label31 = new Gtk.Label();
        this.label31.Name = "label31";
        this.label31.LabelProp = Mono.Unix.Catalog.GetString("Name");
        this.table3.Add(this.label31);
        Gtk.Table.TableChild w19 = ((Gtk.Table.TableChild)(this.table3[this.label31]));
        w19.TopAttach = ((uint)(15));
        w19.BottomAttach = ((uint)(16));
        w19.XOptions = ((Gtk.AttachOptions)(4));
        w19.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label5 = new Gtk.Label();
        this.label5.Name = "label5";
        this.label5.LabelProp = Mono.Unix.Catalog.GetString("Date");
        this.table3.Add(this.label5);
        Gtk.Table.TableChild w20 = ((Gtk.Table.TableChild)(this.table3[this.label5]));
        w20.TopAttach = ((uint)(2));
        w20.BottomAttach = ((uint)(3));
        w20.XOptions = ((Gtk.AttachOptions)(4));
        w20.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label7 = new Gtk.Label();
        this.label7.Name = "label7";
        this.label7.LabelProp = Mono.Unix.Catalog.GetString("Time");
        this.table3.Add(this.label7);
        Gtk.Table.TableChild w21 = ((Gtk.Table.TableChild)(this.table3[this.label7]));
        w21.TopAttach = ((uint)(3));
        w21.BottomAttach = ((uint)(4));
        w21.XOptions = ((Gtk.AttachOptions)(4));
        w21.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.label9 = new Gtk.Label();
        this.label9.Name = "label9";
        this.label9.LabelProp = Mono.Unix.Catalog.GetString("Change");
        this.table3.Add(this.label9);
        Gtk.Table.TableChild w22 = ((Gtk.Table.TableChild)(this.table3[this.label9]));
        w22.TopAttach = ((uint)(4));
        w22.BottomAttach = ((uint)(5));
        w22.XOptions = ((Gtk.AttachOptions)(4));
        w22.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblAnnRange = new Gtk.Label();
        this.lblAnnRange.Name = "lblAnnRange";
        this.lblAnnRange.LabelProp = "";
        this.table3.Add(this.lblAnnRange);
        Gtk.Table.TableChild w23 = ((Gtk.Table.TableChild)(this.table3[this.lblAnnRange]));
        w23.TopAttach = ((uint)(12));
        w23.BottomAttach = ((uint)(13));
        w23.LeftAttach = ((uint)(1));
        w23.RightAttach = ((uint)(2));
        w23.XOptions = ((Gtk.AttachOptions)(4));
        w23.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblChange = new Gtk.Label();
        this.lblChange.Name = "lblChange";
        this.lblChange.LabelProp = "";
        this.table3.Add(this.lblChange);
        Gtk.Table.TableChild w24 = ((Gtk.Table.TableChild)(this.table3[this.lblChange]));
        w24.TopAttach = ((uint)(4));
        w24.BottomAttach = ((uint)(5));
        w24.LeftAttach = ((uint)(1));
        w24.RightAttach = ((uint)(2));
        w24.XOptions = ((Gtk.AttachOptions)(4));
        w24.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblDate = new Gtk.Label();
        this.lblDate.Name = "lblDate";
        this.lblDate.LabelProp = "";
        this.table3.Add(this.lblDate);
        Gtk.Table.TableChild w25 = ((Gtk.Table.TableChild)(this.table3[this.lblDate]));
        w25.TopAttach = ((uint)(2));
        w25.BottomAttach = ((uint)(3));
        w25.LeftAttach = ((uint)(1));
        w25.RightAttach = ((uint)(2));
        w25.XOptions = ((Gtk.AttachOptions)(4));
        w25.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblEarns = new Gtk.Label();
        this.lblEarns.Name = "lblEarns";
        this.lblEarns.LabelProp = "";
        this.table3.Add(this.lblEarns);
        Gtk.Table.TableChild w26 = ((Gtk.Table.TableChild)(this.table3[this.lblEarns]));
        w26.TopAttach = ((uint)(13));
        w26.BottomAttach = ((uint)(14));
        w26.LeftAttach = ((uint)(1));
        w26.RightAttach = ((uint)(2));
        w26.XOptions = ((Gtk.AttachOptions)(4));
        w26.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblHigh = new Gtk.Label();
        this.lblHigh.Name = "lblHigh";
        this.lblHigh.LabelProp = "";
        this.table3.Add(this.lblHigh);
        Gtk.Table.TableChild w27 = ((Gtk.Table.TableChild)(this.table3[this.lblHigh]));
        w27.TopAttach = ((uint)(6));
        w27.BottomAttach = ((uint)(7));
        w27.LeftAttach = ((uint)(1));
        w27.RightAttach = ((uint)(2));
        w27.XOptions = ((Gtk.AttachOptions)(4));
        w27.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblLast = new Gtk.Label();
        this.lblLast.Name = "lblLast";
        this.lblLast.LabelProp = "";
        this.table3.Add(this.lblLast);
        Gtk.Table.TableChild w28 = ((Gtk.Table.TableChild)(this.table3[this.lblLast]));
        w28.TopAttach = ((uint)(1));
        w28.BottomAttach = ((uint)(2));
        w28.LeftAttach = ((uint)(1));
        w28.RightAttach = ((uint)(2));
        w28.XOptions = ((Gtk.AttachOptions)(4));
        w28.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblLow = new Gtk.Label();
        this.lblLow.Name = "lblLow";
        this.lblLow.LabelProp = "";
        this.table3.Add(this.lblLow);
        Gtk.Table.TableChild w29 = ((Gtk.Table.TableChild)(this.table3[this.lblLow]));
        w29.TopAttach = ((uint)(7));
        w29.BottomAttach = ((uint)(8));
        w29.LeftAttach = ((uint)(1));
        w29.RightAttach = ((uint)(2));
        w29.XOptions = ((Gtk.AttachOptions)(4));
        w29.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblMktCapt = new Gtk.Label();
        this.lblMktCapt.Name = "lblMktCapt";
        this.lblMktCapt.LabelProp = "";
        this.table3.Add(this.lblMktCapt);
        Gtk.Table.TableChild w30 = ((Gtk.Table.TableChild)(this.table3[this.lblMktCapt]));
        w30.TopAttach = ((uint)(9));
        w30.BottomAttach = ((uint)(10));
        w30.LeftAttach = ((uint)(1));
        w30.RightAttach = ((uint)(2));
        w30.XOptions = ((Gtk.AttachOptions)(4));
        w30.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblName = new Gtk.Label();
        this.lblName.Name = "lblName";
        this.lblName.LabelProp = "";
        this.table3.Add(this.lblName);
        Gtk.Table.TableChild w31 = ((Gtk.Table.TableChild)(this.table3[this.lblName]));
        w31.TopAttach = ((uint)(15));
        w31.BottomAttach = ((uint)(16));
        w31.LeftAttach = ((uint)(1));
        w31.RightAttach = ((uint)(2));
        w31.XOptions = ((Gtk.AttachOptions)(4));
        w31.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblOpen = new Gtk.Label();
        this.lblOpen.Name = "lblOpen";
        this.lblOpen.LabelProp = "";
        this.table3.Add(this.lblOpen);
        Gtk.Table.TableChild w32 = ((Gtk.Table.TableChild)(this.table3[this.lblOpen]));
        w32.TopAttach = ((uint)(5));
        w32.BottomAttach = ((uint)(6));
        w32.LeftAttach = ((uint)(1));
        w32.RightAttach = ((uint)(2));
        w32.XOptions = ((Gtk.AttachOptions)(4));
        w32.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblPE = new Gtk.Label();
        this.lblPE.Name = "lblPE";
        this.lblPE.LabelProp = "";
        this.table3.Add(this.lblPE);
        Gtk.Table.TableChild w33 = ((Gtk.Table.TableChild)(this.table3[this.lblPE]));
        w33.TopAttach = ((uint)(14));
        w33.BottomAttach = ((uint)(15));
        w33.LeftAttach = ((uint)(1));
        w33.RightAttach = ((uint)(2));
        w33.XOptions = ((Gtk.AttachOptions)(4));
        w33.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblPercentChange = new Gtk.Label();
        this.lblPercentChange.Name = "lblPercentChange";
        this.lblPercentChange.LabelProp = "";
        this.table3.Add(this.lblPercentChange);
        Gtk.Table.TableChild w34 = ((Gtk.Table.TableChild)(this.table3[this.lblPercentChange]));
        w34.TopAttach = ((uint)(11));
        w34.BottomAttach = ((uint)(12));
        w34.LeftAttach = ((uint)(1));
        w34.RightAttach = ((uint)(2));
        w34.XOptions = ((Gtk.AttachOptions)(4));
        w34.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblPrevClose = new Gtk.Label();
        this.lblPrevClose.Name = "lblPrevClose";
        this.lblPrevClose.LabelProp = "";
        this.table3.Add(this.lblPrevClose);
        Gtk.Table.TableChild w35 = ((Gtk.Table.TableChild)(this.table3[this.lblPrevClose]));
        w35.TopAttach = ((uint)(10));
        w35.BottomAttach = ((uint)(11));
        w35.LeftAttach = ((uint)(1));
        w35.RightAttach = ((uint)(2));
        w35.XOptions = ((Gtk.AttachOptions)(4));
        w35.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblStockSymbol = new Gtk.Label();
        this.lblStockSymbol.Name = "lblStockSymbol";
        this.lblStockSymbol.LabelProp = "";
        this.table3.Add(this.lblStockSymbol);
        Gtk.Table.TableChild w36 = ((Gtk.Table.TableChild)(this.table3[this.lblStockSymbol]));
        w36.LeftAttach = ((uint)(1));
        w36.RightAttach = ((uint)(2));
        w36.XOptions = ((Gtk.AttachOptions)(4));
        w36.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblTime = new Gtk.Label();
        this.lblTime.Name = "lblTime";
        this.lblTime.LabelProp = "";
        this.table3.Add(this.lblTime);
        Gtk.Table.TableChild w37 = ((Gtk.Table.TableChild)(this.table3[this.lblTime]));
        w37.TopAttach = ((uint)(3));
        w37.BottomAttach = ((uint)(4));
        w37.LeftAttach = ((uint)(1));
        w37.RightAttach = ((uint)(2));
        w37.XOptions = ((Gtk.AttachOptions)(4));
        w37.YOptions = ((Gtk.AttachOptions)(4));
        // Container child table3.Gtk.Table+TableChild
        this.lblVolume = new Gtk.Label();
        this.lblVolume.Name = "lblVolume";
        this.lblVolume.LabelProp = "";
        this.table3.Add(this.lblVolume);
        Gtk.Table.TableChild w38 = ((Gtk.Table.TableChild)(this.table3[this.lblVolume]));
        w38.TopAttach = ((uint)(8));
        w38.BottomAttach = ((uint)(9));
        w38.LeftAttach = ((uint)(1));
        w38.RightAttach = ((uint)(2));
        w38.XOptions = ((Gtk.AttachOptions)(4));
        w38.YOptions = ((Gtk.AttachOptions)(4));
        this.table1.Add(this.table3);
        Gtk.Table.TableChild w39 = ((Gtk.Table.TableChild)(this.table1[this.table3]));
        w39.TopAttach = ((uint)(1));
        w39.BottomAttach = ((uint)(2));
        w39.XOptions = ((Gtk.AttachOptions)(4));
        w39.YOptions = ((Gtk.AttachOptions)(4));
        this.Add(this.table1);
        if ((this.Child != null)) {
            this.Child.ShowAll();
        }
        this.DefaultWidth = 668;
        this.DefaultHeight = 455;
        this.Show();
        this.DeleteEvent += new Gtk.DeleteEventHandler(this.OnDeleteEvent);
        this.radPreDef.Toggled += new System.EventHandler(this.OnRadPreDefToggled);
        this.radOwnSym.GroupChanged += new System.EventHandler(this.OnRadOwnSymGroupChanged);
        this.radOwnSym.Toggled += new System.EventHandler(this.OnRadOwnSymToggled);
        this.button2.Clicked += new System.EventHandler(this.OnButton1Clicked);
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Droid Labs
India India
Shyam Bharath just finished his bachelor of technology in Computer science and Engineering from Vellore Institute of Technology. He is passionate about application development. He loves coding in C#, Python and more recently Mono.

Right now he is working in J2EE technologies in a private firm in India. In his spare time, he reads spiritual books.


Exam-O-Matic - Online exam conduction tool in ASP.NET

Comments and Discussions