Пример #1
0
 //addquestion button
 public void AddQuestion_Click(object sender, EventArgs e)
 {
     AddQuestionPanel AddQuestionpanel = new AddQuestionPanel(bc, index2);
     bc.qlc.AddQuestionpanel(index2);
 }
Пример #2
0
 // Sets contentPanel
 public void AddQuestionpanel(int id)
 {
     AddQuestionPanel add = new AddQuestionPanel(bc, id);
     bc.refreshPanel(add.getPanel());
 }