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