摘要:
private string Notes = "提示文本"; private void textBox1_Leave(object sender, EventArgs e) { // 退出失去焦点,重新显示 if (string.IsNullOrEmpty(textBox1.Text)) { tex 阅读全文
摘要:
using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace WGClient { class AutoSizeFormClass { //(1).声明结构,只记录窗体和其控 阅读全文
摘要:
//这里重点//在打开的窗口中查找about窗口Form test = Application.OpenForms["about"];//判断对应窗口是否被打开if ((test == null) || (test.IsDisposed)) { //如果没有打开 new一个窗口 about abou 阅读全文