private void RedrawPipeline()
        {
            String testValue = "";

            if (InputPanel != null)
            {
                testValue = InputPanel.txtTestValue.Text;
            }

            transformersPanel.Children.Clear();
            InputPanel = new TransformationPiplineStartControl();
            InputPanel.txtTestValue.Text = testValue;
            InputPanel.TestClicked      += new RoutedEventHandler(start_TestClicked);
            transformersPanel.Children.Add(InputPanel);
            ControlPipeline = new List <ValueTransformerControl>();
            if (Pipeline != null)
            {
                foreach (ValueTransformer t in Pipeline.Transformers)
                {
                    var tt = new ValueTransformerControl(t);
                    transformersPanel.Children.Add(tt);
                    tt.RemoveClicked   += new RoutedEventHandler(tt_RemoveClicked);
                    tt.MoveUpClicked   += new RoutedEventHandler(tt_MoveUpClicked);
                    tt.MoveDownClicked += new RoutedEventHandler(tt_MoveDownClicked);
                    tt.OptionsClicked  += new RoutedEventHandler(tt_OptionsClicked);
                    ControlPipeline.Add(tt);
                }
            }
            this.OutputPanel = new TransformationPipelineOutputControl();
            transformersPanel.Children.Add(OutputPanel);

            if (!String.IsNullOrEmpty(testValue))
            {
                TestPipeline(testValue);
            }
        }
        private void RedrawPipeline()
        {
            String testValue = "";

            if (InputPanel != null) {
                testValue = InputPanel.txtTestValue.Text;
            }

            transformersPanel.Children.Clear();
            InputPanel = new TransformationPiplineStartControl();
            InputPanel.txtTestValue.Text = testValue;
            InputPanel.TestClicked += new RoutedEventHandler(start_TestClicked);
            transformersPanel.Children.Add(InputPanel);
            ControlPipeline = new List<ValueTransformerControl>();
            if (Pipeline != null) {
                foreach (ValueTransformer t in Pipeline.Transformers) {
                    var tt = new ValueTransformerControl(t);
                    transformersPanel.Children.Add(tt);
                    tt.RemoveClicked += new RoutedEventHandler(tt_RemoveClicked);
                    tt.MoveUpClicked += new RoutedEventHandler(tt_MoveUpClicked);
                    tt.MoveDownClicked += new RoutedEventHandler(tt_MoveDownClicked);
                    tt.OptionsClicked += new RoutedEventHandler(tt_OptionsClicked);
                    ControlPipeline.Add(tt);
                }
            }
            this.OutputPanel = new TransformationPipelineOutputControl();
            transformersPanel.Children.Add(OutputPanel);

            if (!String.IsNullOrEmpty(testValue)) {
                TestPipeline(testValue);
            }
        }