private void btn拒绝_Click(object sender, EventArgs e) { 任务 entity = m_cmT.DisplayManagerT.CurrentEntity; if (entity != null) { if (!Check任务(entity)) { return; } 拒绝原因 jjyy = new 拒绝原因(entity); if (jjyy.ShowDialog() == System.Windows.Forms.DialogResult.OK) { 任务预备案.RemoveAllValidation(m_cm); bool ret = Save(SaveType.拒绝确认); if (ret) { m_rightGrid.CurrentDataRow.Cells["预录入号"].ForeColor = Color.Red; m_rightGrid.MoveCurrentRow(Xceed.Grid.VerticalDirection.Down, Xceed.Grid.GridSection.Current); } } } }