private void dgv_list_DoubleClick(object sender, EventArgs e) { if (this.dgv_list.RowCount <= 0) return; int rowIndex = this.dgv_list.CurrentCell.RowIndex; if (rowIndex < 0) return; DataGridViewRow row = dgv_list.Rows[rowIndex]; string t_id = row.Cells["WFA_ID"].Value.ToString(); if (string.IsNullOrEmpty(t_id)) { return; } if (t_id == null) { MessageBox.Show("请选择一条记录"); return; } HYPDM.WinUI.WorkFlow.Flow.CurrentStepHandle o = new HYPDM.WinUI.WorkFlow.Flow.CurrentStepHandle(t_id); // o.WfAppID=t_id; // o.StartPosition = FormStartPosition.CenterParent; o.ShowDialog(); // init(); //查看后保留在当前页码中 }
private void dgv_list_DoubleClick(object sender, EventArgs e) { if (this.dgv_list.RowCount <= 0) { return; } int rowIndex = this.dgv_list.CurrentCell.RowIndex; if (rowIndex < 0) { return; } DataGridViewRow row = dgv_list.Rows[rowIndex]; string t_id = row.Cells["WFA_ID"].Value.ToString(); if (string.IsNullOrEmpty(t_id)) { return; } if (t_id == null) { MessageBox.Show("请选择一条记录"); return; } HYPDM.WinUI.WorkFlow.Flow.CurrentStepHandle o = new HYPDM.WinUI.WorkFlow.Flow.CurrentStepHandle(t_id); // o.WfAppID=t_id; // o.StartPosition = FormStartPosition.CenterParent; o.ShowDialog(); // init(); //查看后保留在当前页码中 }