コード例 #1
0
 private void CertLastNameSearch_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (DiaryNumberSearch.Text != "")
     {
         int UDNumber = Converter(DiaryNumberSearch.Text);
         DiariesGrid.ItemsSource = PackageSearch.ByUploaded(UDNumber, CertLastNameSearch.Text).DefaultView;
     }
     else
     {
         DiariesGrid.ItemsSource = PackageSearch.ByUploadCert(CertLastNameSearch.Text).DefaultView;
     }
 }
コード例 #2
0
        private void DiaryNumberSearch_TextChanged(object sender, TextChangedEventArgs e)
        {
            int UDNumber = Converter(DiaryNumberSearch.Text);

            DiariesGrid.ItemsSource = PackageSearch.ByUploaded(UDNumber).DefaultView;
        }