- Timestamp:
- Mar 30, 2011, 5:42:22 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Scheduling/trunk/cs/bsdx0200GUISourceCode/DPatientLookup.cs
r1097 r1125 226 226 this.m_sPatientIEN = r["IEN"].ToString(); 227 227 this.m_sPatientPID = r["PID"].ToString(); 228 DateTime d = Convert.ToDateTime(r["DOB"]); 229 string sFormat = System.Globalization.DateTimeFormatInfo.CurrentInfo.ShortDatePattern; 230 this.m_sPatientDOB = d.ToString(sFormat); 228 231 this.cmdOK.Enabled = true; 229 232 this.AcceptButton = cmdOK; … … 369 372 } 370 373 374 public DateTime PatientDOB 375 { 376 get 377 { 378 return DateTime.Parse(m_sPatientDOB); 379 } 380 } 381 382 public string PatientPID 383 { 384 get 385 { 386 return m_sPatientPID; 387 } 388 } 389 371 390 #endregion //Properties 372 391
Note:
See TracChangeset
for help on using the changeset viewer.