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;
using Lskj.Core;
namespace CsHospital.UserControls
{
public partial class UserYhqk : UserControl
{
public UserYhqk()
{
InitializeComponent();
DBConfig.Instance.CreateConnection();
DataTable f_cyqk = SqlHelper.ExecuteDataTable("SELECT dm_yhqk.yhqkdm ,dm_yhqk.yhqk FROM dm_yhqk");
this.lookUpEdit1.Properties.DataSource = f_cyqk;
this.lookUpEdit1.Properties.DisplayMember = "yhqk";
this.lookUpEdit1.Properties.ValueMember = "yhqkdm";
}
///
/// 下拉框对象
///
public DevExpress.XtraEditors.LookUpEdit lookUpEditObject { get { return lookUpEdit1; } }
///
/// 回车触发下一个
///
///
///
private void textBox_KeyPress(object sender, KeyPressEventArgs e)
{
}
}
}