日期:2014-05-17 浏览次数:20832 次
private void button1_Click(object sender, EventArgs e)
{
Form2 fm = new Form2();
fm.Show();
}
private void button1_Click(object sender, EventArgs e)
{
fm1.Visible = false;
this.fm1.label1.Text = this.textBox1.Text;
fm1.Show();
this.Close();
}
public string Result {get;set;}
private void button1_Click(object sender, EventArgs e)
{
Form2 fm = new Form2();
if(fm.ShowDialog()==DialogResult.OK)
{
fm.Result的值用来做什么?
}
}
2的:
private void button1_Click(object sender, EventArgs e)
{
Result="abc";
this.DialogResult=DialogResult.OK;
Close();
}