Exemple #1
0
        /// <summary>
        /// 获取并添加药品基本类型信息

        /// </summary>
        internal void m_mthGetMedicineType()
        {
            clsDcl_MedicineStoreroomSet objMSDomain = new clsDcl_MedicineStoreroomSet();

            clsMS_MedicineType_VO[] objTypeArr = null;
            long lngRes = objMSDomain.m_lngGetMedicineInfo(out objTypeArr);

            if (objTypeArr != null && objTypeArr.Length > 0)
            {
                List <System.Windows.Forms.ListViewItem> lstLSI  = new List <System.Windows.Forms.ListViewItem>();
                System.Windows.Forms.ListViewItem        lsiTemp = null;
                for (int iL = 0; iL < objTypeArr.Length; iL++)
                {
                    lsiTemp     = new System.Windows.Forms.ListViewItem(objTypeArr[iL].m_strMedicineTypeName_VCHR);
                    lsiTemp.Tag = objTypeArr[iL].m_strMedicineTypeID_CHR;
                    lstLSI.Add(lsiTemp);
                }

                if (lstLSI.Count > 0)
                {
                    m_objViewer.m_lsvMedicineName.Items.AddRange(lstLSI.ToArray());
                }
            }
        }
Exemple #2
0
 /// <summary>
 /// 构造函数.
 /// </summary>
 public clsCtl_MedicineStoreroomSet()
 {
     m_objDomain = new clsDcl_MedicineStoreroomSet();
 }