/// <summary> /// 将数据库的数据转换成ApplyData和PatientData /// </summary> /// <param name="dw"></param> /// <param name="apply"></param> /// <param name="patData"></param> /// <returns></returns> private bool GetPacsDataFromDataRow(DataRow dw, out ApplyData apply, out PatientData patData) { apply = new ApplyData(); patData = new PatientData(); try { apply.BindRowData(dw); patData.BindRowData(dw); } catch (Exception ex) { MsgBox.ShowException(ex, this); return(false); } return(true); }