コード例 #1
0
 public frmPartogramPoint_GX(clsPartogram_Point[] p_objPointArr, string p_strDeptId, int p_intSelectHour)
 {
     InitializeComponent();
     m_objDomain      = new clsPartogramDomain();
     m_arlDeletePoint = new List <clsPartogram_Point>(3);
     if (p_objPointArr == null || p_objPointArr.Length == 0)
     {
         return;
     }
     lblHour.Text    = "第" + p_intSelectHour + "小时";
     m_strDeptId     = p_strDeptId;
     m_intSelectHour = p_intSelectHour;
     m_strRegisterId = p_objPointArr[0].m_strREGISTERID_CHR;
     for (int i = 0; i < p_objPointArr.Length; i++)
     {
         if (p_objPointArr[i].m_intPointType_INT == 0)
         {
             ListViewItem item = m_lsvU.Items.Add(p_objPointArr[i].m_intPointMin_INT.ToString());
             item.SubItems.Add(p_objPointArr[i].m_fltPointValue_INT.ToString());
             item.Tag = p_objPointArr[i];
         }
         else
         {
             ListViewItem item = m_lsvDown.Items.Add(p_objPointArr[i].m_intPointMin_INT.ToString());
             item.SubItems.Add(p_objPointArr[i].m_fltPointValue_INT.ToString());
             item.Tag = p_objPointArr[i];
         }
     }
 }
コード例 #2
0
ファイル: frmPartogramRecord_GX.cs プロジェクト: ewin66/HIS
 public frmPartogramRecord_GX()
 {
     InitializeComponent();
     //m_mthSetBindingSource();
     m_objSign = new clsEmrSignToolCollection();
     m_mthSetRichTextBoxAttribInControl(this);
     //m_mthBindEmployeeSign(按钮, 签名框, 医生1or护士2, 身份验证trueorfalse, 员工ID);
     m_objSign.m_mthBindEmployeeSign(m_cmdDeliver, m_lsvDeliver, 1, false, clsEMRLogin.LoginInfo.m_strEmpID);
     m_objSign.m_mthBindEmployeeSign(m_cmdAsst, m_txtAidUser, 1, false, clsEMRLogin.LoginInfo.m_strEmpID, true);
     m_objDomain = new clsPartogramDomain();
     intFormType = 2;
 }
コード例 #3
0
        public frmPartogramRecordContent_GX(bool p_blnIsNew, string p_strRegisterId, string p_strGiveBirthDate)
        {
            InitializeComponent();
            m_objDomain      = new clsPartogramDomain();
            m_arlDeletePoint = new List <clsPartogram_Point>(2);
            //指明护士工作站表单
            intFormType = 2;
            m_mthSetRichTextBoxAttribInControl(this);
            //签名常用值
            m_objSign = new clsEmrSignToolCollection();
            //可以指定员工ID如
            m_objSign.m_mthBindEmployeeSign(m_cmdSign, lsvSign, 2, true, clsEMRLogin.LoginInfo.m_strEmpID);

            //新建保存肯定为无痕迹状态
            chkModifyWithoutMatk.Checked = true;
            lblGiveBirthDate.Text        = p_strGiveBirthDate;
            m_blnIsNew      = p_blnIsNew;
            m_strRegisterId = p_strRegisterId;
        }
コード例 #4
0
ファイル: clsPartogramPrintTool.cs プロジェクト: ewin66/HIS
        public void m_mthInitPrintContent()
        {
            if (string.IsNullOrEmpty(m_strRegisterId))
            {
                return;
            }
            long lngRes = new clsPartogramDomain().m_lngGetValues(m_strRegisterId, out m_objPartogramAll);

            com.digitalwave.Utility.Controls.clsPartogramManager objPartogramManager = new com.digitalwave.Utility.Controls.clsPartogramManager();
            if (lngRes > 0 && m_objPartogramAll != null)
            {
                if (m_objPartogramAll.m_ObjPartogramArr != null)
                {
                    objPartogramManager.m_strReAddRange(m_objPartogramAll.m_ObjPartogramArr);
                }
            }
            m_objPartogramPrinter = new com.digitalwave.Utility.Controls.clsPartogramPrintTool(m_intTopBankHeight, objPartogramManager);
            objPartogramManager   = null;
        }