71 lines
1.2 KiB
C#
71 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
using System.Data.SQLite;
|
|
|
|
|
|
namespace compabetov2
|
|
{
|
|
public partial class login : Form
|
|
{
|
|
public login()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void panel2_Paint(object sender, PaintEventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void pictureBox1_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void label3_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void label4_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
if (txtusuario.Text.Trim() == "" && txtcontraseña.Text.Trim() == "")
|
|
{
|
|
|
|
MessageBox.Show("ERROR TODO VACIO");
|
|
}
|
|
else
|
|
{
|
|
|
|
string query = "SELECT * FROM login WHERE ";
|
|
SQLiteConnection conn
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
private void textBox1_TextChanged(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|
|
|