Esempio n. 1
0
        private void ShowFin()
        {
            lblAnswer.Text = "Woo you're done!";
            lblAnswer.Visible = true;
            lblQuestion.Visible = false;
            btnNext.Visible = false;
            btnRemove.Visible = false;
            btnShowAnswer.Visible = false;
            FlashcardList.Clear();
            Index = -2;

        }
Esempio n. 2
0
        // quit studying button
        protected void btnRelax_Click(object sender, EventArgs e)
        {
            FlashcardList.Clear();
            Index = -1;
            String userType = Session["userType"].ToString();
            if(userType == "Guest")
            {
                Response.Redirect("GuestHomepage.aspx");

            }
            else if(userType == "Teacher")
            {
                Response.Redirect("TeacherHomepage.aspx");

            }
            else if(userType == "Student")
            {
                Response.Redirect("StudentHomepage.aspx");
            }
        }