-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
23 lines (21 loc) · 3.15 KB
/
MainWindow.xaml
File metadata and controls
23 lines (21 loc) · 3.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Window x:Class="CustomMessageBoxDemo.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
WindowStartupLocation="CenterScreen"
Title="MainWindow" Height="340" Width="570" Loaded="Window_Loaded">
<Grid>
<Button Content="Standard Message" Height="23" HorizontalAlignment="Left" Margin="12,71,0,0" Name="button_StandardMessage" VerticalAlignment="Top" Width="125" Click="button_StandardMessage_Click"/>
<Button Content="Standard Message (new)" Height="23" HorizontalAlignment="Left" Margin="271,71,0,0" Name="button_StandardMessageNew" VerticalAlignment="Top" Width="151" Click="button_StandardMessageNew_Click"/>
<Button Content="Message + Caption" Height="23" HorizontalAlignment="Left" Margin="12,100,0,0" Name="button_MessageWithCaption" VerticalAlignment="Top" Width="125" Click="button_MessageWithCaption_Click"/>
<Button Content="Message + Caption (new)" Height="23" HorizontalAlignment="Left" Margin="271,100,0,0" Name="button_MessageWithCaptionNew" VerticalAlignment="Top" Width="151" Click="button_MessageWithCaptionNew_Click"/>
<Button Content="Message + Caption + Button" Height="23" HorizontalAlignment="Left" Margin="12,129,0,0" Name="button_MessageWithCaptionAndButton" VerticalAlignment="Top" Width="Auto" Click="button_MessageWithCaptionAndButton_Click" />
<Button Content="Message + Caption + Button (new)" Height="23" HorizontalAlignment="Left" Margin="271,129,0,0" Name="button_MessageWithCaptionAndButtonNew" VerticalAlignment="Top" Width="Auto" Click="button_MessageWithCaptionAndButtonNew_Click" />
<Button Content="Message + Caption + Button + Image" Height="23" HorizontalAlignment="Left" Margin="12,158,0,0" Name="button_MessageWithCaptionButtonImage" VerticalAlignment="Top" Width="Auto" Click="button_MessageWithCaptionButtonImage_Click" />
<Button Content="Message + Caption + Button + Image(new)" Height="23" HorizontalAlignment="Left" Margin="271,158,0,0" Name="button_MessageWithCaptionButtonImageNew" VerticalAlignment="Top" Width="Auto" Click="button_MessageWithCaptionButtonImageNew_Click" />
<TextBlock Height="33" HorizontalAlignment="Left" Margin="16,29,0,0" Name="textBlock1" FontSize="24" VerticalAlignment="Top" Width="122">Standard</TextBlock>
<TextBlock FontSize="24" HorizontalAlignment="Left" Margin="271,29,0,0" VerticalAlignment="Top">Custom Version</TextBlock>
<Button Content="Custom Text" Height="23" HorizontalAlignment="Left" Margin="271,214,0,0" Name="button1" VerticalAlignment="Top" Width="Auto" Click="button1_Click" />
<Button Content="Message + Caption + Button + CustomImage(new)" Height="23" HorizontalAlignment="Left" Margin="271,186,0,0" x:Name="button_MessageWithCaptionButtonCustomImageNew" VerticalAlignment="Top" Width="Auto" Click="button_MessageWithCaptionButtonCustomImageNew_Click" />
<Button Content="Self updating message" Height="23" HorizontalAlignment="Left" Margin="271,242,0,0" x:Name="button_SelfUpdatingMessage" VerticalAlignment="Top" Width="Auto" Click="button_SelfUpdatingMessage_Click" />
</Grid>
</Window>