Created monitoring object and refactored code accordingly.
This commit is contained in:
@@ -6,13 +6,11 @@
|
||||
xmlns:local="clr-namespace:BodyshopUploader.Utils.Growls"
|
||||
mc:Ignorable="d"
|
||||
SizeToContent="WidthAndHeight"
|
||||
|
||||
AllowsTransparency="True"
|
||||
WindowStyle="None"
|
||||
ShowInTaskbar="False"
|
||||
Topmost="True"
|
||||
UseLayoutRounding="True"
|
||||
|
||||
Title="BodyshopUploader Notification"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
TextElement.Foreground="{DynamicResource MaterialDesignBody}"
|
||||
@@ -37,9 +35,9 @@
|
||||
Background="Transparent"
|
||||
SizeChanged="NotificationWindowSizeChanged">
|
||||
<Border Name="border"
|
||||
Background="#2a3345"
|
||||
Background="#808080"
|
||||
BorderThickness="0"
|
||||
CornerRadius="10"
|
||||
CornerRadius="4"
|
||||
Margin="10">
|
||||
<Border.Effect>
|
||||
<DropShadowEffect ShadowDepth="0"
|
||||
@@ -128,8 +126,8 @@
|
||||
From="1"
|
||||
To="0"
|
||||
Storyboard.TargetProperty="Opacity"
|
||||
Duration="0:0:2"
|
||||
BeginTime="0:0:3" />
|
||||
Duration="0:0:1"
|
||||
BeginTime="0:0:2" />
|
||||
</Storyboard>
|
||||
</BeginStoryboard>
|
||||
</EventTrigger>
|
||||
|
||||
Reference in New Issue
Block a user