Exemple #1
0
        private void resetButton_OnClick(object sender, EventArgs e)
        {
            IEPValue_label.Text            = "0";
            IEQValue_Label.Text            = "0";
            PotDollarDB_Label.Text         = "0";
            PotDollarMM_Label.Text         = "0";
            PotDollarContinuous_Label.Text = "0";

            IMdLoader mdLoader = new CsvMdLoader(mdFileName.Text);

            mMdRepository = new MdRepository(mdLoader);

            symbols_ComboBox.DataSource = mMdRepository.GetSymbols();

            symbolsComboBox_OnSelectionChanged(null, null);
        }
Exemple #2
0
        public UnitOfWork(ApplicationDbContext context)
        {
            _context = context;

            Branches         = new BranchRepository(_context);
            BankBalance      = new BankBalanceRepository(_context);
            CusAccountType   = new CusAccountTypeRepository(_context);
            Customer         = new CustomerRepository(_context);
            CusTransection   = new CusTransectionRepository(_context);
            Employee         = new EmployeeRepository(_context);
            EmpSalary        = new EmpSalaryRepository(_context);
            Login            = new LoginRepository(_context);
            Manager          = new ManagerRepository(_context);
            MangrTransection = new MangrTransectionRepository(_context);
            ManNoticeBoard   = new ManNoticeBoardRepository(_context);
            ManSalary        = new ManSalaryRepository(_context);
            Md       = new MdRepository(_context);
            UserInfo = new UserInfoRepository(_context);
            UserType = new UserTypeRepository(_context);
        }