| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- 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 Infragistics.Win.UltraWinGrid;
- using System.Net;
- using System.Collections;
- using CoreFS.SA06;
- namespace Core.StlMes.Client.BuyBillet
- {
- public partial class FrmYpGradeCIC : FrmBase
- {
- private new CoreFS.CA06.OpeBase ob = new OpeBase();
- public event Action<string, string> onSelection;
- public FrmYpGradeCIC(OpeBase ops)
- {
- this.ob = ops;
- InitializeComponent();
- }
- private void FrmYpGradeCIC_Load(object sender, EventArgs e)
- {
- DataTable dt = ServerHelper.GetData("com.steering.pss.buybillet.Buybillet.queryGP_CICSTEELGRADES", new object[] { }, this.ob);
- this.ultraGrid1.DataSource = dt;
- }
- private void ultraGrid1_ClickCell(object sender, ClickCellEventArgs e)
- {
- UltraGridRow row = e.Cell.Row;
- string cic = row.Cells["CIC"].Value.ToString();
- string steelgrades = row.Cells["STEELGRADES"].Value.ToString();
- if (onSelection != null)
- {
- onSelection(cic, steelgrades);
- }
- this.Close();
- }
- }
- }
|