Esempio n. 1
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();
        }
Esempio n. 2
0
 public DicForm()
 {
     InitializeComponent();
     baseManager = new BaseManager();
 }
Esempio n. 3
0
 public DbsetForm()
 {
     manager = new BaseManager();
     InitializeComponent();
 }