| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- /*******************************************************************************
- * Copyright(c) 2014 DongkeSoft All rights reserved. / Confidential
- * 类的信息:
- * 1.程序名称:S_CMN_012.cs
- * 2.功能描述:审核页面
- * 编辑履历:
- * 作者 日期 版本 修改内容
- * 张国印 2014/09/15 1.00 新建
- *******************************************************************************/
- using System;
- using Dongke.IBOSS.PRD.Basics.BaseControls;
- using Dongke.IBOSS.PRD.Basics.BaseResources;
- namespace Dongke.IBOSS.PRD.Client.Controls
- {
- public partial class S_CMN_012 : FormBase
- {
- #region 成员变量
- //审批状态 True 通过 False 不通过
- private bool _hrApprovalState;
- #endregion
- #region 构造函数
- /// <summary>
- /// 构造函数
- /// </summary>
- public S_CMN_012()
- {
- InitializeComponent();
- this.Text = FormTitles.S_CMN_011;
- this.btnPass.Text = ButtonText.BTN_PASS;
- this.btnNotPass.Text = ButtonText.BTN_NOTPASS;
- this.btnClose.Text = ButtonText.BTN_CLOSE;
- }
- #endregion
- #region 属性
- /// <summary>
- /// 审批状态 True 通过 False 不通过
- /// </summary>
- public bool HRApprovalState
- {
- get { return _hrApprovalState; }
- }
- #endregion
- #region 事件
- /// <summary>
- /// 审批通过
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void btnPass_Click(object sender, EventArgs e)
- {
- this._hrApprovalState = true;
- this.DialogResult = System.Windows.Forms.DialogResult.OK;
- }
- /// <summary>
- /// 审批不通过
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void btnNotPass_Click(object sender, EventArgs e)
- {
- this._hrApprovalState = false;
- this.DialogResult = System.Windows.Forms.DialogResult.OK;
- }
- /// <summary>
- /// 取消按钮
- /// </summary>
- /// <param name="sender"></param>
- /// <param name="e"></param>
- private void btnClose_Click(object sender, EventArgs e)
- {
- this.DialogResult = System.Windows.Forms.DialogResult.Cancel;
- }
- #endregion
- }
- }
|