form基类
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace WindowsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyCode.ToString() == "F6")
{
//MessageBox.Show("你按下了F6");
FrmShowLk newform = new FrmShowLk();
newform.ShowDialog();
}
}
private void Form1_Load(object sender, EventArgs e)
{
}
}
}
这里继承了form类.这form类有些什么作用呢???