Esempio n. 1
0
 private void initData()
 {
     this.mainBus           = new MainBUS();
     this.deathReasonBUS    = new DeathReasonBUS(mainBus);
     this.burialLocationBUS = new BurialLocationBUS(mainBus);
     this.hometownBUS       = new HometownBUS(this.mainBus);
     this.jobBUS            = new JobBUS(this.mainBus);
     this.relationshipBUS   = new RelationshipBUS(this.mainBus);
 }
Esempio n. 2
0
        /// <summary>
        /// Initial data and references
        /// </summary>
        private void InitData()
        {
            this.mainBus                = new MainBUS();
            this.deathReasonBUS         = new DeathReasonBUS(mainBus);
            this.burialLocationBUS      = new BurialLocationBUS(mainBus);
            this.memberBus              = new MemberBUS(this.mainBus);
            this.hometownBUS            = new HometownBUS(this.mainBus);
            this.jobBUS                 = new JobBUS(this.mainBus);
            this.relationshipBUS        = new RelationshipBUS(this.mainBus);
            this.archieveBUS            = new ArchieveBUS(this.mainBus);
            cbLoaiQuyDinh.SelectedIndex = 0;
            cbLoaiQuyDinh.DropDownStyle = ComboBoxStyle.DropDownList;
            cbReportType.SelectedIndex  = 0;
            cbReportType.DropDownStyle  = ComboBoxStyle.DropDownList;

            this.loadAllMember();

            this.tbMember.ClearSelection();

            this.IS_START = false;
        }