Exemple #1
0
 private void cursosToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (Application.OpenForms["Cursos"] != null)
     {
         Application.OpenForms["Cursos"].Activate();
     }
     else
     {
         Cursos frm = new Cursos();
         frm.MdiParent = this;
         frm.Show();
     }
 }
Exemple #2
0
 private void cursosTrabajadoresDataGridView_CellContentClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 1)
     {
         Cursos frm = new Cursos();
         frm.ShowDialog();
         this.cursosTableAdapter.Fill(this.promowork_dataDataSet.Cursos);
     }
 }