Example #1
0
        private void bunifuFlatButton1_Click(object sender, EventArgs e)
        {
            user = bunifuMaterialTextbox1.Text;
            pass = textBox1.Text;

            QProject qp = new QProject();

            qp.LoginCheck(user, pass);
            bunifuMaterialTextbox1.Text = "";
            textBox1.Text = "";
        }
Example #2
0
        private void textBox1_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == 13)
            {
                user = bunifuMaterialTextbox1.Text;
                pass = textBox1.Text;

                QProject qp = new QProject();
                qp.LoginCheck(user, pass);
                bunifuMaterialTextbox1.Text = "";
                textBox1.Text = "";
            }
        }