会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Kyle0418
QAQ
博客园
首页
新随笔
管理
上一页
1
2
3
4
5
6
7
8
9
···
19
下一页
2020年4月3日
link
摘要: https://www.cnblogs.com/luomingui/archive/2010/03/03/1677718.html https://cloud.tencent.com/developer/article/1334177
阅读全文
posted @ 2020-04-03 13:59 Kyle0418
阅读(162)
评论(0)
推荐(1)
2020年3月30日
ProcessBar加载条(滚动)
摘要: public Form1() { InitializeComponent(); backgroundWorker1.DoWork += BackgroundWorker1_DoWork; backgroundWorker1.RunWorkerCompleted += BackgroundWorker
阅读全文
posted @ 2020-03-30 16:30 Kyle0418
阅读(270)
评论(0)
推荐(1)
2019年9月25日
为自定义控件添加PropertyGrid项
摘要: protected override void OnPaint(System.Windows.Forms.PaintEventArgs e) { Pen pen = new Pen(drawLineColor); pen.Width = 2; // 绘制一条水平分割线 e.Graphics.Draw
阅读全文
posted @ 2019-09-25 13:13 Kyle0418
阅读(431)
评论(1)
推荐(0)
2019年8月22日
全局捕获键盘(包含未激活状态)
摘要: [STAThread] static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); _hookID = SetHook(_proc); For
阅读全文
posted @ 2019-08-22 10:43 Kyle0418
阅读(329)
评论(1)
推荐(1)
2019年7月23日
拖拽TreeView节点
摘要: 测试结果:
阅读全文
posted @ 2019-07-23 16:58 Kyle0418
阅读(409)
评论(0)
推荐(1)
2019年7月3日
Winforms发送邮件
摘要: // 首先开启smtp服务 try { MailMessage message = new MailMessage(); SmtpClient smtp = new SmtpClient(); message.From = new MailAddress("from@domain.com"); me
阅读全文
posted @ 2019-07-03 10:54 Kyle0418
阅读(133)
评论(0)
推荐(0)
2019年5月27日
快速加载背景图片(解决大量控件时闪烁)
摘要: public partial class Form1 : Form { public Form1() { InitializeComponent(); PanelEnhanced panelEnhanced = new PanelEnhanced(); this.Controls.Add(panel
阅读全文
posted @ 2019-05-27 15:50 Kyle0418
阅读(262)
评论(0)
推荐(0)
拖拽更改控件位置
摘要: 建议使用dll减少闪烁, 处理WM_NCHITTEST消息,
阅读全文
posted @ 2019-05-27 14:39 Kyle0418
阅读(393)
评论(0)
推荐(0)
2019年5月22日
Entity Framework
摘要: 基本用法(CRUD) 1.插入: 2.修改: 3.查询: 4.删除: 获取主键:
阅读全文
posted @ 2019-05-22 14:13 Kyle0418
阅读(170)
评论(0)
推荐(0)
2019年5月21日
Chart的简单使用
摘要: chart1.Titles.Add("Line Chart"); chart1.ChartAreas[0].Axes[0].MajorGrid.Enabled = false; chart1.ChartAreas[0].Axes[1].MajorGrid.Enabled = false;this.d
阅读全文
posted @ 2019-05-21 09:57 Kyle0418
阅读(950)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
19
下一页
公告