📄 codetabledefinition.cs
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -