Ejemplo n.º 1
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            var subject = (SubjectModel)dgSubjects.Rows[dgSubjects.CurrentCell.RowIndex].DataBoundItem;
            var form    = new SubjectForm(subject, this);

            form.Show();
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            var form = new SubjectForm(null, this);

            form.Show();
        }