コード例 #1
0
 public SearchPanel(Grid grid)
 {
     InitializeComponent();
     this.grid = grid;
     SetSearchBar();
     Search_list.ItemsSource = MeasureShort.GetSearched(SearchData());
     LangControl_Searchpanel();
 }
コード例 #2
0
        private void MeasuereDelete(object sender, RoutedEventArgs e)
        {
            MenuItem     raw  = sender as MenuItem;
            MeasureShort data = raw.DataContext as MeasureShort;

            Charge.Delete(data.charge_id);
            Search_list.ItemsSource = MeasureShort.GetSearched(SearchData());
        }
コード例 #3
0
 private void RefreshSearchClick(object sender, RoutedEventArgs e)
 {
     cikkszam_srcinp.Text    = "";
     charge_srcinp.Text      = "";
     szallito_srcinp.Text    = "";
     anyagnev_srcinp.Text    = "";
     beerk_srcinp.Text       = "";
     allapot_check.IsChecked = false;
     SetSearchParam();
     Search_list.ItemsSource = MeasureShort.GetSearched(SearchData());
 }
コード例 #4
0
        private async void SearchTextChanged(object sender, TextChangedEventArgs e)
        {
            TextBox textbox     = (TextBox)sender;
            int     fisrtLength = textbox.Text.Length;

            await Task.Delay(250);

            if (fisrtLength == textbox.Text.Length)
            {
                Search_list.ItemsSource = MeasureShort.GetSearched(SearchData());
                SetSearchParam();
            }
        }
コード例 #5
0
 private void AllapotChecked(object sender, RoutedEventArgs e)
 {
     Search_list.ItemsSource = MeasureShort.GetSearched(SearchData());
 }