UpdateDirecotryCondition.cs 1.6 KB

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