UpdateDirecotryCondition.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. namespace PTMedicalInsurance.Forms.BasicDatas
  11. {
  12. public partial class UpdateDirecotryCondition : Form
  13. {
  14. private string code;
  15. private string desc;
  16. private string updateTime;
  17. private string currentPage;
  18. private string pageSize;
  19. private string insuAdmDvs;
  20. public string Code { get => code; set => code = tbCode.Text = value; }
  21. public string Desc { get => desc; set => desc = tbName.Text = value; }
  22. public string UpdateTime { get => updateTime; set => updateTime = tbUpdateTime.Text = value; }
  23. public string CurrentPage { get => currentPage; set => currentPage = tbCurPage.Text = value; }
  24. public string PageSize { get => pageSize; set => pageSize = tbPageSize.Text = value; }
  25. public string InsuAdmDvs { get => insuAdmDvs; set => insuAdmDvs = tbCbd.Text = value; }
  26. public UpdateDirecotryCondition()
  27. {
  28. InitializeComponent();
  29. }
  30. private void btnOK_Click(object sender, EventArgs e)
  31. {
  32. updateTime = tbUpdateTime.Text;
  33. currentPage = tbCurPage.Text;
  34. pageSize = tbPageSize.Text;
  35. insuAdmDvs = tbCbd.Text;
  36. desc = tbName.Text;
  37. DialogResult = DialogResult.OK;
  38. }
  39. private void btnCancel_Click(object sender, EventArgs e)
  40. {
  41. DialogResult = DialogResult.Cancel;
  42. }
  43. }
  44. }