SelectWechat.xaml 1.4 KB

123456789101112131415161718192021222324
  1. <Window x:Class="WechatPCMsgBakTool.SelectWechat"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:WechatPCMsgBakTool"
  7. mc:Ignorable="d"
  8. WindowStartupLocation="CenterScreen"
  9. Title="选择微信" Height="300" Width="600">
  10. <Grid>
  11. <Label Content="请选择您要打开的微信:" HorizontalAlignment="Left" Margin="29,27,0,0" VerticalAlignment="Top"/>
  12. <ListView Name="list_process" Margin="32,55,32,67" SelectionChanged="list_process_SelectionChanged">
  13. <ListView.View>
  14. <GridView>
  15. <GridViewColumn Header="进程名" Width="80" DisplayMemberBinding="{Binding ProcessName}" />
  16. <GridViewColumn Header="PID" Width="50" DisplayMemberBinding="{Binding ProcessId}" />
  17. <GridViewColumn Header="路径" Width="300" DisplayMemberBinding="{Binding DBPath}" />
  18. </GridView>
  19. </ListView.View>
  20. </ListView>
  21. <Button Name="btn_close" Content="确定并返回" HorizontalAlignment="Left" Margin="240,231,0,0" VerticalAlignment="Top" Width="97" Click="btn_close_Click"/>
  22. </Grid>
  23. </Window>