winform
文章平均质量分 65
Bill11YAng
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
自定义控件 引导
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace CustomButton { public parti..原创 2021-12-10 18:16:44 · 359 阅读 · 0 评论 -
鼠标右键选中行
转自:https://www.cnblogs.com/dekevin/p/3626944.html 事件是 CellButtonDown private void HandleCellMouseDown(object sender, DataGridViewCellMouseEventArgs e) { if (e.Button == MouseB...转载 2020-03-03 16:48:02 · 252 阅读 · 0 评论 -
winform画图及立即显示的方法
private void Form1_Paint(object sender, PaintEventArgs e) { string path = Application.StartupPath; Image image = Image.FromFile(path + @"\psb.jpg"); Gra...转载 2019-01-07 20:12:14 · 1038 阅读 · 0 评论 -
WinForm窗体关闭程序退出实现
转:https://blog.csdn.net/qq_33204100/article/details/83144271 WinForm程序退出方法技巧 1.this.Close(); 只是关闭当前窗口,若不是主窗体的话,是无法退出程序的,另外若有托管线程(非主线程),也无法干净地退出; 2.Application.Exit(); 强制所有消息中止,退出所有的窗体,但是若有托管线程(非主...转载 2019-04-26 14:47:58 · 5011 阅读 · 0 评论 -
winform项目实战之bug解决
01.<form action="" method="get"> 02.<label>2、跳转的下拉列表菜单</label> 03.<select name="jumpMenu" id="jumpMenu" onchange="MM_jumpMenu('parent',this,0)"> 04.<option value="http:...原创 2019-04-26 16:05:05 · 280 阅读 · 0 评论 -
与html操作
转自:https://www.cnblogs.com/lsgsanxiao/p/4748306.html 前言 在 Window Form 应用程序如果需要浏览网页时可以崁入 WebBrowser 控件,但如果需要操作崁入的 HTML 的网页元素,就需要额外的操作,以下纪录几种操作 HTML 元素的方法以及会碰到的问题。 建立 WinForm 应用程序 首先先建立一个 Wind...转载 2019-04-26 16:48:55 · 176 阅读 · 0 评论 -
关闭winform 弹窗的方法
public static int BM_CLICK = 0xf5; //关闭winform 弹窗的方法 private void button3_Click(object sender, EventArgs e) { Thread thread = new Thread(fff); thread.Start(); ...原创 2019-04-19 10:33:08 · 1580 阅读 · 0 评论 -
webBrowser自动填充
https://www.cnblogs.com/lsgsanxiao/p/4748306.html转载 2019-04-25 16:35:17 · 615 阅读 · 0 评论 -
DataGridView 全选
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System....转载 2019-05-07 17:30:58 · 1462 阅读 · 0 评论 -
window.external,WinForm程序执行JS代码的多种方法以及使用WebBrowser与JS交互
转自:https://blog.csdn.net/weixin_34041003/article/details/86257585 https://www.cnblogs.com/feiyuhuo/p/5474790.html 我们在js中可以通过window.external.myfunc()来调用浏览器提供的外部方法myfunc。可以让网页内的js脚本中能调用C++代码。 wind...转载 2019-07-03 15:08:03 · 1132 阅读 · 0 评论 -
控件 异步 invoke
private void ReceiveMsg(string clientId, string message) { if (richTextBox1.InvokeRequired) { Invoke(new Action(() => { ReceiveMsg(clientId,message); }...转载 2019-07-16 17:23:30 · 356 阅读 · 0 评论 -
winform 更新
https://www.cnblogs.com/shitong/p/5764200.html https://www.cnblogs.com/OMango/p/8509436.html转载 2019-07-23 14:56:05 · 413 阅读 · 0 评论
分享