コード例 #1
0
        public Rep客户对账表()
        {
            InitializeComponent();
            GlobalData.InitForm(this);
            LoadDataGrid();

            BLL.ICustomer         bll2    = new BLL.Customer();
            List <body.key_value> all_lst = new List <body.key_value>();

            all_lst.Add(new body.key_value {
                t_key = "", t_value = "全部"
            });
            var lst2 = bll2.GetCusGroupList();

            if (lst2.Count > 0)
            {
                all_lst.AddRange(lst2);
            }
            comboBox1.DataSource = all_lst;
        }