private void listViewCategorias_DoubleClick(object sender, EventArgs e) { if (listViewCategorias.SelectedItems.Count > 0 && listViewCategorias.SelectedItems[0].Tag.ToString() != "todas") { Form_Categoria formAlt = new Form_Categoria(this, adaptadorCategoria, listViewCategorias.SelectedItems[0]); formAlt.ShowDialog(); } }
private void categoriaToolStripMenuItem_Click(object sender, EventArgs e) { Form_Categoria Var_Form_Categoria = new Form_Categoria(this, adaptadorCategoria); Var_Form_Categoria.ShowDialog(); }