public CustDataGridComboBoxColumn() { comboBox = new CustComboBox(); comboBox.IsEditable = true; //comboBox.PreviewKeyDown += ComboBox_PreviewKeyDown; comboBox.PreviewTextInput += ComboBoxPreviewTextInput; comboBox.Loaded += ComboBox_Loaded; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.dateRecd = ((System.Windows.Controls.DatePicker)(target)); return; case 2: this.cmbZone = ((System.Windows.Controls.ComboBox)(target)); #line 47 "..\..\frmAddCIReference.xaml" this.cmbZone.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbZone_SelectionChanged); #line default #line hidden return; case 3: this.lbl_CrRefNo = ((System.Windows.Controls.TextBlock)(target)); return; case 4: this.cmbCustomer = ((ProcessDesigner.UserControls.ComboBoxCus)(target)); return; case 5: this.cmbFinish = ((BHCustCtrl.CustComboBox)(target)); return; case 6: this.cmbCoating = ((BHCustCtrl.CustComboBox)(target)); return; case 7: this.cmbForecastLocation1 = ((BHCustCtrl.CustComboBox)(target)); return; case 8: this.txtPartNo = ((System.Windows.Controls.TextBox)(target)); return; case 9: this.txtdWgNo = ((System.Windows.Controls.TextBox)(target)); return; case 10: this.txtissueNo = ((System.Windows.Controls.TextBox)(target)); return; case 11: this.dp_issue_date = ((System.Windows.Controls.DatePicker)(target)); return; case 12: #line 94 "..\..\frmAddCIReference.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CreateCIR_REF_Click); #line default #line hidden return; } this._contentLoaded = true; }
public CustDataGridComboBoxColumn() { comboBox = new CustComboBox(); comboBox.MaxLength = 2; comboBox.IsEditable = true; }