WPF实现类似360安全卫士界面的程序源码分享

2019-12-26 13:39:16丽君
  • <Border BorderBrush="Black" BorderThickness="" CornerRadius="" Margin="">  <Border.Effect> 
  • <DropShadowEffect ShadowDepth="" Opacity="."/>  </Border.Effect> 
  • <Border.Background>  <ImageBrush ImageSource="styles/skin/frame.jpg"/> 
  • </Border.Background>  <Grid> 
  • <Grid.RowDefinitions>  <RowDefinition Height="."/> 
  • <RowDefinition Height="."/>  <RowDefinition/> 
  • <RowDefinition Height="."/>  </Grid.RowDefinitions> 
  • <!--上标题栏-->  <Label Content="安全卫士界面" HorizontalAlignment="Left" Width="." Foreground="#AEFF" FontWeight="Bold" TextOptions.TextFormattingMode="Display"/> 
  • <Rectangle Margin="" Stroke="Black" HorizontalAlignment="Right" Width="." Grid.Row="" StrokeThickness="">  <Rectangle.Fill> 
  • <ImageBrush ImageSource="styles/skin/logo.png" Stretch="Uniform"/>  </Rectangle.Fill> 
  • </Rectangle>  <Button Content="x" HorizontalAlignment="Right" Margin=",,.," Style="{DynamicResource SysButtonStyle}" Width="." Name="closeButton" Click="closeButton_Click" /> 
  • <Button Content="max" HorizontalAlignment="Right" Margin=",,.," Style="{DynamicResource MaxButtonStyle}" Width="." Name="maxButton" Click="maxButton_Click">  <Button.Background> 
  • <ImageBrush ImageSource="styles/skin/Button/MAX.png" Stretch="Uniform"/>  </Button.Background> 
  • </Button>  <Button Content="mni" HorizontalAlignment="Right" Margin=",,.," Style="{DynamicResource MaxButtonStyle}" Width="." Name="mniButton" Click="mniButton_Click"> 
  • <Button.Background>  <ImageBrush ImageSource="styles/skin/Button/MNI.png" Stretch="Uniform"/> 
  • </Button.Background>  </Button>