WPF使用窗口作为另一个窗口的基础 [英] WPF Use window as base for another window
本文介绍了WPF使用窗口作为另一个窗口的基础的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我要生成一个窗口的许多版本(例如主窗口,设置窗口...),无论如何,我可以将该窗口用作其他窗口的基础吗?
注意:该窗口由一些背景图片,一些事件和方法以及InitializeComponent();
Hello, I am going to produce many versions of a window(e.g. main window, settings window...), is there anyway that I can use that window as a base for the others?
Note: The window is made up of some background pictures, some events and methods + the InitializeComponent();
推荐答案
Google组成:
在wpf中创建基本窗口类 [ ^ ]
Google reveals all:
Creating a base window class in wpf [^]
这篇关于WPF使用窗口作为另一个窗口的基础的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文