private void tsmAddLiterature_Click(object sender, EventArgs e) { frmInfoLiterature frmInfoLiterature = new frmInfoLiterature(); frmInfoLiterature.RefreshTab += new frmInfoLiterature.RefreshTabHandler(LoadTab); frmInfoLiterature.Show(); }
private void tsmViewLiterature_Click(object sender, EventArgs e) { if (dgvSurvey.SelectedCells.Count == 1) { frmInfoLiterature frmInfoLiterature = new frmInfoLiterature(dgvSurvey.CurrentRow.Cells[0].Value.ToString()); frmInfoLiterature.Show(); } }
private void tsmViewLiterature_Click(object sender, EventArgs e) { if (dgvLiterature.SelectedCells.Count == 1) { frmInfoLiterature frmInfoLiterature = new frmInfoLiterature(dgvLiterature.CurrentRow.Cells[1].Value.ToString()); frmInfoLiterature.RefreshTab += new frmInfoLiterature.RefreshTabHandler(LoadTab); frmInfoLiterature.Show(); } }