下面使用wpf制作简单的登陆页面样式
效果:
代码部分:
<Grid>
<Image Source="/img/Login/4.png" />
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="70"/>
<RowDefinition Height="230"/>
<RowDefinition Height="70"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="140"/>
<ColumnDefinition Width="400"/>
<ColumnDefinition Width="140"/>
</Grid.ColumnDefinitions>
<Border Grid.Column="1" Grid.Row="1" BorderBrush="SteelBlue" BorderThickness="3" CornerRadius="3" >