Exemple #1
0
        private void fichaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form      existe = Application.OpenForms.OfType <Form>().Where(pre => pre.Name == "Comunidades").SingleOrDefault <Form>();
            FormFicha nueva  = new FormFicha((Comunidades)existe, id_comunidad, nombre_comunidad);

            nueva.Show();
        }
 private void fichaToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Presentacion.ComunidadesForms.FormFicha nueva = new ComunidadesForms.FormFicha(this, (int)dataGridView_comunidades.SelectedCells[0].Value, dataGridView_comunidades.SelectedCells[2].Value.ToString());
     nueva.Show();
 }