.NET的MessageBox如何确定其相对于所显示屏幕的分辨率的大小?
我正在为WPF应用程序编写一个稍微灵活一些的对话框窗口。窗口的布局被放置在网格中:
+-----------------
| auto: Header // A header for the dialog.
+-----------------
| auto: Content // can be any FrameworkElement.
+-----------------
| auto: BottomPanel // With buttons <OK>, <Cancel>,