private void panel1_DoubleClick(object sender, EventArgs e) { try { VerNoticia vn = new VerNoticia(idNoticia1, tipo == 4); vn.Show(); } catch (Exception ex) { } }
private void label7_Click(object sender, EventArgs e) { try { VerNoticia vn = new VerNoticia(idNoticia3, tipo == 4); vn.Show(); } catch (Exception ex) { } }
private void dataGridView1_MouseDoubleClick(object sender, MouseEventArgs e) { try { var selectedCell = dataGridView1.SelectedCells[0]; int id = (int)dataGridView1.Rows[selectedCell.RowIndex].Cells[1].Value; VerNoticia vn = new VerNoticia(id, permisos); vn.Show(); this.Close(); } catch (Exception ex) { } }