示例#1
0
        private void btnAgregar_Click(object sender, EventArgs e)
        {
            FormInscricionTaller fa = new FormInscricionTaller(this.taller.id.ToString(), null);

            fa.FormClosed += new FormClosedEventHandler(form_Closed);
            fa.ShowDialog();
        }
示例#2
0
 private void modificiarToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         String ID = dataGridView1.CurrentRow.Cells[0].Value.ToString();
         FormInscricionTaller fa = new FormInscricionTaller(this.taller.id.ToString(), control.obtenerAsistenteTaller(ID));
         fa.FormClosed += new FormClosedEventHandler(form_Closed);
         fa.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }