文章分类 -  C#

摘要:一、单根树递归 public IEnumerable<CTreeViewDto> GetNodes(CTreeViewQueryDto queryDto) { var models = new List<CTreeViewDto>(); var model = GetTree(GetAll(quer 阅读全文
posted @ 2021-11-25 09:41 <--青青子衿--> 阅读(607) 评论(0) 推荐(0)
摘要:public partial class DtoBase { public DtoBase() { } public DtoBase(DataRow dataRow) : this() { this.Language = DataRowHelper.GetValue(dataRow, this.Al 阅读全文
posted @ 2021-06-21 11:02 <--青青子衿--> 阅读(252) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-12-24 14:43 <--青青子衿--> 阅读(0) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-06-30 17:41 <--青青子衿--> 阅读(25) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-06-30 16:50 <--青青子衿--> 阅读(0) 评论(0) 推荐(0)
摘要:<!-- **************************************************************** * 作 者 :姜 彦 * 项目名称 :EMRCPOE.Presentation.EMR.View * 控件名称 :UCInHospPatientCPOE * 命 阅读全文
posted @ 2020-03-31 15:47 <--青青子衿--> 阅读(256) 评论(0) 推荐(0)
摘要:1.ToList().Foreach无法保证内部异步方法的顺序; 2.Foreach 可以保证内部异步方法的顺序; public static async Task Main() { var strings = new List<string> { "B", "C", "D" }; Console. 阅读全文
posted @ 2020-03-31 15:40 <--青青子衿--> 阅读(956) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-03-29 18:05 <--青青子衿--> 阅读(27) 评论(0) 推荐(0)
摘要:.NET支持的类型参数约束有以下五种:where T : struct | T必须是一个结构类型where T : class | T必须是一个Class类型where T : new() | T必须要有一个无参构造函数where T : NameOfBaseClass | T必须继承名为NameO 阅读全文
posted @ 2020-03-26 11:05 <--青青子衿--> 阅读(2647) 评论(0) 推荐(1)
该文被密码保护。
posted @ 2020-02-29 15:53 <--青青子衿--> 阅读(78) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-02-29 15:42 <--青青子衿--> 阅读(192) 评论(0) 推荐(0)
摘要:1.枚举 namespace EMRCPOE.Presentation.Common.Enum { /// <summary> /// 仓库管理类别 /// </summary> public enum StorageEnum { /// <summary> /// 入库方式 /// </summa 阅读全文
posted @ 2020-02-23 16:55 <--青青子衿--> 阅读(701) 评论(0) 推荐(0)
摘要:var isBed = e.Data.GetData(typeof(InPatsBedRecModel)) is InPatsBedRecModel; var isPatient = e.Data.GetData(typeof(InHospPatientVisitModel)) is InHospP 阅读全文
posted @ 2020-02-19 15:45 <--青青子衿--> 阅读(3598) 评论(0) 推荐(0)
摘要:/* * 作 者 :姜 彦 * 项目名称 :EMRCPOE.Presentation.Common.Permissions * 类 名 称 :DefaultSetups * 命名空间 :EMRCPOE.Presentation.Common.Permissions * CLR 版本 :4.0.303 阅读全文
posted @ 2020-01-31 17:05 <--青青子衿--> 阅读(424) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-01-31 17:01 <--青青子衿--> 阅读(52) 评论(0) 推荐(0)
摘要:1.利用ListBox控件的两个事件:PreviewMouseMove、Drop 2.数据交换过程中的排序 #region 拖拽 public RelayCommand<MouseEventArgs> PreviewMouseMoveCommand => new RelayCommand<Mouse 阅读全文
posted @ 2020-01-31 16:58 <--青青子衿--> 阅读(1732) 评论(0) 推荐(0)
摘要:1.唯一令牌 2.在基类中加入令牌键值 3.消息构造 4.消息初始化与唯一令牌赋值 5.唯一令牌消息订阅 6.唯一令牌消息触发 阅读全文
posted @ 2019-12-31 13:47 <--青青子衿--> 阅读(441) 评论(0) 推荐(0)
摘要:1.枚举多语言管理Display特性,不要使用Description特性,因为Description特性不容易进行多语言管理 2.创建枚举多语言资源文件 3.枚举Display特性值获取 阅读全文
posted @ 2019-12-30 16:50 <--青青子衿--> 阅读(1225) 评论(1) 推荐(0)
摘要:/* * 作 者 :姜 彦 * 项目名称 :Utility.Data * 类 名 称 :AliasAsAttribute * 命名空间 :Utility.Data * CLR 版本 :4.0.30319.42000 * 创建时间 :2019/11/8 18:28:06 * 当前版本 :1.0.0.0 阅读全文
posted @ 2019-12-13 19:42 <--青青子衿--> 阅读(592) 评论(0) 推荐(0)
摘要:/*---------------------------------------------------------------- * 作 者 :姜 彦 * 项目名称 :EMRCPOE.Presentation.Common.Attributes * 类 名 称 :ColorAttribute * 命名空间 :EMRCPOE.Presentation.Common.Attr... 阅读全文
posted @ 2019-12-13 19:41 <--青青子衿--> 阅读(872) 评论(0) 推荐(0)

// /**/ // 在页脚Html代码 引入 // function btn_donateClick() { var DivPopup = document.getElementById('Div_popup'); var DivMasklayer = document.getElementById('div_masklayer'); DivMasklayer.style.display = 'block'; DivPopup.style.display = 'block'; var h = Div_popup.clientHeight; with (Div_popup.style) { marginTop = -h / 2 + 'px'; } } function MasklayerClick() { var masklayer = document.getElementById('div_masklayer'); var divImg = document.getElementById("Div_popup"); masklayer.style.display = "none"; divImg.style.display = "none"; } setTimeout( function () { document.getElementById('div_masklayer').onclick = MasklayerClick; document.getElementById('btn_donate').onclick = btn_donateClick; var a_gzw = document.getElementById("guanzhuwo"); a_gzw.href = "javascript:void(0);"; $("#guanzhuwo").attr("onclick","follow('33513f9f-ba13-e011-ac81-842b2b196315');"); }, 900);