Form1 的Button 下

{

Form2 f2 = new Form2();
f2.ShowDialog(this);//
this.Close();

}

 

Form2 的load 下

{

//只能隐藏不能关闭

this.owner.hide();

}

相关文章:

  • 2021-09-05
  • 2021-12-18
  • 2021-10-03
  • 2022-12-23
  • 2022-12-23
  • 2022-03-09
  • 2022-12-23
  • 2021-08-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2022-12-23
相关资源
相似解决方案