コード例 #1
0
        public static AcademTitleList GetUniqueInstance()
        {
            if (_uniqueInstance == null)
                _uniqueInstance = new AcademTitleList("SF_AcademTitle");

            return _uniqueInstance;
        }
コード例 #2
0
        public static AcademTitleList GetUniqueInstance()
        {
            if (_uniqueInstance == null)
            {
                _uniqueInstance = new AcademTitleList("SF_AcademTitle");
            }

            return(_uniqueInstance);
        }
コード例 #3
0
        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;
        }
コード例 #4
0
 public ReadFilePerson()
 {
     academTitleList = AcademTitleList.GetUniqueInstance();
     mainSpecPersonList = MainSpecPersonList.GetUniqueInstance();
     positionList = PositionList.GetUniqueInstance();
 }