Exemple #1
0
        public FormTestResultRecord( )
        {
            InitializeComponent( );

            _cr          = new MulaolaoLibrary.TestResultRecordCREntity( );
            _cs          = new MulaolaoLibrary.TestResultRecordCSEntity( );
            _ct          = new MulaolaoLibrary.TestResultRecordCTEntity( );
            _bll         = new MulaolaoBll.Bll.TestResultRecordBll( );
            tableView    = new DataTable( );
            tableViewOne = new DataTable( );

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

            Power(this);
            UnEnable( );

            secPro.Properties.DataSource    = _bll.getProInfo( );
            secPro.Properties.DisplayMember = "PQF04";
            secPro.Properties.ValueMember   = "PQF01";

            reCheckBox.DataSource    = _bll.getTableOfNum( );
            reCheckBox.DisplayMember = "CT";

            tableViewOne            = _bll.getTableViewOne( );
            gridControl2.DataSource = tableViewOne;
        }
Exemple #2
0
        public TestResultRecordAll(string text)
        {
            InitializeComponent( );
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });

            this.Text  = text;
            _bll       = new MulaolaoBll.Bll.TestResultRecordBll( );
            tableQuery = new DataTable( );
        }