void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.viewModel = ((ESI_ITE.ViewModel.TransactionEntryViewModel)(target)); return; case 2: this.cmbTransactionNumber = ((System.Windows.Controls.ComboBox)(target)); return; case 3: this.cmbTransactionType = ((System.Windows.Controls.ComboBox)(target)); return; case 4: this.txtDocumentNumber = ((System.Windows.Controls.TextBox)(target)); return; case 5: this.txtTransactionDate = ((System.Windows.Controls.TextBox)(target)); return; case 6: this.cmbSourceWareHouse = ((System.Windows.Controls.ComboBox)(target)); return; case 7: this.cmbSourceLocation = ((System.Windows.Controls.ComboBox)(target)); return; case 8: this.cmbPriceCategory = ((System.Windows.Controls.ComboBox)(target)); return; case 9: this.cmbPriceType = ((System.Windows.Controls.ComboBox)(target)); return; case 10: this.cmbDestinationWareHouse = ((System.Windows.Controls.ComboBox)(target)); return; case 11: this.cmbDestinationLocation = ((System.Windows.Controls.ComboBox)(target)); return; case 12: this.cmbReasonCode = ((System.Windows.Controls.ComboBox)(target)); return; case 13: this.txtComment = ((System.Windows.Controls.TextBox)(target)); return; } this._contentLoaded = true; }