Exemple #1
0
        public void buildControl()
        {
            filterPanel = new FliterPanel();
            this.Controls.Add(filterPanel);

            orderShowPanel = new Panel();
            this.Controls.Add(orderShowPanel);
            orderShowPanel.BackColor  = Color.LightGray;
            orderShowPanel.AutoScroll = true;


            switchPanel = new PageSwitchPanel();
            this.Controls.Add(switchPanel);
        }
Exemple #2
0
        public void buildControl()
        {
            // 创建条件控件
            queryPanel = new QueryPanel();
            this.Controls.Add(queryPanel);


            // 创建显示结果listview
            listV = new CXListView();
            this.Controls.Add(listV);
            initListVHeader(listV);

            // 创建翻页面板
            switchPanel = new PageSwitchPanel();
            this.Controls.Add(switchPanel);

            // 设置控件位置
            setControlPosition();
        }
        public void buildControl()
        {
            // !
            exportBtn      = new ShapeButton();
            exportBtn.Text = "导出";
            this.Controls.Add(exportBtn);

            //
            searchBox = new SearchBox();
            this.Controls.Add(searchBox);

            //
            addBtn      = new ShapeButton();
            addBtn.Text = "增加";
            this.Controls.Add(addBtn);

            //
            deleBtn      = new ShapeButton();
            deleBtn.Text = "删除";
            this.Controls.Add(deleBtn);


            //
            resetPassword      = new ShapeButton();
            resetPassword.Text = "重置密码";
            this.Controls.Add(resetPassword);

            //
            customLv = new CXListView();
            initListVHeader(customLv);
            this.Controls.Add(customLv);
            customLv.FullRowSelect = true;
            customLv.GridLines     = true;


            //
            pagePanel = new PageSwitchPanel();
            this.Controls.Add(pagePanel);
        }