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

            _model = new MulaolaoLibrary.PeraggEntity( );
            _bll   = new MulaolaoBll.Bll.PeraggBll( );

            GridViewMoHuSelect.SetFilter(gridView1);
            Power(this);
            controlUnEnable( );

            lupPerson.Properties.DataSource    = _bll.getUser( );
            lupPerson.Properties.DisplayMember = "XZ004";

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

            //lupPerson . EditValue = "黄贵洪";

            //toolStrip1 . Items . Remove ( toolReview );
            //toolStrip1 . Items . Remove ( toolExport );
            //toolStrip1 . Items . Remove ( toolPrint );
            //toolStrip1 . Items . Remove ( toolStorage );
            //toolStrip1 . Items . Remove ( toolLibrary );
            //toolStrip1 . Items . Remove ( toolCancel );
            //toolStrip1 . Items . Remove ( toolcopy );
            //toolStrip1 . Items . Remove ( toolMaintain );
        }
Example #2
0
        public PeraggAll(string text)
        {
            InitializeComponent( );

            this.Text = text;
            _bll      = new MulaolaoBll.Bll.PeraggBll( );
            tableView = new DataTable( );
            GridViewMoHuSelect.SetFilter(gridView1);
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
        }