StableVersion4.3/HL_FristAidPlatform_Trauma/Form_MDPS.cs

29 lines
767 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.Collections.Generic;
using System.Data;
using System.Linq;
namespace HL_FristAidPlatform_Trauma
{
public partial class Form_MDPS : XtraForm
{
public Form_MDPS()
{
InitializeComponent();
}
private void Form_MDPS_Load(object sender, EventArgs e)
{
DataTable dt = DBHelpClass.Get(string.Format("api/base/T_Base_MPDS/GetListOfType?type=1"));
if (dt != null && dt.Rows.Count > 0)
{
Dictionary<string, string> dic = dt.Rows.Cast<DataRow>().ToDictionary(x => x["GUID"].ToString(), x => x["SymptomName"].ToString());
}
}
}
}