Wpf 中显示WinForm控件
<UserControl xmlns:dxe="http://schemas.devexpress.com/winfx/2008/xaml/editors" x:Class="PQMS.UI.BaseDataView.Views.PlugInBaseDataView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
mc:Ignorable="d"
xmlns:Forms="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
d:DesignHeight="300" d:DesignWidth="300">
<WindowsFormsHost xmlns:my="clr-namespace:System.Windows.Forms.Integration;assembly=WindowsFormsIntegration" >
<Forms:DateTimePicker x:Name="_DateBegin" Width="160" Height="20" Format="Custom" CustomFormat="yyyy年MM月dd日 HH:mm"/>
</WindowsFormsHost>