当前位置:网站首页>WPF simple login page completion case
WPF simple login page completion case
2022-07-29 07:16:00 【Jinan medical applet champion】
grid Use of individual controls , complete
<Window x:Class="WpfAppDL.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
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:local="clr-namespace:WpfAppDL"
mc:Ignorable="d"
Title="MainWindow" Height="300" Width="600" FontSize="20">
<Grid >
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="*" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*"/>
<ColumnDefinition Width="5*"/>
</Grid.ColumnDefinitions>
<TextBlock Text=" user name :" />
<TextBox Text=" Zhang San " Grid.Column="1" />
<TextBlock Text=" password :" Grid.Row="1"/>
<TextBox Text=" Zhang San " Grid.Row="1" Grid.Column="1" />
<Button Content=" Sign in " Grid.Row="2" Margin="-100,2,4,5" Grid.ColumnSpan="2" Width="100" Height="30" Click="Button_Click"/>
<Button Content=" register " Grid.Row="2" Width="100" Height="30" Grid.Column="1"/>
</Grid>
</Window>
effect
Click login , Output string

边栏推荐
猜你喜欢

怎么会不喜欢呢,CICD中轻松发送邮件

Thread synchronization - producers and consumers, tortoise and rabbit race, dual thread printing

Leetcode 879. profit plan

Improved Pillar with Fine-grained Feature for 3D Object Detection论文笔记

2D cartoon rendering - advanced skills

DM data guard cluster setup

ETL为什么经常变成ELT甚至LET?

Implementation of book borrowing management system based on C language

SQL优化

js中break与continue和return关键字
随机推荐
Decompilation of wechat applet
NPM install reports an error NPM err could not resolve dependency NPM err peer
Fillder use
时钟树综合(一)
Flink real-time warehouse DWD layer (order placing multiple tables to realize join operation) template code
同步/异步、阻塞/非阻塞 与 IO
MutationObserver文档学习
Redis基础篇
MySQL advanced (Advanced) SQL statement (I)
Kubernetes (五) ---------部署 Kubernetes Dashboard
基于C语言实现图书借阅管理系统
Flink实时仓库-DWD层(下单-多张表实现join操作)模板代码
Improved pillar with fine grained feature for 3D object detection paper notes
SQL优化
Operator3-设计一个operator
gin 模版
[redis] redis development specifications and precautions
上采样之反卷积操作
MySQL - multi table query
太空射击第17课: Game Over (結束)