Пример #1
0
        public ControllerEvents(FrmPrincipal frmPrincipal, ModelCipherCesarAtbash modelCipher)
        {
            this.frmPrincipal = frmPrincipal;
            this.modelCipher  = modelCipher;

            InitEvents();
        }//Fin del constructor
Пример #2
0
        public ControllerPrincipal()
        {
            this.frmPrincipal = new FrmPrincipal();
            InitFrmElements();
            this.modelCipher = new ModelCipherCesarAtbash(frmPrincipal);
            this.ctrlEvents  = new ControllerEvents(frmPrincipal, modelCipher);



            //Lanzando FRM
            Application.EnableVisualStyles();
            Application.Run(frmPrincipal);
        }//Fin del controlador principal
Пример #3
0
        //      private char[] charLetters = {'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
        //                             '火' ,'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'};


        public ModelCipherCesarAtbash(FrmPrincipal frmPrincipal)
        {
            this.frmPrincipal = frmPrincipal;
        }//Fin del constructor