随笔分类 - WinForm
摘要:http://msdn.microsoft.com/en-us/library/hh156548(v=vs.110).aspxThe .NET Framework provides several ways for you to use multiple threads of execution t...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using System.Linq; ...
阅读全文
摘要:原文地址 http://blog.csdn.net/bdstjk/article/details/7004035FORM1(一个名为“打开form2”的button控件)FORM2(一个名为“改变form1颜色“的button控件)启动时,FORM1中点击button控件“打开form2””使FOR...
阅读全文
摘要:使用上一篇介绍的控件就可以创建界面十分友好的对话框,但Windows应用程序的用户界面很少只包含一个对话框.这些应用程序使用单一文档界面(Single Document Interface,SDI) 或者多文档界面(Multiple Document Interface,MDI).1.使用Menu...
阅读全文
摘要:1. 控件() 使用Windows窗体时, 就是在使用System.Windows.Forms名称空间 大多数控件 都派生于System.Windows.Forms.Control类 1.1 控件属性 Anchor 控件的容器大小发生改变时, 该如何响应 Enable 是否可接收用户输入...
阅读全文