In my application i open new form:
private void button1_Click(object sender, EventArgs e)
{
Form2 = new Form2 ("bla bla");
Form2 .ShowDialog();
}
This is my form that i am opening and want to pass back parameter:
public partial class Form2: Form
{
public Form2 (string file)
{
InitializeComponent();
}
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…