StableVersion4.3/HL_FristAidPlatform_EMRS/Form_PatientInfoRTSList.cs

31 lines
1010 B
C#
Raw Permalink Normal View History

2024-03-11 09:47:34 +08:00
using DevExpress.XtraEditors;
using HL_FristAidPlatform_Public;
using System;
using System.Data;
using System.Drawing;
namespace HL_FristAidPlatform_EMRS
{
public partial class Form_PatientInfoRTSList : XtraForm
{
private string _patientGuid;
public Form_PatientInfoRTSList(string patientGuid)
{
InitializeComponent();
_patientGuid = patientGuid;
}
private void Form_PatientInfoRTSList_Load(object sender, EventArgs e)
{
DataTable dt = DBHelpClass.Get(string.Format("api/service/FirstAid_PatientScore/GetPatientRTSList?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;
}
}
}