Esempio n. 1
0
        public frmCustomerSearch(ILogger logger, ISettings settings, IQBRepository repo)
        {
            InitializeComponent();

            _logger = logger;
            _settings = settings;
            _repo = repo;
        }
Esempio n. 2
0
        public frmOrder(ISettings settings, ILogger logger, IQBRepository repo, IFileSystemRepository fsRepo)
        {
            InitializeComponent();

            _settings = settings;
            _logger = logger;
            _repo = repo;
            _fsRepo = fsRepo;

            ucCC1.SetCardType(Enums.CreditCardType.Visa);
            ucCC2.SetCardType(Enums.CreditCardType.Visa);
            ucCC3.SetCardType(Enums.CreditCardType.Visa);
            rbCC.Checked = true;

            SetConnectionBasedUi();
        }