示例#1
0
 public PriceCateListView()
 {
     InitializeComponent();
     myItemManager = new MyItemManager();
     MyItemManager.OnEditPriceCateEvent += new NewEditItemEvent(MyItemManager_OnEditPriceCateEvent);
     pager.PageSize = 20;
 }
示例#2
0
 public MyItemsListView()
 {
     InitializeComponent();
     myItemManager = new MyItemManager();
     MyItemManager.OnEditProductEvent += new NewEditItemEvent(MyItemManager_OnEditProductEvent);
     pager.PageSize = 50;
 }
示例#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();
        }
示例#4
0
 public PriceCateForm()
 {
     InitializeComponent();
     manager = new MyItemManager();
 }
示例#5
0
 public CategoriesForm()
 {
     InitializeComponent();
     manager = new MyItemManager();
 }
示例#6
0
 public NewItemForm()
 {
     InitializeComponent();
     webBrowser1.Navigate(Application.StartupPath + "\\KindEditor\\Editor1.htm");
     manager = new MyItemManager();
 }