Beispiel #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Model model = new Model();

            FormReception      viewReception  = new FormReception();
            PresenterReception presenterSaper = new PresenterReception(viewReception, model);

            ILogin         viewLogin     = new FormLogin(viewReception);
            PresenterLogin presenterMenu = new PresenterLogin(viewLogin, model);


            Application.Run((Form)viewLogin);
        }
 public FormLogin(FormReception reception)
 {
     InitializeComponent();
     this.reception = reception;
 }