How to disable the parent form when a child form is active?

前端 未结 13 2131
闹比i
闹比i 2020-12-12 23:26

How to disable a parent form when child form is active using c#?

13条回答
  •  有刺的猬
    2020-12-13 00:11

    You can do that with the following:

    Form3 formshow = new Form3();
    
    formshow.ShowDialog();
    

提交回复
热议问题