![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C# 专栏
文章平均质量分 76
Forever4158
这个作者很懒,什么都没留下…
展开
-
一个WinForm记事本程序
(一).说明 功能类似Windows 操作系统自带的记事本. 一个WinForm记事本程序(包含主/下拉/弹出 菜单/打开保存对话框等控件用法以及记事本菜单事件的具体代码)(二).图片示例(三).代码using System;using System.Drawing;using System.Collections;using Sy原创 2006-12-15 18:08:00 · 1219 阅读 · 0 评论 -
Collection -> 集合的拷贝
using System;using System.Collections;using System.Collections.Specialized;namespace 集合的拷贝{ /// /// Class1 的摘要说明。 /// class Class1 { [STAThread] static void Main(string[] args) { NameValueC转载 2006-12-15 18:17:00 · 818 阅读 · 0 评论 -
Collection -> Array的排序(正序/逆序)
using System;namespace Array操作{ /// /// Class1 的摘要说明。 /// class Class1 { /// /// 应用程序的主入口点。 /// [STAThread] static void Main(string[] args) { // // TODO: 在此处添加代码以启动应用程序 // String[]转载 2006-12-15 18:15:00 · 922 阅读 · 0 评论 -
Collection -> 集合的同步执行
using System;using System.Collections;using System.Collections.Specialized;namespace 集合和同步{ /// /// Class1 的摘要说明。 /// class Class1 { public static void DemoLockCollection() { StringDictionary转载 2006-12-15 18:16:00 · 798 阅读 · 0 评论 -
自动关机程序
(一).程序简单示例图如果您感兴趣的话,还可以继续增加好多功能,比如:重启机器/待机/睡眠等状态,还有倒计时功能 (二).代码 using System;using System.Drawing;using System.Collections;using System.ComponentModel;using System.Windows.Forms转载 2006-12-15 18:12:00 · 1740 阅读 · 0 评论 -
如何在.NET程序中启动xp的视觉效果
Xp推出后,大家都被它的漂亮界面所折服,其实在我们的程序中也可以启动xp的视觉效果,让我们的程序更加好看。下面我就介绍两种在程序中应用xp视觉效果的方法。 方法一:使用EnableVisualStyles()这个方法。这个方法会为应用程序启用 Windows XP 视觉样式。如果控件和操作系统都支持视觉样式,则控件将会用它来绘制。若要产生效果,则必须在建立应用原创 2006-12-28 07:07:00 · 1007 阅读 · 0 评论