• λ我爱Aspx >> Asp.Net >> C#处理鼠标和键盘事件
  • C#处理鼠标和键盘事件

  • :未知  Դ:internet  :2007-5-20 16:43:46  ؼ:
  • mouse.cs的源程序代码如下:

    using System ;

    using System.Drawing ;

    using System.Collections ;

    using System.ComponentModel ;

    using System.Windows.Forms ;

    using System.Data ;

    public class Form1 : Form

    {

    private System.ComponentModel.Container components = null ;

    public Form1 ( )

    {

    file://初始化窗体中的各个组件

    InitializeComponent ( ) ;

    }

    file://清除程序中使用过的资源

    protected override void Dispose ( bool disposing )

    {

    if ( disposing )

    {

    if (components != null)

    {

    components.Dispose ( ) ;

    }

    }

    base.Dispose ( disposing ) ;

    }

    private void InitializeComponent ( )

    {

    this.AutoScaleBaseSize = new System.Drawing.Size ( 6 , 14) ;

    this.ClientSize = new System.Drawing.Size ( 292 , 273 ) ;

    this.Name = "Form1" ;

    this.Text = "C#处理鼠标按动事件!" ;

    Ҷƪл˵?
  • һƪ得到系统进程和结束某个指定的进程
    һƪ使用C#实现阿拉伯数字到大写中文的转换