| | |
| | | using DevExpress.Utils.About; |
| | | using DevExpress.XtraGrid.Views.Grid.ViewInfo; |
| | | using DevExpress.XtraRichEdit.Model; |
| | | using Gs.DevApp.Entity; |
| | | using Gs.DevApp.ToolBox; |
| | | using Gs.DevApp.UserControl; |
| | |
| | | { |
| | | public partial class Frm_MesQaItemsDetect01 : DevExpress.XtraEditors.XtraForm |
| | | { |
| | | string _currentRowGuid = ""; |
| | | int _currentHandle5 =0; |
| | | string _webServiceName = "MesQaItemsDetect01Manager/"; |
| | | List<FilterEntity> _filterList = new List<FilterEntity>(); |
| | | public Frm_MesQaItemsDetect01() |
| | |
| | | string rowGuid = Gs.DevApp.ToolBox.UtilityHelper.GetCurrentDoubleRow(gvMx1, e, "guid"); |
| | | if (string.IsNullOrEmpty(rowGuid)) |
| | | return; |
| | | this._currentRowGuid = rowGuid; |
| | | var info = gvMx1.CalcHitInfo(e.Location); |
| | | this._currentHandle5 = info.RowHandle; |
| | | getList12(rowGuid); |
| | | } |
| | | |
| | |
| | | gcMx1.BindingContext = new BindingContext(); |
| | | gcMx1.DataSource = dt; |
| | | gcMx1.ForceInitialize(); |
| | | |
| | | if (!string.IsNullOrEmpty(_currentRowGuid)) |
| | | gvMx1.FocusedRowHandle = gvMx1.LocateByValue(0, gvMx1.Columns["gvMx1guid"], _currentRowGuid); |
| | | |
| | | gvMx1.FocusedRowHandle = _currentHandle5; |
| | | ucUpFile1.parentGuid = lbGuid.Text.Trim(); |
| | | getList12(dt.Rows[0]["guid"].ToString()); |
| | | var row = gvMx1.GetDataRow(_currentHandle5); |
| | | if (row != null) |
| | | { |
| | | var rowGuid = row["guid"].ToString(); |
| | | getList12(rowGuid); |
| | | } |
| | | } |
| | | else |
| | | { |