2008年11月22日

[转]WinForm下Splash(启动画面)制作

摘要: 本文转自:http://www.smartgz.com/blog/Article/1088.asp 原文如下: 本代码可以依据主程序加载进度来显示Splash。 static class Program { /// /// 主程序的入口点在此设置,包括一些初始化操作,启动窗体等 /// private s... 阅读全文

posted @ 2008-11-22 14:50 freeliver54 阅读(1587) 评论(2) 推荐(0)

[转]C# winForm 自定义鼠标样式的两种方法

摘要: 本文转自:http://www.cnblogs.com/hzbzxm/archive/2008/09/15/1291104.html 以前试过在WinForm中自定义鼠标样式,结果显示出来的鼠标变成单色。 后来百度了下,原来要用API来做。 首先引入两个命名空间 Code highlighting produced by Actipro CodeHighlighter (fr... 阅读全文

posted @ 2008-11-22 13:47 freeliver54 阅读(749) 评论(0) 推荐(0)

C# WinForm 关于窗体最大化时的是否全屏效果与是否遮盖任务栏

摘要: 0.新建窗体 及添加按钮 1. 执行如下按钮事件 private void btnFormMax_Click(object sender, EventArgs e) { if (this.WindowState == FormWindowState.Maximized) { this.WindowState = FormWindowState.No... 阅读全文

posted @ 2008-11-22 11:52 freeliver54 阅读(11407) 评论(3) 推荐(0)

C# WinForm 只运行一个程序实例

摘要: 以下方法转自网络 Code Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->using System; using System.Collections.Generic; using System.Windows.Forms; using System... 阅读全文

posted @ 2008-11-22 09:40 freeliver54 阅读(2209) 评论(1) 推荐(0)

导航