提交记录修改UI/Views/DetailPage.xaml+15 −5看文件
| @@ -24,7 +24,7 @@ | ||
| 24 | 24 | <MenuItem Command="{Binding InfoMenuActionCommand}" CommandParameter="open exe" Header="打开程序"/> |
| 25 | 25 | <MenuItem Command="{Binding InfoMenuActionCommand}" CommandParameter="copy processname" Header="复制进程名称"/> |
| 26 | 26 | <MenuItem Command="{Binding InfoMenuActionCommand}" CommandParameter="copy process file" Header="复制进程路径"/> |
| 27 | 删除: <MenuItem Command="{Binding InfoMenuActionCommand}" CommandParameter="open dir" Header="打开进程所在目录"/> | |
| 27 | 新增: <MenuItem Command="{Binding InfoMenuActionCommand}" CommandParameter="open dir" Header="打开进程所在目录"/> | |
| 28 | 28 | </ContextMenu> |
| 29 | 29 | </Border.ContextMenu> |
| 30 | 30 | <Grid> |
| @@ -37,17 +37,27 @@ | ||
| 37 | 37 | <Image Source="{Binding Process.Icon}" Width="25" HorizontalAlignment="Center" VerticalAlignment="Center"/> |
| 38 | 38 | |
| 39 | 39 | <StackPanel Grid.Column="1" VerticalAlignment="Center"> |
| 40 | 删除: <StackPanel Orientation="Horizontal"> | |
| 40 | 新增: <!--<StackPanel Orientation="Horizontal"> | |
| 41 | 41 | <Border Background="#f51837" Padding="10,5" CornerRadius="4" Margin="0,0,4,0" VerticalAlignment="Center" Visibility="{Binding CancelBlockBtnVisibility}" ToolTip="该进程将不再统计使用时长"> |
| 42 | 42 | <StackPanel Orientation="Horizontal" VerticalAlignment="Center"> |
| 43 | 43 | <base:Icon IconType="Blocked" FontSize="12" VerticalAlignment="Center" Foreground="White"/> |
| 44 | 44 | <TextBlock Text="已被忽略" Foreground="White" VerticalAlignment="Center" Margin="5,0,0,0"/> |
| 45 | 45 | </StackPanel> |
| 46 | 46 | </Border> |
| 47 | 删除: <TextBlock Text="{Binding Process.Name}" FontSize="18" VerticalAlignment="Center"/> | |
| 47 | 新增: <TextBlock Text="{Binding Process.Name}" FontSize="18" VerticalAlignment="Center" TextWrapping="WrapWithOverflow"/> | |
| 48 | 48 | <TextBlock ToolTip="进程名" Text="{Binding ProcessName}" FontSize="12" Foreground="Gray" VerticalAlignment="Center" Margin="10,0,0,0"/> |
| 49 | 49 | |
| 50 | 删除: </StackPanel> | |
| 50 | 新增: </StackPanel>--> | |
| 51 | 新增: <Border Background="#f51837" Padding="10,5" CornerRadius="4" Margin="0,0,0,5" VerticalAlignment="Center" HorizontalAlignment="Left" Visibility="{Binding CancelBlockBtnVisibility}" ToolTip="该进程将不再统计使用时长"> | |
| 52 | 新增: <StackPanel Orientation="Horizontal" VerticalAlignment="Center"> | |
| 53 | 新增: <base:Icon IconType="Blocked" FontSize="12" VerticalAlignment="Center" Foreground="White"/> | |
| 54 | 新增: <TextBlock Text="已被忽略" Foreground="White" VerticalAlignment="Center" Margin="5,0,0,0"/> | |
| 55 | 新增: </StackPanel> | |
| 56 | 新增: </Border> | |
| 57 | 新增: | |
| 58 | 新增: <TextBlock ToolTip="描述" Grid.Column="1" Text="{Binding Process.Name}" FontSize="18" VerticalAlignment="Center" TextWrapping="WrapWithOverflow"/> | |
| 59 | 新增: | |
| 60 | 新增: <TextBlock ToolTip="进程名" Text="{Binding ProcessName}" FontSize="12" Foreground="Gray" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0,5,0,0"/> | |
| 51 | 61 | <TextBlock ToolTip="进程文件路径" Foreground="Gray" Text="{Binding Process.PopupText}" Margin="0,5,0,0" TextWrapping="WrapWithOverflow"/> |
| 52 | 62 | |
| 53 | 63 | </StackPanel> |
| @@ -80,7 +90,7 @@ | ||
| 80 | 90 | |
| 81 | 91 | </StackPanel> |
| 82 | 92 | </Border> |
| 83 | 删除: | |
| 93 | 新增: | |
| 84 | 94 | <TextBlock Text="月份数据" FontSize="14" Margin="0,20,0,0"/> |
| 85 | 95 | |
| 86 | 96 | <Border |

