基线 SVN r240
SVN-Revision: r240
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
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 UserCz : UserControl
|
||||
{
|
||||
public UserCz()
|
||||
{
|
||||
InitializeComponent();
|
||||
DataTable f_Cz = new DataTable();
|
||||
f_Cz.Columns.Add("编号");
|
||||
f_Cz.Columns.Add("判断");
|
||||
f_Cz.Rows.Add("0", "未作");
|
||||
f_Cz.Rows.Add("1", "符合");
|
||||
f_Cz.Rows.Add("3", "不符合");
|
||||
f_Cz.Rows.Add("4", "不肯定");
|
||||
this.lookUpEdit1.Properties.DataSource = f_Cz;
|
||||
}
|
||||
/// <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}");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user