| | |
| | | } |
| | | public delegate void DelegateGetModel(string guid); |
| | | public delegate void DelegateGetList(int currentPage); |
| | | |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | |
| | | view.ActiveEditor.MouseUp += ActiveEditor_MouseUp; |
| | | }; |
| | | } |
| | | if (action2 != null) { |
| | | if (action2 != null) |
| | | { |
| | | gridView1.FocusedRowChanged += (s, e) => |
| | | { |
| | | int _handle = gridView1.FocusedRowHandle; |
| | |
| | | }; |
| | | } |
| | | } |
| | | |
| | | |
| | | private static void ActiveEditor_MouseUp(object sender, MouseEventArgs e) |
| | | { |
| | | BaseEdit edit = sender as BaseEdit; |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /// <summary> |
| | | /// 数据过滤 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public static string GetOrgWhere() |
| | | { |
| | | System.Text.StringBuilder sb = new System.Text.StringBuilder(); |
| | | sb.Append(" (select aboutGuid as fid from SYS_USER_BIND where userGuid='" + LoginInfoModel.CurrentUser.LoginUserGuid + "' and ftype='组织')"); |
| | | return sb.ToString(); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | /// <summary> |
| | | /// 判断是不是一个有效的数值 |
| | | /// </summary> |