public static AcademTitleList GetUniqueInstance() { if (_uniqueInstance == null) _uniqueInstance = new AcademTitleList("SF_AcademTitle"); return _uniqueInstance; }
public static AcademTitleList GetUniqueInstance() { if (_uniqueInstance == null) { _uniqueInstance = new AcademTitleList("SF_AcademTitle"); } return(_uniqueInstance); }
public FormAddPerson(Person person) { InitializeComponent(); _person = person; _academTitleList = AcademTitleList.GetUniqueInstance(); _mainSpecPersonList = MainSpecPersonList.GetUniqueInstance(); _positionList = PositionList.GetUniqueInstance(); _historyList = HistoryList.GetUniqueInstance(); lbSubOrganization.Visible = !(_person.Organization is Organization); tbSubOrganization.Visible = !(_person.Organization is Organization); _changeSubOrg = false; }
public ReadFilePerson() { academTitleList = AcademTitleList.GetUniqueInstance(); mainSpecPersonList = MainSpecPersonList.GetUniqueInstance(); positionList = PositionList.GetUniqueInstance(); }