Example #1
0
        public FormFeedTest( )
        {
            InitializeComponent( );

            _cn       = new MulaolaoLibrary.FeedTestCNEntity( );
            _co       = new MulaolaoLibrary.FeedTestCOEntity( );
            _bll      = new MulaolaoBll.Bll.FeedTestBll( );
            tableView = new DataTable( );

            GridViewMoHuSelect.SetFilter(secView);
            GridViewMoHuSelect.SetFilter(gridView1);
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
            MulaolaoBll.UserInfoMation.tableName = this.Name;

            Power(this);
            UnEnable( );

            lupSup.Properties.DataSource    = _bll.getSupplier( );
            lupSup.Properties.DisplayMember = "DGA003";
            lupSup.Properties.ValueMember   = "DGA001";

            secPro.Properties.DataSource    = _bll.getProductInfo( );
            secPro.Properties.DisplayMember = "PQF04";
            secPro.Properties.ValueMember   = "PQF01";
        }
Example #2
0
        public FeedTestAll(string text)
        {
            InitializeComponent( );

            _bll       = new MulaolaoBll.Bll.FeedTestBll( );
            tableQuery = new DataTable( );
            this.Text  = text;
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
        }
Example #3
0
        public FeedTestPartAll(string text, string num, string oddNum)
        {
            InitializeComponent( );

            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });

            _bll      = new MulaolaoBll.Bll.FeedTestBll( );
            this.Text = text;
            DataTable tableView = _bll.getPart(num, oddNum);

            gridControl1.DataSource = tableView;
        }