codetabledefinition.cs
来自「EpiInfo 开源的导航系统远程序,不知道在哪里下的了,分享一下,有兴趣的」· CS 代码 · 共 53 行
CS
53 行
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Epi.Windows.MakeView.Dialogs.FieldDefinitionDialogs
{
/// <summary>
/// Form for defining code tables
/// </summary>
public partial class CodeTableDefinition : Form
{
/// <summary>
/// Default constructor for exclusive use by the designer
/// </summary>
public CodeTableDefinition()
{
InitializeComponent();
}
private void txtCodeTableName_TextChanged(object sender, EventArgs e)
{
btnOk.Enabled = (txtCodeTableName.Text.Length > 0);
}
private void btnCancel_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.Cancel;
this.Close();
}
private void btnOk_Click(object sender, EventArgs e)
{
this.DialogResult = DialogResult.OK;
this.Hide();
}
/// <summary>
/// Gets the code table name
/// </summary>
public string CodeTableName
{
get
{
return txtCodeTableName.Text;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?