AddDishWindowView.xaml 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. <Window x:Class="ivf_tl_Operate.View.AddDishWindowView"
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  5. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  6. xmlns:local="clr-namespace:ivf_tl_Operate.View"
  7. xmlns:customControl="clr-namespace:ivf_tl_CustomControls;assembly=ivf_tl_CustomControls_Surface"
  8. mc:Ignorable="d"
  9. WindowStyle="None"
  10. WindowStartupLocation="CenterOwner"
  11. Background="Transparent"
  12. ShowInTaskbar="False"
  13. AllowsTransparency="True"
  14. Title="Window" Height="2500" Width="1422">
  15. <Grid Background="Transparent">
  16. <Grid.RowDefinitions>
  17. <RowDefinition Height="134"/>
  18. <RowDefinition Height="*"/>
  19. </Grid.RowDefinitions>
  20. <Border Grid.Row="0" Height="134" CornerRadius="15 15 0 0" Background="#4D75AC" HorizontalAlignment="Left" Width="1422">
  21. <Grid>
  22. <Grid.ColumnDefinitions>
  23. <ColumnDefinition Width="*"/>
  24. <ColumnDefinition Width="auto"/>
  25. </Grid.ColumnDefinitions>
  26. <StackPanel Grid.Column="0" Orientation="Horizontal" HorizontalAlignment="Center">
  27. <TextBlock x:Name="numbertext" Grid.Column="0" Text="" FontSize="44" Foreground="#FFFFFF" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  28. </StackPanel>
  29. <Image Grid.Column="1" Margin="0 30 30 0" Height="66" Width="64" VerticalAlignment="Top" Source="/ivf_tl_Operate;component/Resources/Image/whiteClose.png" MouseDown="Cancel_MouseUp"/>
  30. </Grid>
  31. </Border>
  32. <Border Grid.Row="1" CornerRadius="0 0 15 15 " Background="#f9f9f9">
  33. <Grid>
  34. <Grid.RowDefinitions>
  35. <RowDefinition Height="1229"/>
  36. <RowDefinition Height="4"/>
  37. <RowDefinition Height="*"/>
  38. <RowDefinition Height="4"/>
  39. <RowDefinition Height="auto"/>
  40. </Grid.RowDefinitions>
  41. <Canvas x:Name="_canvas" Grid.Row="0" Background="{StaticResource BorderMenuFill}" Width="1422" Height="1229">
  42. <Viewbox Height="50" Canvas.Left="50" Canvas.Top="50" Panel.ZIndex="11" FocusVisualStyle="{x:Null}">
  43. <CheckBox x:Name="_isVip" Content="{DynamicResource C0028}" FocusVisualStyle="{x:Null}"/>
  44. </Viewbox>
  45. <Image Panel.ZIndex="2" x:Name="_ellipse2" Source="/ivf_tl_Operate;component/Resources/Image/ellipse_big_out.png" Canvas.Left="136" Canvas.Top="39.5" Stretch="Fill" Width="1150" Height="1150"/>
  46. <!--<Image Panel.ZIndex="3" x:Name="_ellipse1" Source="/ivf_tl_Operate;component/Resources/Image/ellipse_big_in.png" Stretch="Fill" Canvas.Left="211" Canvas.Top="114.5" Width="1000" Height="1000"/>-->
  47. <Ellipse Panel.ZIndex="10" StrokeThickness="13" Stroke="#DDE3EA" Canvas.Left="361" Canvas.Top="264.5" Width="700" Height="700"></Ellipse>
  48. <TextBlock x:Name="TextBlock_HouseSn" Canvas.Left="652" Canvas.Top="555.5" Panel.ZIndex="20" IsHitTestVisible="False" Width="118" Height="118" Text="10" TextAlignment="Center" FontSize="100" FontWeight="Medium" Foreground="#808080"/>
  49. </Canvas>
  50. <StackPanel Grid.Row="1">
  51. <Rectangle Width="1422" Height="2" Fill="#FAFAFA"/>
  52. <Rectangle Width="1422" Height="2" Fill="#DDDEE0"/>
  53. </StackPanel>
  54. <StackPanel Grid.Row="2" Margin="0 30 0 0 " HorizontalAlignment="Left" Width="1200">
  55. <!--<StackPanel Orientation="Horizontal">
  56. <Image Margin="0 0 10 0" Width="30" Height="30" Source="/ivf_tl_Operate;component/Resources/Image/RedStarIcon.png" />
  57. <TextBlock Grid.Column="0" Grid.Row="0" Text="{DynamicResource C0133}" FontSize="44" Foreground="#0B1B31" VerticalAlignment="Center" HorizontalAlignment="Right" />
  58. --><!--<customControl:TextBoxCustom x:Name="_caseId_TextBox" FontSize="44" TextMargin="20 0 20 0" DefeatMargin="20 0 20 0" Text="" Width="768" Height="60" Margin="20" DefeatString="{DynamicResource C0148}" />--><!--
  59. </StackPanel>-->
  60. <Grid Margin="0,20,0,20">
  61. <Grid.ColumnDefinitions>
  62. <ColumnDefinition Width="410" />
  63. <ColumnDefinition />
  64. </Grid.ColumnDefinitions>
  65. <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
  66. <Image Width="30" Height="30" Source="/ivf_tl_Operate;component/Resources/Image/RedStarIcon.png" />
  67. <TextBlock Margin="10 0 0 0" Text="{DynamicResource C0133}" FontSize="44" Foreground="#0B1B31" VerticalAlignment="Center" HorizontalAlignment="Right" />
  68. </StackPanel>
  69. <customControl:TextBoxCustom Margin="20 0 0 0" Grid.Column="1" x:Name="_caseId_TextBox" FontSize="44" TextMargin="20 0 20 0" DefeatMargin="20 0 20 0" Text="" Height="60" DefeatString="{DynamicResource C0148}" />
  70. </Grid>
  71. <Grid Margin="0,20,0,20">
  72. <Grid.ColumnDefinitions>
  73. <ColumnDefinition Width="410" />
  74. <ColumnDefinition />
  75. </Grid.ColumnDefinitions>
  76. <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
  77. <Image Width="30" Height="30" Source="/ivf_tl_Operate;component/Resources/Image/RedStarIcon.png" />
  78. <TextBlock Margin="10 0 0 0" Text="{DynamicResource C0162}" FontSize="44" Foreground="#0B1B31" VerticalAlignment="Center" HorizontalAlignment="Right" />
  79. </StackPanel>
  80. <customControl:TextBoxCustom Margin="20 0 0 0" Grid.Column="1" x:Name="_cycle_TextBox" FontSize="44" TextMargin="20 0 20 0" DefeatMargin="20 0 20 0" Text="" Height="60" DefeatString="{DynamicResource C0248}" />
  81. </Grid>
  82. <Grid Margin="0,20,0,20">
  83. <Grid.ColumnDefinitions>
  84. <ColumnDefinition Width="410" />
  85. <ColumnDefinition />
  86. </Grid.ColumnDefinitions>
  87. <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
  88. <Image Width="30" Height="30" Source="/ivf_tl_Operate;component/Resources/Image/RedStarIcon.png" />
  89. <TextBlock Margin="10 0 0 0" Text="{DynamicResource C0022}" FontSize="44" Foreground="#0B1B31" VerticalAlignment="Center" HorizontalAlignment="Right" />
  90. </StackPanel>
  91. <customControl:TextBoxCustom Margin="20 0 0 0" Grid.Column="1" x:Name="_wife_TextBox" FontSize="44" TextMargin="20 0 20 0" DefeatMargin="20 0 20 0" Text="" Height="60" DefeatString="{DynamicResource C0149}" />
  92. </Grid>
  93. <StackPanel Orientation="Horizontal">
  94. <TextBlock Width="410" TextAlignment="Right" Text="{DynamicResource C0023}" FontSize="44" Foreground="#0B1B31" VerticalAlignment="Center" HorizontalAlignment="Right"/>
  95. <customControl:ComBoxCustom x:Name="_wifeYear" Margin="20 20 0 20" Width="169.5" Height="60" TipString="{DynamicResource C0151}" SelectionChanged="Wifi_SelectionChanged" DefeatImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownGrayIcon.png" OpenImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownBlueIcon.png"/>
  96. <customControl:ComBoxCustom x:Name="_wifeMonth" Margin="30 0 0 0" Width="169.5" Height="60" TipString="{DynamicResource C0152}" SelectionChanged="Wifi_SelectionChanged" DefeatImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownGrayIcon.png" OpenImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownBlueIcon.png"/>
  97. <customControl:ComBoxCustom x:Name="_wifeDay" Margin="30 0 0 0" Width="169.5" Height="60" TipString="{DynamicResource C0153}" SelectionChanged="Wifi_SelectionChanged" DefeatImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownGrayIcon.png" OpenImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownBlueIcon.png"/>
  98. <Border Margin="30 0 0 0" Width="169.5" Height="60" Background="#E4E4E4" CornerRadius="6" BorderBrush="#D1D1D1" BorderThickness="1">
  99. <TextBlock x:Name="_wifeAge" FontSize="44" Text="" Foreground="#A4A4A4" />
  100. </Border>
  101. <!--<Border Margin="20" Grid.Column="1" Grid.Row="4" Width="768" Height="60"
  102. MouseUp="WifeBirth_MouseUp"
  103. BorderThickness="1" BorderBrush="#707070" Background="White">
  104. <TextBlock Width="768" FontSize="44" x:Name="_wifeBirth_TextBox" Text="" HorizontalAlignment="Left"/>
  105. </Border>-->
  106. </StackPanel>
  107. <Grid Margin="0,20,0,20">
  108. <Grid.ColumnDefinitions>
  109. <ColumnDefinition Width="410" />
  110. <ColumnDefinition />
  111. </Grid.ColumnDefinitions>
  112. <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
  113. <Image Width="30" Height="30" Source="/ivf_tl_Operate;component/Resources/Image/RedStarIcon.png" />
  114. <TextBlock Margin="10 0 0 0" Text="{DynamicResource C0024}" FontSize="44" Foreground="#0B1B31" VerticalAlignment="Center" HorizontalAlignment="Right" />
  115. </StackPanel>
  116. <customControl:TextBoxCustom Margin="20 0 0 0" Grid.Column="1" x:Name="_husband_TextBox" FontSize="44" TextMargin="20 0 20 0" DefeatMargin="20 0 20 0" Text="" Height="60" DefeatString="{DynamicResource C0150}" />
  117. </Grid>
  118. <StackPanel Orientation="Horizontal">
  119. <TextBlock Width="410" TextAlignment="Right" Grid.Column="0" Grid.Row="4" Text="{DynamicResource C0025}" FontSize="44" Foreground="#0B1B31" VerticalAlignment="Center" HorizontalAlignment="Right"/>
  120. <customControl:ComBoxCustom x:Name="_husbandYear" Margin="20 20 0 20" Width="169.5" Height="60" TipString="{DynamicResource C0151}" SelectionChanged="HusBand_SelectionChanged" DefeatImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownGrayIcon.png" OpenImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownBlueIcon.png"/>
  121. <customControl:ComBoxCustom x:Name="_husbandMonth" Margin="30 0 0 0" Width="169.5" Height="60" TipString="{DynamicResource C0152}" SelectionChanged="HusBand_SelectionChanged" DefeatImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownGrayIcon.png" OpenImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownBlueIcon.png"/>
  122. <customControl:ComBoxCustom x:Name="_husbandDay" Margin="30 0 0 0" Width="169.5" Height="60" TipString="{DynamicResource C0153}" SelectionChanged="HusBand_SelectionChanged" DefeatImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownGrayIcon.png" OpenImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownBlueIcon.png"/>
  123. <Border Margin="30 0 0 0" Width="169.5" Height="60" Background="#E4E4E4" CornerRadius="6" BorderBrush="#D1D1D1" BorderThickness="1">
  124. <TextBlock x:Name="_husbandAge" FontSize="44" Text="" Foreground="#A4A4A4" />
  125. </Border>
  126. <!--<Border Margin="20" Grid.Column="1" Grid.Row="2" Width="768" Height="60"
  127. MouseUp="HusbandBirth_MouseUp"
  128. BorderThickness="1" BorderBrush="#707070" Background="White">
  129. <TextBlock Width="768" FontSize="44" x:Name="_husbandBirth_TextBox" Text="" HorizontalAlignment="Left"/>
  130. </Border>-->
  131. </StackPanel>
  132. <Grid Margin="0,20,0,20">
  133. <Grid.ColumnDefinitions>
  134. <ColumnDefinition Width="410" />
  135. <ColumnDefinition />
  136. </Grid.ColumnDefinitions>
  137. <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
  138. <Image Width="30" Height="30" Source="/ivf_tl_Operate;component/Resources/Image/RedStarIcon.png" />
  139. <TextBlock Margin="10 0 0 0" Text="{DynamicResource C0026}" FontSize="44" Foreground="#0B1B31" VerticalAlignment="Center" HorizontalAlignment="Right" />
  140. </StackPanel>
  141. <Border Margin="20 0 0 0" CornerRadius="6" x:Name="_Border_TextBox" Grid.Column="1" Grid.Row="6" Height="60" MouseUp="StartTime_MouseUp" BorderThickness="1" BorderBrush="#707070" Background="White">
  142. <TextBlock Padding="20 0 0 0" FontSize="44" Foreground="#C9C9C9" x:Name="_startTime_TextBox" Text="{DynamicResource C0154}" HorizontalAlignment="Left"/>
  143. </Border>
  144. </Grid>
  145. <Grid Margin="0,20,0,20">
  146. <Grid.ColumnDefinitions>
  147. <ColumnDefinition Width="410" />
  148. <ColumnDefinition />
  149. </Grid.ColumnDefinitions>
  150. <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
  151. <Image Width="30" Height="30" Source="/ivf_tl_Operate;component/Resources/Image/RedStarIcon.png" />
  152. <TextBlock Margin="10 0 0 0" Text="{DynamicResource C0027}" FontSize="44" Foreground="#0B1B31" VerticalAlignment="Center" HorizontalAlignment="Right" />
  153. </StackPanel>
  154. <customControl:ComBoxCustom ItemPlacementMode="Top" Grid.Column="1" TipString="{DynamicResource C0155}" Margin="20 0 0 0"
  155. x:Name="_freType_ComboBox" Height="60" DisplayMemberPath="dictName"
  156. DefeatImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownGrayIcon.png"
  157. OpenImageSource="pack://application:,,,/ivf_tl_Operate;component/Resources/Image/PullDownBlueIcon.png"/>
  158. </Grid>
  159. <TextBlock x:Name="_errorInfo_TextBlock" Margin="400 0 0 0" Text="" FontSize="22" Foreground="Red" VerticalAlignment="Center" HorizontalAlignment="Left"/>
  160. </StackPanel>
  161. <StackPanel Grid.Row="3">
  162. <Rectangle Width="1422" Height="2" Fill="#FAFAFA"/>
  163. <Rectangle Width="1422" Height="2" Fill="#DDDEE0"/>
  164. </StackPanel>
  165. <!--按钮-->
  166. <StackPanel x:Name="_addDishButton" Visibility="Hidden" Grid.Row="4" HorizontalAlignment="Center" Orientation="Horizontal" Height="250">
  167. <customControl:ButtonCornerRadius x:Name="_balance_Button" Click="StartBalance_Click" Width="366" Height="120" CornerRadius="60" Background="#d2ac7e" BorderThickness="0" Content="{DynamicResource C0261}" FontSize="46" FontWeight="Bold" Foreground="#0D0604" Margin="20 20 0 20"/>
  168. <customControl:ButtonCornerRadius Click="StartDish_Click" Width="366" Height="120" CornerRadius="60" Background="#2e9ad2" BorderThickness="0" Content="{DynamicResource C0030}" FontSize="46" FontWeight="Bold" Foreground="#0D0604" Margin="142 20 20 20"/>
  169. <!--<customControl:ButtonCornerRadius Click="Cancel_Click" Width="366" Height="120" CornerRadius="60" Background="#B0B4B9" BorderThickness="0" Content="取消" FontSize="46" FontWeight="Bold" Foreground="White" Margin="142 20 0 20"/>-->
  170. </StackPanel>
  171. <StackPanel x:Name="_editDishButton" HorizontalAlignment="Center" Visibility="Hidden" Grid.Row="4" Orientation="Horizontal" Height="250">
  172. <customControl:ButtonCornerRadius Click="EditDishSave_Click" Width="366" Height="120" CornerRadius="60" Background="#2e9ad2" BorderThickness="0" Content="{DynamicResource C0030}" FontSize="46" FontWeight="Bold" Foreground="#0D0604" />
  173. <!--<customControl:ButtonCornerRadius Click="Cancel_Click" Width="366" Height="120" CornerRadius="60" Background="#B0B4B9" BorderThickness="0" Content="取消" FontSize="46" FontWeight="Bold" Foreground="White" Margin="491 20 100 20"/>-->
  174. </StackPanel>
  175. </Grid>
  176. </Border>
  177. <Grid x:Name="_mask" Grid.Row="0" Grid.RowSpan="2" Opacity="0.8" Background="Black" Visibility="Hidden" />
  178. </Grid>
  179. </Window>