Пример #1
0
        public Controller()
        {
            frm = new frmRatAndCat();

            //Inicializando controladores y metodos
            this.mdlFrmElmnts = new ModelFrmElements(frm);
            this.ctrlEvt      = new ControllerEvents(frm, mdlFrmElmnts);

            //Lanzando FRM
            Application.EnableVisualStyles();
            Application.Run(frm);
        } //Find el constructor
Пример #2
0
 public ControllerEvents(frmRatAndCat frm, ModelFrmElements mdlFrmElmnts)
 {
     this.frm          = frm;
     this.mdlFrmElmnts = mdlFrmElmnts;
     initBtnsEvnts();
 }//Find el constructor