// private ErrorProvider error;

        public ThreadingWizard()
        {
            InitializeComponent();

            logic = new ThreadLogic();

            DataContext = model = logic.Model;

            logic.GCodePush           += Logic_GCodePush;
            logic.Model.ErrorsChanged += Model_ErrorsChanged;
        }
        // private ErrorProvider error;

        public ThreadingWizard()
        {
            InitializeComponent();

            grpOptionsMach3.Visibility = Visibility.Hidden;

            logic = new ThreadLogic();

            DataContext = model = logic.Model;

            logic.Model.ErrorsChanged += Model_ErrorsChanged;
        }