using DevExpress.XtraEditors; using HL_FristAidPlatform_Public; using System; using System.Data; using System.Drawing; namespace HL_FristAidPlatform_EMRS { public partial class Form_PatientInfoNIHSSList : XtraForm { private string _patientGuid; public Form_PatientInfoNIHSSList(string patientGuid) { InitializeComponent(); _patientGuid = patientGuid; } private void Form_PatientInfoNIHSSList_Load(object sender, EventArgs e) { DataTable dt = DBHelpClass.Get(string.Format("api/service/FirstAid_PatientScore/GetPatientNIHSSList?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; } } }