public MainView() { InitializeComponent(); presenter = new MainPresenter <IMainView>(); presenter.OnAttach(this); }