//End constructor private void frmLoginRegister_Load(object sender, EventArgs e) { //Start instantations encryptionController = new frmEncryptionController(); reservationController = new frmReservationController(this); //End instantiations }
//End variables //Constructor public frmEmployeeController(MetroForm form, MetroGrid grid) { this.form = form; this.grid = grid; //Start instantiation database = new Database(this.form); encryptionController = new frmEncryptionController(); //End instantiation }
//End variables //Constructor public frmRegisterController(Customer customer, MetroForm form) { this.customer = customer; this.form = form; //Start instantiations database = new Database(form); encryptionController = new frmEncryptionController(); //End instantiations }
//End variables //Controller public frmLoginController(MetroForm form, string username, string password) { this.username = username; this.form = form; this.password = password; //Start instantiation database = new Database(form); encryptionController = new frmEncryptionController(); //End instantiation }