完善功能
This commit is contained in:
@@ -3,13 +3,25 @@
|
||||
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:i="http://schemas.microsoft.com/xaml/behaviors"
|
||||
xmlns:local="clr-namespace:电子展板"
|
||||
xmlns:vm="clr-namespace:电子展板.ViewModels"
|
||||
ResizeMode="NoResize"
|
||||
Closing="Window_Closing"
|
||||
WindowStyle="None"
|
||||
x:Name="window"
|
||||
mc:Ignorable="d"
|
||||
Loaded="Window_Loaded"
|
||||
Title="MainWindow" Background="#E5E5E5">
|
||||
<Window.DataContext>
|
||||
<vm:MainWindow2ViewModel/>
|
||||
</Window.DataContext>
|
||||
<i:Interaction.Triggers>
|
||||
<i:EventTrigger EventName="Loaded">
|
||||
<i:InvokeCommandAction Command="{Binding LoadedCommand}" CommandParameter="{Binding ElementName=window}"/>
|
||||
</i:EventTrigger>
|
||||
<i:EventTrigger EventName="Closing">
|
||||
<i:InvokeCommandAction Command="{Binding WindowClosingCommand}" PassEventArgsToCommand="True"/>
|
||||
</i:EventTrigger>
|
||||
</i:Interaction.Triggers>
|
||||
<Grid>
|
||||
<Viewbox Stretch="Uniform" >
|
||||
<Canvas Width="1920" Height="1080">
|
||||
@@ -31,10 +43,10 @@
|
||||
<TextBlock Text="党员亮身份" Grid.Row="1" Grid.Column="3" FontSize="60" Foreground="#1F7572" VerticalAlignment="Center" HorizontalAlignment="Center" Margin="0,0,0,0"/>
|
||||
|
||||
<Border Grid.Row="2" Grid.Column="1" Background="#C0E3D9" CornerRadius="20" Margin="0,20,20,50">
|
||||
<TextBlock Margin="10" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="55" Foreground="Black" TextWrapping="Wrap" Text="1、 负责组织项目开工前的准备工作,按照施工图总平面布置确定所建建筑物位置,复合定位、标高。安排临时道路铺设工作。参与工程技术管理,配合总工程师编制项目部施工生产计划。"/>
|
||||
<TextBlock Margin="10" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="{Binding Config.DangerPointSize}" Foreground="Black" TextWrapping="Wrap" Text="{Binding Config.DangerPoint}"/>
|
||||
</Border>
|
||||
<Border Grid.Row="2" Grid.Column="2" Background="#C0E3D9" CornerRadius="20" Margin="25,20,20,50">
|
||||
<TextBlock Margin="10" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="55" Foreground="Black" TextWrapping="Wrap" Text="1、 负责组织项目开工前的准备工作,按照施工图总平面布置确定所建建筑物位置,复合定位、标高。安排临时道路铺设工作。参与工程技术管理,配合总工程师编制项目部施工生产计划。"/>
|
||||
<TextBlock Margin="10" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="{Binding Config.MeasuresSize}" Foreground="Black" TextWrapping="Wrap" Text="{Binding Config.Measures}"/>
|
||||
</Border>
|
||||
<Grid Grid.Row="2" Grid.Column="3" Margin="20,20,0,50">
|
||||
<Grid.ColumnDefinitions>
|
||||
@@ -51,8 +63,8 @@
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="80"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Image Margin="10" Source="/Assets/0.jpg" Stretch="Uniform" />
|
||||
<TextBlock Text="陈龙" Grid.Row="1" FontSize="40" Foreground="Black" TextWrapping="Wrap" TextAlignment="Center"/>
|
||||
<Image Margin="10" Source="{Binding Image1}" Stretch="Uniform" />
|
||||
<TextBlock Text="{Binding Config.CPCMember1Name}" Grid.Row="1" FontSize="{Binding Config.CPCMemberSize}" Foreground="Black" TextWrapping="Wrap" TextAlignment="Center"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
@@ -62,8 +74,8 @@
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="80"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Image Margin="10" Source="/Assets/0.jpg" Stretch="Uniform" />
|
||||
<TextBlock Text="陶陶" Grid.Row="1" FontSize="40" Foreground="Black" TextWrapping="Wrap" TextAlignment="Center"/>
|
||||
<Image Margin="10" Source="{Binding Image2}" Stretch="Uniform" />
|
||||
<TextBlock Text="{Binding Config.CPCMember2Name}" Grid.Row="1" FontSize="{Binding Config.CPCMemberSize}" Foreground="Black" TextWrapping="Wrap" TextAlignment="Center"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
<Border Grid.Row="1" Grid.Column="0" Background="#C0E3D9" CornerRadius="20" Margin="10,5,5,0">
|
||||
@@ -72,8 +84,8 @@
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="80"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Image Margin="10" Source="/Assets/0.jpg" Stretch="Uniform" />
|
||||
<TextBlock Text="陈龙" Grid.Row="1" FontSize="40" Foreground="Black" TextWrapping="Wrap" TextAlignment="Center"/>
|
||||
<Image Margin="10" Source="{Binding Image3}" Stretch="Uniform" />
|
||||
<TextBlock Text="{Binding Config.CPCMember3Name}" Grid.Row="1" FontSize="{Binding Config.CPCMemberSize}" Foreground="Black" TextWrapping="Wrap" TextAlignment="Center"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
<Border Grid.Row="1" Grid.Column="1" Background="#C0E3D9" CornerRadius="20" Margin="5,5,10,0">
|
||||
@@ -82,8 +94,8 @@
|
||||
<RowDefinition Height="*"/>
|
||||
<RowDefinition Height="80"/>
|
||||
</Grid.RowDefinitions>
|
||||
<Image Margin="10" Source="/Assets/0.jpg" Stretch="Uniform" />
|
||||
<TextBlock Text="陶陶" Grid.Row="1" FontSize="40" Foreground="Black" TextWrapping="Wrap" TextAlignment="Center"/>
|
||||
<Image Margin="10" Source="{Binding Image4}" Stretch="Uniform" />
|
||||
<TextBlock Text="{Binding Config.CPCMember4Name}" Grid.Row="1" FontSize="{Binding Config.CPCMemberSize}" Foreground="Black" TextWrapping="Wrap" TextAlignment="Center"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user