| | |
| | | txt_iCount_1.ReadOnly = true; |
| | | } |
| | | |
| | | |
| | | |
| | | #region 自定义进度条列 |
| | | |
| | | /// <summary> |
| | |
| | | // private GridColumn checkBoxColumn = null; |
| | | public static void CustomDrawColumnHeader(object sender, ColumnHeaderCustomDrawEventArgs e) |
| | | { |
| | | |
| | | Rectangle checkBoxColumnHeaderRect = new Rectangle(51, 1, 37, 57); |
| | | if (e.Column != null && e.Column.AbsoluteIndex == 0) |
| | | { |
| | |
| | | else |
| | | { |
| | | checkBoxColumn.Tag = "1"; |
| | | /********2025-07-23修补过滤bug 故注释 beg ************/ |
| | | //foreach (DataRow row in _Table.Rows) |
| | | //{ |
| | | // row["chkInt"] = true; |
| | | //} |
| | | /********2025-07-23修补过滤bug 故注释 end ************/ |
| | | /********2025-07-23修补过滤bug beg ************/ |
| | | System.Collections.IList ftRow = gridView1.DataController.GetAllFilteredAndSortedRows(); |
| | | System.Collections.ArrayList ftAry = new System.Collections.ArrayList(); |
| | | foreach (System.Data.DataRowView _ft in ftRow) |
| | | { |
| | | string guid = _ft["guid"].ToString(); |
| | | ftAry.Add(guid); |
| | | } |
| | | foreach (DataRow row in _Table.Rows) |
| | | { |
| | | row["chkInt"] = true; |
| | | if (ftAry.Contains(row["guid"].ToString())) |
| | | row["chkInt"] = true; |
| | | } |
| | | /********2025-07-23修补过滤bug end ************/ |
| | | } |
| | | gcMain.BindingContext = new BindingContext(); |
| | | gcMain.DataSource = _Table; |
| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | //读取默认组织 |
| | | public static string GetFirstOrg(UserControl.UcLookOrg txt_erpSczz) |