private void generalDepositlist_SelectionChanged(object sender, SelectionChangedEventArgs e) { FixedDeposit classObj = generalDepositlist.SelectedItem as FixedDeposit; int id = classObj.MemberId; GDViewObj = new FixedDepositView(); GDDetailsObj = new FixedDepositDetailsView(); GDDetailsObj.SearchWithID(id); this.NavigationService.Navigate(GDDetailsObj); }
private void Search_Click(object sender, RoutedEventArgs e) { GDInfoObj = new FixedDepositDetailsView(); GDInfoObj.SearchWithUnknown(searchid.Text); memberData.Navigate(GDInfoObj); }