public FormSafetyManegerAndControl( )
        {
            InitializeComponent( );

            _dc          = new MulaolaoLibrary.SafetyManegerAndControlDCEntity( );
            _dd          = new MulaolaoLibrary.SafetyManegerAndControlDDEntity( );
            _de          = new MulaolaoLibrary.SafetyManegerAndControlDEEntity( );
            _bll         = new MulaolaoBll.Bll.SafetyManegerAndControlBll( );
            tableView    = new DataTable( );
            tableViewOne = 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( );

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

            //tableViewOne = _bll . getTableOfCoefficient ( );
            //gridControl2 . DataSource = tableViewOne;

            resCheckCom.DataSource    = _bll.itemNum( );
            resCheckCom.DisplayMember = "DE002";
        }
Exemple #2
0
        public SafetyManegerAndControlAll(string text)
        {
            InitializeComponent( );
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });

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