Exemple #1
0
        public FormProductPlan(/*DataRow rowedit*/)
        {
            InitializeComponent( );

            _header = new LineProductMesEntityu.ProductPlanHeaderEntity( );
            _body   = new LineProductMesEntityu.ProductPlanBodyEntity( );
            _bll    = new LineProductMesBll.Bll.ProductPlanBll( );

            ToolBarContain.ToolbarsC(barTool, new DevExpress.XtraBars.BarItem [] { toolExport, toolPrint });

            GridViewMoHuSelect.SetFilter(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
            FieldInfo fi = typeof(XPaint).GetField("graphics", BindingFlags.Static | BindingFlags.NonPublic);

            fi.SetValue(null, new DrawXPaint( ));

            //toolExamin . Caption = "弃用";
            //toolCancellation . Caption = "复制";
            controlUnEnable( );
            controlClear( );

            dtTime = LineProductMesBll.UserInfoMation.sysTime;

            toolCancellation.Caption      = "生成ERP计划";
            layoutControlItem4.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
            layoutControlItem3.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;

            //if ( rowedit != null )
            //{
            //    this . rows = rowedit;
            //}
        }
Exemple #2
0
        public FormQuotationQuery( )
        {
            InitializeComponent( );

            _bll = new MulaolaoBll.Bll.QuoBll( );
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
        }
Exemple #3
0
        public R_Frm266( )
        {
            InitializeComponent( );

            GridViewMoHuSelect.SetFilter(gridView1);
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
        }
Exemple #4
0
        public FormSanitationCheck( )
        {
            InitializeComponent( );

            header = new MulaolaoLibrary.SanitationCheckHeaderEntity( );
            body   = new MulaolaoLibrary.SanitationCheckBodyEntity( );
            _bll   = new MulaolaoBll.Bll.SanitationCheckBll( );

            GridViewMoHuSelect.SetFilter(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1, View1, View2 });
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1, View1, View2 });

            toolStrip1.Items.Remove(toolReview);
            toolStrip1.Items.Remove(toolMaintain);
            toolStrip1.Items.Remove(toolLibrary);
            toolStrip1.Items.Remove(toolStorage);
            toolStrip1.Items.Remove(toolcopy);

            controlClear( );
            controlUnEnable( );

            Edit1.DataSource    = _bll.getTableWork( );
            Edit1.DisplayMember = "DAA002";
            Edit1.ValueMember   = "DAA002";

            Edit2.DataSource    = _bll.getTableGroup( );
            Edit2.DisplayMember = "DAA002";
            Edit2.ValueMember   = "DAA002";
        }
Exemple #5
0
        public MaterialProcurementSummary( )
        {
            InitializeComponent( );

            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1, bandedGridView2, bandedGridView3, bandedGridView4, bandedGridView5, bandedGridView6, bandedGridView7 });
            MulaolaoBll.UserInfoMation.tableName = this.Name;
        }
Exemple #6
0
        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";
        }
Exemple #7
0
        public FormArt( )
        {
            InitializeComponent( );

            model    = new LineProductMesEntityu.ArtEntity( );
            body     = new LineProductMesEntityu.ArsEntity( );
            _bll     = new LineProductMesBll.Bll.ArtBll( );
            _bodyOne = new LineProductMesEntityu.AruEntity( );

            //获取UI线程同步上下文
            m_SyncContext = SynchronizationContext.Current;

            GridViewMoHuSelect.SetFilter(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1, gridView2, gridView3, View1, View4, View2, View3, gridView4 });
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1, gridView2, gridView3, View1, View4, View2, View3, gridView4 });
            FieldInfo fi = typeof(XPaint).GetField("graphics", BindingFlags.Static | BindingFlags.NonPublic);

            fi.SetValue(null, new DrawXPaint( ));

            ToolBarContain.ToolbarsC(barTool, new DevExpress.XtraBars.BarButtonItem [] { toolCancellation, toolExamin });

            Query( );
            controlUnEnable( );
            controlClear( );
            InitData( );
        }
Exemple #8
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 #9
0
        public R_FrmMaterialPurchaseCompariase( )
        {
            InitializeComponent( );

            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
            MulaolaoBll.UserInfoMation.tableName = this.Name;
        }
        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 #11
0
        public FormProductPlanPreview( )
        {
            InitializeComponent( );

            _bll  = new LineProductMesBll.Bll.ProductPlanPreviewBll( );
            model = new LineProductMesEntityu.ProductPlanPreviewEntity( );

            GridViewMoHuSelect.SetFilter(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1, View1 });
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1, View1 });
            FieldInfo fi = typeof(XPaint).GetField("graphics", BindingFlags.Static | BindingFlags.NonPublic);

            fi.SetValue(null, new DrawXPaint( ));

            ToolBarContain.ToolbarsC(barTool, new DevExpress.XtraBars.BarItem [] { toolPrint, toolExamin, toolDelete });

            dt           = LineProductMesBll.UserInfoMation.sysTime;
            dtStart.Text = dt.ToString("yyyy-MM-dd");
            dtEnd.Text   = Convert.ToDateTime(dt).AddMonths(3).ToString("yyyy-MM-dd");

            txtPRE.Properties.DataSource    = _bll.getProPlanInfo( );
            txtPRE.Properties.DisplayMember = "DEA002";
            txtPRE.Properties.ValueMember   = "PRE004";

            toolCancellation.Caption = "产线排产";

            table = new DataTable( );
            table.Columns.Add("P1", typeof(System.String));
            table.Columns.Add("P2", typeof(System.String));
            table.Columns.Add("P3", typeof(System.DateTime));
            table.Columns.Add("P4", typeof(System.DateTime));
            table.Columns.Add("P5", typeof(System.Int32));
            table.Columns.Add("P6", typeof(System.Int32));

            controlUnEnable( );
        }
Exemple #12
0
 public R_FrmreviewPeople(Form1 fm)
 {
     this.MdiParent = fm;
     InitializeComponent( );
     GridViewMoHuSelect.SetFilter(gridView1);
     GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
 }
Exemple #13
0
 public R_Frmchejianzhurenkaohe( )
 {
     InitializeComponent( );
     GridViewMoHuSelect.SetFilter(gridView1);
     GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { this.gridView1, this.bandedGridView1 });
     MulaolaoBll.UserInfoMation.tableName = this.Name;
 }
Exemple #14
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 );
        }
Exemple #15
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";
        }
Exemple #16
0
        public R_FrmPQJ(DataTable table)
        {
            InitializeComponent( );
            GridViewMoHuSelect.SetFilter(gridView1);
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });

            gridControl1.DataSource = table;
        }
Exemple #17
0
        public ChanPinGongZiKaoQinReport( )
        {
            InitializeComponent( );

            GridViewMoHuSelect.SetFilter(bandedGridView1);
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { bandedGridView1 });
            MulaolaoBll.UserInfoMation.tableName = this.Name;
        }
 public QualityFinalInspsctionAll(string text)
 {
     InitializeComponent( );
     GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
     _bll       = new MulaolaoBll.Bll.QualityFinalInspsctionBll( );
     tableQuery = new DataTable( );
     this.Text  = text;
 }
        public R_FrmJiaoMiDuJunHenTable( )
        {
            InitializeComponent( );

            GridViewMoHuSelect.SetFilter(gridView1);
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
            MulaolaoBll.UserInfoMation.tableName = this.Name;
        }
Exemple #20
0
        public GunQiChenBenAll( )
        {
            InitializeComponent( );

            tableQuery = new DataTable( );
            tableOnly  = new DataTable( );
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
        }
Exemple #21
0
        public R_FrmWorkWages( )
        {
            InitializeComponent( );

            GridViewMoHuSelect.SetFilter(bandedGridView1);
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { bandedGridView1 });
            MulaolaoBll.UserInfoMation.tableName = this.Name;
        }
Exemple #22
0
        public R_FrmR_519select( )
        {
            InitializeComponent( );

            GridViewMoHuSelect.SetFilter(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1, gridView2, gridView3, gridView4, gridView5, gridView6, gridView7 });

            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
        }
Exemple #23
0
        public R_Frmgongxugongzi(/*Form1 fm*/)
        {
            //this.MdiParent = fm;
            InitializeComponent( );

            GridViewMoHuSelect.SetFilter(bandedGridView1);
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { this.bandedGridView1 });
            MulaolaoBll.UserInfoMation.tableName = this.Name;
        }
Exemple #24
0
 void InitData( )
 {
     tableView = _bll.getTableAll( );
     gridControl1.DataSource = tableView;
     gridView1.BestFitColumns( );
     gridView1.PopulateColumns( );
     GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
     addColumn( );
 }
Exemple #25
0
        public R_Frmxiaozuzhangyeji(Form fm)
        {
            this.MdiParent = fm;
            InitializeComponent();

            GridViewMoHuSelect.SetFilter(bandedGridView1);
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { this.bandedGridView1 });
            MulaolaoBll.UserInfoMation.tableName = this.Name;
        }
Exemple #26
0
        public FormSanitionReport( )
        {
            InitializeComponent( );

            _bll = new MulaolaoBll.Bll.SanitationCheckBll( );
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });

            InitData( );
        }
Exemple #27
0
        public StandardAuditTwoAll(string text)
        {
            InitializeComponent( );
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });

            this.Text  = text;
            _bll       = new MulaolaoBll.Bll.StandardAuditTwoBll( );
            tableQuery = new DataTable( );
        }
Exemple #28
0
        public Form343Query(DataTable table)
        {
            InitializeComponent( );

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

            gridControl2.DataSource = table;
        }
Exemple #29
0
        public R_FrmBatchNumManagement(Form1 fm)
        {
            this.MdiParent = fm;
            InitializeComponent( );

            GridViewMoHuSelect.SetFilter(gridView1);
            GrivColumnStyle.setColumnStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });
            MulaolaoBll.UserInfoMation.tableName = this.Name;
        }
Exemple #30
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;
        }