public static string textbox = string.Empty;//这么定义其他类就可以用Form1.text直接访问了
private void button1_Click(object sender, EventArgs e)
{
textbox = this.textBox1.Text;
//MessageBoxShow( this.textBox1.Text);
}
public static string textbox = string.Empty;//这么定义其他类就可以用Form1.text直接访问了
private void button1_Click(object sender, EventArgs e)
{
textbox = this.textBox1.Text;
//MessageBoxShow( this.textBox1.Text);
}
textbox1.text