基本信息
源码名称:WPF自绘皮肤
源码大小:5.33M
文件格式:.rar
开发语言:C#
更新时间:2019-05-10
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):78630559

本次赞助数额为: 2 元 
   源码介绍

<Window x:Class="LG_Dome.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:LG_Dome"
        xmlns:View="clr-namespace:LG_Dome.Properties"
        mc:Ignorable="d"
       
        WindowStartupLocation="CenterScreen"
       
       WindowStyle="None"
        AllowsTransparency="True"
        Background="Transparent"
        Title="MainWindow" Height="366.038" Width="633.019">

    <!--<Window.Background >

        <ImageBrush ImageSource="./images/05live.gif"   Opacity="0.5"></ImageBrush>
    </Window.Background>-->
    <Grid>
        <StackPanel VerticalAlignment="Center">


            <StackPanel>
                <Label Foreground="Red"  HorizontalAlignment="Center" FontSize="55" FontFamily="楷体" Margin="193,0,130,0" Width="310" Height="62" Content="登录系统"/>
                <Border  IsHitTestVisible="True"  BorderBrush="Red" Width="300" Height=" 250" BorderThickness="4" CornerRadius="3">

                    <Border BorderBrush="LemonChiffon" Width="280" Height=" 230" BorderThickness="2" CornerRadius="3">
                        <!--<UniformGrid Rows="2" Columns="1" >
                <Button Height="30" Width="55" VerticalAlignment="Bottom" HorizontalAlignment="Left" VerticalContentAlignment="Center">点击确认</Button>
                <TextBox Grid.Row="0" Grid.Column="2" Height="30" Width="150"></TextBox>
            </UniformGrid>-->
                        <Grid Background="Black"  >
                            <Grid.RowDefinitions >

                                <RowDefinition />
                                <RowDefinition/>
                            </Grid.RowDefinitions>
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="49*"/>
                                <ColumnDefinition Width="89*"/>

                            </Grid.ColumnDefinitions>
                            <Label Grid.Row="0" Grid.Column="0" Foreground="Red" Margin="15,0,21,2" VerticalAlignment="Bottom" Height="25" Content="用户登录:"/>
                            <TextBox Grid.Row="0" x:Name="username" Grid.Column="1" Margin="2,0,0,2" HorizontalAlignment="Left" Height="30" Width="150" VerticalAlignment="Bottom"/>
                            <Label Grid.Row="1" Grid.Column="0" Margin="15,2,22,0" Foreground="Red" VerticalAlignment="Top" Height="25" Content="用户密码:"/>
                          
                            <PasswordBox Grid.Row="1" DataContext="*"  x:Name="userpwd" Grid.Column="1" Margin="2,2,0,0" HorizontalAlignment="Left" Height="30" Width="150" VerticalAlignment="Top"/>
                            <Button Grid.Row="1" Grid.Column="1" Margin="23,47,0,46" HorizontalAlignment="Left" Width="50" Click="Button_Click" Content="登录"/>
                            <Button Grid.Row="1" Grid.Column="1" Margin="90,47,43,46" Content="取消" Click="button_Close"/>
                            <Label x:Name="opntion" Foreground="Red" Grid.ColumnSpan="2" Content="Label" HorizontalAlignment="Left" Height="30" Margin="41,19,0,0" VerticalAlignment="Top" Width="169"/>
                            <Button x:Name="button" Content="最小化" Opacity="0.5" Click="Button_Click_Close" Grid.Column="1" Height="28" Margin="162,-53,-31,0" VerticalAlignment="Top"/>
                        </Grid>
                    </Border>
                </Border>
            </StackPanel>

        </StackPanel>
    </Grid>


    <!--<UniformGrid Rows="3" Columns="3">
        <Button Grid.Row="0" Grid.Column="0" Height="40" Width="100">lefssss</Button>
        <Button Grid.Row="0 " Grid.Column="1" Height="40" Width="100">ces</Button>
        <Button Grid.Row="0" Grid.Column="2" Height="40" Width="100">ces</Button>
        <Button Grid.Row="1" Grid.Column="0" Height="40" Width="100">ces</Button>
        <Button Grid.Row="1" Grid.Column="1" Height="40" Width="100">ces</Button>
    </UniformGrid>-->
    <!--<Grid Margin="189,69,156,72" >
        <Border CornerRadius="8,8,8,8" Background="Black" Height="Auto">
        </Border>
        <Label Content="用户名:"  Height="30" Width="50" HorizontalAlignment="Left" Margin="29,56,0,108"  />
        <TextBox  HorizontalScrollBarVisibility="Hidden" Height="25" Margin="90,61,48,108"/>
        <Label Content="密   码:" Height="30" Width="50" HorizontalAlignment="Left" Margin="28,95,0,69"  ></Label>
        <TextBox  HorizontalScrollBarVisibility="Hidden" Height="25" Margin="90,98,48,71"/>

    </Grid>-->

    <!--<Grid ShowGridLines="True" >
        <Grid.RowDefinitions>
            <RowDefinition Height="*" ></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Button Grid.Row="0" Grid.Column="0" Height="40" Width="100">lefssss</Button>
        <Button Grid.Row="0 " Grid.Column="1" Height="40" Width="100">ces</Button>
        <Button Grid.Row="0" Grid.Column="2" Height="40" Width="100">ces</Button>
        <Button Grid.Row="1" Grid.Column="0" Height="40" Width="100">ces</Button>
        <Button Grid.Row="1" Grid.Column="1" Height="40" Width="100">ces</Button>
        <GridSplitter Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2" VerticalAlignment="Stretch" HorizontalAlignment="Center" ShowsPreview="False" Background="Red"></GridSplitter>
    </Grid>-->
    <!--<Border BorderBrush="Red" BorderThickness="3,2,3,3" Width="250" Height="200" CornerRadius="8">

        <Grid ShowGridLines="True"  >

            <Button Grid.Row="0" Grid.Column="0" Height="20" Width="40">lefssss</Button>
            <Button Grid.Row="0 " Grid.Column="1" Width="20" Height="20"></Button>
            -->
    <!--<Grid.RowDefinitions x:Uid="s">
                
                <RowDefinition ></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
                <RowDefinition></RowDefinition>
            </Grid.RowDefinitions>-->

    <!--<Grid.ColumnDefinitions>
                
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
                <ColumnDefinition></ColumnDefinition>
            </Grid.ColumnDefinitions>-->
    <!--
        </Grid>
        
        -->
    <!--WrapPanel Margin="13" Orientation="Vertical">
            <Button Content="11212" VerticalAlignment="Top"/>
            <Button Content="21212" MaxHeight="100"/>
        </WrapPanel>-->
    <!--<DockPanel LastChildFill="True">
            <Button Content="11212" VerticalAlignment="Top" />
            <Button Content="21212" MaxHeight="123" Padding="11"/>
        </DockPanel>-->

    <!--<StackPanel Width="300" Orientation="Vertical">
            <TextBox  Width="100" MaxHeight="100" MaxWidth="120" HorizontalAlignment="Right" Margin="0,0,20,0" Text="1121213"/>
            <Label  Content="登录:" Margin="130,0" RenderTransformOrigin="0.454,-0.288"/>
            <Button Content="1"/>
            <Button Content="2"/>
        </StackPanel>-->
    <!--
    </Border>-->

</Window>