public FormProductSpecification( ) { InitializeComponent( ); _df = new MulaolaoLibrary.ProductSpecificationDFEntity( ); _dg = new MulaolaoLibrary.ProductSpecificationDGEntity( ); _dh = new MulaolaoLibrary.ProductSpecificationDHEntity( ); _bll = new MulaolaoBll.Bll.ProductSpecificationBll( ); tableView = new DataTable( ); tableViewOne = new DataTable( ); printOne = new DataTable( ); printTwo = 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( ); secDF002.Properties.DataSource = _bll.getProInfo( ); secDF002.Properties.DisplayMember = "PQF04"; secDF002.Properties.ValueMember = "PQF01"; //tableViewOne = _bll . getTableOfCoefficient ( ); //gridControl2 . DataSource = tableViewOne; resCheckCom.DataSource = _bll.getTableCheck( ); resCheckCom.DisplayMember = "DH002"; }
public ProductSpecificationAll(string text) { InitializeComponent( ); _bll = new MulaolaoBll.Bll.ProductSpecificationBll( ); tableQuery = new DataTable( ); this.Text = text; }