public BrandListControl(BrandListModel model)
        {
            InitializeComponent();
            _presenter = new BrandListPresenter(this, model);

            gvBrand.PopupMenuShowing += gvBrand_PopupMenuShowing;
            gvBrand.FocusedRowChanged += gvBrand_FocusedRowChanged;

            // init editor control accessibility
            btnNewBrand.Enabled = AllowInsert;
            cmsEditData.Enabled = AllowEdit;
            cmsDeleteData.Enabled = AllowDelete;

            this.Load += BrandListControl_Load;
        }
        public BrandListControl(BrandListModel model)
        {
            InitializeComponent();
            _presenter = new BrandListPresenter(this, model);

            gvBrand.PopupMenuShowing  += gvBrand_PopupMenuShowing;
            gvBrand.FocusedRowChanged += gvBrand_FocusedRowChanged;

            // init editor control accessibility
            btnNewBrand.Enabled   = AllowInsert;
            cmsEditData.Enabled   = AllowEdit;
            cmsDeleteData.Enabled = AllowDelete;

            this.Load += BrandListControl_Load;
        }