2007年9月12日
摘要: 窗体和对话框要么是有模式的,要么是无模式的。“模式”窗体或对话框必须关闭或隐藏,然后您才能继续使用应用程序的其余部分。 显示重要消息的对话框应始终是有模式的。模式对话框的一个示例是 Visual Studio 中的“关于”对话框。MessageBox是您可以使用的一个模式窗体。有模式对话框显示出来以后,那么开始打开的窗体或对话框就不能再获得焦点了。 “无模式”窗体让您在此窗体与另一窗体之间变换... 阅读全文
posted @ 2007-09-12 15:17 sizzle 阅读(1765) 评论(0) 推荐(0) 编辑
摘要: 以下代码是一个关于窗体显示的代码,其目的是实现窗体最初的隐藏,但看了一遍不明所以。贴出来以后继续研究,也请各位不吝赐教。 This is the code I'm using to do that, I saw a post today that do not require P/invoke but I havent test it yet using System.Runtime.Inte... 阅读全文
posted @ 2007-09-12 15:12 sizzle 阅读(293) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Runtime.InteropServices; using System.Threading; namespace 文件和系统操作 ... 阅读全文
posted @ 2007-09-12 14:18 sizzle 阅读(1032) 评论(0) 推荐(0) 编辑