private void BtRateClick(object sender, RoutedEventArgs e) { var cd = new RateDetail(PageMode.AddMode); cd.Show(); }
private void RateViewExecuted(object sender, ExecutedRoutedEventArgs e) { var rateId = (int) e.Parameter; var cd = new RateDetail(PageMode.ViewMode, rateId); cd.Show(); e.Handled = true; }