MainWindow.xaml
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<Window x:Class="TianQiYuBao.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Name="mw1"
Title="MainWindow" Height="624.625" Width="897">
<Window.Resources>
<Style TargetType="{x:Type Button}" x:Key="NormalButtonStyle">
<Setter Property="Foreground" Value="White"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="BorderBrush" Value="Transparent"/>
<Setter Property="Background" Value="#FF15DA93"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Button}">
<Border CornerRadius="8" x:Name="border" Background="{TemplateBinding Background}">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Foreground" Value="White"/>
<Setter TargetName="border" Property="Background" Value="#FF2E5387"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter Property="Foreground" Value="White"/>
<Setter TargetName="border" Property="Background" Value="#FF2E5387"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Window.Resources>
<Grid Margin="0,0,-8,-7">
<Grid.Background>
<ImageBrush ImageSource="background.jpg"/>
</Grid.Background>
<MediaElement HorizontalAlignment="Left" Height="108" VerticalAlignment="Top" Width="877"/>
<GroupBox Header="GroupBox" HorizontalAlignment="Left" Margin="10,113,0,0" VerticalAlignment="Top" Height="459" Width="156">
<Grid HorizontalAlignment="Left" Height="435" VerticalAlignment="Top" Width="146" Margin="0,0,-2,0"/>
</GroupBox>
<GroupBox Header="GroupBox" HorizontalAlignment="Left" Margin="186,108,0,0" VerticalAlignment="Top" Height="91" Width="681">
<Grid HorizontalAlignment="Left" Height="69" VerticalAlignment="Top" Width="667">
<Button Content="互动" HorizontalAlignment="Left" Name="buttonHudong" Margin="362,4,0,0" Style="{StaticResource NormalButtonStyle}" VerticalAlignment="Top" Width="110" Height="55" RenderTransformOrigin="0.5,0.5" Click="buttonHudong_Click">
</Button>
<Button Content="天气查询" Name="buttonTianqi" HorizontalAlignment="Left" Margin="37,4,0,0" Style="{StaticResource NormalButtonStyle}" VerticalAlignment="Top" Width="110" Height="55" Click="buttonTianqi_Click"/>
<Button Content="宣传片" Name="buttonmv" HorizontalAlignment="Left" Margin="207,4,0,0" Style="{StaticResource NormalButtonStyle}" VerticalAlignment="Top" Width="110" Height="55" Click="buttonmv_Click"/>
<Button Content="版权" Name="buttonBanquan" HorizontalAlignment="Left" Margin="519,4,0,0" Style="{StaticResource NormalButtonStyle}" VerticalAlignment="Top" Width="110" Height="55" Click="buttonBanquan_Click" />
</Grid>
</GroupBox>
<Frame x:Name="frame" Content="Frame" HorizontalAlignment="Left" Height="363" Margin="186,209,0,0" VerticalAlignment="Top" Width="681" BorderBrush="#FFF1F5F2" BorderThickness="3" />
</Grid>
后面还有 1 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。