F_PP_0110.cs 3.2 KB

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