static void Main() { Logic model = new Logic(); MainForm view = new MainForm(); Presenter pr = new Presenter(model, view); Application.Run(view); }
public Presenter(Logic model,MainForm view) { _model = model; _view = view; _view.ActivateAnalysis += _view_ActivateAnalysis; _model.AnalysisMade += _model_AnalysisMade; }