source: BMXNET_RPMS_dotNET_UTILITIES-BMX/branch/IHS BMX Framework/IndianHealthService.BMXNet.WinForm/Model/WinDivision.cs@ 1180

Last change on this file since 1180 was 1146, checked in by Sam Habiel, 13 years ago

Initial Import of BMX4

File size: 1.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using IndianHealthService.BMXNet.Model;
5
6namespace IndianHealthService.BMXNet.WinForm.Model
7{
8 internal class WinDivision : WinObject, SelectableDivision
9 {
10
11 public override bool Equals(object obj)
12 {
13 WinDivision div = obj as WinDivision;
14 if (div == null)
15 {
16 return false;
17 }
18 else
19 {
20 return this.Ien.Equals(div.Ien);
21 }
22 }
23
24 public override int GetHashCode()
25 {
26 return this.Ien.GetHashCode();
27 }
28 private String _name = null;
29
30 public String Name
31 {
32 get { return _name; }
33 set { _name = value; }
34 }
35
36 private bool _mostRecentLookup = false;
37
38 public bool MostRecentLookup
39 {
40 get { return _mostRecentLookup; }
41 set { _mostRecentLookup = value; }
42 }
43
44
45 public override string ToString()
46 {
47 return this.Name;
48 }
49 }
50}
Note: See TracBrowser for help on using the repository browser.