终端一体化运控平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

70 lines
2.8 KiB

  1. <UserControl
  2. x:Class="BPASmartClient.CustomResource.UserControls.Bottle"
  3. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  5. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  6. xmlns:local="clr-namespace:BPASmartClient.CustomResource.UserControls"
  7. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  8. d:DesignHeight="200"
  9. d:DesignWidth="70"
  10. mc:Ignorable="d">
  11. <Border Name="mainBr" BorderThickness="0">
  12. <Viewbox Width="auto" Height="auto">
  13. <Canvas
  14. Name="cv"
  15. Width="{Binding ElementName=mainBr, Path=ActualWidth}"
  16. Height="{Binding ElementName=mainBr, Path=ActualHeight}">
  17. <Rectangle
  18. Name="r1"
  19. HorizontalAlignment="Center"
  20. VerticalAlignment="Top"
  21. Stroke="Black"
  22. StrokeThickness="0">
  23. <Rectangle.Fill>
  24. <LinearGradientBrush StartPoint="0,0.5" EndPoint="1,0.5">
  25. <GradientStop Color="#FF97E8F4" />
  26. <GradientStop Offset="1" Color="#FF97E8F4" />
  27. <GradientStop Offset="0.45" Color="#FEFFFFFF" />
  28. <GradientStop Offset="0.55" Color="#FEF9F9F9" />
  29. </LinearGradientBrush>
  30. </Rectangle.Fill>
  31. </Rectangle>
  32. <Border
  33. Name="bd"
  34. HorizontalAlignment="Center"
  35. VerticalAlignment="Bottom"
  36. Background="DimGray"
  37. BorderThickness="0" />
  38. <Path
  39. Name="pa"
  40. HorizontalAlignment="Center"
  41. VerticalAlignment="Top"
  42. Fill="#FFD8D35B"
  43. Stretch="Fill"
  44. StrokeThickness="0" />
  45. <Ellipse
  46. Name="e2"
  47. HorizontalAlignment="Left"
  48. VerticalAlignment="Top"
  49. Fill="#FFD8D35B"
  50. Stroke="#FF636242"
  51. StrokeThickness="0.5" />
  52. <Rectangle
  53. Name="refile"
  54. HorizontalAlignment="Center"
  55. VerticalAlignment="Center"
  56. Fill="#FFD8D35B"
  57. Stroke="Black"
  58. StrokeThickness="0" />
  59. <Ellipse
  60. x:Name="e1"
  61. HorizontalAlignment="Left"
  62. VerticalAlignment="Center"
  63. Fill="#97e8f4"
  64. StrokeThickness="0" />
  65. </Canvas>
  66. </Viewbox>
  67. </Border>
  68. </UserControl>