private void customDataGridView2_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { if (customDataGridView2.CurrentRow == null) { return; } else if (customDataGridView2.CurrentRow.Cells["当月评价"].Value.ToString() == "未填写") { MessageDialog.ShowPromptMessage("【未填写】当月评价"); return; } 重点工作详细信息 frm = new 重点工作详细信息(customDataGridView2.CurrentRow.Cells["F_Id"].Value.ToString(), cmbYear.Text + cmbMonth.Text); frm.Show(); }
private void btnSelectDetail_Click(object sender, EventArgs e) { 重点工作详细信息 frm = new 重点工作详细信息(txtTaskName.Tag.ToString(), null); frm.Show(); }