prueba 2?

This commit is contained in:
Michael Robles
2023-12-21 17:52:27 -07:00
176 changed files with 364892 additions and 43 deletions
+16 -9
View File
@@ -8,7 +8,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Data.SQLite;
using compabetov2.database;
namespace compabetov2
{
@@ -41,19 +41,23 @@ namespace compabetov2
private void button1_Click(object sender, EventArgs e)
{
if (txtusuario.Text.Trim() == "" && txtcontraseña.Text.Trim() == "")
if (service.iniciarSesion(new database.modelos.Usuario(txtusuario.Text, txtcontraseña.Text)))
{
MessageBox.Show("ERROR TODO VACIO");
MenuPrincipal principal = new MenuPrincipal();
principal.Show();
}
else
{
else {
string query = "SELECT * FROM login WHERE ";
SQLiteConnection conn
}
@@ -61,10 +65,13 @@ namespace compabetov2
}
private void textBox1_TextChanged(object sender, EventArgs e)
private void login_Load(object sender, EventArgs e)
{
}
}
}