コード例 #1
0
        public void getLists()
        {
            var getCategory = servis.GetCategories();

            dtGridCategory.ItemsSource = getCategory;

            var getSellist = servis.GetSells(int.Parse(lblCompanyID.Content.ToString()));

            dtGridSells.ItemsSource = getSellist;

            var getFeedBack = servis.GetViewFeedBak(int.Parse(lblCompanyID.Content.ToString()));

            dtGridTP.ItemsSource = getFeedBack;

            var getCategoryCombo = servis.ReturnCategory();

            cbCategory.ItemsSource = getCategoryCombo;

            var getProductCategory = servis.returnProductCategory();

            cbProductCategory.ItemsSource = getProductCategory;
        }