上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 52 下一页
摘要: public static void AddCorsSetup(this IServiceCollection services) { services.AddCors(c => { //允许任意跨域请求 c.AddDefaultPolicy(policy => { policy .SetIsOri 阅读全文
posted @ 2022-05-22 11:06 LuoCore 阅读(184) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/zhang0000dehai/article/details/80701341 using System.Text.RegularExpressions; var majorname = "考古学(清华大学)".Replace("(", "(").Repl 阅读全文
posted @ 2022-05-13 17:36 LuoCore 阅读(1216) 评论(0) 推荐(0)
摘要: if (System.Diagnostics.Process.GetCurrentProcess().ProcessName == "devenv")//判断是否为设计时 { return;} if (Site == null || !this.Site.DesignMode)//运行时。。。 { 阅读全文
posted @ 2022-05-13 11:56 LuoCore 阅读(151) 评论(0) 推荐(0)
摘要: Date.prototype.format = function (format) { var args = { "M+": this.getMonth() + 1, "d+": this.getDate(), "h+": this.getHours(), "m+": this.getMinutes 阅读全文
posted @ 2022-05-06 11:52 LuoCore 阅读(317) 评论(0) 推荐(0)
摘要: var metrics = Resources.DisplayMetrics; Log.Debug("屏幕分辨率", $"宽={metrics.WidthPixels},高={metrics.HeightPixels},DPI={metrics.Density * 160}"); 阅读全文
posted @ 2022-04-22 15:14 LuoCore 阅读(110) 评论(0) 推荐(0)
摘要: string test = "保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳,保护壳 阅读全文
posted @ 2022-04-20 10:54 LuoCore 阅读(202) 评论(0) 推荐(0)
摘要: private void DGV_CellPainting(object sender, DataGridViewCellPaintingEventArgs e) { if (e.ColumnIndex >= 0 && DGV.Columns[e.ColumnIndex].Name == "字段名称 阅读全文
posted @ 2022-04-19 10:50 LuoCore 阅读(238) 评论(0) 推荐(0)
摘要: https://malic.xyz/archives/1607 following-sibling选取当前节点之后的所有兄弟节点 要定位当前td同级后的一个td //td[.='text']/following-sibling::td https://www.cnblogs.com/VseYoung 阅读全文
posted @ 2022-04-14 14:23 LuoCore 阅读(62) 评论(0) 推荐(0)
摘要: using CLRConsole = System.Console; namespace ExtensionMethodsDemo { public static class Console { public static void WriteLine(string value) { CLRCons 阅读全文
posted @ 2022-04-10 20:55 LuoCore 阅读(195) 评论(0) 推荐(0)
摘要: 同时感谢 https://www.programminghunter.com/article/23551893646/ 网站记录了信息,不然这么好的文章代码就要消失了, 同时自己备份一下 原来:https://www.cnblogs.com/oneprice/archive/2018/11/07/9 阅读全文
posted @ 2022-04-09 18:25 LuoCore 阅读(170) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 52 下一页