Last change
on this file since 931 was 622, checked in by Sam Habiel, 15 years ago |
This update does the following:
|
File size:
1.5 KB
|
Rev | Line | |
---|
[622] | 1 | namespace IndianHealthService.ClinicalScheduling
|
---|
| 2 | {
|
---|
| 3 | using System;
|
---|
| 4 | using System.Collections;
|
---|
| 5 | /// <summary>
|
---|
| 6 | /// This class was regenerated from Calendargrid.dll using Reflector.exe
|
---|
| 7 | /// by Sam Habiel for WorldVista. The original source code is lost.
|
---|
| 8 | /// </summary>
|
---|
| 9 | [Serializable]
|
---|
| 10 | public class CGAppointments : IEnumerable
|
---|
| 11 | {
|
---|
| 12 | private Hashtable apptList = new Hashtable();
|
---|
| 13 |
|
---|
| 14 | public void AddAppointment(CGAppointment appt)
|
---|
| 15 | {
|
---|
| 16 | if (this.apptList.ContainsKey(appt.AppointmentKey))
|
---|
| 17 | {
|
---|
| 18 | this.apptList.Remove(appt.AppointmentKey);
|
---|
| 19 | }
|
---|
| 20 | this.apptList.Add(appt.AppointmentKey, appt);
|
---|
| 21 | }
|
---|
| 22 |
|
---|
| 23 | public void ClearAllAppointments()
|
---|
| 24 | {
|
---|
| 25 | this.apptList.Clear();
|
---|
| 26 | }
|
---|
| 27 |
|
---|
| 28 | public CGAppointment GetAppointment(int nKey)
|
---|
| 29 | {
|
---|
| 30 | return (CGAppointment) this.apptList[nKey];
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | public IEnumerator GetEnumerator()
|
---|
| 34 | {
|
---|
| 35 | return this.apptList.GetEnumerator();
|
---|
| 36 | }
|
---|
| 37 |
|
---|
| 38 | public void RemoveAppointment(int nKey)
|
---|
| 39 | {
|
---|
| 40 | this.apptList.Remove(nKey);
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | public int AppointmentCount
|
---|
| 44 | {
|
---|
| 45 | get
|
---|
| 46 | {
|
---|
| 47 | return this.apptList.Count;
|
---|
| 48 | }
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | public Hashtable AppointmentTable
|
---|
| 52 | {
|
---|
| 53 | get
|
---|
| 54 | {
|
---|
| 55 | return this.apptList;
|
---|
| 56 | }
|
---|
| 57 | }
|
---|
| 58 | }
|
---|
| 59 | }
|
---|
| 60 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.