/// <summary> /// 查找 type 0 申请 1 报告 /// </summary> public void m_mthFind(int type) { if (type == 0) { frmOPSFindapply fa = new frmOPSFindapply(0); fa.ShowDialog(); } else if (type == 1) { frmOPSFindreport ff = new frmOPSFindreport(); if (ff.ShowDialog() == DialogResult.OK) { applyid = ff.Applyid; m_strApplyId = ff.Applyid; this.m_objViewer.Cursor = Cursors.WaitCursor; DataTable dt = new DataTable(); long ret = objSvc.m_lngGetOPSApply(out dt, applyid); if (dt.Rows.Count == 1) { this.m_mthSetreportvalue(dt.Rows[0]); this.m_mthSelectBill(1); } this.m_objViewer.Cursor = Cursors.Default; } } }
/// <summary> /// 查找/修改预约时间 /// </summary> /// <param name="p_type"></param> public void m_mthFind(int p_type) { frmOPSFindapply f = new frmOPSFindapply(p_type); f.ShowDialog(); }