ab56a9bcf7
SVN-Revision: r240
35 lines
992 B
C#
35 lines
992 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace CsHospital
|
|
{
|
|
public partial class UserCyqk : UserControl
|
|
{
|
|
public UserCyqk()
|
|
{
|
|
InitializeComponent();
|
|
DataTable f_cyqk = new DataTable();
|
|
f_cyqk.Columns.Add("编号");
|
|
f_cyqk.Columns.Add("情况");
|
|
f_cyqk.Rows.Add("1", "自愈");
|
|
f_cyqk.Rows.Add("2", "好转");
|
|
f_cyqk.Rows.Add("3", "未愈");
|
|
f_cyqk.Rows.Add("4", "死亡");
|
|
f_cyqk.Rows.Add("5", "其它");
|
|
this.lookUpEdit1.Properties.DataSource = f_cyqk;
|
|
this.lookUpEdit1.Properties.DisplayMember = "情况";
|
|
this.lookUpEdit1.Properties.ValueMember = "编号";
|
|
this.lookUpEdit1.Properties.NullText = "";
|
|
}
|
|
|
|
|
|
}
|
|
}
|