<UserControl x:Class="KH_ControlCenter.Views.Video.WaitingVideoItemWinFormPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:pb="clr-namespace:System.Windows.Forms;assembly=System.Windows.Forms"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<WindowsFormsHost x:Name="winfrom" Background="Black">
<pb:PictureBox x:Name="pictureBox" SizeMode="Zoom" />
</WindowsFormsHost>
</UserControl>
WPF传句柄 调用WindowsFormsHost
最新推荐文章于 2024-05-19 18:37:30 发布