private void BtUDFClick(object sender, RoutedEventArgs e) { var pu = new ContractUDFDetail(PageMode.AddMode); pu.Show(); }
private void UdfViewExecuted(object sender, ExecutedRoutedEventArgs e) { var id = (int)e.Parameter; var pu = new ContractUDFDetail(PageMode.ViewMode, id); pu.Show(); e.Handled = true; }