错误 1 未能找到类型或命名空间名称“EvenQtArgs”(是否缺少 using 指令或程序集引用?) c:\documents and settings\administrator\my documents\visual studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs 25using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
} private void textBox1_TextChanged(object sender, EventArgs e)
{ } private void button1_Click(object sender, EvenQtArgs e)
{
MessageBox.Show("朋友你好!", "hello"); }
private void button2_Click(object sender, EventArgs e)
{
OpenFileDialog fdlg = new OpenFileDialog(); fdlg.Title = "选择图片"; fdlg.InitialDirectory="C:\\"; } private void button3_Click(object sender, EventArgs e)
{ } private void pictureBox1_Click(object sender, EventArgs e)
{ }
}
}
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
} private void textBox1_TextChanged(object sender, EventArgs e)
{ } private void button1_Click(object sender, EvenQtArgs e)
{
MessageBox.Show("朋友你好!", "hello"); }
private void button2_Click(object sender, EventArgs e)
{
OpenFileDialog fdlg = new OpenFileDialog(); fdlg.Title = "选择图片"; fdlg.InitialDirectory="C:\\"; } private void button3_Click(object sender, EventArgs e)
{ } private void pictureBox1_Click(object sender, EventArgs e)
{ }
}
}
{
MessageBox.Show("朋友你好!", "hello"); }
你乱打了个Q进去了,红字改回EventArgs