-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
63 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,37 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
x:Class="NSA4Dummies.Credits"> | ||
<DataTemplate x:Key="Credits"> | ||
<Viewbox> | ||
<Grid x:Name="maingrid" Background="{Binding Path=MainBackground}"> | ||
|
||
|
||
<DataTemplate x:Key="Credits"> | ||
<Viewbox> | ||
|
||
<!-- | ||
\brief There are two columns in the first row. | ||
Column 0: Program title and version | ||
Column 1: 'About' and 'Config' button | ||
--> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="auto"/> | ||
<ColumnDefinition Width="*"/> | ||
</Grid.ColumnDefinitions> | ||
|
||
</Viewbox> | ||
</DataTemplate> | ||
<!-- | ||
\brief Column 0: Program title and version | ||
--> | ||
<Border Grid.Column="0" | ||
Padding = "20 0 0 0" | ||
HorizontalAlignment="Left"> | ||
<StackPanel Orientation="Horizontal"> | ||
<TextBlock Foreground="{Binding Path=MainForeground}" VerticalAlignment="Bottom" x:Name="pageTitle" Text="{Binding T[general.appName]}" Style="{StaticResource PageHeaderTextStyle}" /> | ||
<TextBlock Foreground="{Binding Path=MainForeground}" VerticalAlignment="Bottom" Margin="0 0 0 3" Opacity="0.75" Text="{Binding T[general.version]}" Style="{StaticResource SectionHeaderSmallTextStyle}" /> | ||
</StackPanel> | ||
|
||
</ResourceDictionary> | ||
</Border> | ||
</Grid> | ||
</Viewbox> | ||
</DataTemplate> | ||
</ResourceDictionary> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows; | ||
using System.Windows.Controls; | ||
|
||
namespace NSA4Dummies | ||
{ | ||
public partial class Credits | ||
{ | ||
/// <summary> | ||
/// Constructor of PageContent | ||
/// </summary> | ||
public Credits() | ||
{ | ||
|
||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters