1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <UserControl x:Class="AIRS.TitleControl"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:AIRS"
- mc:Ignorable="d"
- d:DesignHeight="100" d:DesignWidth="1350">
- <Grid>
- <Canvas Background="#FF223754">
-
- <Label Content="鞍钢股份鲅鱼圈钢铁分公司" Canvas.Left="27" Canvas.Top="16" Foreground="White" FontSize="32" FontWeight="Bold"/>
- <Label Content="AI 金相分析平台" Canvas.Left="27" Canvas.Top="55" Foreground="White" FontSize="16"/>
- <Canvas x:Name="task" Height="82" Canvas.Left="890" Canvas.Top="5" Width="70" Cursor="Hand" MouseMove="task_MouseMove" MouseLeave="task_MouseLeave">
- <Image x:Name="imgtask" Source="..//img\task.png" Width="70" Height="76" Canvas.Top="-6"></Image>
- <Label x:Name="lbltask" Content="任务" Foreground="White" Width="70" Canvas.Top="56" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontWeight="Bold"/>
- </Canvas>
- <Canvas x:Name="start_grade" Height="82" Canvas.Left="980" Canvas.Top="5" Width="70" Cursor="Hand" MouseMove="start_grade_MouseMove" MouseLeave="start_grade_MouseLeave">
- <Image x:Name="imggrade" Source="..//img\grade.png" Width="70" Height="76" Canvas.Top="-6"></Image>
- <Label x:Name="lblgrade" Content="开始检测" Foreground="White" Width="70" Canvas.Top="56" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontWeight="Bold"/>
- </Canvas>
-
- <Canvas x:Name="cangradesum" Height="82" Canvas.Left="1070" Canvas.Top="5" Width="70" Cursor="Hand" MouseMove="canfill_MouseMove" MouseLeave="canfill_MouseLeave">
- <Image x:Name="imggradesum" Source="..//img\gradesum.png" Width="70" Height="76" Canvas.Top="-6"></Image>
- <Label x:Name="lblgradesum" Content="评级统计" Foreground="White" Width="70" Canvas.Top="56" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontWeight="Bold"/>
- </Canvas>
- <Canvas x:Name="canfill" Height="82" Canvas.Left="980" Canvas.Top="5" Width="70" Cursor="Hand" MouseMove="canfill_MouseMove" MouseLeave="canfill_MouseLeave" Visibility="Hidden">
- <Image x:Name="imgfill" Source="..//img\fill.png" Width="70" Height="76" Canvas.Top="-6"></Image>
- <Label x:Name="lblfill" Content="全屏查看" Foreground="White" Width="70" Canvas.Top="56" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontWeight="Bold"/>
- </Canvas>
- <Canvas x:Name="history" Height="82" Canvas.Left="1160" Canvas.Top="5" Width="70" Cursor="Hand" MouseMove="history_MouseMove" MouseLeave="history_MouseLeave">
- <Image x:Name="imghistory" Source="..//img\history.png" Width="70" Height="76" Canvas.Top="-6" ></Image>
- <Label x:Name="lblhistory" Content="历史评级" Foreground="White" Width="70" Canvas.Top="56" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontWeight="Bold"/>
- </Canvas>
- <Canvas x:Name="canaction" Canvas.Left="1272" Canvas.Top="3" Width="75" Height="25" MouseMove="Canvas_MouseMove" MouseLeave="canaction_MouseLeave">
- <Image x:Name="imgmin" Source="..//img\min2.png" Canvas.Left="0" Width="25" Height="25" Canvas.Top="0" ToolTip="最小化" />
- <Image x:Name="imgmax" Source="..//img\max2.png" Canvas.Left="25" Width="25" Height="25" Canvas.Top="0" ToolTip="最大化" ></Image>
- <Image x:Name="imgclosed" Source="..//img\closed1.png" Canvas.Left="50" Height="25" Width="25" Canvas.Top="0" ToolTip="关闭"></Image>
- <Image x:Name="imgmin1" Source="..//img\min1.png" Canvas.Left="0" Width="25" Height="25" Canvas.Top="0" ToolTip="最小化" Visibility="Hidden"/>
- <Image x:Name="imgmax1" Source="..//img\max1.png" Canvas.Left="25" Width="25" Height="25" Canvas.Top="0" ToolTip="最大化" Visibility="Hidden"></Image>
- <Image x:Name="imgclosed1" Source="..//img\closedred.png" Canvas.Left="50" Height="25" Width="25" Canvas.Top="0" ToolTip="关闭" Visibility="Hidden"></Image>
- </Canvas>
- </Canvas>
- </Grid>
- </UserControl>
|