Exemplo n.º 1
0
        public void label2_Click(object sender, EventArgs e)
        {
            Button   clickedLabel = sender as Button;
            int      exam_id      = int.Parse(clickedLabel.Name);
            CDDoExam doexam       = new CDDoExam(exam_id, this, false);

            doexam.Show();
        }
Exemplo n.º 2
0
        public void labelButton_Click(object sender, EventArgs e)
        {
            Button   clickedLabel = sender as Button;
            int      exam_id      = int.Parse(clickedLabel.Name);
            CDDoExam doexam       = new CDDoExam(exam_id, this);

            doexam.updateIt += new CDDoExam.updateParentData(doSomething);
            doexam.Show();
        }