Winform判断一个窗口是否以模态化方式打开

bool state=this.Modal;

  

原文地址:https://www.cnblogs.com/Jian-Zhang/p/7465833.html