Ejemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.cbCodeType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 2:
                this.text = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.barcode = ((C1.WPF.BarCode.C1BarCode)(target));
                return;

            case 4:
                this.image = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.cbCodeType = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 2:
     this.text = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.barcode = ((C1.WPF.BarCode.C1BarCode)(target));
     return;
     case 4:
     this.image = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }