上一页 1 ··· 17 18 19 20 21
摘要: 1,第一种方法,设置背景透明色 这种方法适合父容器就是窗体,控件直接再窗体中 2,第二种方法,在窗体初始化的时候,设置父容器 这种方法适合控件在父容器(比如PictureBox)中 public FrmLogin() { InitializeComponent(); this.label1.Pare 阅读全文
posted @ 2020-03-26 09:10 包子789654 阅读(3667) 评论(0) 推荐(0) 编辑
摘要: 1,添加SoftRegister类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Management; /* * 需要添加引用 System.Ma 阅读全文
posted @ 2020-03-21 22:49 包子789654 阅读(400) 评论(0) 推荐(0) 编辑
摘要: 方法一(使用起来更简单) 1,LogHelper帮助类 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using 阅读全文
posted @ 2020-03-14 20:27 包子789654 阅读(2062) 评论(0) 推荐(0) 编辑
摘要: 图片的移动: /// <summary> /// 记录鼠标是否按下了 /// </summary> private bool isMouseDown; /// <summary> /// 记录 鼠标按下时的x,y坐标 /// </summary> private Point mouseDownPoi 阅读全文
posted @ 2020-03-14 19:40 包子789654 阅读(709) 评论(2) 推荐(0) 编辑
上一页 1 ··· 17 18 19 20 21