示例#1
0
 private void DGX_RowCellStyle(object sender, DevExpress.XtraGrid.Views.Grid.RowCellStyleEventArgs e)
 {
     if ((bool)DGX.GetRowCellValue(e.RowHandle, "bQualify"))
     {
         e.Appearance.BackColor = Color.LightCyan;
     }
 }
示例#2
0
        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
        }
示例#3
0
        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
        }
示例#4
0
        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
        }