天天看点

C# 子窗体修改父窗体控件内容

父窗体( Form1 )里面的代码:

Form2 fm = new Form2();
  fm.Owner = this;     
  fm.ShowDialog();
           

子窗体(Form2 )里面的代码: