以下是子窗体的UI:

<Window x:Class="Automatically.View"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="View" 
        SizeToContent="WidthAndHeight"
        WindowStartupLocation="CenterScreen"
        Icon="/Automatically;component/Images/schedule.ico"
        >
    <Grid>
        <DockPanel>
            <Image Name="Icon" Width="35" Height="35" DockPanel.Dock="Left"/>
            <TextBlock Name="tbk_Files"></TextBlock>
        </DockPanel>
    </Grid>
</Window>
View Code

相关文章: