ab56a9bcf7
SVN-Revision: r240
41 lines
1.2 KiB
C#
41 lines
1.2 KiB
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;
|
|
using Lskj.Core;
|
|
|
|
namespace CsHospital.UserControls
|
|
{
|
|
public partial class UserQc : UserControl
|
|
{
|
|
public UserQc()
|
|
{
|
|
InitializeComponent();
|
|
DBConfig.Instance.CreateConnection();
|
|
DataTable f_Qc = SqlHelper.ExecuteDataTable("SELECT dm_ylqx_type.dm,dm_ylqx_type.mc FROM dm_ylqx_type ");
|
|
this.lookUpEdit1.Properties.DataSource = f_Qc;
|
|
this.lookUpEdit1.Properties.DisplayMember = "mc";
|
|
this.lookUpEdit1.Properties.ValueMember = "dm";
|
|
|
|
}
|
|
/// <summary>
|
|
/// 下拉框对象
|
|
/// </summary>
|
|
public DevExpress.XtraEditors.LookUpEdit lookUpEditObject { get { return lookUpEdit1; } }
|
|
/// <summary>
|
|
/// 回车触发下一个
|
|
/// </summary>
|
|
/// <param name="sender"></param>
|
|
/// <param name="e"></param>
|
|
private void textBox_KeyPress(object sender, KeyPressEventArgs e)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|