private void buttonCla_Click(object sender, EventArgs e) { dvO11.Visible = true; labelcategory.Visible = true; stats1.Visible = false; labelcurrentCAT.Text = "Classes"; categ = "Classes"; labelcurrentCAT.Visible = true; DVO1 category = new DVO1(); dvO11.number = 15; dvO11.correct = 0; DVO1.completed1 = false; DVO1.completed2 = false; DVO1.completed3 = false; DVO1.completed4 = false; dvO11.labelQ.ResetText(); dvO11.mistake = 0; dvO11.cat = 3; }
private void buttonARS_Click(object sender, EventArgs e) { dvO11.Visible = true; stats1.Visible = false; labelcategory.Visible = true; labelcurrentCAT.Text = "Arrays and Strings"; categ = "Arrays and Strings"; labelcurrentCAT.Visible = true; DVO1 category = new DVO1(); dvO11.number = 22; dvO11.correct = 0; dvO11.mistake = 0; DVO1.completed1 = false; DVO1.completed2 = false; DVO1.completed3 = false; DVO1.completed4 = false; dvO11.labelQ.ResetText(); dvO11.cat = 4; }
private void buttonLoo_Click(object sender, EventArgs e) { dvO11.Visible = true; stats1.Visible = false; acheivements1.Visible = false; labelcategory.Visible = true; labelcurrentCAT.Text = "Looping Statements"; categ = "Looping Statements"; labelcurrentCAT.Visible = true; DVO1 category = new DVO1(); DVO1.completed1 = false; DVO1.completed2 = false; DVO1.completed3 = false; DVO1.completed4 = false; dvO11.labelQ.ResetText(); dvO11.number = 8; dvO11.correct = 0; dvO11.mistake = 0; dvO11.cat = 2; }