コード例 #1
0
ファイル: clsCommonUseTool.cs プロジェクト: ewin66/HIS
 private void m_mthShowCommonUseValue(object sender, System.EventArgs e)
 {
     try
     {
         frmCommonUsePanel frmcommonusepanel = new frmCommonUsePanel();
         frmcommonusepanel.m_mthSetParentForm(m_frmParent, m_ctlTarget);
         frmcommonusepanel.m_mthSetCommonUserType((int)m_enmType);
         frmcommonusepanel.ShowDialog(m_frmParent);
         m_mthSetMousePosition(m_ctlTarget);
         frmcommonusepanel.Dispose();
     }
     catch
     {}
 }
コード例 #2
0
ファイル: clsCommonUseTool.cs プロジェクト: ewin66/HIS
        private void m_mthShowNurSign(object sender, System.EventArgs e)
        {
            if (!m_ctlTarget.Enabled)
            {
                clsPublicFunction.ShowInformationMessageBox("对不起,签名不能修改!");
                return;
            }

            frmCommonUsePanel frmcommonusepanel = new frmCommonUsePanel();

            frmcommonusepanel.m_mthSetParentForm(m_frmParent, m_ctlTarget);
            frmcommonusepanel.m_mthSetCommonUserType(-2);
            frmcommonusepanel.m_BlnNeedVerify = (((Control)sender).Tag != null && ((Control)sender).Tag.ToString() == "0") ? false : true;
            frmcommonusepanel.ShowDialog(m_frmParent);
            m_mthSetMousePosition(m_ctlTarget);
            frmcommonusepanel.Dispose();
        }
コード例 #3
0
ファイル: clsCommonUseTool.cs プロジェクト: ewin66/HIS
        /// <summary>
        /// 显示特定部门的常用值员工签名
        /// </summary>
        /// <param name="p_frmParent"></param>
        /// <param name="p_ctlTarget"></param>
        /// <param name="p_intType"></param>
        /// <param name="p_strDeptID"></param>
        /// <param name="p_blnNeedVerify"></param>
        public void m_mthShowSpecialEmployeeSign(Form p_frmParent, Control p_ctlTarget, enmEmployeeType p_enmEmployeeType, string p_strDeptID, bool p_blnNeedVerify)
        {
            if (!p_ctlTarget.Enabled)
            {
                clsPublicFunction.ShowInformationMessageBox("对不起,签名不能修改!");
                return;
            }

            frmCommonUsePanel frmcommonusepanel = new frmCommonUsePanel();

            frmcommonusepanel.m_mthSetParentForm(p_frmParent, p_ctlTarget);
            frmcommonusepanel.m_mthSetCommonUserType((int)p_enmEmployeeType);
            frmcommonusepanel.m_StrDeptID     = p_strDeptID;
            frmcommonusepanel.m_BlnNeedVerify = p_blnNeedVerify;
            frmcommonusepanel.ShowDialog(p_frmParent);
            m_mthSetMousePosition(m_ctlTarget);
            frmcommonusepanel.Dispose();
        }