private void btnAddTransform_Click(object sender, RoutedEventArgs e) { var frm = new SelectTransformWindow(); frm.Owner = this; frm.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner; if (frm.ShowDialog().GetValueOrDefault()) { if (frm.SelectedValueTransformerKey != null) { var transform = TransformFactory.CreateTransform(frm.SelectedValueTransformerKey, null); if (transform != null) { this.Pipeline.AddTransformer(transform); } } } RedrawPipeline(); }
private void btnAddTransform_Click(object sender, RoutedEventArgs e) { var frm = new SelectTransformWindow(); frm.Owner = this; frm.WindowStartupLocation = System.Windows.WindowStartupLocation.CenterOwner; if (frm.ShowDialog().GetValueOrDefault()) { if (frm.SelectedValueTransformerKey != null) { var transform = TransformFactory.CreateTransform(frm.SelectedValueTransformerKey, null); if (transform != null) { this.Pipeline.AddTransformer(transform); } } } RedrawPipeline(); }