using 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)
{
if (textBox1.Text == "Click")
{
button1.PerformClick();
}
}
private void button1_Click(object sender, EventArgs e)
{
MessageBox.Show("Hello");
}
}
}
我来写点,你选个最佳什么的把这个关闭了,然后我有好多问题没人回答,麻烦你去写点,我也选个最佳什么的把问题处理了!
http://zhidao.baidu.com/question/422221635.html?quesup2&oldq=1
http://zhidao.baidu.com/question/419202130.html?quesup2&oldq=1
http://zhidao.baidu.com/question/328504703.html?quesup2&oldq=1
http://zhidao.baidu.com/question/325094712.html?quesup2&oldq=1
它绑定,检查,收集或数据集类,它可以指定ComboBox的数据源,然后调用DataBind()方法可以
双击控件 就进事件了