Esempio n. 1
0
        private void button1_Click(object sender, EventArgs e)
        {
            UserPassword = Usercode.Text.ToString();
            string status = _testEvaluationService.CheckUserStatus(UserPassword);

            if (status != "Completed")
            {
                ProcessLogin(UserPassword);
            }
            else
            {
                MessageBox.Show("You Have Already Taken The Test", "Caution", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                Usercode.Text = "";
            }
        }