예제 #1
0
        static void Main(string[] args)
        {
            var client = new Client();
            // Start the program
            BrandHandler brandHandler = new BrandHandler();

            client.Start();

            //client.Exit();
        }
 internal void SetBrand()
 {
     BrandHandler.PrepareBrand(_emptyForm); // allow UI to show another look, i.e. present a brand alternative to EUROMOD
 }
 internal void AddAndShowCountryMainForm(EM_UI_MainForm countryMainForm)
 {
     BrandHandler.PrepareBrand(countryMainForm);
     _countryMainForms.Add(countryMainForm);
     countryMainForm.Show();
 }
예제 #4
0
 public ProductController()
 {
     productHandler  = new ProductHandler();
     brandHandler    = new BrandHandler();
     categoryHandler = new CategoryHandler();
 }
예제 #5
0
 public BrandHandlerTest()
 {
     _mock         = new Mock <IGenericRepository <Brand> >();
     _brandHandler = new BrandHandler(_mock.Object);
 }