Subo Cambios

This commit is contained in:
Michael Robles
2024-06-30 08:55:52 -07:00
parent 581dea18d4
commit 4b060b83a7
4 changed files with 48 additions and 7 deletions
+10 -2
View File
@@ -429,8 +429,16 @@ namespace compabetov2
private void button2_Click(object sender, EventArgs e)
{
Estadiscticas verstats = new Estadiscticas();
verstats.Show();
if (loginPrincipal.tipo.Equals("empleado"))
{
MessageBox.Show("Usted no tiene permisos de acceder a este apartado");
}
else
{
Estadiscticas estadiscticas = new Estadiscticas();
estadiscticas.Owner = this;
estadiscticas.Show();
};
}
private void txtTelefono_TextChanged(object sender, EventArgs e)