ab56a9bcf7
SVN-Revision: r240
41 lines
1.1 KiB
C#
41 lines
1.1 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;
|
|
|
|
namespace CsHospital.UserControls
|
|
{
|
|
public partial class UserJcqk : UserControl
|
|
{
|
|
public UserJcqk()
|
|
{
|
|
InitializeComponent();
|
|
DataTable f_flag = new DataTable();
|
|
f_flag.Columns.Add("编号");
|
|
f_flag.Columns.Add("情况");
|
|
f_flag.Rows.Add("1", "阴");
|
|
f_flag.Rows.Add("2", "阳");
|
|
f_flag.Rows.Add("3", "未做");
|
|
f_flag.Rows.Add("4", "不详");
|
|
this.lookUpEdit1.Properties.DataSource = f_flag;
|
|
}
|
|
/// <summary>
|
|
/// 回车触发下一个
|
|
/// </summary>
|
|
/// <param name="sender"></param>
|
|
/// <param name="e"></param>
|
|
private void textBox_KeyPress(object sender, KeyPressEventArgs e)
|
|
{
|
|
if (e.KeyChar == (char)Keys.Enter)
|
|
{
|
|
SendKeys.Send("{tab}");
|
|
}
|
|
}
|
|
}
|
|
}
|