ToRecordChoose.cs 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. using WinFrom1;
  11. using WinFrom1.ToFile;
  12. using PTMedicalInsurance.Common;
  13. using PTMedicalInsurance.Business;
  14. using PTMedicalInsurance.Helper;
  15. using Newtonsoft.Json.Linq;
  16. using PTMedicalInsurance.Variables;
  17. using PTMedicalInsurance.Forms;
  18. using System.IO;
  19. using System.Reflection;
  20. namespace PTMedicalInsurance.Forms
  21. {
  22. public partial class ToRecordChoose : Form
  23. {
  24. public ToRecordChoose()
  25. {
  26. InitializeComponent();
  27. }
  28. public class ComboBoxItem
  29. {
  30. private string _text = null;
  31. private object _value = null;
  32. public string Text { get { return this._text; } set { this._text = value; } }
  33. public object Value { get { return this._value; } set { this._value = value; } }
  34. public override string ToString()
  35. {
  36. return this._text;
  37. }
  38. }
  39. private void btn_ToRec_Click(object sender, EventArgs e)
  40. {
  41. ToRecordFrom to = new ToRecordFrom();
  42. to.ShowDialog();
  43. to.Focus();
  44. this.Hide();
  45. }
  46. private void btn_ToRecBack_Click(object sender, EventArgs e)
  47. {
  48. TableButton toLis = new TableButton("转院备案撤销");
  49. toLis.Show();
  50. toLis.Focus();
  51. this.Hide();
  52. }
  53. private void btn_SlowBack_Click(object sender, EventArgs e)
  54. {
  55. TableButton toLis = new TableButton("慢特病备案撤销");
  56. toLis.Show();
  57. toLis.Focus();
  58. this.Hide();
  59. }
  60. private void btn_DesigBack_Click(object sender, EventArgs e)
  61. {
  62. TableButton toLis = new TableButton("定点备案撤销");
  63. toLis.Show();
  64. toLis.Focus();
  65. this.Hide();
  66. }
  67. private void btn_Slow_Click(object sender, EventArgs e)
  68. {
  69. SlowSpecRecord slow = new SlowSpecRecord();
  70. slow.Show();
  71. slow.Focus();
  72. this.Hide();
  73. }
  74. private void btn_Desig_Click(object sender, EventArgs e)
  75. {
  76. PerDesigRecord per = new PerDesigRecord();
  77. per.Show();
  78. per.Focus();
  79. this.Hide();
  80. }
  81. }
  82. }