public TruthTableControl(TruthTablePresenter presenter) { this.presenter = presenter; InitializeComponent(); }
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(); }