32 lines
1012 B
C#
32 lines
1012 B
C#
using DevExpress.XtraEditors;
|
|
using HL_FristAidPlatform_Public;
|
|
using System;
|
|
using System.Data;
|
|
using System.Drawing;
|
|
|
|
namespace HL_FristAidPlatform_EMRS
|
|
{
|
|
public partial class Form_PatientGCSList : XtraForm
|
|
{
|
|
public string _patientGuid;
|
|
public Form_PatientGCSList(string patientGuid)
|
|
{
|
|
InitializeComponent();
|
|
_patientGuid = patientGuid;
|
|
}
|
|
|
|
private void Form_PatientGCS_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
DataTable dt = DBHelpClass.Get(string.Format("api/service/FirstAid_PatientScore/GetPatientCGSList?patientGuid={0}", _patientGuid));
|
|
|
|
gridControl1.DataSource = dt;
|
|
gridView1.Appearance.EvenRow.BackColor = Color.FromArgb(245, 245, 245);
|
|
gridView1.Appearance.OddRow.BackColor = Color.FromArgb(255, 255, 255);
|
|
gridView1.OptionsView.EnableAppearanceEvenRow = true;
|
|
gridView1.OptionsView.EnableAppearanceOddRow = true;
|
|
|
|
}
|
|
}
|
|
}
|