Update message box icons
BIN
Source/LibationAvalonia/Assets/MBIcons/Asterisk.ico
Normal file
|
After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
BIN
Source/LibationAvalonia/Assets/MBIcons/Asterisk_64.png
Normal file
|
After Width: | Height: | Size: 4.9 KiB |
BIN
Source/LibationAvalonia/Assets/MBIcons/Error.ico
Normal file
|
After Width: | Height: | Size: 92 KiB |
BIN
Source/LibationAvalonia/Assets/MBIcons/Error_64.png
Normal file
|
After Width: | Height: | Size: 5.3 KiB |
BIN
Source/LibationAvalonia/Assets/MBIcons/Exclamation.ico
Normal file
|
After Width: | Height: | Size: 75 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
BIN
Source/LibationAvalonia/Assets/MBIcons/Exclamation_64.png
Normal file
|
After Width: | Height: | Size: 3.3 KiB |
BIN
Source/LibationAvalonia/Assets/MBIcons/Question.ico
Normal file
|
After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
BIN
Source/LibationAvalonia/Assets/MBIcons/Question_64.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
@ -14,11 +14,11 @@
|
|||||||
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal"
|
<StackPanel DockPanel.Dock="Top" Orientation="Horizontal"
|
||||||
VerticalAlignment="Top">
|
VerticalAlignment="Top">
|
||||||
|
|
||||||
<Panel Grid.Column="0" Margin="5,0,5,0" VerticalAlignment="Top">
|
<Panel Height="32" Width="32" Grid.Column="0" Margin="5,0,5,0" VerticalAlignment="Top">
|
||||||
<Image IsVisible="{Binding IsAsterisk}" Stretch="None" Source="/Assets/MBIcons/Asterisk.png"/>
|
<Image IsVisible="{Binding IsAsterisk}" Stretch="Uniform" Source="/Assets/MBIcons/Asterisk_64.png"/>
|
||||||
<Image IsVisible="{Binding IsError}" Stretch="None" Source="/Assets/MBIcons/error.png"/>
|
<Image IsVisible="{Binding IsError}" Stretch="Uniform" Source="/Assets/MBIcons/Error_64.png"/>
|
||||||
<Image IsVisible="{Binding IsQuestion}" Stretch="None" Source="/Assets/MBIcons/Question.png"/>
|
<Image IsVisible="{Binding IsQuestion}" Stretch="Uniform" Source="/Assets/MBIcons/Question_64.png"/>
|
||||||
<Image IsVisible="{Binding IsExclamation}" Stretch="None" Source="/Assets/MBIcons/Exclamation.png"/>
|
<Image IsVisible="{Binding IsExclamation}" Stretch="Uniform" Source="/Assets/MBIcons/Exclamation_64.png"/>
|
||||||
</Panel>
|
</Panel>
|
||||||
|
|
||||||
<TextBlock Margin="5,0,0,0" Name="messageTextBlock" MinHeight="45" MinWidth="193" TextWrapping="WrapWithOverflow" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="12" Text="{Binding Message}" />
|
<TextBlock Margin="5,0,0,0" Name="messageTextBlock" MinHeight="45" MinWidth="193" TextWrapping="WrapWithOverflow" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="12" Text="{Binding Message}" />
|
||||||
|
|||||||
@ -41,10 +41,10 @@
|
|||||||
<None Remove="Assets\img-coverart-prod-unavailable_500x500.jpg" />
|
<None Remove="Assets\img-coverart-prod-unavailable_500x500.jpg" />
|
||||||
<None Remove="Assets\img-coverart-prod-unavailable_80x80.jpg" />
|
<None Remove="Assets\img-coverart-prod-unavailable_80x80.jpg" />
|
||||||
<None Remove="Assets\1x1.png" />
|
<None Remove="Assets\1x1.png" />
|
||||||
<None Remove="Assets\MBIcons\Asterisk.png" />
|
<None Remove="Assets\MBIcons\Asterisk_64.png" />
|
||||||
<None Remove="Assets\MBIcons\error.png" />
|
<None Remove="Assets\MBIcons\Error_64.png" />
|
||||||
<None Remove="Assets\MBIcons\Exclamation.png" />
|
<None Remove="Assets\MBIcons\Exclamation_64.png" />
|
||||||
<None Remove="Assets\MBIcons\Question.png" />
|
<None Remove="Assets\MBIcons\Question_64.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
@ -30,7 +30,8 @@ namespace LibationWinForms.Dialogs
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
System.Media.SystemSounds.Hand.Play();
|
System.Media.SystemSounds.Hand.Play();
|
||||||
pictureBox1.Image = SystemIcons.Error.ToBitmap();
|
//This is a different (and newer) icon from SystemIcons.Error
|
||||||
|
pictureBox1.Image = SystemIcons.GetStockIcon(StockIconId.Error).ToBitmap();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void githubLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
private void githubLink_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
|
||||||
|
|||||||