单击鼠标按钮时如何并排显示主窗口和子窗口。 WPF

问题描述:

建议我一些解决方案

首先,窗口之间没有子父关系。一个窗口是主窗口,但它不会使另一个窗口成为孩子。



所有你需要的是属性 Left Top ,修改位置, RenderSize

http://msdn.microsoft.com/en-us/library/system.windows.window .aspx [ ^ ]。



-SA
First of all, there is no child-parent relationships between windows. One window is a main one, but it does not make another one a "child".

All you need is the properties Left and Top, to modify location, and RenderSize:
http://msdn.microsoft.com/en-us/library/system.windows.window.aspx[^].

—SA