SaleWPF/Views/Login.xaml
(完整代码) 1KB<UserControl x:Class="SaleWPF.Views.Login"
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:rubyer="http://rubyer.io/winfx/xaml/toolkit"
xmlns:viewmodels="clr-namespace:SaleWPF.ViewModels"
d:DataContext="{d:DesignInstance Type=viewmodels:LoginViewModel}"
xmlns:local="clr-namespace:SaleWPF.Views"
mc:Ignorable="d"
>
<Grid Margin="10"
rubyer:GridHelper.ColumnDefinitions="Auto, *"
rubyer:GridHelper.RowDefinitions="Auto,Auto, Auto, Auto"
rubyer:PanelHelper.Spacing="10">
<TextBlock Text="门店号" />
<TextBox x:Name="shopCode"
Grid.Column="1"
Width="200"
Margin="10 0"
Text="{Binding User.ShopCode}" />
<TextBlock Text="用户名" Grid.Row="1" />
<TextBox x:Name="userName"
Grid.Row="1"
Grid.Column="1"
Width="200"
Margin="10 0"
Text="{Binding User.Name}" />
<TextBlock Grid.Row="2" Text="密码" />
<PasswordBox x:Name="password"
Grid.Row="2"
Grid.Column="1"
Width="200"
rubyer:PasswordBoxHelper.BindablePassword="{Binding User.Password}"
rubyer:PasswordBoxHelper.ShowSwitchButton="True" />
<Button Grid.Row="3"
Grid.ColumnSpan="2"
Command="{Binding LoginCommand}"
Content="登录" />
</Grid>
</UserControl>
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
