ChooseCard.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Data.SqlTypes;
  6. using System.Drawing;
  7. using System.Linq;
  8. using System.Text;
  9. using System.Threading.Tasks;
  10. using System.Windows.Forms;
  11. using PTMedicalInsurance.Common;
  12. namespace PTMedicalInsurance.Forms
  13. {
  14. public partial class ChooseCard : Form
  15. {
  16. public string cardType;
  17. public string businessType;
  18. public string ID;
  19. public string prmYabtch;//同城化标识
  20. public ChooseCard()
  21. {
  22. InitializeComponent();
  23. cbCardType.SelectedIndex = 3;
  24. rbGuiYang.Checked = true;
  25. }
  26. private void btOk_Click(object sender, EventArgs e)
  27. {
  28. cardType = cbCardType.Text.Substring(0, 2);
  29. if (rbGuiZhou.Checked)
  30. {
  31. prmYabtch = "9900";
  32. }
  33. if (rbGuiYang.Checked)
  34. {
  35. prmYabtch = "0100";
  36. }
  37. if (rbGongShang.Checked)
  38. {
  39. prmYabtch = "GS01";
  40. }
  41. this.DialogResult = DialogResult.OK;
  42. }
  43. private void btCancle_Click(object sender, EventArgs e)
  44. {
  45. this.DialogResult = DialogResult.Cancel;
  46. }
  47. }
  48. }