Example #1
0
 private void _btnResCloset_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         var query = db.Members.Where(x => x.Membership_Number == _txtMemberNumber.Text);
         if (query != null)
         {
             ResCloset win = new ResCloset();
             win.ShowDialog();
         }
     }
     catch (Exception)
     {
     }
 }
        private void _btnCloset_Click(object sender, RoutedEventArgs e)
        {
            ResCloset win = new ResCloset(_txtMemberNumber.Text.Trim());

            win.ShowDialog();
        }