using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PTMedicalInsurance.Forms.BasicDatas { public partial class UpdateDirecotryCondition : Form { private string code; private string desc; private string updateTime; private string currentPage; private string pageSize; private string insuAdmDvs; public string Code { get => code; set => code = tbCode.Text = value; } public string Desc { get => desc; set => desc = tbName.Text = value; } public string UpdateTime { get => updateTime; set => updateTime = tbUpdateTime.Text = value; } public string CurrentPage { get => currentPage; set => currentPage = tbCurPage.Text = value; } public string PageSize { get => pageSize; set => pageSize = tbPageSize.Text = value; } public string InsuAdmDvs { get => insuAdmDvs; set => insuAdmDvs = tbCbd.Text = value; } public UpdateDirecotryCondition() { InitializeComponent(); } private void btnOK_Click(object sender, EventArgs e) { updateTime = tbUpdateTime.Text; currentPage = tbCurPage.Text; pageSize = tbPageSize.Text; insuAdmDvs = tbCbd.Text; desc = tbName.Text; DialogResult = DialogResult.OK; } private void btnCancel_Click(object sender, EventArgs e) { DialogResult = DialogResult.Cancel; } } }