Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frmInvoiceWindow = ((Group2_3280_Invoice.frmNewInvoice)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.lblInvoiceNumber = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lblInvoiceDate = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.txtDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.listItems = ((System.Windows.Controls.ListBox)(target));
                return;

            case 7:
                this.dropItem = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.lblSelect = ((System.Windows.Controls.Label)(target));
                return;

            case 9:
                this.lblCost = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.cmdAdd = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.cmdDelete = ((System.Windows.Controls.Button)(target));
                return;

            case 12:
                this.txtCost = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.cmdSave = ((System.Windows.Controls.Button)(target));
                return;

            case 14:
                this.cmdEdit = ((System.Windows.Controls.Button)(target));
                return;

            case 15:
                this.txtInvoice = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.frmInvoiceWindow = ((Group2_3280_Invoice.frmNewInvoice)(target));
     return;
     case 2:
     this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.lblInvoiceNumber = ((System.Windows.Controls.Label)(target));
     return;
     case 4:
     this.lblInvoiceDate = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.txtDate = ((System.Windows.Controls.TextBox)(target));
     return;
     case 6:
     this.listItems = ((System.Windows.Controls.ListBox)(target));
     return;
     case 7:
     this.dropItem = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 8:
     this.lblSelect = ((System.Windows.Controls.Label)(target));
     return;
     case 9:
     this.lblCost = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.cmdAdd = ((System.Windows.Controls.Button)(target));
     return;
     case 11:
     this.cmdDelete = ((System.Windows.Controls.Button)(target));
     return;
     case 12:
     this.txtCost = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.cmdSave = ((System.Windows.Controls.Button)(target));
     return;
     case 14:
     this.cmdEdit = ((System.Windows.Controls.Button)(target));
     return;
     case 15:
     this.txtInvoice = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }