Example #1
0
        public GraphsControl(GraphsPresenter presenter)
        {
            this.presenter = presenter;

            InitializeComponent();
        }
Example #2
0
        public MainView()
        {
            InitializeComponent();

            processor = new Processor();

            mathPresenter = new MathPresenter(this.mathControl, processor);
            mathPresenter.PropertyChanged += mathPresenter_PropertyChanged;
            this.mathControl.Presenter = mathPresenter;
            graphsPresenter = new GraphsPresenter(this.graphsControl, processor);
            this.graphsControl.Presenter = graphsPresenter;
            truthTablePresenter = new TruthTablePresenter();
            this.truthTableControl.Presenter = truthTablePresenter;
            updater = new Updater();

            LoadSettings();

            SetFocus();
        }