예제 #1
0
        private void btnChange_Click(object sender, EventArgs e)
        {
            LogIns liclass = new LogIns();

            liclass.ChangePassword(txtCOPass.Text, txtCNPass.Text, txtCRPass.Text);
            if (liclass.Message == "")
            {
                this.Hide();
            }
            else
            {
                labelM.Text = liclass.Message;
            }
        }
예제 #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();
            }
            else
            {
                labelM.Text = liclass.Message;
            }
        }
예제 #3
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);
            if (liclass.Message == "")
            {
                this.Hide();
                LogIn li = new LogIn();
                li.Show();
            }
            else
            {
                labelM.Text = liclass.Message;
            }
        }
예제 #4
0
        private void btnChange_Click(object sender, EventArgs e)
        {
            LogIns liclass = new LogIns();

            liclass.RecoveryPassword(txtRVEmail.Text, txtRVNPass.Text, txtRVRPass.Text);
            if (liclass.Message == "")
            {
                this.Hide();
                LogIn li = new LogIn();
                li.Show();
            }
            else
            {
                labelM.Text = liclass.Message;
            }
        }