using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using CoreFS.CA06; using Core.Mes.Client.Comm.Server; using Core.Mes.Client.Comm.Control; using Core.Mes.Client.Comm.Tool; using Infragistics.Win.UltraWinGrid; using Infragistics.Win; using System.Net; using System.Collections; using CoreFS.SA06; namespace Core.StlMes.Client.BuyBillet { public partial class frmRptLsDeails : FrmBase { public frmRptLsDeails(OpeBase ops) { this.ob = ops; InitializeComponent(); } public string P_DEPT { get; set; } public string P_LINE { get; set; } public string RPT_YM { get; set; } private void frmRptLsDeails_Load(object sender, EventArgs e) { Query(P_DEPT, P_LINE, RPT_YM); } private void Query(string dept, string pline, string rptym) { DataTable dtqry = ServerHelper.GetData("com.steering.pss.buybillet.Buybillet.get_Rpt_Ls_Details", new object[] { dept, pline, rptym }, this.ob); GridHelper.CopyDataToDatatable(ref dtqry, ref dt, true); for (int i = 0; i < 3; i++) { ug1.DisplayLayout.Bands[0].Columns[i].CellAppearance.BackColor = Color.Gray; ug1.DisplayLayout.Bands[0].Columns[i].MergedCellStyle = MergedCellStyle.Always; } } } }