Inheritance: INotifyPropertyChanged
Exemplo n.º 1
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;

            LoadSettings();

            SetFocus();
        }
Exemplo n.º 2
0
        public MathControl(MathPresenter presenter)
        {
            this.presenter = presenter;

            InitializeComponent();
        }