public static PositionList GetUniqueInstance()
        {
            if (_uniqueInstance == null)
                _uniqueInstance = new PositionList("SF_Position");

            return _uniqueInstance;
        }
        public static PositionList GetUniqueInstance()
        {
            if (_uniqueInstance == null)
            {
                _uniqueInstance = new PositionList("SF_Position");
            }

            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();
 }