コード例 #1
0
        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;
 }