/// <summary> /// 导出项目信息 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void tsb_DaoChu_Click(object sender, EventArgs e) { if (dgProject.RowCount == 0) { TXMessageBoxExtensions.Info("提示:当前系统没有项目可导出"); return; } DataGridViewRow dr = dgProject.SelectedRows[0]; string ProjectNo = dr.Cells["ProjectNO"].Value.ToString(); string ProjectName = dr.Cells["projectname"].Value.ToString(); MyCommon.DaoChuPrjectInfo(ProjectNo, ProjectName); }