Exemple #1
0
        private void loginn_Click(object sender, EventArgs e)
        {
            datadmin lig = new datadmin();

            lig.namamin = userlogin.Text;
            lig.passmin = passlog.Text;
            ceklig(lig.namamin, lig.passmin);
        }
Exemple #2
0
        private void addacc()
        {
            datadmin min = new datadmin();

            min.namamin = baruuser.Text;
            min.passmin = addpassword.Text;
            if (min.passmin == readdpass.Text)
            {
                req.tambahacc(min.namamin, min.passmin);
                gcancel();
            }
            else
            {
                MessageBox.Show("Periksa kembari Form login");
            }
        }