public ShopProductsController(IShopModel shopModel, IShopProductsMainForm shopProductsForm)
 {
     this.shopModel        = shopModel;
     this.shopProductsForm = shopProductsForm;
     controllers           = new List <IBaseController>();
     Initialize();
 }
示例#2
0
 public DeleteController(IShopModel shopModel, IDeleteControl deleteControl)
 {
     this.shopModel     = shopModel;
     this.deleteControl = deleteControl;
     Initialize();
 }
示例#3
0
 public MainController(IShopModel shopModel)
 {
     ShopModel   = shopModel;
     controllers = new List <IBaseController>();
 }
示例#4
0
 public CartController(IShopModel shopModel, ICartControl cartControl)
 {
     this.shopModel   = shopModel;
     this.cartControl = cartControl;
     Initialize();
 }
 public UpdateController(IShopModel shopModel, IUpdateControl updateControl)
 {
     this.shopModel     = shopModel;
     this.updateControl = updateControl;
     Initialize();
 }
示例#6
0
 public SelectController(IShopModel shopModel, ISelectControl selectControl)
 {
     this.shopModel     = shopModel;
     this.selectControl = selectControl;
     Initialize();
 }
 public InsertController(IShopModel shopModel, IInsertControl insertControl)
 {
     this.shopModel     = shopModel;
     this.insertControl = insertControl;
     Initialize();
 }
示例#8
0
 public LoginController(IShopModel shopModel, ILoginForm loginForm)
 {
     this.shopModel = shopModel;
     this.loginForm = loginForm;
     Initialize();
 }
 public RegisterController(IShopModel shopModel, IRegisterForm registerForm)
 {
     this.shopModel    = shopModel;
     this.registerForm = registerForm;
     Initialize();
 }