public void m_txtAreaFindItem(string strFindCode, System.Windows.Forms.ListView lvwList) { clsBIHArea[] objItemArr; long lngRes = m_objInputOrder.m_lngFindArea(strFindCode, out objItemArr); if (lngRes > 0 && objItemArr != null && objItemArr.Length > 0) { //获取有权限访问的病区ID集合 if (m_objViewer.LoginInfo != null) { System.Collections.IList ilUsableAreaID = m_objViewer.LoginInfo.m_ilUsableAreaID; clsDcl_InputOrder objInputOrder = new clsDcl_InputOrder(); objItemArr = (clsBIHArea[])(objInputOrder.GetUsableAreaObject(objItemArr, ilUsableAreaID)).ToArray(typeof(clsBIHArea)); } for (int i = 0; i < objItemArr.Length; i++) { /** @update by xzf (05-09-20) * */ //@ListViewItem lvi=lvwList.Items.Add(objItemArr[i].m_strAreaID); ListViewItem lvi = lvwList.Items.Add(objItemArr[i].code); lvi.SubItems.Add(objItemArr[i].m_strAreaName); lvi.Tag = objItemArr[i].m_strAreaID; /* <<======================== */ } } }
public clsCtl_ReformingOrder() { // // TODO: 在此处添加构造函数逻辑 // m_objManage = new clsDcl_InputOrder(); m_strReportID = null; }
public clsCtl_OrderTemplate_Group_Add() { // // TODO: 在此处添加构造函数逻辑 // m_objDoctorAdvice = new clsDcl_OrderTemplate_Group_Add(); m_objInputOrder = new clsDcl_InputOrder(); }
public clsCtl_FeelCardList() { // // TODO: 在此处添加构造函数逻辑 // m_objManage = new clsDcl_FeelCardList(); m_objInputOrder = new clsDcl_InputOrder(); m_strReportID = null; }
public clsCtl_OrderGroupInput() { m_objManage = new clsDcl_InputOrder(); }
public clsCtl_ChargeList() { m_objManage = new clsDcl_InputOrder(); }
public clsCtl_StopOrderConfirm() { m_objManage = new clsDcl_ExecuteOrder(); m_objInputOrder = new clsDcl_InputOrder(); }
public clsCtl_OrderExecedPatientList() { m_objManage = new clsDcl_ExecuteOrder(); m_objInputOrder = new clsDcl_InputOrder(); }
public clsCtl_AreaPutMedList() { m_objManage = new clsDcl_ExecuteOrder(); m_objInputOrder = new clsDcl_InputOrder(); }
private void trvAddBills_DoubleClick(object sender, System.EventArgs e) { if (trvAddBills.SelectedNode != null) { if (trvAddBills.SelectedNode.Parent == null) { if (m_intOpenbType == 0) //从医嘱录入打开 { clsBIHOrderInputDomain.clsOtherBillInfo objCurrentBillInfo = (clsBIHOrderInputDomain.clsOtherBillInfo)(trvAddBills.SelectedNode.Tag); objCurrentBillInfo.m_ParentForm = this.m_frmParent; objCurrentBillInfo.m_ParentForm.objController = this.m_frmParent.objController; objCurrentBillInfo.m_mthShowUI(m_frmParent.LoginInfo); m_lngLoadAddBills(); } else if (m_intOpenbType == 1) //从医嘱执行打开 { clsBIHCanExecOrder objOrders = (clsBIHCanExecOrder)(trvAddBills.SelectedNode.Tag); //医嘱类型ID string strOrderCateID = objOrders.m_strOrderDicCateID.Trim(); //医嘱ID string strOrderID = objOrders.m_strOrderID.Trim(); //附加单据ID string strAttachID = GetAttachID(strOrderID); //关系表ID clsRelation_VOArr objRelation = new clsRelation_VOArr(); long lngR = objRelation.m_lngGetRelation("sourceitemid_vchr='" + strOrderID.Trim() + "'"); string strRelationID = objRelation.m_objValues[0].m_strATTARELAID_CHR.Trim(); DataTable dtbAddBills = null; long lngRes = m_lngGetAddBillByOrderID(strOrderID.Trim(), out dtbAddBills); clsT_aid_bih_ordercate_VO objResult = null; clsDcl_InputOrder objTem = new clsDcl_InputOrder(); lngRes = objTem.m_lngGetAidOrderCateByID(strOrderCateID, out objResult); if (lngRes <= 0 || objResult == null) { return; } string strDllName = objResult.m_strDLLNAME_VCHR; string strClassName = objResult.m_strCLASSNAME_VCHR; string strInsertName = objResult.m_strOPRADD_VCHR; string strUpdateName = objResult.m_strOPRUPD_VCHR; System.Reflection.Assembly objAsm = System.Reflection.Assembly.LoadFrom(strDllName); if (objAsm == null) { return; } object[] objParams = new object[1]; objParams[0] = strAttachID.Trim(); object obj; try { obj = objAsm.CreateInstance(strClassName, true, System.Reflection.BindingFlags.Default, null, objParams, null, new object[0] { }); } catch (System.Exception err) { string strMsg = err.Message.ToString(); MessageBox.Show(strMsg); return; } if (obj == null) { return; } //打开窗体 ((Form)obj).ShowDialog(); Type objType = obj.GetType(); System.Reflection.PropertyInfo objMi = objType.GetProperty("m_StrRecordID"); string strAddBillRecordID = objMi.GetValue(obj, null).ToString(); if (strAddBillRecordID.Trim() != "") { m_lngSaveAddBill(strAddBillRecordID.Trim(), strRelationID, strOrderID); } return; } } } }