public frmCustomerSearch(ILogger logger, ISettings settings, IQBRepository repo) { InitializeComponent(); _logger = logger; _settings = settings; _repo = repo; }
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(); }