20210521 周五下班不带电脑了

This commit is contained in:
liufei
2021-05-21 17:19:46 +08:00
parent 9a6d4795e0
commit 8deff6c9d5
10 changed files with 152 additions and 45 deletions

View File

@@ -14,6 +14,7 @@
AllowsTransparency="True"
Background="Transparent"
OpacityMask ="White"
Deactivated="window_Deactivated"
>
<WindowChrome.WindowChrome>
<WindowChrome CaptionHeight="0" ResizeBorderThickness="10"/>
@@ -101,15 +102,9 @@
<Border CornerRadius="5" BorderThickness="0">
<!--背景图片-->
<Border.Background>
<ImageBrush ImageSource="D:\壁纸\wallhaven-nrd85w.jpg" Opacity="1"></ImageBrush>
<ImageBrush ImageSource="{Binding AppConfig.BitmapImage}" Opacity="1"></ImageBrush>
</Border.Background>
<Grid>
<!--<Grid.Background>
<VisualBrush Stretch="Uniform" Visual="{Binding ElementName=test}"/>
</Grid.Background>-->
<!--<Grid.Background>
<SolidColorBrush Color="Black" Opacity="0.5"/>
</Grid.Background>-->
<Grid.RowDefinitions>
<RowDefinition Height="40" MouseMove="DragMove"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>