12 2017 档案

摘要:首先设置程序最小化到任务栏右下角 先给窗口添加一个notifyIcon控件 为notifyIcon控件设置ICO图标(不设置图标将无法在任务栏显示) 给notifyIcon控件添加点击事件 然后是最小化到任务栏右下角 接下来判断点击的是鼠标的哪个按键 如果点击的是左键,就判断窗口是不是最小化的,是就 阅读全文
posted @ 2017-12-19 18:34 随遇而安(huangjun) 阅读(6277) 评论(0) 推荐(0) 编辑
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Microsoft... 阅读全文
posted @ 2017-12-15 18:06 随遇而安(huangjun) 阅读(4897) 评论(0) 推荐(1) 编辑
摘要://没有标题 this.FormBorderStyle = FormBorderStyle.None; //任务栏不显示 this.ShowInTaskbar = false; 阅读全文
posted @ 2017-12-09 15:21 随遇而安(huangjun) 阅读(5180) 评论(0) 推荐(0) 编辑
摘要:using System.Diagnostics; Stopwatch watch = new Stopwatch(); watch.Start(); /* 需要测量运行时间的程序 */ watch.Stop(); this.BeginInvoke(updateTxt, " (耗时" + (watch.ElapsedMilliseconds / 1000.0) + " ... 阅读全文
posted @ 2017-12-04 15:10 随遇而安(huangjun) 阅读(735) 评论(0) 推荐(0) 编辑
摘要:打开帮助文档 打开计算机 阅读全文
posted @ 2017-12-04 10:14 随遇而安(huangjun) 阅读(1480) 评论(1) 推荐(0) 编辑

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