private void btnSaveUser_Click(object sender, EventArgs e)
 {
     if (filledValues())
     {
         serviceDA = new DBControllerWSClient();
         user u = new user();
         u.creationDate   = DateTime.Now;
         u.expirationDate = (DateTime)dtpUserExpirationDate.Value.Date;
         u.user1          = txtUserName.Text;
         u.password       = txtUserPassword.Text;
         u.state          = 1;
         u.employee       = emplo;
         if (emplo.role == "Vendedor")
         {
             u.userType = 3;
         }
         else if (emplo.role == "Supervisor")
         {
             u.userType = 2;
         }
         else
         {
             u.userType = 1;
         }
         serviceDA.insertUser(u);
         MessageBox.Show("El usuario se agregó satisfactoriamente");
         this.Close();
     }
 }