Ejemplo n.º 1
0
        private void frmLogin_Load(object sender, EventArgs e)
        {
            db = new DbAndBusiness();
            bl = new BusinessLayer.BusinessLayer();

            //// test examples
            //User u;
            //u = new User("pippo", "pluto");
            ////u = new User("pina", "pluto");
            //////u = new User("ugo", "pina");
            ////bl.CreateUser(u);
            //u.Password = "******";
            //bl.ChangePassword(u);

            //u.FirstName = "Ugo";
            //u.LastName = "Fantozzi";
            //u.Email = "*****@*****.**";
            //u.Description = "Inferiore Rag. Ugo Fantozzi";
            //bl.UpdateUser(u);

            //User u1 = bl.GetUser("ugo");
        }
Ejemplo n.º 2
0
 private void frmLogin_Load(object sender, EventArgs e)
 {
     db = new DbAndBusiness();
     bl = new BusinessLayer.BusinessLayer();
 }