winform程序有几个窗口,不是用的MDI架构,能否窗口之间互相刷新!谢谢
当然可以。
你可以设置不同窗体之间的Owner属性(比如A.Owner=B表示A被B拥有)。表示B拥有A了。那么你通过B的OwnedForms属性集合就可以控制凡是被B拥有的窗体。互相可以引用。
If you think one reply solves your problem, please mark it as An Answer, if you think someone's reply helps you, please mark it as a Proposed Answer Help by clicking: Click here to donate your rice to the poor Click to Donate Click to feed Dogs & Cats
谢谢,问题已经解决!