From 262c9785230e2d3ff7775cc95db70a346a7ff14a Mon Sep 17 00:00:00 2001 From: Donatas Adamonis Date: Fri, 28 Apr 2017 16:53:16 +0200 Subject: Appartment page --- .../ApartmentManager/ApartmentManager.csproj | 7 +++++ .../ApartmentManager/View/ApartmentPage.xaml | 29 ++++++++++++++++++++ .../ApartmentManager/View/ApartmentPage.xaml.cs | 30 +++++++++++++++++++++ .../ApartmentManager/View/LoginPage.xaml | 2 +- .../ApartmentManager/View/LoginPage.xaml.cs | 5 ++++ HousingDatabase.ldf | Bin 8388608 -> 8388608 bytes HousingDatabase.mdf | Bin 8388608 -> 8388608 bytes 7 files changed, 72 insertions(+), 1 deletion(-) create mode 100644 ApartmentManager/ApartmentManager/View/ApartmentPage.xaml create mode 100644 ApartmentManager/ApartmentManager/View/ApartmentPage.xaml.cs diff --git a/ApartmentManager/ApartmentManager/ApartmentManager.csproj b/ApartmentManager/ApartmentManager/ApartmentManager.csproj index b08d130..a010a50 100644 --- a/ApartmentManager/ApartmentManager/ApartmentManager.csproj +++ b/ApartmentManager/ApartmentManager/ApartmentManager.csproj @@ -99,6 +99,9 @@ + + ApartmentPage.xaml + LoginPage.xaml @@ -124,6 +127,10 @@ MSBuild:Compile Designer + + Designer + MSBuild:Compile + Designer MSBuild:Compile diff --git a/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml b/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml new file mode 100644 index 0000000..8773f0f --- /dev/null +++ b/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml.cs b/ApartmentManager/ApartmentManager/View/ApartmentPage.xaml.cs new file mode 100644 index 0000000..8c9d26c --- /dev/null +++ b/ApartmentManager/ApartmentManager/View/ApartmentPage.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 +{ + /// + /// An empty page that can be used on its own or navigated to within a Frame. + /// + public sealed partial class ApartmentPage : Page + { + public ApartmentPage() + { + this.InitializeComponent(); + } + } +} diff --git a/ApartmentManager/ApartmentManager/View/LoginPage.xaml b/ApartmentManager/ApartmentManager/View/LoginPage.xaml index bca57b4..80071d1 100644 --- a/ApartmentManager/ApartmentManager/View/LoginPage.xaml +++ b/ApartmentManager/ApartmentManager/View/LoginPage.xaml @@ -13,7 +13,7 @@ - + diff --git a/ApartmentManager/ApartmentManager/View/LoginPage.xaml.cs b/ApartmentManager/ApartmentManager/View/LoginPage.xaml.cs index 246ec8e..dcc17ee 100644 --- a/ApartmentManager/ApartmentManager/View/LoginPage.xaml.cs +++ b/ApartmentManager/ApartmentManager/View/LoginPage.xaml.cs @@ -26,5 +26,10 @@ namespace ApartmentManager.View { this.InitializeComponent(); } + + private void click(object sender, RoutedEventArgs e) + { + Frame.Navigate(typeof(ApartmentPage)); + } } } diff --git a/HousingDatabase.ldf b/HousingDatabase.ldf index 5130103..16ec302 100644 Binary files a/HousingDatabase.ldf and b/HousingDatabase.ldf differ diff --git a/HousingDatabase.mdf b/HousingDatabase.mdf index 7b24ca2..191f6dd 100644 Binary files a/HousingDatabase.mdf and b/HousingDatabase.mdf differ -- cgit v1.2.3