MakeAnAppointment.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace LYFZ.Software.MainBusiness.TimeAndAttendance
  6. {
  7. public class MakeAnAppointment : LYFZ.Software.UI.TimeAndAttendance.MakeAnAppointment
  8. {
  9. public MakeAnAppointment()
  10. {
  11. this.Load += MakeAnAppointment_Load;
  12. this.butnElectiondress.Click += butnElectiondress_Click;
  13. this.butnLookatthedesign.Click += butnLookatthedesign_Click;
  14. this.butnPickup.Click += butnPickup_Click;
  15. this.butnservice.Click += butnservice_Click;
  16. this.butnTakepictures.Click += butnTakepictures_Click;
  17. this.butnSelectionoffilms.Click += butnSelectionoffilms_Click;
  18. }
  19. /// <summary>
  20. /// 是否保存
  21. /// </summary>
  22. public bool IsSaveed = false;
  23. /// <summary>
  24. /// 选择的类型
  25. /// </summary>
  26. public string StrSelectType = "";
  27. /// <summary>
  28. /// 窗体加载事件
  29. /// </summary>
  30. /// <param name="sender"></param>
  31. /// <param name="e"></param>
  32. void MakeAnAppointment_Load(object sender, EventArgs e)
  33. {
  34. }
  35. /// <summary>
  36. /// 安排拍照
  37. /// </summary>
  38. /// <param name="sender"></param>
  39. /// <param name="e"></param>
  40. void butnTakepictures_Click(object sender, EventArgs e)
  41. {
  42. this.IsSaveed = true;
  43. this.StrSelectType = "0";
  44. this.Close();
  45. }
  46. /// <summary>
  47. /// 安排选片
  48. /// </summary>
  49. /// <param name="sender"></param>
  50. /// <param name="e"></param>
  51. void butnSelectionoffilms_Click(object sender, EventArgs e)
  52. {
  53. this.IsSaveed = true;
  54. this.StrSelectType = "1";
  55. this.Close();
  56. }
  57. /// <summary>
  58. /// 安排看设计
  59. /// </summary>
  60. /// <param name="sender"></param>
  61. /// <param name="e"></param>
  62. void butnLookatthedesign_Click(object sender, EventArgs e)
  63. {
  64. this.IsSaveed = true;
  65. this.StrSelectType = "2";
  66. this.Close();
  67. }
  68. /// <summary>
  69. /// 安排取件
  70. /// </summary>
  71. /// <param name="sender"></param>
  72. /// <param name="e"></param>
  73. void butnPickup_Click(object sender, EventArgs e)
  74. {
  75. this.IsSaveed = true;
  76. this.StrSelectType = "3";
  77. this.Close();
  78. }
  79. /// <summary>
  80. /// 安排服务
  81. /// </summary>
  82. /// <param name="sender"></param>
  83. /// <param name="e"></param>
  84. void butnservice_Click(object sender, EventArgs e)
  85. {
  86. this.IsSaveed = true;
  87. this.StrSelectType = "4";
  88. this.Close();
  89. }
  90. /// <summary>
  91. /// 安排选礼服
  92. /// </summary>
  93. /// <param name="sender"></param>
  94. /// <param name="e"></param>
  95. void butnElectiondress_Click(object sender, EventArgs e)
  96. {
  97. this.IsSaveed = true;
  98. this.StrSelectType = "5";
  99. this.Close();
  100. }
  101. }
  102. }