Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要根据 WPF 控件中的事件在表单中显示控件。
TheBoard theBoard = new TheBoard(); theBoard.keyboard.Visible = true;
即使我写:
theBoard.Close();
什么都不会发生,如果有人可以给我一个解决方案,请。
您可以从 WPF 控件引发事件并在 Windows 窗体控件中订阅该事件。这是一个链接,可以为您提供可行的方法。
http://www.a2zdotnet.com/View.aspx?Id=79#.T46J5bN-WUI