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

            Control.CheckForIllegalCrossThreadCalls = false;

            _bll = new LineProductMesBll.Bll.AssBoardBll( );

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

            GridChartStyle.setChartStyle(new ChartControl [] { chartControl1, chartControl3, chartControl2 });
            FieldInfo fi = typeof(XPaint).GetField("graphics", BindingFlags.Static | BindingFlags.NonPublic);

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

            GrivColumnStyle.setColumnFontStyle(new DevExpress.XtraGrid.Views.Grid.GridView [] { gridView1 });

            this.Text = this.Text + ("(日期:" + LineProductMesBll.ObtainInfo.getDate("组装车间") + ")");
        }