private void Btn_add_Click(object sender, EventArgs e) { timer_question.Enabled = true; QuestionPopUp newQues = new QuestionPopUp("", "", true); newQues.Show(); }
private void Btn_edit_Click(object sender, EventArgs e) { timer_question.Enabled = true; foreach (ListViewItem lv in listView1.SelectedItems) { editItem = lv; QuestionPopUp selectedQues = new QuestionPopUp(lv.SubItems[1].Text, lv.SubItems[2].Text, false); selectedQues.Show(); } }