12 2017 档案
摘要:首先设置程序最小化到任务栏右下角 先给窗口添加一个notifyIcon控件 为notifyIcon控件设置ICO图标(不设置图标将无法在任务栏显示) 给notifyIcon控件添加点击事件 然后是最小化到任务栏右下角 接下来判断点击的是鼠标的哪个按键 如果点击的是左键,就判断窗口是不是最小化的,是就
阅读全文
摘要: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...
阅读全文
摘要://没有标题 this.FormBorderStyle = FormBorderStyle.None; //任务栏不显示 this.ShowInTaskbar = false;
阅读全文
摘要:using System.Diagnostics; Stopwatch watch = new Stopwatch(); watch.Start(); /* 需要测量运行时间的程序 */ watch.Stop(); this.BeginInvoke(updateTxt, " (耗时" + (watch.ElapsedMilliseconds / 1000.0) + " ...
阅读全文
摘要:打开帮助文档 打开计算机
阅读全文