This commit is contained in:
fabjuuuh
2020-10-12 16:50:02 +02:00
parent df5e276eb3
commit 301f6b447f
9 changed files with 93 additions and 11 deletions

View File

@@ -1,12 +1,13 @@
<Page x:Class="DoctorApp.Views.LoginView"
<UserControl x:Class="DoctorApp.Views.LoginView"
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:DoctorApp.Views"
xmlns:viewModels="clr-namespace:DoctorApp.ViewModels"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
Title="LoginView">
>
<DockPanel>
<StackPanel VerticalAlignment="Center" Width="auto">
@@ -20,4 +21,4 @@
</Popup>
</StackPanel>
</DockPanel>
</Page>
</UserControl>

View File

@@ -16,7 +16,7 @@ namespace DoctorApp.Views
/// <summary>
/// Interaction logic for LoginView.xaml
/// </summary>
public partial class LoginView : Page
public partial class LoginView : UserControl
{
public LoginView()
{

View File

@@ -1,4 +1,4 @@
<Page x:Class="DoctorApp.Views.MainView"
<UserControl x:Class="DoctorApp.Views.MainView"
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"
@@ -6,9 +6,9 @@
xmlns:local="clr-namespace:DoctorApp.Views"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800"
Title="MainView">
>
<Grid>
<Button Content="Button" HorizontalAlignment="Left" Margin="231,132,0,0" VerticalAlignment="Top"/>
</Grid>
</Page>
</UserControl>

View File

@@ -16,7 +16,7 @@ namespace DoctorApp.Views
/// <summary>
/// Interaction logic for MainView.xaml
/// </summary>
public partial class MainView : Page
public partial class MainView : UserControl
{
public MainView()
{