| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- /*******************************************************************************
- * Copyright(c) 2019 DongkeSoft All rights reserved. / Confidential
- * 类的信息:
- * 1.程序名称:F_PP_0121.cs
- * 2.功能描述:年计划分析
- * 编辑履历:
- * 作者 日期 版本 修改内容
- * 徐伟 2019/08/27 1.00 新建
- *******************************************************************************/
- using System;
- using System.Collections.Generic;
- using System.Data;
- using System.Reflection;
- using System.Windows.Forms;
- using Dongke.IBOSS.PRD.Basics.BaseResources;
- using Dongke.IBOSS.PRD.Client.CommonModule;
- using Dongke.IBOSS.PRD.Client.Controls;
- using Dongke.IBOSS.PRD.Client.DataModels;
- using Dongke.IBOSS.PRD.WCF.DataModels;
- using Dongke.IBOSS.PRD.WCF.Proxys;
- namespace Dongke.IBOSS.PRD.Client.PPModule
- {
- /// <summary>
- /// 年计划窗体
- /// </summary>
- public partial class F_PP_0121 : DKDockPanelBase
- {
- #region 单例模式 防止窗体被重复创建
- private static F_PP_0121 _instance = null;
- public static F_PP_0121 Instance
- {
- get
- {
- if (_instance == null)
- {
- _instance = new F_PP_0121();
- }
- return _instance;
- }
- }
- private void F_PP_0121_FormClosed(object sender, FormClosedEventArgs e)
- {
- _instance = null;
- }
- #endregion
- #region 构造函数
- /// <summary>
- /// 年计划窗体
- /// </summary>
- public F_PP_0121()
- {
- InitializeComponent();
- //this.Text = "年计划";
- this.tsbtnAdaptive.Text = ButtonText.TSBTN_ADAPTIVE;
- this.tsbtnClose.Text = ButtonText.TSBTN_CLOSE;
- this.dgvPlan.AutoGenerateColumns = false;
- }
- #endregion
- /// <summary>
- /// 画面加载
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void F_PP_0121_Load(object sender, System.EventArgs e)
- {
- try
- {
- // 加载权限
- FormPermissionManager.FormPermissionControl(this.Name, this,
- LogInUserInfo.CurrentUser.CurrentUserEntity.UserRightData,
- LogInUserInfo.CurrentUser.CurrentUserEntity.FunctionData);
- }
- catch (Exception ex)
- {
- // 对异常进行共通处理
- ExceptionManager.HandleEventException(this.ToString(),
- MethodBase.GetCurrentMethod().Name, this.Text, ex);
- }
- }
- /// <summary>
- /// 自适应列宽
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void tsbtnAdaptive_Click(object sender, EventArgs e)
- {
- this.dgvPlan.AutoResizeColumns();
- }
- /// <summary>
- /// 关闭画面
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void tsbtnClose_Click(object sender, EventArgs e)
- {
- this.Close();
- }
- /// <summary>
- /// 获取数据
- /// </summary>
- private void TsbtnSearch_Click(object sender, EventArgs e)
- {
- }
- /// <summary>
- /// 清空条件
- /// </summary>
- private void TsbtnClearCondition_Click(object sender, EventArgs e)
- {
- }
- private void BtnSearch_Click(object sender, EventArgs e)
- {
- }
- }
- }
|