diff options
-rw-r--r-- | ApartmentManager/ApartmentManager/ApartmentManager.csproj | 7 | ||||
-rw-r--r-- | ApartmentManager/ApartmentManager/View/ApartmentPage.xaml | 2 | ||||
-rw-r--r-- | ApartmentManager/ApartmentManager/View/ApartmentPage.xaml.cs | 5 | ||||
-rw-r--r-- | ApartmentManager/ApartmentManager/View/ApartmentPlanPage.xaml | 22 | ||||
-rw-r--r-- | ApartmentManager/ApartmentManager/View/ApartmentPlanPage.xaml.cs | 30 | ||||
-rw-r--r-- | HousingDatabase.ldf | bin | 8388608 -> 8388608 bytes | |||
-rw-r--r-- | HousingDatabase.mdf | bin | 8388608 -> 8388608 bytes |
7 files changed, 65 insertions, 1 deletions
diff --git a/ApartmentManager/ApartmentManager/ApartmentManager.csproj b/ApartmentManager/ApartmentManager/ApartmentManager.csproj index a010a50..a117703 100644 --- a/ApartmentManager/ApartmentManager/ApartmentManager.csproj +++ b/ApartmentManager/ApartmentManager/ApartmentManager.csproj @@ -102,6 +102,9 @@ <Compile Include="View\ApartmentPage.xaml.cs"> <DependentUpon>ApartmentPage.xaml</DependentUpon> </Compile> + <Compile Include="View\ApartmentPlanPage.xaml.cs"> + <DependentUpon>ApartmentPlanPage.xaml</DependentUpon> + </Compile> <Compile Include="View\LoginPage.xaml.cs"> <DependentUpon>LoginPage.xaml</DependentUpon> </Compile> @@ -131,6 +134,10 @@ <SubType>Designer</SubType> <Generator>MSBuild:Compile</Generator> </Page> + <Page Include="View\ApartmentPlanPage.xaml"> + <SubType>Designer</SubType> + <Generator>MSBuild:Compile</Generator> + </Page> <Page Include="View\LoginPage.xaml"> <SubType>Designer</SubType> <Generator>MSBuild:Compile</Generator> diff --git a/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml b/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml index 8773f0f..da8d7dd 100644 --- a/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml +++ b/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml @@ -18,7 +18,7 @@ <TextBlock Text="Monthly Charge:" FontSize="20"></TextBlock> </StackPanel> <StackPanel Width="400" Height="300" VerticalAlignment="Top" HorizontalAlignment="Right"> - <Button Margin="0,10,0,10" Content="Apartment Plan" HorizontalAlignment="Stretch"/> + <Button Margin="0,10,0,10" Content="Apartment Plan" HorizontalAlignment="Stretch" Click="click"/> <Button Margin="0,10,0,10" Content="Personal Info" HorizontalAlignment="Stretch"></Button> <Button Margin="0,10,0,10" Content="Residents" HorizontalAlignment="Stretch"></Button> <Button Margin="0,10,0,10" Content="Apartment Changes" HorizontalAlignment="Stretch"></Button> diff --git a/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml.cs b/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml.cs index 8c9d26c..32f0079 100644 --- a/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml.cs +++ b/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml.cs @@ -26,5 +26,10 @@ namespace ApartmentManager.View { this.InitializeComponent(); } + + private void click(object sender, RoutedEventArgs e) + { + Frame.Navigate(typeof(ApartmentPlanPage)); + } } } diff --git a/ApartmentManager/ApartmentManager/View/ApartmentPlanPage.xaml b/ApartmentManager/ApartmentManager/View/ApartmentPlanPage.xaml new file mode 100644 index 0000000..4f8b466 --- /dev/null +++ b/ApartmentManager/ApartmentManager/View/ApartmentPlanPage.xaml @@ -0,0 +1,22 @@ +<Page + x:Class="ApartmentManager.View.ApartmentPlanPage" + xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:local="using:ApartmentManager.View" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + mc:Ignorable="d"> + + <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> + <StackPanel Orientation="Horizontal" Margin="50" VerticalAlignment="Center" HorizontalAlignment="Center" > + <Button Background="{x:Null}" Margin="20,0,20,0" > + <SymbolIcon Symbol="Back" ></SymbolIcon> + </Button> + <Image Height="500" Width="1000" /> + <Button Background="{x:Null}" Margin="20,0,20,0" > + <SymbolIcon Symbol="Forward" ></SymbolIcon> + </Button> + </StackPanel> + </Grid> + +</Page> diff --git a/ApartmentManager/ApartmentManager/View/ApartmentPlanPage.xaml.cs b/ApartmentManager/ApartmentManager/View/ApartmentPlanPage.xaml.cs new file mode 100644 index 0000000..45feb63 --- /dev/null +++ b/ApartmentManager/ApartmentManager/View/ApartmentPlanPage.xaml.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Runtime.InteropServices.WindowsRuntime; +using Windows.Foundation; +using Windows.Foundation.Collections; +using Windows.UI.Xaml; +using Windows.UI.Xaml.Controls; +using Windows.UI.Xaml.Controls.Primitives; +using Windows.UI.Xaml.Data; +using Windows.UI.Xaml.Input; +using Windows.UI.Xaml.Media; +using Windows.UI.Xaml.Navigation; + +// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238 + +namespace ApartmentManager.View +{ + /// <summary> + /// An empty page that can be used on its own or navigated to within a Frame. + /// </summary> + public sealed partial class ApartmentPlanPage : Page + { + public ApartmentPlanPage() + { + this.InitializeComponent(); + } + } +} diff --git a/HousingDatabase.ldf b/HousingDatabase.ldf Binary files differindex 16ec302..6dee888 100644 --- a/HousingDatabase.ldf +++ b/HousingDatabase.ldf diff --git a/HousingDatabase.mdf b/HousingDatabase.mdf Binary files differindex 191f6dd..76e5c09 100644 --- a/HousingDatabase.mdf +++ b/HousingDatabase.mdf |