static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            // Initialize view.
            var view = new PatientMainView();

            // Initialize presenter.
            var presenter = new PatientMainViewPresenter(view);

            presenter.Start();

            Application.Run(view);
        }
示例#2
0
 public void AttachPresenter(PatientMainViewPresenter presenter)
 {
     _presenter = presenter;
 }