1. 启动登录窗体时,光标定位到用户名输入栏
在文本框外部的容器中加入:
<Grid FocusManager.FocusedElement="{Binding ElementName=txtUserName}">
<TextBox x:Name="txtUserName" Text="{Binding LoginModel.UserName}" Foreground="#555" FontSize="15"
Style="{DynamicResource UserNameTextBoxStyle}" Height="40"/>
<Grid>
2. 窗口放大:
设置窗体的ResizeMode属性
框实现回车登录操作:
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
毕设&课程作业_智能垃圾分类系统.zip (57个子文件)
Graduation Design
.gitattributes 2KB
work.txt 33B
WPF_Projects.sln 2KB
WPF_Projects
App.xaml 373B
Model
LoginModel.cs 1KB
Assets
Images
Logo.jpeg 116KB
WPF_Projects.csproj 855B
View
MainView.xaml 494B
LoginView.xaml.cs 909B
MainView.xaml.cs 637B
LoginView.xaml 20KB
App.xaml.cs 328B
ViewModel
LoginViewModel.cs 2KB
AssemblyInfo.cs 595B
appsetting.json 63B
Common
NotifyBase.cs 535B
CommonBase.cs 876B
PasswordHelper.cs 2KB
.gitignore 6KB
智能垃圾分类系统
DataAccess
aliDataAccess.cs 11KB
DataEntity
UserEntity.cs 607B
开发记录.txt 407B
App.xaml 398B
Model
LoginModel.cs 2KB
CourseModel.cs 485B
CourseSeriesModel.cs 453B
UserModel.cs 789B
SeriesModel.cs 391B
Assets
Styles
DefaultStyle.xaml 1KB
Fonts
iconfont.ttf 5KB
verificationCode.png 56KB
Images
userImage.png 5KB
Logo.gif 321KB
Converter
BoolToBrushConverter.cs 780B
BoolToArrowConverter.cs 733B
GenderConverter.cs 705B
View
CoursePageView.xaml 11KB
MainView.xaml 16KB
LoginView.xaml.cs 933B
FirstPageView.xaml 27KB
MainView.xaml.cs 2KB
LoginView.xaml 15KB
FirstPageView.xaml.cs 761B
CoursePageView.xaml.cs 2KB
App.xaml.cs 662B
ViewModel
MainViewModel.cs 2KB
FirstPageViewModel.cs 2KB
CoursePageViewModel.cs 4KB
LoginViewModel.cs 3KB
AssemblyInfo.cs 595B
appsettings.json 154B
Common
GlobalValues.cs 318B
NotifyBase.cs 554B
CommandBase.cs 897B
PasswordHelper.cs 2KB
MD5Provider.cs 744B
智能垃圾分类系统.csproj 2KB
共 57 条
- 1
资源评论
学术菜鸟小晨
- 粉丝: 1w+
- 资源: 4952
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- test1.ncl
- BatchAddLineAction.java
- matlab中的算术运算符介绍
- 形势与政策-题库.xls
- 高效MySQL查询加速指南:索引策略、查询优化、性能调优,助力数据库管理员和开发者突破性能瓶颈
- ARM Limited 发布的《RealView 编译工具 4.0 版编译器参考指南》
- 《2024音视频技术发展报告》,由LiveVideoStack出品,旨在深入了解流媒体和RTC(实时通信技术)的从业情情况
- 2023-04-06-项目笔记 - 第一百二十五阶段 - 4.4.2.123全局变量的作用域-123 -2024.05.06
- 多维因素与学生辍学风险预测数据集
- MATLAB编程高效实战:涵盖核心数学、科学计算、数据可视化及算法应用,助力工程师与研究人员的必备函数代码集
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功