架构师_程序员_码农网

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

楼主: 小渣渣

[WPF] WPF界面库,非常漂亮的WPF界面【附源码】

  [复制链接]
发表于 2019-3-28 15:06:12 | 显示全部楼层
我看看,学习一下
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-4-4 13:40:24 | 显示全部楼层
非常感谢楼主的分享,对于菜鸟的我有很大的帮助
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-4-8 09:33:09 | 显示全部楼层
喜欢这个风格,下载一下看看
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-4-8 11:45:03 | 显示全部楼层
学习种 谢谢分享
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-4-8 20:05:47 | 显示全部楼层
学习一下
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-4-11 12:23:05 | 显示全部楼层
不知道效果如何
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-4-11 13:19:14 | 显示全部楼层
非常漂亮的WPF界面
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-4-12 05:00:35 | 显示全部楼层
我要要要要用!
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-4-13 14:43:43 | 显示全部楼层
下载下来学习学习
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
发表于 2019-4-16 17:07:51 | 显示全部楼层
看看
<Window x:Class="WpfFrist.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         WindowStyle="None" AllowsTransparency="True" Background="{x:Null}"
        Title="MainWindow" Height="300" Width="300" WindowStartuplocatio{过滤}n="CenterScreen">
    <Grid  Width="{Binding Width, ElementName=w}" Height="{Binding Height, ElementName=w}">
        <Grid.RowDefinitions>
            <RowDefinition Height="150" />
            <RowDefinition Height="50" />
            <RowDefinition Height="50" />
            <RowDefinition  />
        </Grid.RowDefinitions>
        <Border Grid.RowSpan="4" BorderBrush="Gray" BorderThickness="3" CornerRadius="20" Margin="10"  Opacity="1"  Background="White"></Border>
        <Button Style="{StaticResource BtnCloseStyle}" Name="btnClose"  Grid.Row="0"  Click="Button_Click" ></Button>
        <Image Grid.Row="0"  VerticalAlignment="Center" Width="120"  Height="120" Source="/Resources/QQ截图20161123091013.png" />
        <TextBox x:Name="UserTextBox"  Grid.Row="1"  Width="200" VerticalAlignment="Center" BorderThickness="0,0,0,1" Height="23"></TextBox>
        <TextBlock Foreground="DarkGray"  Grid.Row="1"  IsHitTestVisible="False" HorizontalAlignment="Center" Height="23" Text="请输入用户名" VerticalAlignment="Center" Width="90" FontFamily="Microsoft YaHei">
            <TextBlock.Style>
                <Style TargetType="{x:Type TextBlock}">
                    <Setter Property="Visibility" Value="Collapsed"/>
                    <Style.Triggers>
                        <DataTrigger Binding="{Binding Text, ElementName=UserTextBox}" Value="">
                            <Setter Property="Visibility" Value="Visible"/>
                        </DataTrigger>
                    </Style.Triggers>
                </Style>
            </TextBlock.Style>
        </TextBlock>
        <TextBox  x:Name="PwdTextBox"   Grid.Row="2"  Width="200" VerticalAlignment="Center" BorderThickness="0,0,0,1" Height="23"></TextBox>
        <TextBlock Foreground="DarkGray" Grid.Row="2"  IsHitTestVisible="False" HorizontalAlignment="Center" Height="23" Text="请输入密码" VerticalAlignment="Center" Width="90" FontFamily="Microsoft YaHei">
            <TextBlock.Style>
                <Style TargetType="{x:Type TextBlock}">
                    <Setter Property="Visibility" Value="Collapsed"/>
                    <Style.Triggers>
                        <DataTrigger Binding="{Binding Text, ElementName=PwdTextBox}" Value="">
                            <Setter Property="Visibility" Value="Visible"/>
                        </DataTrigger>
                    </Style.Triggers>
                </Style>
            </TextBlock.Style>
        </TextBlock>
        <Button Name="btnlogin" Click="btnlogin_Click" Grid.Row="2" Style="{StaticResource BtnLoginStyle}"  >
            <!--<Button.Background>
                <ImageBrush ImageSource="/Resources/LoginBtn.jpg" Stretch="Fill"/>
            </Button.Background>-->
        </Button>
    </Grid>
</Window>
码农网,只发表在实践过程中,遇到的技术难题,不误导他人。
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

免责声明:
码农网所发布的一切软件、编程资料或者文章仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。本站信息来自网络,版权争议与本站无关。您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容。如果您喜欢该程序,请支持正版软件,购买注册,得到更好的正版服务。如有侵权请邮件与我们联系处理。

Mail To:help@itsvse.com

QQ|手机版|小黑屋|架构师 ( 鲁ICP备14021824号-2 )|网站地图

GMT+8, 2024-5-19 04:23

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表