c#
tonysh_zds
这个作者很懒,什么都没留下…
展开
-
ASP.NET 网站发布后出现“/”应用程序中的服务器错误
ASP.NET 网站发布后出现“/”应用程序中的服务器错误原创 2022-10-25 09:28:33 · 4626 阅读 · 0 评论 -
C#将位图旋转90度
C#将位图旋转90度原创 2022-08-03 10:06:42 · 631 阅读 · 0 评论 -
c# winform 框架
http://www.iqidi.com/Framework/WinDownload.html原创 2021-11-17 09:40:16 · 1655 阅读 · 0 评论 -
PdfWriter.GetInstance抛出System.NullReferenceException [英] PdfWriter.GetInstance throws System.NullRef
https://www.it1352.com/950570.html解决方案Make sure you are not catching all exceptions. This NullReferenceException can very well be one that is already caught and handled inside iTextSharp, so you don’t care about it.The fact that you can continue support原创 2021-11-11 14:52:18 · 1228 阅读 · 0 评论 -
devExpress各个版本的下载地址收藏
https://blog.csdn.net/postfxj/article/details/108095122原创 2021-11-10 18:33:06 · 1298 阅读 · 0 评论 -
c# datagrid 绑定数据
https://blog.csdn.net/pp_fzp/article/details/51636423?utm_source=itdadao&utm_medium=referral原创 2021-11-09 13:24:26 · 798 阅读 · 0 评论 -
自定义TableLayoutPanel使它能够在运行时用鼠标改变行高和列宽。
using System;using System.Collections.Generic;using System.ComponentModel;using System.Drawing;using System.Windows.Forms;namespace dlx.print.tools.Controls{public partial class TableLayoutPanelExDemo : TableLayoutPanel{private const int WM_NCHITT原创 2020-06-06 21:08:19 · 1458 阅读 · 1 评论 -
C#中的Panel滚动条控制
触发鼠标的滚动事件后,处理事件的函数参数 MouseEventArgs e 中有个Delta属性,默认情况下向上滚动e.Delta=120,向下滚动e.Delta=-120。以上的程序还不是特别完美,因为当Panel控件较大而没有显示滚动条时,或滚动条已在最上方而滚轮又是向上滚动,或滚动条已在最下方而滚轮又是向下滚动时,同样会执行Panel.Refresh();Panel.Invalidate();Panel.Update();等窗体重绘代码,占用较多资源。因此可以在执行这些代码前先对Panel的当前状况原创 2020-06-06 17:24:49 · 5449 阅读 · 0 评论 -
C# 中panel的mousewheel事件触发 (转)
如果将窗体或容器控件(如Plael控件)的AutoScroll属性设置为True时,那么当窗体或Panel容不下其中的子控件时就会出现滚动条,通过移动滚动条可以上下显示出窗体或Panel中的全部内容。但是默认情况下滚动条的移动只能通过鼠标直接拖动滚动条来实现,而不能通过鼠标的滚轮来实现上下移动,因此需要手动添加代码来实现这个功能。滚动鼠标的滚轮,触发的是窗体或控件上的 MouseWheel 事件。但是在VS.net2005中,窗体和控件的事件列表中却不包含 MouseWheel 事件,因此关于这个事件的全原创 2020-06-06 14:34:22 · 544 阅读 · 0 评论