Example #1
0
 public PriceCateListView()
 {
     InitializeComponent();
     myItemManager = new MyItemManager();
     MyItemManager.OnEditPriceCateEvent += new NewEditItemEvent(MyItemManager_OnEditPriceCateEvent);
     pager.PageSize = 20;
 }
Example #2
0
 public MyItemsListView()
 {
     InitializeComponent();
     myItemManager = new MyItemManager();
     MyItemManager.OnEditProductEvent += new NewEditItemEvent(MyItemManager_OnEditProductEvent);
     pager.PageSize = 50;
 }
Example #3
0
        public MainForm()
        {
            configManager = new BaseManager();
            configManager.InitDbConfig();
            InitializeComponent();
            productsManager = new ProductsManager();
            impProductDetail = new ImpProductDetail();
            myItemsManager = new MyItemManager();
            List<AliGroup> groups = productsManager.GetGroupList();
            if (groups.Count == 0)
            {
                groups = HttpClient.GetGroups(-1, 0, DataCache.Instance.CsrfToken);
                productsManager.UpdateGroups(groups);
            }
            impProductDetail.InitDataCacheFormOptions();
            productsManager.InitGroupOptions();

            LoadNavigatorBar();
            UpdateGroupUI(groups);
            LoadProductListView();
        }
Example #4
0
 public PriceCateForm()
 {
     InitializeComponent();
     manager = new MyItemManager();
 }
Example #5
0
 public CategoriesForm()
 {
     InitializeComponent();
     manager = new MyItemManager();
 }
Example #6
0
 public NewItemForm()
 {
     InitializeComponent();
     webBrowser1.Navigate(Application.StartupPath + "\\KindEditor\\Editor1.htm");
     manager = new MyItemManager();
 }