CustomDishInfo.xaml 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <UserControl x:Class="ivf_tl_Operate.CustomUserControls.CustomDishInfo"
  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:ivf_tl_Operate.CustomUserControls"
  7. mc:Ignorable="d"
  8. Width="1583" Height="1583">
  9. <Canvas x:Name="_canvas" Width="1583" Height="1583" MouseUp="_canvas_MouseUp">
  10. <Border Panel.ZIndex="1" Name="mask" Canvas.Left="371.5" Canvas.Top="371.5" Background="White" Height="840" Width="840" CornerRadius="420" />
  11. <Image Panel.ZIndex="2" x:Name="_ellipse2" Source="/ivf_tl_Operate;component/Resources/Image/ellipse_big_out.png" Stretch="Fill" Width="1583" Height="1583"/>
  12. <!--<Image Panel.ZIndex="3" Canvas.Left="50" Canvas.Top="50" x:Name="_ellipse1" Source="/ivf_tl_Operate;component/Resources/Image/ellipse_big_in.png" Stretch="Fill" Width="1483" Height="1483"/>-->
  13. <Image Panel.ZIndex="4" x:Name="_ellipse_out" Canvas.Left="347" Canvas.Top="347" Source="/ivf_tl_Operate;component/Resources/Image/ellipse_out.png" Stretch="Fill" Width="889" Height="889"/>
  14. <Image RenderTransformOrigin="0.5,0" Panel.ZIndex="5" x:Name="_sx" Canvas.Left="651.5" Canvas.Top="791.5" Source="/ivf_tl_Operate;component/Resources/Image/sxnew.png" Height="760" Width="280" Stretch="Fill">
  15. <!--<Image.RenderTransform>
  16. <RotateTransform Angle="180" />
  17. </Image.RenderTransform>-->
  18. </Image>
  19. <Image Panel.ZIndex="6" x:Name="_ellipse_in" Canvas.Left="358.5" Canvas.Top="358.5" Source="/ivf_tl_Operate;component/Resources/Image/ellipse_in.png" Stretch="Fill" Width="866" Height="866"/>
  20. <!--<Image x:Name="Image_Load" Panel.ZIndex="7" Canvas.Left="371.5" Canvas.Top="371.5" Width="840" Height="840" Source="/ivf_tl_Operate;component/Resources/Image/VideoLoadIcon.png"/>-->
  21. <Canvas x:Name="Cancas_Load" Panel.ZIndex="7" Canvas.Left="371.5" Canvas.Top="371.5" Width="840" Height="840">
  22. <Image x:Name="Image_Load" Width="840" Height="840" Source="/ivf_tl_Operate;component/Resources/Image/VideoLoadIcon.png"/>
  23. <!--958 95 Canvas.Top="958" Width="1583"-->
  24. <TextBlock x:Name="TextBlock_Load" Canvas.Top="512" Width="840" TextAlignment="Center" FontWeight="Medium" Foreground="#7D7D7D" FontSize="50" Text="{DynamicResource C0286}"/>
  25. </Canvas>
  26. <MediaElement PreviewMouseDown="PreviewMouseDownEvent" Panel.ZIndex="8" Name="mediaElementPlayer" Canvas.Left="371.5" Canvas.Top="371.5" Width="840" Height="840" LoadedBehavior="Manual">
  27. <MediaElement.OpacityMask>
  28. <VisualBrush Visual="{Binding ElementName=mask}"/>
  29. </MediaElement.OpacityMask>
  30. </MediaElement>
  31. <Canvas x:Name="Cancas_Preview" Canvas.Left="371.5" Canvas.Top="371.5" PreviewMouseDown="PreviewMouseDownEvent" Visibility="Visible" Panel.ZIndex="9" Width="840" Height="840">
  32. <Image x:Name="_preview" Width="840" Height="840" >
  33. <Image.OpacityMask>
  34. <VisualBrush Visual="{Binding ElementName=mask}"/>
  35. </Image.OpacityMask>
  36. </Image>
  37. <TextBlock x:Name="TextBlock_Preview" Canvas.Top="512" Width="840" TextAlignment="Center" FontWeight="Medium" Foreground="#7D7D7D" FontSize="50" Text=""/>
  38. </Canvas>
  39. </Canvas>
  40. </UserControl>