我爱Aspx >> Asp.Net >> C#处理鼠标和键盘事件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#实现阿拉伯数字到大写中文..[05-20]
C#如何取硬件标志[05-20]
用C#快速往Excel写数据[05-20]
c# 获得局域网主机列表实例[05-20]
c# 获得局域网主机列表实例[05-20]
用C#的Raw Socket实现网络封包监..[05-20]
利用C#实现标准的 Dispose模式[05-20]
关于C#中属性及值类性引用类型的..[05-20]
c#.net常用函数列表[05-20]
ASP.NET程序中常用的三十三种代码[05-20]