TitleControl.xaml 4.5 KB

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