private void DGX_RowCellStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e) { if ((bool)DGX.GetRowCellValue(e.RowHandle, "bQualify")) { e.Appearance.BackColor = Color.LightCyan; } }
private void ShowDetail(object sender, MouseEventArgs e) { #region 查看单据 int index = DGX.FocusedRowHandle; string guid = DGX.GetDataRow(index)["guid"].ToString(); FmRecord01 frm = new FmRecord01(guid); FmMain.NewPageDelegate(frm); #endregion }
private void ShowDetail(object sender, MouseEventArgs e) { #region 生成报检单 int index = DGX.FocusedRowHandle; string guid = DGX.GetDataRow(index)["guid"].ToString(); FmQmReport frm = new FmQmReport(guid); //FmMain.NewPageDelegate(frm); frm.ShowDialog(); #endregion }
private void ShowDetail(object sender, MouseEventArgs e) { #region 生成报检单 int index = DGX.FocusedRowHandle; int guid = Convert.ToInt32(DGX.GetDataRow(index)["autoId"]); //FmQmReport frm = new FmQmReport(guid); // FmMain.NewPageDelegate(frm); //frm.ShowDialog(); #endregion }