void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnDelete = ((System.Windows.Controls.Button)(target)); #line 29 "..\..\UcSearchBox.xaml" this.btnDelete.Click += new System.Windows.RoutedEventHandler(this.Button_Click); #line default #line hidden return; case 2: this.searchEmp = ((System.Windows.Controls.RadioButton)(target)); #line 33 "..\..\UcSearchBox.xaml" this.searchEmp.Checked += new System.Windows.RoutedEventHandler(this.searchEmp_Checked); #line default #line hidden return; case 3: this.seacrhPh = ((System.Windows.Controls.RadioButton)(target)); #line 36 "..\..\UcSearchBox.xaml" this.seacrhPh.Checked += new System.Windows.RoutedEventHandler(this.searchEmp_Checked); #line default #line hidden return; case 4: this.txtSearch = ((WpfControls.Editors.AutoCompleteTextBox)(target)); return; case 5: this.btnSearch = ((System.Windows.Controls.Button)(target)); #line 68 "..\..\UcSearchBox.xaml" this.btnSearch.Click += new System.Windows.RoutedEventHandler(this.btnSearch_Click); #line default #line hidden return; case 6: this.lstSearchResults = ((System.Windows.Controls.ListBox)(target)); return; case 7: this.progressBar = ((MaterialDesignThemes.Wpf.Card)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.Actb = ((WpfControls.Editors.AutoCompleteTextBox)(target)); return; } this._contentLoaded = true; }
public static void OnSelectedItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { AutoCompleteTextBox act = null; act = d as AutoCompleteTextBox; if (act != null) { if (act.Editor != null & !act._isUpdatingText) { act._isUpdatingText = true; act.Editor.Text = act.BindingEvaluator.Evaluate(e.NewValue); act._isUpdatingText = false; } } }
public SuggestionsAdapter(AutoCompleteTextBox actb) { _actb = actb; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnOk = ((System.Windows.Controls.Button)(target)); #line 32 "..\..\WindowRowInsertor.xaml" this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click); #line default #line hidden return; case 2: this.btnClose = ((System.Windows.Controls.Button)(target)); #line 33 "..\..\WindowRowInsertor.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden return; case 3: this.chkRemoveUnused = ((System.Windows.Controls.CheckBox)(target)); return; case 4: this.chkAutoSuggestionMode = ((System.Windows.Controls.CheckBox)(target)); #line 37 "..\..\WindowRowInsertor.xaml" this.chkAutoSuggestionMode.Checked += new System.Windows.RoutedEventHandler(this.chkAutoSuggestionMode_Checked); #line default #line hidden #line 37 "..\..\WindowRowInsertor.xaml" this.chkAutoSuggestionMode.Unchecked += new System.Windows.RoutedEventHandler(this.chkAutoSuggestionMode_Unchecked); #line default #line hidden return; case 5: this.txtAutoEmployee = ((WpfControls.Editors.AutoCompleteTextBox)(target)); #line 43 "..\..\WindowRowInsertor.xaml" this.txtAutoEmployee.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtAutoEmployee_KeyDown); #line default #line hidden return; case 6: this.btnInsertEmployeeToRow = ((System.Windows.Controls.Button)(target)); #line 58 "..\..\WindowRowInsertor.xaml" this.btnInsertEmployeeToRow.Click += new System.Windows.RoutedEventHandler(this.btnInsertEmployeeToRow_Click); #line default #line hidden return; case 7: this.dataGridEmployee = ((System.Windows.Controls.DataGrid)(target)); return; case 8: this.chkIsInternalPhoneNumber = ((System.Windows.Controls.CheckBox)(target)); return; case 9: this.txtAutoPhone = ((WpfControls.Editors.AutoCompleteTextBox)(target)); #line 72 "..\..\WindowRowInsertor.xaml" this.txtAutoPhone.KeyDown += new System.Windows.Input.KeyEventHandler(this.txtAutoEmployee_KeyDown); #line default #line hidden return; case 10: this.btnInsertPhoneToRow = ((System.Windows.Controls.Button)(target)); #line 87 "..\..\WindowRowInsertor.xaml" this.btnInsertPhoneToRow.Click += new System.Windows.RoutedEventHandler(this.btnInsertPhoneToRow_Click); #line default #line hidden return; case 11: this.dataGridPhone = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }
public SuggestionsAdapter(AutoCompleteTextBox actb) { _actb = actb; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btnCancelAndClose = ((System.Windows.Controls.Button)(target)); #line 30 "..\..\UcWindowRowEditor.xaml" this.btnCancelAndClose.Click += new System.Windows.RoutedEventHandler(this.btnCancelAndClose_Click); #line default #line hidden return; case 2: this.toolBarTray = ((System.Windows.Controls.ToolBarTray)(target)); return; case 3: this.btnOk = ((System.Windows.Controls.Button)(target)); #line 34 "..\..\UcWindowRowEditor.xaml" this.btnOk.Click += new System.Windows.RoutedEventHandler(this.btnOk_Click); #line default #line hidden return; case 4: this.btnClose = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\UcWindowRowEditor.xaml" this.btnClose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click); #line default #line hidden return; case 5: this.chkRemoveUnused = ((System.Windows.Controls.CheckBox)(target)); #line 36 "..\..\UcWindowRowEditor.xaml" this.chkRemoveUnused.Checked += new System.Windows.RoutedEventHandler(this.chkRemoveUnused_Checked); #line default #line hidden #line 36 "..\..\UcWindowRowEditor.xaml" this.chkRemoveUnused.Unchecked += new System.Windows.RoutedEventHandler(this.chkRemoveUnused_Unchecked); #line default #line hidden return; case 6: this.chkAutoSuggestionMode = ((System.Windows.Controls.CheckBox)(target)); #line 39 "..\..\UcWindowRowEditor.xaml" this.chkAutoSuggestionMode.Checked += new System.Windows.RoutedEventHandler(this.chkAutoSuggestionMode_Checked); #line default #line hidden #line 39 "..\..\UcWindowRowEditor.xaml" this.chkAutoSuggestionMode.Unchecked += new System.Windows.RoutedEventHandler(this.chkAutoSuggestionMode_Unchecked); #line default #line hidden return; case 7: this.toolBarTrayProgress = ((System.Windows.Controls.ToolBarTray)(target)); return; case 8: this.txtAutoEmployee = ((WpfControls.Editors.AutoCompleteTextBox)(target)); return; case 9: this.btnInsertEmployeeToRow = ((System.Windows.Controls.Button)(target)); #line 68 "..\..\UcWindowRowEditor.xaml" this.btnInsertEmployeeToRow.Click += new System.Windows.RoutedEventHandler(this.btnInsertEmployeeToRow_Click); #line default #line hidden return; case 10: this.dataGridEmployee = ((System.Windows.Controls.DataGrid)(target)); return; case 11: this.chkIsInternalPhoneNumber = ((System.Windows.Controls.CheckBox)(target)); return; case 12: this.txtAutoPhone = ((WpfControls.Editors.AutoCompleteTextBox)(target)); return; case 13: this.btnInsertPhoneToRow = ((System.Windows.Controls.Button)(target)); #line 97 "..\..\UcWindowRowEditor.xaml" this.btnInsertPhoneToRow.Click += new System.Windows.RoutedEventHandler(this.btnInsertPhoneToRow_Click); #line default #line hidden return; case 14: this.dataGridPhone = ((System.Windows.Controls.DataGrid)(target)); return; } this._contentLoaded = true; }