aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Wpf/Applications/ShiftoriumFrontend.xaml
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-01-08 09:57:10 -0500
committerMichael <[email protected]>2017-01-08 09:57:10 -0500
commitf30dcf5ef41d54c588d7b42c48be8d941abba72e (patch)
tree7705f99b965673b1c034ac2b1c56e65072c827df /ShiftOS.Wpf/Applications/ShiftoriumFrontend.xaml
parent69dfad54724d4176dfce238a8d7e73970e6eef24 (diff)
downloadshiftos_thereturn-f30dcf5ef41d54c588d7b42c48be8d941abba72e.tar.gz
shiftos_thereturn-f30dcf5ef41d54c588d7b42c48be8d941abba72e.tar.bz2
shiftos_thereturn-f30dcf5ef41d54c588d7b42c48be8d941abba72e.zip
Initial upload
Diffstat (limited to 'ShiftOS.Wpf/Applications/ShiftoriumFrontend.xaml')
-rw-r--r--ShiftOS.Wpf/Applications/ShiftoriumFrontend.xaml24
1 files changed, 24 insertions, 0 deletions
diff --git a/ShiftOS.Wpf/Applications/ShiftoriumFrontend.xaml b/ShiftOS.Wpf/Applications/ShiftoriumFrontend.xaml
new file mode 100644
index 0000000..f2d0df1
--- /dev/null
+++ b/ShiftOS.Wpf/Applications/ShiftoriumFrontend.xaml
@@ -0,0 +1,24 @@
+<UserControl x:Class="ShiftOS.Wpf.Applications.ShiftoriumFrontend"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ xmlns:local="clr-namespace:ShiftOS.Wpf.Applications"
+ mc:Ignorable="d"
+ Height="300" Width="700">
+ <DockPanel>
+ <DockPanel DockPanel.Dock="Left" Width="Auto" HorizontalAlignment="Left" VerticalAlignment="Stretch" Margin="10">
+ <TextBlock DockPanel.Dock="Top" Margin="15" Foreground="White" HorizontalAlignment="Center">Upgrades</TextBlock>
+ <TextBlock x:Name="codepointDisplay" DockPanel.Dock="Bottom" Margin="15" Foreground="White">Codepoints: <TextBlock x:Name="currentcodepoints">0</TextBlock></TextBlock>
+ <ListBox SelectionChanged="lbupgrades_SelectionChanged" x:Name="lbupgrades" HorizontalAlignment="Stretch" Margin="10" Width="300"></ListBox>
+ </DockPanel>
+ <DockPanel Grid.Column="2" VerticalAlignment="Stretch" Margin="15">
+ <TextBlock x:Name="title" HorizontalAlignment="Center" DockPanel.Dock="Top" Margin="15" Foreground="White"></TextBlock>
+ <DockPanel DockPanel.Dock="Bottom" HorizontalAlignment="Stretch">
+ <Button Click="btnbuy_Click_1" x:Name="btnbuy" DockPanel.Dock="Right" VerticalAlignment="Center" Width="Auto">Buy</Button>
+ <TextBlock VerticalAlignment="Center" Foreground="White">Cost: <TextBlock x:Name="cost">{Binding Cost}</TextBlock> CP</TextBlock>
+ </DockPanel>
+ <TextBlock x:Name="description" HorizontalAlignment="Center" VerticalAlignment="Center" TextWrapping="Wrap" Margin="5" TextAlignment="Center" Foreground="White">{Binding Description}</TextBlock>
+ </DockPanel>
+ </DockPanel>
+</UserControl>