软件工程个人日报 2016/6/28

个人日报 2016/6/28

今天,通过调查表的反馈明确了改进方向。对于我所负责的部分,需要改进的方向主要有三个方面:

  1、改正使用Tab键在输入框中的切换顺序

  2、增加类似吐槽墙的UI

  3、美化UI

今天完成了修改使用Tab键在输入框中的切换顺序

之前使用Tab键会从用户名框切换到验证码框,再按Tab会切换到密码框。

修改之后使用Tab可以按顺序从用户名框切换到密码框之后到验证码框。

以下是修改后的代码:

<Window x:Class="easyBJUT.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="登录" Height="260" Width="360">
    <Grid>
        <Button x:Name="resetButton" Content="重置" HorizontalAlignment="Left" Height="25" Margin="201,171,0,0" VerticalAlignment="Top" Width="75" Click="resetButton_Click"/>
        <Image x:Name="identifyingCodeImage" HorizontalAlignment="Left" Height="27" Margin="155,124,0,0" VerticalAlignment="Top" Width="72"/>
        <TextBox x:Name="username" HorizontalAlignment="Left" Height="25" Margin="69,64,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="150"/>
        <PasswordBox x:Name="password" HorizontalAlignment="Left" Height="25" Margin="69,94,0,0" VerticalAlignment="Top" Width="150"/>
        <TextBox x:Name="identifying_code" HorizontalAlignment="Left" Height="25" Margin="69,124,0,0" TextWrapping="Wrap" Text="" VerticalAlignment="Top" Width="80"/>
        <Label Content="用户名:" HorizontalAlignment="Left" Height="25" Margin="13,64,0,0" VerticalAlignment="Top" Width="55"/>
        <Label Content="验证码:" HorizontalAlignment="Left" Height="25" Margin="13,124,0,0" VerticalAlignment="Top" Width="55"/>
        <Label Content="密  码:" HorizontalAlignment="Left" Height="25" Margin="13,94,0,0" VerticalAlignment="Top" Width="55"/>
        <Button x:Name="changeButton" Content="看不清换一张" HorizontalAlignment="Left" Height="25" Margin="232,124,0,0" VerticalAlignment="Top" Width="90" BorderThickness="1" Click="changeButton_Click" RenderTransformOrigin="0.5,0.5">
            <Button.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform/>
                    <RotateTransform Angle="0.601"/>
                    <TranslateTransform/>
                </TransformGroup>
            </Button.RenderTransform>
        </Button>
        <Label Content="用户登录/LOGIN" HorizontalAlignment="Left" Height="40" Margin="27,19,0,0" VerticalAlignment="Top" Width="191" FontSize="24" FontWeight="Bold" FontFamily="STLiti"/>
        <Button x:Name="loginButton" Content="登录" HorizontalAlignment="Left" Height="25" Margin="69,171,0,0" VerticalAlignment="Top" Width="75
                " Click="loginButton_Click"/>

    </Grid>
</Window>

 

转载于:https://www.cnblogs.com/yufan-blog/p/5624895.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值