private void BtCountryClick(object sender, RoutedEventArgs e) { var cd = new CountryDetail(PageMode.AddMode); cd.Show(); }
private void CountryViewExecuted(object sender, ExecutedRoutedEventArgs e) { var currencyId = (int) e.Parameter; var cd = new CountryDetail(currencyId, PageMode.ViewMode); cd.Show(); e.Handled = true; }