Last change
on this file since 1386 was 622, checked in by Sam Habiel, 15 years ago |
This update does the following:
|
File size:
1.3 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 | public class CGCells : IEnumerable
|
---|
| 10 | {
|
---|
| 11 | private Hashtable cellList = new Hashtable();
|
---|
| 12 |
|
---|
| 13 | internal CGCells()
|
---|
| 14 | {
|
---|
| 15 | }
|
---|
| 16 |
|
---|
| 17 | public void AddCell(CGCell r)
|
---|
| 18 | {
|
---|
| 19 | this.cellList.Add(r.Key, r);
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | public void ClearAllCells()
|
---|
| 23 | {
|
---|
| 24 | this.cellList.Clear();
|
---|
| 25 | }
|
---|
| 26 |
|
---|
| 27 | public CGCell GetCellFromRowCol(int nRow, int nCol)
|
---|
| 28 | {
|
---|
| 29 | string str = CGCell.BuildKey(nRow, nCol);
|
---|
| 30 | return (CGCell) this.cellList[str];
|
---|
| 31 | }
|
---|
| 32 |
|
---|
| 33 | public IEnumerator GetEnumerator()
|
---|
| 34 | {
|
---|
| 35 | return this.cellList.GetEnumerator();
|
---|
| 36 | }
|
---|
| 37 |
|
---|
| 38 | public void RemoveCell(string sKey)
|
---|
| 39 | {
|
---|
| 40 | this.cellList.Remove(sKey);
|
---|
| 41 | }
|
---|
| 42 |
|
---|
| 43 | public int CellCount
|
---|
| 44 | {
|
---|
| 45 | get
|
---|
| 46 | {
|
---|
| 47 | return this.cellList.Count;
|
---|
| 48 | }
|
---|
| 49 | }
|
---|
| 50 |
|
---|
| 51 | public Hashtable CellHashTable
|
---|
| 52 | {
|
---|
| 53 | get
|
---|
| 54 | {
|
---|
| 55 | return this.cellList;
|
---|
| 56 | }
|
---|
| 57 | }
|
---|
| 58 | }
|
---|
| 59 | }
|
---|
| 60 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.