Esempio n. 1
0
File: Form1.cs Progetto: Xpd1/SS
        private void button1_Click(object sender, EventArgs e)
        {
            DBAccs db = new DBAccs();

            db.OpenConnection();
            if (db.GetUser(textBox1.Text, textBox2.Text))
            {
                this.Hide();
                Form2 f = new Form2();

                f.Show();
            }
            db.CloseConnection();
        }