diff options
Diffstat (limited to 'MatrixUtils.Desktop/LoginWindow.axaml')
-rw-r--r-- | MatrixUtils.Desktop/LoginWindow.axaml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/MatrixUtils.Desktop/LoginWindow.axaml b/MatrixUtils.Desktop/LoginWindow.axaml new file mode 100644 index 0000000..ecfa3f5 --- /dev/null +++ b/MatrixUtils.Desktop/LoginWindow.axaml @@ -0,0 +1,25 @@ +<Window xmlns="https://github.com/avaloniaui" + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:desktop="clr-namespace:MatrixUtils.Desktop" + mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" + Title="LoginWindow" + x:Class="MatrixUtils.Desktop.LoginWindow" + x:DataType="desktop:LoginWindow" + DataContext="{Binding $self}" + SizeToContent="WidthAndHeight" CanResize="False" + MinWidth="250"> + <StackPanel> + <Label>Log in</Label> + <StackPanel Orientation="Horizontal"> + <Label Width="100">User ID</Label> + <TextBox MinWidth="250" Text="{Binding Username, Mode=TwoWay}" /> + </StackPanel> + <StackPanel Orientation="Horizontal"> + <Label Width="100">Password</Label> + <MaskedTextBox MinWidth="250" PasswordChar="*" Text="{Binding Password, Mode=TwoWay}" /> + </StackPanel> + <Button Click="Login">Login</Button> + </StackPanel> +</Window> \ No newline at end of file |