| | |
| | | using DevExpress.Utils.DirectXPaint; |
| | | using DevExpress.Utils.VisualEffects; |
| | | using DevExpress.XtraGrid.Views.Base.ViewInfo; |
| | | using DevExpress.XtraGrid.Views.Grid; |
| | | using DevExpress.XtraGrid.Views.Grid.ViewInfo; |
| | | using Gs.DevApp.DevFrm.Rpt; |
| | | using Gs.DevApp.ToolBox; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Data; |
| | | using System.Drawing; |
| | | using System.Windows.Forms; |
| | | using System.Windows.Forms.VisualStyles; |
| | | |
| | | namespace Gs.DevApp.UserControl |
| | | { |
| | |
| | | private readonly string _webServiceName = "VArrivalBarcodeManager/"; |
| | | private string aboutGuid = ""; |
| | | private string aboutType = "";//后盖码 |
| | | |
| | | /// <summary> |
| | | /// 父亲guid |
| | | /// |
| | | /// </summary> |
| | | /// <param name="_aboutGuid"></param> |
| | | public SelectDeleteBar(string _aboutGuid, string _aboutType) |
| | | /// <param name="_aboutGuid">父亲guid</param> |
| | | /// <param name="_aboutType">类别(后盖码,追溯码,受托入库等)</param> |
| | | /// <param name="_qcGuid">qcGuid,在返工重条的时候</param> |
| | | public SelectDeleteBar(string _aboutGuid, string _aboutType,string _qcGuid="") |
| | | { |
| | | InitializeComponent(); |
| | | |
| | | this.gridView1.CustomDrawColumnHeader += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomDrawColumnHeader(s, e); }; |
| | | this.gridView1.MouseUp += (s, e) => { Gs.DevApp.ToolBox.UtilityHelper.CustomMouseUp(s, e, gcMain, gridView1); }; |
| | | this.colChkInt.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; |
| | |
| | | gridView1.PostEditor(); |
| | | gridView1.UpdateCurrentRow(); |
| | | System.Text.StringBuilder sb = new System.Text.StringBuilder(); |
| | | |
| | | |
| | | |
| | | DataTable dt = this.gcMain.DataSource as DataTable; |
| | | { |
| | | foreach (DataRow dr in dt.Rows) |
| | |
| | | return; |
| | | } |
| | | |
| | | |
| | | |
| | | UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = sb.ToString() }); Close(); |
| | | }; |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 选择后的回调事件 |
| | | /// </summary> |
| | |
| | | |
| | | |
| | | } |
| | | |
| | | } |