F_PP_0111.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. /*******************************************************************************
  2. * Copyright(c) 2019 DongkeSoft All rights reserved. / Confidential
  3. * 类的信息:
  4. * 1.程序名称:F_PP_0111.cs
  5. * 2.功能描述:年计划同表比对
  6. * 编辑履历:
  7. * 作者 日期 版本 修改内容
  8. * 徐伟 2019/08/27 1.00 新建
  9. *******************************************************************************/
  10. using System;
  11. using System.Reflection;
  12. using System.Windows.Forms;
  13. using Dongke.IBOSS.PRD.Client.CommonModule;
  14. using Dongke.IBOSS.PRD.Client.Controls;
  15. using Dongke.IBOSS.PRD.Client.DataModels;
  16. namespace Dongke.IBOSS.PRD.Client.PPModule
  17. {
  18. /// <summary>
  19. /// 年计划窗体
  20. /// </summary>
  21. public partial class F_PP_0111 : DKDockPanelBase
  22. {
  23. #region 单例模式 防止窗体被重复创建
  24. private static F_PP_0111 _instance = null;
  25. public static F_PP_0111 Instance
  26. {
  27. get
  28. {
  29. if (_instance == null)
  30. {
  31. _instance = new F_PP_0111();
  32. }
  33. return _instance;
  34. }
  35. }
  36. private void F_PP_0111_FormClosed(object sender, FormClosedEventArgs e)
  37. {
  38. _instance = null;
  39. }
  40. #endregion
  41. #region 构造函数
  42. /// <summary>
  43. /// 年计划窗体
  44. /// </summary>
  45. public F_PP_0111()
  46. {
  47. InitializeComponent();
  48. //this.Text = "年计划";
  49. }
  50. #endregion
  51. /// <summary>
  52. /// 画面加载
  53. /// </summary>
  54. /// <param name="sender"></param>
  55. /// <param name="e"></param>
  56. private void F_PP_0111_Load(object sender, System.EventArgs e)
  57. {
  58. try
  59. {
  60. // 加载权限
  61. FormPermissionManager.FormPermissionControl(this.Name, this,
  62. LogInUserInfo.CurrentUser.CurrentUserEntity.UserRightData,
  63. LogInUserInfo.CurrentUser.CurrentUserEntity.FunctionData);
  64. }
  65. catch (Exception ex)
  66. {
  67. // 对异常进行共通处理
  68. ExceptionManager.HandleEventException(this.ToString(),
  69. MethodBase.GetCurrentMethod().Name, this.Text, ex);
  70. }
  71. }
  72. /// <summary>
  73. /// 关闭画面
  74. /// </summary>
  75. /// <param name="sender"></param>
  76. /// <param name="e"></param>
  77. private void tsbtnClose_Click(object sender, EventArgs e)
  78. {
  79. this.Close();
  80. }
  81. /// <summary>
  82. /// 获取数据
  83. /// </summary>
  84. private void TsbtnSearch_Click(object sender, EventArgs e)
  85. {
  86. }
  87. /// <summary>
  88. /// 清空条件
  89. /// </summary>
  90. private void TsbtnClearCondition_Click(object sender, EventArgs e)
  91. {
  92. }
  93. private void BtnSearch_Click(object sender, EventArgs e)
  94. {
  95. }
  96. }
  97. }