private void tabla2_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e) { if (e.RowIndex >= 0) { SelectedRow = tabla2.Rows[e.RowIndex]; next = true; this.Close(); frmDiak form2 = new frmDiak(connectionString); form2.Show(); } }
private void szerkesztésToolStripMenuItem_Click(object sender, EventArgs e) { frmDiak diakfrm = new frmDiak(connectionString); diakfrm.Show(); }