hbhbice

导航

2010年4月17日

系统托盘编程

摘要: using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms; namespace TrayIcon{ public partial class... 阅读全文

posted @ 2010-04-17 17:36 hbhbice 阅读(197) 评论(0) 推荐(0)

Windows 窗体中的事件顺序

摘要: 对于关注对 Windows 窗体应用程序中引发的每个事件按次序进行处理的开发人员来说,事件引发的顺序特别重要。当某种情况需要小心处理事件时(如重绘窗体的某些部分时),必须知道事件在运行时的确切引发顺序。本主题提供了一些有关在应用程序和控件的生命周期中的几个重要阶段中的事件顺序的详细信息。有关鼠标输入事件顺序的特定详细信息,请参见 Windows 窗体中的鼠标事件。有关 Windows 窗体中事件的... 阅读全文

posted @ 2010-04-17 16:07 hbhbice 阅读(193) 评论(0) 推荐(0)

c#中对文件的操作小结

摘要: 1、建立一个文本文件 public class FileClass { public static void Main() { WriteToFile(); } static void WriteToFile() { StreamWriter SW; SW=File.CreateText("c:\MyTextFile.txt"); SW.WriteLine("God is g... 阅读全文

posted @ 2010-04-17 10:36 hbhbice 阅读(158) 评论(0) 推荐(0)