Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

78 righe
2.4 KiB

  1. using HKLib.DB;
  2. namespace HKCardManager
  3. {
  4. public partial class Form1 : Form
  5. {
  6. public Form1()
  7. {
  8. InitializeComponent();
  9. Task.Factory.StartNew(() =>
  10. {
  11. DbContext.InitTable();
  12. });
  13. }
  14. private void 人员录入ToolStripMenuItem_Click(object sender, EventArgs e)
  15. {
  16. new PersonnelEntry().ShowDialog();
  17. }
  18. private void 机构录入ToolStripMenuItem_Click(object sender, EventArgs e)
  19. {
  20. new InstitutionalEntry().ShowDialog();
  21. }
  22. private void 发卡ToolStripMenuItem_Click(object sender, EventArgs e)
  23. {
  24. new Hairpin().ShowDialog();
  25. }
  26. private void 销户ToolStripMenuItem_Click(object sender, EventArgs e)
  27. {
  28. Cancellation cancellation = new Cancellation();
  29. cancellation.Text = "销户";
  30. cancellation.ShowDialog();
  31. }
  32. private void 挂失ToolStripMenuItem_Click(object sender, EventArgs e)
  33. {
  34. Cancellation cancellation = new Cancellation();
  35. cancellation.Text = "挂失";
  36. cancellation.ShowDialog();
  37. }
  38. private void 解挂ToolStripMenuItem_Click(object sender, EventArgs e)
  39. {
  40. Cancellation cancellation = new Cancellation();
  41. cancellation.Text = "解挂";
  42. cancellation.ShowDialog();
  43. }
  44. private void 月餐段汇总表ToolStripMenuItem_Click(object sender, EventArgs e)
  45. {
  46. DailyConsumptionTable dailyConsumptionTable = new DailyConsumptionTable();
  47. dailyConsumptionTable.Text = "月餐段汇总表";
  48. dailyConsumptionTable.ShowDialog();
  49. }
  50. private void 计次就餐天消费表ToolStripMenuItem_Click(object sender, EventArgs e)
  51. {
  52. DailyConsumptionTable dailyConsumptionTable = new DailyConsumptionTable();
  53. dailyConsumptionTable.Text = "计次就餐天消费表";
  54. dailyConsumptionTable.ShowDialog();
  55. }
  56. private void 计次就餐消费明细表ToolStripMenuItem_Click(object sender, EventArgs e)
  57. {
  58. DailyConsumptionTable dailyConsumptionTable = new DailyConsumptionTable();
  59. dailyConsumptionTable.Text = "计次就餐消费明细表";
  60. dailyConsumptionTable.ShowDialog();
  61. }
  62. private void 餐段设置ToolStripMenuItem_Click(object sender, EventArgs e)
  63. {
  64. new MealSegmentSet().ShowDialog();
  65. }
  66. }
  67. }