Пример #1
0
        private void btnChange_Click(object sender, EventArgs e)
        {
            LogIns liclass = new LogIns();

            liclass.ChangePassword(txtCOPass.Text, txtCNPass.Text, txtCRPass.Text);

            this.Hide();
        }
Пример #2
0
        private void btnLogIn_Click(object sender, EventArgs e)
        {
            LogIns liclass = new LogIns();

            if (liclass.LogIn(txtUser.Text, txtPass.Text) != 0)
            {
                this.Hide();
                MDI_Main mm = new MDI_Main();
                mm.Show();
            }
        }
Пример #3
0
        private void btnChange_Click(object sender, EventArgs e)
        {
            LogIns liclass = new LogIns();

            liclass.RecoveryPassword(txtRVEmail.Text, txtRVNPass.Text, txtRVRPass.Text);

            this.Hide();
            LogIn li = new LogIn();

            li.Show();
        }
Пример #4
0
        private void btnCreate_Click(object sender, EventArgs e)
        {
            LogIns liclass = new LogIns();

            liclass.Registration(txtRName.Text, txtREmail.Text, txtRUser.Text, txtRPass.Text, txtRRPass.Text);

            this.Hide();
            LogIn li = new LogIn();

            li.Show();
        }