public PadForm(PatRecUtil util, RecordDal recordDal) { InitializeComponent(); m_Util = util; m_RecordDal = recordDal; InitEditor(); }
/// <summary> /// 删除个人模板 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btn_DelPersonTemplate_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { if (TemplatePerson.FocusedRowHandle < 0) { return; } DataRow foucesRow = TemplatePerson.GetDataRow(TemplatePerson.FocusedRowHandle); if (foucesRow == null) { return; } if (foucesRow.IsNull("TEMPLATEID")) { return; } PatRecUtil util = new PatRecUtil(m_app, m_app.CurrentPatientInfo); util.DelTemplatePerson(foucesRow["ID"].ToString()); foucesRow.Delete(); //gridViewDepartment.DataSource.AcceptChanges(); }
public HistoryEmrForm(PatRecUtil patUtil, RecordDal recordDal, EmrModel model, TreeListNode node) { InitializeComponent(); this.StartPosition = FormStartPosition.CenterScreen; m_PatUtil = patUtil; m_RecordDal = recordDal; m_Node = node; GetEmrContent(model); AddPadForm(); }
public PrintForm(PatRecUtil patUtil, EmrModel model, int defaultPageIndex, string noofinpat) { InitializeComponent(); //this.Height = 600; this.StartPosition = FormStartPosition.CenterScreen; m_PatUtil = patUtil; m_Model = model; AddPadForm(); InitSpinEdit(); m_DefaultPageIndex = defaultPageIndex; m_noofinpat = noofinpat; //checkEditPrintSelectArea.Visible = false; }