PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/CBR/CBR/Components/Dialogs/AboutDialog.xaml

#
XAML | 38 lines | 33 code | 5 blank | 0 comment | 0 complexity | c1605651b17ce0f8a2435a1f06b3fc2d MD5 | raw file
 1<Window x:Class="CBR.Components.Dialogs.AboutDialog"
 2        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 3        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 4        Height="400" Width="500"
 5		Background="{DynamicResource CbrDarkBackgroundBrush}"
 6        Title="{LocalizationExtension ResModul=CBR.Dialogs, Key=About.Title, DefaultValue=About}"
 7        Loaded="Window_Loaded" ShowInTaskbar="False" WindowStartupLocation="CenterOwner">
 8    <Grid Margin="10">
 9        <Grid.RowDefinitions>
10            <RowDefinition Height="128" />
11            <RowDefinition Height="30" />
12            <RowDefinition Height="30" />
13            <RowDefinition />
14        </Grid.RowDefinitions>
15        <Grid.ColumnDefinitions>
16            <ColumnDefinition Width="Auto" MinWidth="127.5" />
17            <ColumnDefinition Width="*" />
18        </Grid.ColumnDefinitions>
19
20        <Image Grid.Row="0" Grid.Column="0" Stretch="Uniform" Source="/CBR;component/Resources/Images/book128.png" />
21		<TextBlock Style="{DynamicResource CbrTitleLabel}" Grid.Column="1" FontSize="25" Margin="33,0,0,0" Height="41" VerticalAlignment="Top">C.B.R.</TextBlock>
22		<TextBlock Style="{DynamicResource CbrSubTitleLabel}" Grid.Column="1" Margin="33,47,11,57" >Comic Book Reader</TextBlock>
23		<TextBlock Style="{DynamicResource CbrTextBlockSmall}" Grid.Column="1" Margin="33,0,11,23" VerticalAlignment="Bottom">http://wfpbookreader.codeplex.com/</TextBlock>
24
25		<Label Style="{DynamicResource CbrLabel}" Grid.Row="1"
26			   Content="{LocalizationExtension ResModul=CBR.Dialogs, Key=About.Version, DefaultValue=Version}" />
27		<Label Style="{DynamicResource CbrLabelValue}" Grid.Column="1" Name="labelApplicationVersion" Grid.Row="1">1.0</Label>
28
29		<Label Style="{DynamicResource CbrLabel}" Grid.Row="2"
30			   Content="{LocalizationExtension ResModul=CBR.Dialogs, Key=About.Copy, DefaultValue=Copyright ©}"/>
31		<Label Style="{DynamicResource CbrLabelValue}" Grid.Column="1" Grid.Row="2">2011 - Guillaume Waser</Label>
32
33		<Label Style="{DynamicResource CbrLabel}" Grid.Row="3" VerticalAlignment="Top"
34			   Content="{LocalizationExtension ResModul=CBR.Dialogs, Key=About.Modules, DefaultValue=Modules}" />
35		
36		<ListBox Style="{DynamicResource CbrStandardListBox}" Grid.Column="1" Grid.Row="3" Name="listBoxAssembliesList" Margin="0,0,0,6"></ListBox>
37    </Grid>
38</Window>