随笔分类 -  C#

摘要:SetEnv force-proxy-request-1.0.1 SetEnv proxy-nokeepalive 1 有区分大小写,避免拒绝访问 <VirtualHost *:80> ServerName localhost ServerAlias localhost DocumentRoot " 阅读全文
posted @ 2021-11-12 13:40 欣欣点灯 阅读(99) 评论(0) 推荐(0) 编辑
摘要:https://blog.csdn.net/UnSkyToo/article/details/47860521?ADUIN=271804284&ADSESSION=1628982870&ADTAG=CLIENT.QQ.5827_.0&ADPUBNO=27151 阅读全文
posted @ 2021-08-15 19:10 欣欣点灯 阅读(287) 评论(0) 推荐(0) 编辑
摘要:<dependentAssembly> <assemblyIdentity name="Common.Logging" publicKeyToken="af08829b84f0328e" culture="neutral"/> <bindingRedirect oldVersion="0.0.0.0 阅读全文
posted @ 2021-02-25 11:41 欣欣点灯 阅读(241) 评论(0) 推荐(0) 编辑
摘要:TaskScheduler uiContext = TaskScheduler.FromCurrentSynchronizationContext(); Task t = Task.Factory.StartNew(() => { }).ContinueWith(m => { }, uiContex 阅读全文
posted @ 2020-12-03 09:41 欣欣点灯 阅读(118) 评论(0) 推荐(0) 编辑
摘要:void gridView1_MouseDown(object sender, MouseEventArgs e) { GridHitInfo info; Point pt = winGridView1.gridView1.GridControl.PointToClient(Control.Mous 阅读全文
posted @ 2020-11-23 13:49 欣欣点灯 阅读(613) 评论(0) 推荐(0) 编辑
摘要:ITempFrmDeleagte sendtempfrm = tableForm as ITempFrmDeleagte; if (sendtempfrm != null) { sendtempfrm.OpenModifyFrm += mainDialog.sendtempfrm_OpenModif 阅读全文
posted @ 2020-11-23 13:44 欣欣点灯 阅读(149) 评论(0) 推荐(0) 编辑
摘要:true 表示跳过控件的默认处理;false 表示还将该事件传递给默认控件处理程序。 下面的示例确定用户是否按了非数值键,如果是,则 KeyPress 使用属性取消事件 Handled // Boolean flag used to determine when a character other 阅读全文
posted @ 2020-11-23 10:25 欣欣点灯 阅读(265) 评论(0) 推荐(0) 编辑
摘要:问题:当新建一个窗体时,添加KeyDown事件后,会正常处理;但是当添加有控件时,比如Button,TextBox,就不会触发窗体的KeyDown事件,也没有调用KeyDown事件的处理程序。 原因:由于窗体中添加了控件,于是焦点就在其中一个控件上,如果我们要处理的事件窗体和获取焦点的控件都同时拥有 阅读全文
posted @ 2020-11-23 10:23 欣欣点灯 阅读(334) 评论(0) 推荐(0) 编辑
摘要:新增一行 Response.Write("<meta http-equiv=Content-Type content=\"text/html; charset=UTF-8\">"); Response.Clear(); Response.Buffer = false; Response.Charse 阅读全文
posted @ 2020-08-27 13:52 欣欣点灯 阅读(151) 评论(0) 推荐(0) 编辑
摘要:要控制执行时间,我们必须使用异步模式,在另外一个线程中执行方法,如果超时,则抛出异常终止线程执行。 如下实现的方法: class Program { static void Main(string[] args) { //try the five second method with a 6 sec 阅读全文
posted @ 2020-02-13 14:51 欣欣点灯 阅读(912) 评论(0) 推荐(0) 编辑
摘要:makecert 产出证书 阅读全文
posted @ 2020-01-17 20:59 欣欣点灯 阅读(122) 评论(0) 推荐(0) 编辑
摘要:<system.web> <httpRuntime requestValidationMode="2.0" maxRequestLength="3072" ></httpRuntime> <!--单位:KB 3072=3MB 默认是4MB,最大支持2GB--> </system.web> <system.webServer> <security> <requestFiltering> <reque 阅读全文
posted @ 2019-11-27 21:21 欣欣点灯 阅读(222) 评论(0) 推荐(0) 编辑
摘要:1.0 自动框架使用步骤 阅读全文
posted @ 2019-11-02 13:25 欣欣点灯 阅读(93) 评论(0) 推荐(0) 编辑
摘要:NET com组件注册 阅读全文
posted @ 2019-10-28 08:35 欣欣点灯 阅读(1223) 评论(1) 推荐(0) 编辑
摘要:winform Anchor和Dock属性 阅读全文
posted @ 2018-12-28 10:33 欣欣点灯 阅读(183) 评论(0) 推荐(0) 编辑
摘要:devexpress layoutview 阅读全文
posted @ 2018-09-05 22:02 欣欣点灯 阅读(909) 评论(0) 推荐(0) 编辑
摘要:Pipelines - .NET中的新IO API指引(一) 阅读全文
posted @ 2018-08-30 23:51 欣欣点灯 阅读(380) 评论(0) 推荐(1) 编辑
摘要:如何在应用程序中使用ML.NET? 阅读全文
posted @ 2018-08-30 23:49 欣欣点灯 阅读(258) 评论(0) 推荐(0) 编辑
摘要:用ASP.NET Core 2.1 建立规范的 REST API -- 缓存和并发 阅读全文
posted @ 2018-08-30 23:42 欣欣点灯 阅读(356) 评论(0) 推荐(0) 编辑
摘要:基于 Consul 实现 MagicOnion(GRpc) 服务注册与发现 阅读全文
posted @ 2018-08-30 23:39 欣欣点灯 阅读(314) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示