private void GridCategoria_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { CategoriaAMFrm frm = new CategoriaAMFrm(); frm.ShowCategoria((this.GridCategoria.Rows[e.RowIndex].DataBoundItem as Categoria), this); }
private void altaToolStripMenuItem2_Click(object sender, EventArgs e) { CategoriaAMFrm frm = new CategoriaAMFrm(); frm.NewCategoria(null); }