private void modifyToolStripMenuItem_Click(object sender, EventArgs e) { FormQaSetup setup = new FormQaSetup("edit", dgvQa.SelectedRows[0].Cells[2].Value.ToString().Trim()); if (setup.ShowDialog() == DialogResult.OK) { LoadQAData(); } }
private void btnAdd_Click(object sender, EventArgs e) { FormQaSetup setup = new FormQaSetup("", ""); if (setup.ShowDialog() == DialogResult.OK) { LoadQAData(); } }
private void dgvQa_DoubleClick(object sender, EventArgs e) { try { if (dgvQa.SelectedRows == null) { return; } FormQaSetup setup = new FormQaSetup("edit", dgvQa.SelectedRows[0].Cells[2].Value.ToString().Trim()); if (setup.ShowDialog() == DialogResult.OK) { LoadQAData(); } } catch { } }