终端一体化运控平台
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
2 лет назад
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677
  1. <ResourceDictionary
  2. xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  4. xmlns:Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero">
  5. <ImageBrush x:Key="imageBJ" ImageSource="/BPASmartClient.CustomResource;component/Image/图层1.png" />
  6. <ImageBrush x:Key="image1" ImageSource="/BPASmartClient.CustomResource;component/Image/shape.png" />
  7. <ImageBrush x:Key="image2" ImageSource="/BPASmartClient.CustomResource;component/Image/shape1.png" />
  8. <!--#region Label-->
  9. <Style TargetType="{x:Type Label}">
  10. <Setter Property="Foreground" Value="#FF00EEF3" />
  11. <Setter Property="Background" Value="Transparent" />
  12. <Setter Property="Padding" Value="5" />
  13. <Setter Property="HorizontalContentAlignment" Value="Left" />
  14. <Setter Property="VerticalContentAlignment" Value="Top" />
  15. <Setter Property="FontSize" Value="18" />
  16. <Setter Property="Template">
  17. <Setter.Value>
  18. <ControlTemplate TargetType="{x:Type Label}">
  19. <Border
  20. Padding="{TemplateBinding Padding}"
  21. Background="{TemplateBinding Background}"
  22. BorderBrush="{TemplateBinding BorderBrush}"
  23. BorderThickness="{TemplateBinding BorderThickness}"
  24. SnapsToDevicePixels="true">
  25. <ContentPresenter
  26. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  27. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  28. RecognizesAccessKey="True"
  29. SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
  30. </Border>
  31. <ControlTemplate.Triggers>
  32. <Trigger Property="IsEnabled" Value="false">
  33. <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
  34. </Trigger>
  35. </ControlTemplate.Triggers>
  36. </ControlTemplate>
  37. </Setter.Value>
  38. </Setter>
  39. </Style>
  40. <!--#endregion-->
  41. <!--#region Color-->
  42. <SolidColorBrush x:Key="foreground" Color="#FFA2C2E8" />
  43. <!--#endregion-->
  44. <!--#region ToggleButton-->
  45. <Style x:Key="StatusBtnStyle告警" TargetType="ToggleButton">
  46. <Style.Setters>
  47. <Setter Property="Width" Value="30" />
  48. <Setter Property="Height" Value="19" />
  49. <Setter Property="Cursor" Value="Hand" />
  50. <Setter Property="IsChecked" Value="{Binding IsCheck, Mode=TwoWay}" />
  51. <Setter Property="Template">
  52. <Setter.Value>
  53. <ControlTemplate TargetType="ToggleButton">
  54. <Grid Cursor="Hand">
  55. <Border
  56. x:Name="bd1"
  57. Width="25"
  58. Height="13"
  59. Margin="0,-10,-5,0"
  60. HorizontalAlignment="Right"
  61. VerticalAlignment="Top"
  62. Panel.ZIndex="100"
  63. Background="#2600CAFF"
  64. CornerRadius="3"
  65. Cursor="Hand"
  66. Visibility="Collapsed">
  67. <TextBlock
  68. HorizontalAlignment="Center"
  69. FontSize="8"
  70. Foreground="#FF00E6F7"
  71. Text="{Binding ListNum}" />
  72. <!-- -->
  73. </Border>
  74. <Image
  75. x:Name="image1"
  76. Width="{TemplateBinding Width}"
  77. Height="{TemplateBinding Height}"
  78. Panel.ZIndex="0"
  79. RenderOptions.BitmapScalingMode="HighQuality"
  80. SnapsToDevicePixels="True"
  81. Source="/BPASmartClient.CustomResource;component/Image/告警/无告警.png"
  82. UseLayoutRounding="True" />
  83. </Grid>
  84. <ControlTemplate.Triggers>
  85. <Trigger Property="IsChecked" Value="true">
  86. <Setter TargetName="image1" Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警/严重告警.png" />
  87. </Trigger>
  88. <MultiDataTrigger>
  89. <MultiDataTrigger.Conditions>
  90. <Condition Binding="{Binding IsCheck}" Value="true" />
  91. <Condition Binding="{Binding IsAlarm}" Value="true" />
  92. </MultiDataTrigger.Conditions>
  93. <MultiDataTrigger.Setters>
  94. <Setter TargetName="image1" Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警/严重告警.png" />
  95. <Setter TargetName="bd1" Property="Visibility" Value="Visible" />
  96. </MultiDataTrigger.Setters>
  97. </MultiDataTrigger>
  98. </ControlTemplate.Triggers>
  99. </ControlTemplate>
  100. </Setter.Value>
  101. </Setter>
  102. </Style.Setters>
  103. </Style>
  104. <Style x:Key="StatusBtnStyle网络连接状态" TargetType="ToggleButton">
  105. <Style.Setters>
  106. <Setter Property="Width" Value="20" />
  107. <Setter Property="Height" Value="25" />
  108. <Setter Property="Cursor" Value="Hand" />
  109. <Setter Property="IsChecked" Value="{Binding IsCheck, Mode=TwoWay}" />
  110. <Setter Property="Template">
  111. <Setter.Value>
  112. <ControlTemplate TargetType="ToggleButton">
  113. <Grid Cursor="Hand">
  114. <Image
  115. x:Name="image1"
  116. Width="{TemplateBinding Width}"
  117. Height="{TemplateBinding Height}"
  118. Panel.ZIndex="0"
  119. RenderOptions.BitmapScalingMode="HighQuality"
  120. SnapsToDevicePixels="True"
  121. Source="/BPASmartClient.CustomResource;component/Image/告警/Wifi_NO.png"
  122. UseLayoutRounding="True" />
  123. </Grid>
  124. <ControlTemplate.Triggers>
  125. <Trigger Property="IsChecked" Value="true">
  126. <Setter TargetName="image1" Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警/Wifi_OK.png" />
  127. </Trigger>
  128. <MultiDataTrigger>
  129. <MultiDataTrigger.Conditions>
  130. <Condition Binding="{Binding IsCheck}" Value="true" />
  131. <Condition Binding="{Binding IsAlarm}" Value="true" />
  132. </MultiDataTrigger.Conditions>
  133. <MultiDataTrigger.Setters>
  134. <Setter TargetName="image1" Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警/Wifi_OK.png" />
  135. </MultiDataTrigger.Setters>
  136. </MultiDataTrigger>
  137. </ControlTemplate.Triggers>
  138. </ControlTemplate>
  139. </Setter.Value>
  140. </Setter>
  141. </Style.Setters>
  142. </Style>
  143. <!--#endregion-->
  144. <!--#region Image-->
  145. <Style TargetType="Image">
  146. <Style.Setters>
  147. <Setter Property="UseLayoutRounding" Value="True" />
  148. <Setter Property="SnapsToDevicePixels" Value="True" />
  149. <Setter Property="RenderOptions.BitmapScalingMode" Value="HighQuality" />
  150. </Style.Setters>
  151. </Style>
  152. <Style x:Key="imagetop_维护" TargetType="Image">
  153. <Style.Setters>
  154. <Setter Property="Width" Value="20" />
  155. <Setter Property="Height" Value="22" />
  156. <Setter Property="VerticalAlignment" Value="Top" />
  157. <Setter Property="HorizontalAlignment" Value="Center" />
  158. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/维护.png" />
  159. </Style.Setters>
  160. </Style>
  161. <Style x:Key="imagetop_功能列表" TargetType="Image">
  162. <Style.Setters>
  163. <Setter Property="Width" Value="20" />
  164. <Setter Property="Height" Value="22" />
  165. <Setter Property="VerticalAlignment" Value="Top" />
  166. <Setter Property="HorizontalAlignment" Value="Center" />
  167. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/功能列表.png" />
  168. </Style.Setters>
  169. </Style>
  170. <Style x:Key="imagetop_产品制作" TargetType="Image">
  171. <Style.Setters>
  172. <Setter Property="Width" Value="20" />
  173. <Setter Property="Height" Value="22" />
  174. <Setter Property="VerticalAlignment" Value="Top" />
  175. <Setter Property="HorizontalAlignment" Value="Center" />
  176. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/产品制作.png" />
  177. </Style.Setters>
  178. </Style>
  179. <Style x:Key="imagetop_L" TargetType="Image">
  180. <Style.Setters>
  181. <Setter Property="Height" Value="80" />
  182. <Setter Property="VerticalAlignment" Value="Top" />
  183. <Setter Property="HorizontalAlignment" Value="Left" />
  184. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/顶部切图/Top_L.png" />
  185. </Style.Setters>
  186. </Style>
  187. <Style x:Key="imagetop_Title" TargetType="Image">
  188. <Style.Setters>
  189. <Setter Property="Width" Value="250" />
  190. <Setter Property="VerticalAlignment" Value="Top" />
  191. <Setter Property="HorizontalAlignment" Value="Left" />
  192. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/顶部切图/黑菠萝智慧餐饮管理系统.png" />
  193. </Style.Setters>
  194. </Style>
  195. <Style x:Key="imagetop_矩形" TargetType="Image">
  196. <Style.Setters>
  197. <Setter Property="VerticalAlignment" Value="Top" />
  198. <Setter Property="HorizontalAlignment" Value="Left" />
  199. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/顶部切图/顶部矩形.png" />
  200. </Style.Setters>
  201. </Style>
  202. <Style x:Key="imagetop" TargetType="Image">
  203. <Style.Setters>
  204. <Setter Property="VerticalAlignment" Value="Top" />
  205. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/topTitle.png" />
  206. </Style.Setters>
  207. </Style>
  208. <Style x:Key="imagetop1" TargetType="Image">
  209. <Style.Setters>
  210. <Setter Property="VerticalAlignment" Value="Top" />
  211. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/顶部.png" />
  212. </Style.Setters>
  213. </Style>
  214. <Style x:Key="image营销额" TargetType="Image">
  215. <Style.Setters>
  216. <Setter Property="VerticalAlignment" Value="Bottom" />
  217. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/营销额.png" />
  218. </Style.Setters>
  219. </Style>
  220. <Style x:Key="imagetitletext" TargetType="Image">
  221. <Style.Setters>
  222. <Setter Property="Height" Value="20" />
  223. <Setter Property="VerticalAlignment" Value="Center" />
  224. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/titletext.png" />
  225. </Style.Setters>
  226. </Style>
  227. <Style x:Key="image圆角矩形" TargetType="Image">
  228. <Style.Setters>
  229. <Setter Property="Height" Value="33" />
  230. <Setter Property="VerticalAlignment" Value="Center" />
  231. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/圆角矩形 4.png" />
  232. </Style.Setters>
  233. </Style>
  234. <Style x:Key="image黑菠萝科技" TargetType="Image">
  235. <Style.Setters>
  236. <Setter Property="HorizontalAlignment" Value="Center" />
  237. <Setter Property="Height" Value="24" />
  238. <Setter Property="Width" Value="70" />
  239. <Setter Property="VerticalAlignment" Value="Bottom" />
  240. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/黑菠萝科技.png" />
  241. </Style.Setters>
  242. </Style>
  243. <Style x:Key="MainBJ" TargetType="Image">
  244. <Style.Setters>
  245. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/背景图片.png" />
  246. </Style.Setters>
  247. </Style>
  248. <Style x:Key="TitleImage" TargetType="Image">
  249. <Style.Setters>
  250. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/hbl.ico" />
  251. </Style.Setters>
  252. </Style>
  253. <Style x:Key="timeImage" TargetType="Image">
  254. <Style.Setters>
  255. <Setter Property="Width" Value="20" />
  256. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/日期1.png" />
  257. </Style.Setters>
  258. </Style>
  259. <Style x:Key="image文字" TargetType="Image">
  260. <Style.Setters>
  261. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/文字.png" />
  262. </Style.Setters>
  263. </Style>
  264. <Style x:Key="image底部科技背景" TargetType="Image">
  265. <Style.Setters>
  266. <Setter Property="VerticalAlignment" Value="Bottom" />
  267. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/底部背景.png" />
  268. </Style.Setters>
  269. </Style>
  270. <Style x:Key="image个人信息" TargetType="Image">
  271. <Style.Setters>
  272. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/个人信息.png" />
  273. </Style.Setters>
  274. </Style>
  275. <Style x:Key="image维护" TargetType="Image">
  276. <Style.Setters>
  277. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/维护.png" />
  278. </Style.Setters>
  279. </Style>
  280. <Style x:Key="image标题其他" TargetType="Image">
  281. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/顶部矩形.png" />
  282. <Setter Property="Height" Value="12" />
  283. </Style>
  284. <Style x:Key="image告警" TargetType="Image">
  285. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/告警.png" />
  286. <Setter Property="Height" Value="24" />
  287. </Style>
  288. <Style x:Key="image有告警" TargetType="Image">
  289. <Setter Property="Source" Value="/BPASmartClient.CustomResource;component/Image/有告警.png" />
  290. <Setter Property="Height" Value="30" />
  291. </Style>
  292. <!--#endregion-->
  293. <!--#region Border-->
  294. <Style x:Key="FromBJ" TargetType="Border">
  295. <Style.Setters>
  296. <Setter Property="Background">
  297. <Setter.Value>
  298. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/窗体背景.png" />
  299. </Setter.Value>
  300. </Setter>
  301. </Style.Setters>
  302. </Style>
  303. <Style x:Key="button_no" TargetType="Border">
  304. <Style.Setters>
  305. <Setter Property="Background">
  306. <Setter.Value>
  307. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/Button_No.png" />
  308. </Setter.Value>
  309. </Setter>
  310. </Style.Setters>
  311. </Style>
  312. <Style x:Key="button_select" TargetType="Border">
  313. <Style.Setters>
  314. <Setter Property="Background">
  315. <Setter.Value>
  316. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/Button_Select.png" />
  317. </Setter.Value>
  318. </Setter>
  319. </Style.Setters>
  320. </Style>
  321. <Style x:Key="bordertopL" TargetType="Border">
  322. <Style.Setters>
  323. <Setter Property="Height" Value="80" />
  324. <Setter Property="Width" Value="300" />
  325. <Setter Property="VerticalAlignment" Value="Top" />
  326. <Setter Property="HorizontalAlignment" Value="Left" />
  327. <Setter Property="Background">
  328. <Setter.Value>
  329. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/Top_L.png" />
  330. </Setter.Value>
  331. </Setter>
  332. </Style.Setters>
  333. </Style>
  334. <Style x:Key="border阴影边框" TargetType="Border">
  335. <Style.Setters>
  336. <Setter Property="Height" Value="50" />
  337. <Setter Property="VerticalAlignment" Value="Top" />
  338. <Setter Property="Background">
  339. <Setter.Value>
  340. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/阴影边框.png" />
  341. </Setter.Value>
  342. </Setter>
  343. </Style.Setters>
  344. </Style>
  345. <Style x:Key="border阴影边框扩展" TargetType="Border">
  346. <Style.Setters>
  347. <Setter Property="Background">
  348. <Setter.Value>
  349. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/阴影边框.png" />
  350. </Setter.Value>
  351. </Setter>
  352. </Style.Setters>
  353. </Style>
  354. <Style x:Key="border边角" TargetType="Border">
  355. <Style.Setters>
  356. <Setter Property="Background">
  357. <Setter.Value>
  358. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/边角.png" />
  359. </Setter.Value>
  360. </Setter>
  361. </Style.Setters>
  362. </Style>
  363. <Style x:Key="bordertop矩形" TargetType="Border">
  364. <Style.Setters>
  365. <Setter Property="Background">
  366. <Setter.Value>
  367. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/顶部矩形.png" />
  368. </Setter.Value>
  369. </Setter>
  370. </Style.Setters>
  371. </Style>
  372. <Style x:Key="bordertopTitle" TargetType="Border">
  373. <Style.Setters>
  374. <Setter Property="Height" Value="100" />
  375. <Setter Property="Background">
  376. <Setter.Value>
  377. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/topTitle.png" />
  378. </Setter.Value>
  379. </Setter>
  380. </Style.Setters>
  381. </Style>
  382. <Style x:Key="borderFromTitle" TargetType="Border">
  383. <Style.Setters>
  384. <Setter Property="Background">
  385. <Setter.Value>
  386. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/tittle.png" />
  387. </Setter.Value>
  388. </Setter>
  389. </Style.Setters>
  390. </Style>
  391. <Style x:Key="border窗体背景1" TargetType="Border">
  392. <Style.Setters>
  393. <Setter Property="Background">
  394. <Setter.Value>
  395. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景1.png" />
  396. </Setter.Value>
  397. </Setter>
  398. </Style.Setters>
  399. </Style>
  400. <Style x:Key="border窗体背景2" TargetType="Border">
  401. <Style.Setters>
  402. <Setter Property="Background">
  403. <Setter.Value>
  404. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景2.png" Stretch="Uniform" />
  405. </Setter.Value>
  406. </Setter>
  407. </Style.Setters>
  408. </Style>
  409. <Style x:Key="borderPop_bg" TargetType="Border">
  410. <Style.Setters>
  411. <Setter Property="Background">
  412. <Setter.Value>
  413. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/Pop_bg.png" />
  414. </Setter.Value>
  415. </Setter>
  416. </Style.Setters>
  417. </Style>
  418. <Style x:Key="border背景two" TargetType="Border">
  419. <Style.Setters>
  420. <Setter Property="Background">
  421. <Setter.Value>
  422. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/背景2.png" />
  423. </Setter.Value>
  424. </Setter>
  425. </Style.Setters>
  426. </Style>
  427. <Style x:Key="border窗体背景3" TargetType="Border">
  428. <Style.Setters>
  429. <Setter Property="Background">
  430. <Setter.Value>
  431. <ImageBrush
  432. ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景3.png"
  433. Opacity="1"
  434. Stretch="Fill"
  435. TileMode="FlipX"
  436. Viewbox="0,0,1,1"
  437. ViewboxUnits="RelativeToBoundingBox" />
  438. </Setter.Value>
  439. </Setter>
  440. </Style.Setters>
  441. </Style>
  442. <Style x:Key="border窗体背景4" TargetType="Border">
  443. <Style.Setters>
  444. <Setter Property="Background">
  445. <Setter.Value>
  446. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景4.png" />
  447. </Setter.Value>
  448. </Setter>
  449. </Style.Setters>
  450. </Style>
  451. <Style x:Key="border窗体背景5" TargetType="Border">
  452. <Style.Setters>
  453. <Setter Property="Background">
  454. <Setter.Value>
  455. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景5.png" />
  456. </Setter.Value>
  457. </Setter>
  458. </Style.Setters>
  459. </Style>
  460. <Style x:Key="border窗体背景6" TargetType="Border">
  461. <Style.Setters>
  462. <Setter Property="Background">
  463. <Setter.Value>
  464. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景6.png" />
  465. </Setter.Value>
  466. </Setter>
  467. </Style.Setters>
  468. </Style>
  469. <Style x:Key="border窗体背景7" TargetType="Border">
  470. <Style.Setters>
  471. <Setter Property="Background">
  472. <Setter.Value>
  473. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/窗体背景7.png" Stretch="None" />
  474. </Setter.Value>
  475. </Setter>
  476. </Style.Setters>
  477. </Style>
  478. <Style x:Key="border圆角矩形" TargetType="Border">
  479. <Style.Setters>
  480. <Setter Property="BorderThickness" Value="3" />
  481. <Setter Property="Background">
  482. <Setter.Value>
  483. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/圆角矩形.png" />
  484. </Setter.Value>
  485. </Setter>
  486. </Style.Setters>
  487. </Style>
  488. <Style x:Key="border不规则矩形" TargetType="Border">
  489. <Style.Setters>
  490. <Setter Property="BorderThickness" Value="0.5" />
  491. <Setter Property="Background">
  492. <Setter.Value>
  493. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/不规则矩形.png" />
  494. </Setter.Value>
  495. </Setter>
  496. </Style.Setters>
  497. </Style>
  498. <Style x:Key="border矩形" TargetType="Border">
  499. <Style.Setters>
  500. <Setter Property="Background">
  501. <Setter.Value>
  502. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形.png" />
  503. </Setter.Value>
  504. </Setter>
  505. </Style.Setters>
  506. </Style>
  507. <Style x:Key="border顶部背景" TargetType="Border">
  508. <Style.Setters>
  509. <Setter Property="Background">
  510. <Setter.Value>
  511. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部背景.png" />
  512. </Setter.Value>
  513. </Setter>
  514. <Setter Property="BorderBrush">
  515. <Setter.Value>
  516. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部线条.png" />
  517. </Setter.Value>
  518. </Setter>
  519. <Setter Property="BorderThickness" Value="0,0,0,1" />
  520. </Style.Setters>
  521. </Style>
  522. <Style x:Key="border标题背景" TargetType="Border">
  523. <Style.Setters>
  524. <Setter Property="Background">
  525. <Setter.Value>
  526. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/标题背景.png" />
  527. </Setter.Value>
  528. </Setter>
  529. </Style.Setters>
  530. </Style>
  531. <Style x:Key="border主窗体背景" TargetType="Border">
  532. <Style.Setters>
  533. <Setter Property="Background">
  534. <Setter.Value>
  535. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/背景.png" />
  536. </Setter.Value>
  537. </Setter>
  538. </Style.Setters>
  539. </Style>
  540. <Style x:Key="border界面背景" TargetType="Border">
  541. <Style.Setters>
  542. <Setter Property="Background">
  543. <Setter.Value>
  544. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/窗体背景2.png" />
  545. </Setter.Value>
  546. </Setter>
  547. </Style.Setters>
  548. </Style>
  549. <Style x:Key="border顶部标题背景" TargetType="Border">
  550. <Style.Setters>
  551. <Setter Property="Background">
  552. <Setter.Value>
  553. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部.png" />
  554. </Setter.Value>
  555. </Setter>
  556. </Style.Setters>
  557. </Style>
  558. <Style x:Key="border竖线" TargetType="Border">
  559. <Style.Setters>
  560. <Setter Property="Width" Value="1" />
  561. <Setter Property="Height" Value="40" />
  562. <Setter Property="BorderThickness" Value="0" />
  563. <Setter Property="Margin" Value="5" />
  564. <Setter Property="Background">
  565. <Setter.Value>
  566. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/竖线.png" />
  567. </Setter.Value>
  568. </Setter>
  569. </Style.Setters>
  570. </Style>
  571. <Style x:Key="border内部" TargetType="Border">
  572. <Style.Setters>
  573. <Setter Property="Width" Value="320" />
  574. <Setter Property="HorizontalAlignment" Value="Stretch" />
  575. <Setter Property="VerticalAlignment" Value="Stretch" />
  576. <Setter Property="BorderThickness" Value="0" />
  577. <Setter Property="Margin" Value="5" />
  578. <Setter Property="Background">
  579. <Setter.Value>
  580. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/内部.png" />
  581. </Setter.Value>
  582. </Setter>
  583. </Style.Setters>
  584. </Style>
  585. <Style x:Key="border矩形2" TargetType="Border">
  586. <Style.Setters>
  587. <Setter Property="Margin" Value="0,0,10,0" />
  588. <Setter Property="VerticalAlignment" Value="Top" />
  589. <Setter Property="HorizontalAlignment" Value="Left" />
  590. <Setter Property="Width" Value="92" />
  591. <Setter Property="Height" Value="46" />
  592. <Setter Property="BorderThickness" Value="0" />
  593. <Setter Property="Background">
  594. <Setter.Value>
  595. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形1.png" />
  596. </Setter.Value>
  597. </Setter>
  598. </Style.Setters>
  599. </Style>
  600. <Style x:Key="border矢量智能对象" TargetType="Border">
  601. <Style.Setters>
  602. <Setter Property="Width" Value="1" />
  603. <Setter Property="Height" Value="40" />
  604. <Setter Property="BorderThickness" Value="0" />
  605. <Setter Property="Margin" Value="5" />
  606. <Setter Property="Background">
  607. <Setter.Value>
  608. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/背景矢量/矢量智能对象.png" />
  609. </Setter.Value>
  610. </Setter>
  611. </Style.Setters>
  612. </Style>
  613. <Style x:Key="border边框" TargetType="Border">
  614. <Style.Setters>
  615. <Setter Property="Background">
  616. <Setter.Value>
  617. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形样式.png" />
  618. </Setter.Value>
  619. </Setter>
  620. </Style.Setters>
  621. </Style>
  622. <Style x:Key="border边框2" TargetType="Border">
  623. <Style.Setters>
  624. <Setter Property="Background">
  625. <Setter.Value>
  626. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/边框效果2.png" Stretch="Fill" />
  627. </Setter.Value>
  628. </Setter>
  629. </Style.Setters>
  630. </Style>
  631. <Style x:Key="border右下" TargetType="Border">
  632. <Style.Setters>
  633. <Setter Property="HorizontalAlignment" Value="Right" />
  634. <Setter Property="VerticalAlignment" Value="Bottom" />
  635. <Setter Property="Height" Value="23" />
  636. <Setter Property="Width" Value="22" />
  637. <Setter Property="Background">
  638. <Setter.Value>
  639. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/右下.png" Stretch="None" />
  640. </Setter.Value>
  641. </Setter>
  642. </Style.Setters>
  643. </Style>
  644. <Style x:Key="border左下" TargetType="Border">
  645. <Style.Setters>
  646. <Setter Property="HorizontalAlignment" Value="Left" />
  647. <Setter Property="VerticalAlignment" Value="Bottom" />
  648. <Setter Property="Height" Value="22" />
  649. <Setter Property="Width" Value="23" />
  650. <Setter Property="Background">
  651. <Setter.Value>
  652. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/左下.png" Stretch="None" />
  653. </Setter.Value>
  654. </Setter>
  655. </Style.Setters>
  656. </Style>
  657. <Style x:Key="border左上" TargetType="Border">
  658. <Style.Setters>
  659. <Setter Property="HorizontalAlignment" Value="Left" />
  660. <Setter Property="VerticalAlignment" Value="Top" />
  661. <Setter Property="Height" Value="22" />
  662. <Setter Property="Width" Value="23" />
  663. <Setter Property="Background">
  664. <Setter.Value>
  665. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/左边.png" Stretch="None" />
  666. </Setter.Value>
  667. </Setter>
  668. </Style.Setters>
  669. </Style>
  670. <Style x:Key="border右上" TargetType="Border">
  671. <Style.Setters>
  672. <Setter Property="HorizontalAlignment" Value="Right" />
  673. <Setter Property="VerticalAlignment" Value="Top" />
  674. <Setter Property="Height" Value="23" />
  675. <Setter Property="Width" Value="22" />
  676. <Setter Property="Background">
  677. <Setter.Value>
  678. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/From/右上.png" Stretch="None" />
  679. </Setter.Value>
  680. </Setter>
  681. </Style.Setters>
  682. </Style>
  683. <!--#endregion-->
  684. <!--#region Button-->
  685. <Style x:Key="TitleBarStyle" TargetType="Button">
  686. <Setter Property="Foreground" Value="White" />
  687. <Setter Property="FontSize" Value="20" />
  688. <Setter Property="FontFamily" Value="/BPASmartClient.CustomResource;component/Fonts/#iconfont" />
  689. <Setter Property="Template">
  690. <Setter.Value>
  691. <ControlTemplate TargetType="Button">
  692. <Border Name="TitleBarBr" Background="Transparent">
  693. <ContentPresenter
  694. Margin="{TemplateBinding Margin}"
  695. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  696. VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
  697. </Border>
  698. <ControlTemplate.Triggers>
  699. <Trigger Property="IsMouseOver" Value="true">
  700. <Setter TargetName="TitleBarBr" Property="Background" Value="#22ffffff" />
  701. </Trigger>
  702. </ControlTemplate.Triggers>
  703. </ControlTemplate>
  704. </Setter.Value>
  705. </Setter>
  706. </Style>
  707. <Style x:Key="CommonBtnStyle退出按钮" TargetType="Button">
  708. <Style.Setters>
  709. <Setter Property="VerticalContentAlignment" Value="Center" />
  710. <Setter Property="HorizontalContentAlignment" Value="Center" />
  711. <Setter Property="Cursor" Value="Hand" />
  712. <Setter Property="Width" Value="65" />
  713. <Setter Property="Height" Value="24" />
  714. <Setter Property="HorizontalAlignment" Value="Right" />
  715. <Setter Property="Template">
  716. <Setter.Value>
  717. <ControlTemplate TargetType="Button">
  718. <!--<ControlTemplate.Resources>
  719. <Storyboard x:Key="OnMouseEnter1">
  720. <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="BD">
  721. <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF139DDB"/>
  722. </ColorAnimationUsingKeyFrames>
  723. <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="BD">
  724. <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF135EC2"/>
  725. </ColorAnimationUsingKeyFrames>
  726. </Storyboard>
  727. </ControlTemplate.Resources>-->
  728. <Border x:Name="BD" CornerRadius="2">
  729. <Border.Background>
  730. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/退出按钮.png" />
  731. </Border.Background>
  732. <StackPanel
  733. Margin="5"
  734. HorizontalAlignment="Center"
  735. Orientation="Horizontal">
  736. <Image Width="16" Source="/BPASmartClient.CustomResource;component/Image/退出.png" />
  737. <TextBlock
  738. x:Name="textBlock"
  739. Margin="5,0,0,0"
  740. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  741. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  742. FontSize="14"
  743. Foreground="#A5FFFFFF"
  744. Text="{TemplateBinding Content}" />
  745. </StackPanel>
  746. <VisualStateManager.VisualStateGroups>
  747. <VisualStateGroup x:Name="CommonStates">
  748. <VisualState x:Name="Normal" />
  749. <VisualState x:Name="MouseOver">
  750. <Storyboard>
  751. <ColorAnimationUsingKeyFrames Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)">
  752. <EasingColorKeyFrame KeyTime="0" Value="White" />
  753. </ColorAnimationUsingKeyFrames>
  754. <!--<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="BD">
  755. <EasingColorKeyFrame KeyTime="0" Value="#FF135EC2"/>
  756. </ColorAnimationUsingKeyFrames>
  757. <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Offset)" Storyboard.TargetName="BD">
  758. <EasingDoubleKeyFrame KeyTime="0" Value="0.007"/>
  759. </DoubleAnimationUsingKeyFrames>
  760. <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="BD">
  761. <EasingColorKeyFrame KeyTime="0" Value="#FF139DDB"/>
  762. </ColorAnimationUsingKeyFrames>-->
  763. </Storyboard>
  764. </VisualState>
  765. <VisualState x:Name="Pressed" />
  766. <VisualState x:Name="Disabled" />
  767. </VisualStateGroup>
  768. </VisualStateManager.VisualStateGroups>
  769. </Border>
  770. </ControlTemplate>
  771. </Setter.Value>
  772. </Setter>
  773. </Style.Setters>
  774. </Style>
  775. <Style x:Key="CommonBtnStyle返回按钮" TargetType="Button">
  776. <Style.Setters>
  777. <Setter Property="VerticalContentAlignment" Value="Center" />
  778. <Setter Property="HorizontalContentAlignment" Value="Center" />
  779. <Setter Property="Cursor" Value="Hand" />
  780. <Setter Property="Width" Value="65" />
  781. <Setter Property="Height" Value="24" />
  782. <Setter Property="HorizontalAlignment" Value="Right" />
  783. <Setter Property="Template">
  784. <Setter.Value>
  785. <ControlTemplate TargetType="Button">
  786. <Border x:Name="BD" CornerRadius="2">
  787. <Border.Background>
  788. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/窗体样式/Tab/Tab_NoWZBJ.png" />
  789. </Border.Background>
  790. <StackPanel
  791. Margin="5"
  792. HorizontalAlignment="Center"
  793. Orientation="Horizontal">
  794. <Image Width="16" Source="/BPASmartClient.CustomResource;component/Image/退出.png" />
  795. <TextBlock
  796. x:Name="textBlock"
  797. Margin="5,0,0,0"
  798. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  799. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  800. Foreground="#A5FFFFFF"
  801. Text="{TemplateBinding Content}" />
  802. </StackPanel>
  803. <VisualStateManager.VisualStateGroups>
  804. <VisualStateGroup x:Name="CommonStates">
  805. <VisualState x:Name="Normal" />
  806. <VisualState x:Name="MouseOver">
  807. <Storyboard>
  808. <ColorAnimationUsingKeyFrames Storyboard.TargetName="textBlock" Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)">
  809. <EasingColorKeyFrame KeyTime="0" Value="White" />
  810. </ColorAnimationUsingKeyFrames>
  811. </Storyboard>
  812. </VisualState>
  813. <VisualState x:Name="Pressed" />
  814. <VisualState x:Name="Disabled" />
  815. </VisualStateGroup>
  816. </VisualStateManager.VisualStateGroups>
  817. </Border>
  818. </ControlTemplate>
  819. </Setter.Value>
  820. </Setter>
  821. </Style.Setters>
  822. </Style>
  823. <Style x:Key="CommonBtn_1" TargetType="Button">
  824. <Style.Setters>
  825. <Setter Property="VerticalContentAlignment" Value="Center" />
  826. <Setter Property="Cursor" Value="Hand" />
  827. <Setter Property="Foreground" Value="{DynamicResource foreground}" />
  828. <Setter Property="Width" Value="65" />
  829. <Setter Property="Height" Value="24" />
  830. <Setter Property="Template">
  831. <Setter.Value>
  832. <ControlTemplate TargetType="Button">
  833. <ControlTemplate.Resources>
  834. <Storyboard x:Key="OnMouseEnter1">
  835. <ColorAnimationUsingKeyFrames Storyboard.TargetName="BD" Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
  836. <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF139DDB" />
  837. </ColorAnimationUsingKeyFrames>
  838. <ColorAnimationUsingKeyFrames Storyboard.TargetName="BD" Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
  839. <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF135EC2" />
  840. </ColorAnimationUsingKeyFrames>
  841. </Storyboard>
  842. </ControlTemplate.Resources>
  843. <Border
  844. x:Name="BD"
  845. Background="Transparent"
  846. BorderBrush="#05408a"
  847. BorderThickness="1"
  848. CornerRadius="12">
  849. <TextBlock
  850. x:Name="textBlock"
  851. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  852. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  853. FontSize="12"
  854. Foreground="{DynamicResource foreground}"
  855. Text="{TemplateBinding Content}" />
  856. </Border>
  857. <ControlTemplate.Triggers>
  858. <Trigger Property="IsMouseOver" Value="true">
  859. <Setter TargetName="BD" Property="Background" Value="#009dff" />
  860. <Setter TargetName="textBlock" Property="Foreground" Value="{DynamicResource foreground}" />
  861. </Trigger>
  862. <Trigger Property="IsEnabled" Value="False">
  863. <Setter TargetName="BD" Property="Background" Value="#ff55" />
  864. </Trigger>
  865. </ControlTemplate.Triggers>
  866. </ControlTemplate>
  867. </Setter.Value>
  868. </Setter>
  869. </Style.Setters>
  870. </Style>
  871. <Style x:Key="CommonBtn_返回" TargetType="Button">
  872. <Style.Setters>
  873. <Setter Property="VerticalContentAlignment" Value="Center" />
  874. <Setter Property="Cursor" Value="Hand" />
  875. <Setter Property="Foreground" Value="{DynamicResource foreground}" />
  876. <Setter Property="Width" Value="68" />
  877. <Setter Property="Height" Value="25" />
  878. <Setter Property="Template">
  879. <Setter.Value>
  880. <ControlTemplate TargetType="Button">
  881. <Border x:Name="BD" Cursor="Hand">
  882. <StackPanel
  883. Margin="5,0,10,0"
  884. HorizontalAlignment="Right"
  885. Orientation="Horizontal">
  886. <Border Width="16" Margin="5">
  887. <Border.Background>
  888. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮图标.png" />
  889. </Border.Background>
  890. </Border>
  891. <TextBlock
  892. x:Name="textBlock"
  893. VerticalAlignment="Center"
  894. FontSize="14"
  895. Foreground="#4fade8"
  896. Text="{TemplateBinding Content}" />
  897. <!-- Text="{TemplateBinding Content}" -->
  898. </StackPanel>
  899. </Border>
  900. <ControlTemplate.Triggers>
  901. <Trigger Property="IsMouseOver" Value="true">
  902. <Setter TargetName="BD" Property="Background">
  903. <Setter.Value>
  904. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮2.png" />
  905. </Setter.Value>
  906. </Setter>
  907. <Setter TargetName="textBlock" Property="Foreground" Value="#4fade8" />
  908. </Trigger>
  909. <Trigger Property="IsMouseOver" Value="False">
  910. <Setter TargetName="BD" Property="Background">
  911. <Setter.Value>
  912. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部切图/返回按钮1.png" />
  913. </Setter.Value>
  914. </Setter>
  915. <Setter TargetName="textBlock" Property="Foreground" Value="#4fade8" />
  916. </Trigger>
  917. <Trigger Property="IsEnabled" Value="False">
  918. <Setter TargetName="BD" Property="Background">
  919. <Setter.Value>
  920. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOn.png" />
  921. </Setter.Value>
  922. </Setter>
  923. <Setter TargetName="textBlock" Property="Foreground" Value="#3afdff" />
  924. </Trigger>
  925. </ControlTemplate.Triggers>
  926. </ControlTemplate>
  927. </Setter.Value>
  928. </Setter>
  929. </Style.Setters>
  930. </Style>
  931. <Style TargetType="{x:Type Separator}">
  932. <Setter Property="Height" Value="1" />
  933. <Setter Property="Margin" Value="0,4,0,4" />
  934. <Setter Property="Template">
  935. <Setter.Value>
  936. <ControlTemplate TargetType="{x:Type Separator}">
  937. <Border>
  938. <Border.Background>
  939. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/顶部线条.png" />
  940. </Border.Background>
  941. </Border>
  942. </ControlTemplate>
  943. </Setter.Value>
  944. </Setter>
  945. </Style>
  946. <Style x:Key="CommonBtn_功能节点" TargetType="Button">
  947. <Style.Setters>
  948. <Setter Property="VerticalContentAlignment" Value="Center" />
  949. <Setter Property="Cursor" Value="Hand" />
  950. <Setter Property="Margin" Value="10,5,10,5" />
  951. <Setter Property="Template">
  952. <Setter.Value>
  953. <ControlTemplate TargetType="Button">
  954. <StackPanel x:Name="BD" Orientation="Horizontal">
  955. <Image
  956. Width="24"
  957. Margin="5"
  958. Source="/BPASmartClient.CustomResource;component/Image/临时模板.png" />
  959. <TextBlock
  960. x:Name="textBlock"
  961. Margin="10,0,0,0"
  962. HorizontalAlignment="Left"
  963. VerticalAlignment="Center"
  964. FontSize="12"
  965. Foreground="#00c1c3"
  966. Text="{TemplateBinding Content}" />
  967. <TextBlock
  968. x:Name="tex2tBlock"
  969. VerticalAlignment="Center"
  970. FontSize="14"
  971. Foreground="#4fade8"
  972. Text="{TemplateBinding Content}"
  973. Visibility="Collapsed" />
  974. </StackPanel>
  975. <ControlTemplate.Triggers>
  976. <Trigger Property="IsMouseOver" Value="true">
  977. <Setter TargetName="BD" Property="Background">
  978. <Setter.Value>
  979. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/Pop_bg.png" />
  980. </Setter.Value>
  981. </Setter>
  982. </Trigger>
  983. <Trigger Property="IsMouseOver" Value="False">
  984. <Setter TargetName="BD" Property="Background">
  985. <Setter.Value>
  986. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形.png" />
  987. </Setter.Value>
  988. </Setter>
  989. </Trigger>
  990. </ControlTemplate.Triggers>
  991. </ControlTemplate>
  992. </Setter.Value>
  993. </Setter>
  994. </Style.Setters>
  995. </Style>
  996. <Style x:Key="CommonBtn_产品制作" TargetType="Button">
  997. <Style.Setters>
  998. <Setter Property="VerticalContentAlignment" Value="Center" />
  999. <Setter Property="Cursor" Value="Hand" />
  1000. <Setter Property="Template">
  1001. <Setter.Value>
  1002. <ControlTemplate TargetType="Button">
  1003. <StackPanel x:Name="BD" Margin="5">
  1004. <Image
  1005. Width="24"
  1006. Margin="5,10,5,0"
  1007. Source="/BPASmartClient.CustomResource;component/Image/产品制作.png" />
  1008. <TextBlock
  1009. x:Name="textBlock"
  1010. VerticalAlignment="Center"
  1011. FontSize="14"
  1012. Foreground="#4fade8"
  1013. Text="{TemplateBinding Content}"
  1014. Visibility="Collapsed" />
  1015. <Separator Margin="0,10,0,0" />
  1016. </StackPanel>
  1017. <ControlTemplate.Triggers>
  1018. <Trigger Property="IsMouseOver" Value="true">
  1019. <Setter TargetName="BD" Property="Background">
  1020. <Setter.Value>
  1021. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/Pop_bg.png" />
  1022. </Setter.Value>
  1023. </Setter>
  1024. </Trigger>
  1025. <Trigger Property="IsMouseOver" Value="False">
  1026. <Setter TargetName="BD" Property="Background">
  1027. <Setter.Value>
  1028. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形.png" />
  1029. </Setter.Value>
  1030. </Setter>
  1031. </Trigger>
  1032. </ControlTemplate.Triggers>
  1033. </ControlTemplate>
  1034. </Setter.Value>
  1035. </Setter>
  1036. </Style.Setters>
  1037. </Style>
  1038. <Style x:Key="CommonBtn_功能列表" TargetType="Button">
  1039. <Style.Setters>
  1040. <Setter Property="VerticalContentAlignment" Value="Center" />
  1041. <Setter Property="Cursor" Value="Hand" />
  1042. <Setter Property="Template">
  1043. <Setter.Value>
  1044. <ControlTemplate TargetType="Button">
  1045. <StackPanel x:Name="BD" Margin="5">
  1046. <Image
  1047. Width="24"
  1048. Margin="5,10,5,0"
  1049. Source="/BPASmartClient.CustomResource;component/Image/功能列表.png" />
  1050. <TextBlock
  1051. x:Name="textBlock"
  1052. VerticalAlignment="Center"
  1053. FontSize="14"
  1054. Foreground="#4fade8"
  1055. Text="{TemplateBinding Content}"
  1056. Visibility="Collapsed" />
  1057. <Separator Margin="0,10,0,0" />
  1058. </StackPanel>
  1059. <ControlTemplate.Triggers>
  1060. <Trigger Property="IsMouseOver" Value="true">
  1061. <Setter TargetName="BD" Property="Background">
  1062. <Setter.Value>
  1063. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/Pop_bg.png" />
  1064. </Setter.Value>
  1065. </Setter>
  1066. </Trigger>
  1067. <Trigger Property="IsMouseOver" Value="False">
  1068. <Setter TargetName="BD" Property="Background">
  1069. <Setter.Value>
  1070. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形.png" />
  1071. </Setter.Value>
  1072. </Setter>
  1073. </Trigger>
  1074. </ControlTemplate.Triggers>
  1075. </ControlTemplate>
  1076. </Setter.Value>
  1077. </Setter>
  1078. </Style.Setters>
  1079. </Style>
  1080. <Style x:Key="CommonBtn_维护" TargetType="Button">
  1081. <Style.Setters>
  1082. <Setter Property="VerticalContentAlignment" Value="Center" />
  1083. <Setter Property="Cursor" Value="Hand" />
  1084. <Setter Property="Template">
  1085. <Setter.Value>
  1086. <ControlTemplate TargetType="Button">
  1087. <StackPanel x:Name="BD" Margin="5">
  1088. <Image
  1089. Width="24"
  1090. Margin="5,10,5,0"
  1091. Source="/BPASmartClient.CustomResource;component/Image/维护.png" />
  1092. <TextBlock
  1093. x:Name="textBlock"
  1094. VerticalAlignment="Center"
  1095. FontSize="14"
  1096. Foreground="#4fade8"
  1097. Text="{TemplateBinding Content}"
  1098. Visibility="Collapsed" />
  1099. <Separator Margin="0,10,0,0" />
  1100. </StackPanel>
  1101. <ControlTemplate.Triggers>
  1102. <Trigger Property="IsMouseOver" Value="true">
  1103. <Setter TargetName="BD" Property="Background">
  1104. <Setter.Value>
  1105. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/Pop_bg.png" />
  1106. </Setter.Value>
  1107. </Setter>
  1108. </Trigger>
  1109. <Trigger Property="IsMouseOver" Value="False">
  1110. <Setter TargetName="BD" Property="Background">
  1111. <Setter.Value>
  1112. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/矩形.png" />
  1113. </Setter.Value>
  1114. </Setter>
  1115. </Trigger>
  1116. </ControlTemplate.Triggers>
  1117. </ControlTemplate>
  1118. </Setter.Value>
  1119. </Setter>
  1120. </Style.Setters>
  1121. </Style>
  1122. <Style TargetType="Button">
  1123. <Style.Setters>
  1124. <Setter Property="VerticalContentAlignment" Value="Center" />
  1125. <Setter Property="Cursor" Value="Hand" />
  1126. <Setter Property="Foreground" Value="{DynamicResource foreground}" />
  1127. <Setter Property="Width" Value="69" />
  1128. <Setter Property="Height" Value="25" />
  1129. <Setter Property="Template">
  1130. <Setter.Value>
  1131. <ControlTemplate TargetType="Button">
  1132. <!--<ControlTemplate.Resources>
  1133. <Storyboard x:Key="OnMouseEnter1">
  1134. <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[0].(GradientStop.Color)" Storyboard.TargetName="BD">
  1135. <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF139DDB"/>
  1136. </ColorAnimationUsingKeyFrames>
  1137. <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(GradientBrush.GradientStops)[1].(GradientStop.Color)" Storyboard.TargetName="BD">
  1138. <EasingColorKeyFrame KeyTime="0:0:0.1" Value="#FF135EC2"/>
  1139. </ColorAnimationUsingKeyFrames>
  1140. </Storyboard>
  1141. </ControlTemplate.Resources>-->
  1142. <Border x:Name="BD" Cursor="Hand">
  1143. <TextBlock
  1144. x:Name="textBlock"
  1145. HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
  1146. VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
  1147. FontSize="12"
  1148. Foreground="{DynamicResource foreground}"
  1149. Text="{TemplateBinding Content}" />
  1150. </Border>
  1151. <ControlTemplate.Triggers>
  1152. <Trigger Property="IsMouseOver" Value="true">
  1153. <Setter TargetName="BD" Property="Background">
  1154. <Setter.Value>
  1155. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOn.png" />
  1156. </Setter.Value>
  1157. </Setter>
  1158. <Setter TargetName="textBlock" Property="Foreground" Value="White" />
  1159. </Trigger>
  1160. <Trigger Property="IsMouseOver" Value="False">
  1161. <Setter TargetName="BD" Property="Background">
  1162. <Setter.Value>
  1163. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOff.png" />
  1164. </Setter.Value>
  1165. </Setter>
  1166. <Setter TargetName="textBlock" Property="Foreground" Value="#FFD7DCE0" />
  1167. </Trigger>
  1168. <Trigger Property="IsEnabled" Value="False">
  1169. <Setter TargetName="BD" Property="Background">
  1170. <Setter.Value>
  1171. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/buttonOn.png" />
  1172. </Setter.Value>
  1173. </Setter>
  1174. <Setter TargetName="textBlock" Property="Foreground" Value="#3afdff" />
  1175. </Trigger>
  1176. </ControlTemplate.Triggers>
  1177. </ControlTemplate>
  1178. </Setter.Value>
  1179. </Setter>
  1180. </Style.Setters>
  1181. </Style>
  1182. <!--#endregion-->
  1183. <!--#region TextBox-->
  1184. <Style
  1185. x:Key="TextBoxStyle人员"
  1186. BasedOn="{x:Null}"
  1187. TargetType="{x:Type TextBox}">
  1188. <Setter Property="Foreground" Value="#A4EBF7" />
  1189. <Setter Property="Background">
  1190. <Setter.Value>
  1191. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/搜索框.png" />
  1192. </Setter.Value>
  1193. </Setter>
  1194. <Setter Property="FontSize" Value="14" />
  1195. <Setter Property="TextWrapping" Value="NoWrap" />
  1196. <Setter Property="BorderBrush" Value="Transparent" />
  1197. <Setter Property="BorderThickness" Value="1" />
  1198. <Setter Property="Padding" Value="1" />
  1199. <Setter Property="AllowDrop" Value="true" />
  1200. <Setter Property="HorizontalAlignment" Value="Left" />
  1201. <Setter Property="VerticalAlignment" Value="Center" />
  1202. <Setter Property="FocusVisualStyle" Value="{x:Null}" />
  1203. <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst" />
  1204. <Setter Property="Stylus.IsFlicksEnabled" Value="False" />
  1205. <Setter Property="Height" Value="35" />
  1206. <Setter Property="Width" Value="auto" />
  1207. <Setter Property="MinWidth" Value="200" />
  1208. <Setter Property="Template">
  1209. <Setter.Value>
  1210. <ControlTemplate TargetType="{x:Type TextBox}">
  1211. <Themes:ListBoxChrome
  1212. x:Name="Bd"
  1213. Background="{TemplateBinding Background}"
  1214. BorderBrush="{TemplateBinding BorderBrush}"
  1215. BorderThickness="{TemplateBinding BorderThickness}"
  1216. RenderFocused="{TemplateBinding IsKeyboardFocusWithin}"
  1217. RenderMouseOver="{TemplateBinding IsMouseOver}"
  1218. SnapsToDevicePixels="true">
  1219. <Grid>
  1220. <Grid.ColumnDefinitions>
  1221. <ColumnDefinition Width="auto" />
  1222. <ColumnDefinition />
  1223. </Grid.ColumnDefinitions>
  1224. <Image
  1225. Width="20"
  1226. Height="Auto"
  1227. Margin="20,0,0,0"
  1228. HorizontalAlignment="Right"
  1229. Cursor="Hand"
  1230. Source="Image/搜索按钮.png"
  1231. Tag="Search" />
  1232. <ScrollViewer
  1233. x:Name="PART_ContentHost"
  1234. VerticalAlignment="Center"
  1235. SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
  1236. <!--<local:ButtonEx Grid.Column="1" ButtonType="Icon" Icon="Images/search.png" Cursor="Hand" Margin="3" Width="{Binding ElementName=PART_ContentHost, Path=Height}" Height="{Binding ElementName=PART_ContentHost, Path=Height}" Click="Button_SearchMBK_Click"/>-->
  1237. </Grid>
  1238. </Themes:ListBoxChrome>
  1239. <ControlTemplate.Triggers>
  1240. <Trigger Property="IsEnabled" Value="false">
  1241. <Setter TargetName="Bd" Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
  1242. <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
  1243. </Trigger>
  1244. </ControlTemplate.Triggers>
  1245. </ControlTemplate>
  1246. </Setter.Value>
  1247. </Setter>
  1248. <Style.Triggers>
  1249. <MultiTrigger>
  1250. <MultiTrigger.Conditions>
  1251. <Condition Property="IsInactiveSelectionHighlightEnabled" Value="true" />
  1252. <Condition Property="IsSelectionActive" Value="false" />
  1253. </MultiTrigger.Conditions>
  1254. <Setter Property="SelectionBrush" Value="{DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}" />
  1255. </MultiTrigger>
  1256. </Style.Triggers>
  1257. </Style>
  1258. <Style
  1259. x:Key="TextBoxStyle搜索框"
  1260. BasedOn="{x:Null}"
  1261. TargetType="{x:Type TextBox}">
  1262. <Setter Property="Foreground" Value="#A4EBF7" />
  1263. <Setter Property="FontSize" Value="14" />
  1264. <Setter Property="TextWrapping" Value="NoWrap" />
  1265. <Setter Property="BorderBrush" Value="Transparent" />
  1266. <Setter Property="BorderThickness" Value="1" />
  1267. <Setter Property="Margin" Value="10,0,0,0" />
  1268. <Setter Property="AllowDrop" Value="true" />
  1269. <Setter Property="CaretBrush" Value="Aqua" />
  1270. <Setter Property="Padding" Value="1" />
  1271. <Setter Property="HorizontalAlignment" Value="Left" />
  1272. <Setter Property="VerticalAlignment" Value="Center" />
  1273. <Setter Property="FocusVisualStyle" Value="{x:Null}" />
  1274. <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst" />
  1275. <Setter Property="Stylus.IsFlicksEnabled" Value="False" />
  1276. <Setter Property="Height" Value="40" />
  1277. <Setter Property="Width" Value="135" />
  1278. <Setter Property="FocusVisualStyle" Value="{x:Null}" />
  1279. <Setter Property="Template">
  1280. <Setter.Value>
  1281. <ControlTemplate TargetType="{x:Type TextBox}">
  1282. <Border x:Name="Bd" VerticalAlignment="Center">
  1283. <Border.Background>
  1284. <ImageBrush ImageSource="/BPASmartClient.CustomResource;component/Image/搜索框.png" />
  1285. </Border.Background>
  1286. <Grid>
  1287. <ScrollViewer
  1288. x:Name="PART_ContentHost"
  1289. VerticalAlignment="Center"
  1290. HorizontalScrollBarVisibility="Hidden"
  1291. VerticalScrollBarVisibility="Hidden" />
  1292. <Image
  1293. Width="20"
  1294. Margin="10,3,3,3"
  1295. HorizontalAlignment="Left"
  1296. Source="/BPASmartClient.CustomResource;component/Image/搜索按钮.png"
  1297. Stretch="Uniform" />
  1298. </Grid>
  1299. </Border>
  1300. <ControlTemplate.Triggers>
  1301. <Trigger Property="IsEnabled" Value="false">
  1302. <Setter TargetName="Bd" Property="Opacity" Value="0.56" />
  1303. <!--<Setter TargetName="UserTextBlock" Property="Opacity" Value="0.56" />-->
  1304. </Trigger>
  1305. <Trigger Property="IsMouseOver" Value="true">
  1306. <Setter TargetName="Bd" Property="BorderBrush" Value="#aa3ba7f2" />
  1307. <!--<Setter TargetName="UserTextBlock" Property="Foreground" Value="#FF7EB4EA" />-->
  1308. </Trigger>
  1309. <Trigger Property="IsKeyboardFocused" Value="true">
  1310. <Setter TargetName="Bd" Property="BorderBrush" Value="#FFCA51" />
  1311. <!--<Setter TargetName="UserTextBlock" Property="Foreground" Value="#FF569DE5" />-->
  1312. </Trigger>
  1313. </ControlTemplate.Triggers>
  1314. </ControlTemplate>
  1315. </Setter.Value>
  1316. </Setter>
  1317. <Style.Triggers>
  1318. <MultiTrigger>
  1319. <MultiTrigger.Conditions>
  1320. <Condition Property="IsInactiveSelectionHighlightEnabled" Value="true" />
  1321. <Condition Property="IsSelectionActive" Value="false" />
  1322. </MultiTrigger.Conditions>
  1323. <Setter Property="SelectionBrush" Value="{DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}" />
  1324. </MultiTrigger>
  1325. </Style.Triggers>
  1326. </Style>
  1327. <!--#endregion-->
  1328. <!--#region UserNameTextBoxStyle-->
  1329. <LinearGradientBrush x:Key="TextBoxBorder" MappingMode="Absolute" StartPoint="0,0" EndPoint="0,20">
  1330. <GradientStop Offset="0.05" Color="#ABADB3" />
  1331. <GradientStop Offset="0.07" Color="#E2E3EA" />
  1332. <GradientStop Offset="1" Color="#E3E9EF" />
  1333. </LinearGradientBrush>
  1334. <Style
  1335. x:Key="UserNameTextBoxStyle"
  1336. BasedOn="{x:Null}"
  1337. TargetType="{x:Type TextBox}">
  1338. <Setter Property="Foreground" Value="White" />
  1339. <Setter Property="Background" Value="Transparent" />
  1340. <Setter Property="Padding" Value="1" />
  1341. <Setter Property="CaretBrush" Value="Aqua" />
  1342. <Setter Property="Height" Value="40" />
  1343. <Setter Property="Width" Value="135" />
  1344. <Setter Property="HorizontalContentAlignment" Value="Center" />
  1345. <Setter Property="FontSize" Value="16" />
  1346. <Setter Property="HorizontalAlignment" Value="Left" />
  1347. <Setter Property="AllowDrop" Value="true" />
  1348. <Setter Property="FocusVisualStyle" Value="{x:Null}" />
  1349. <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst" />
  1350. <Setter Property="Stylus.IsFlicksEnabled" Value="False" />
  1351. <Setter Property="Template">
  1352. <Setter.Value>
  1353. <ControlTemplate TargetType="{x:Type TextBox}">
  1354. <Border x:Name="Bd" VerticalAlignment="Center">
  1355. <Grid>
  1356. <ScrollViewer
  1357. x:Name="PART_ContentHost"
  1358. VerticalAlignment="Center"
  1359. HorizontalScrollBarVisibility="Hidden"
  1360. VerticalScrollBarVisibility="Hidden" />
  1361. <Path
  1362. x:Name="p1"
  1363. Stroke="#7720FDFA"
  1364. StrokeThickness="1">
  1365. <Path.Data>
  1366. <PathGeometry>
  1367. <PathFigure IsClosed="False" StartPoint="1, 1">
  1368. <LineSegment Point="133,1" />
  1369. <LineSegment Point="133,38" />
  1370. <LineSegment Point="1,38" />
  1371. <LineSegment Point="1,1" />
  1372. </PathFigure>
  1373. </PathGeometry>
  1374. </Path.Data>
  1375. </Path>
  1376. <Path
  1377. Name="p2"
  1378. Stroke="#aa20FDFA"
  1379. StrokeThickness="3">
  1380. <Path.Data>
  1381. <PathGeometry>
  1382. <PathFigure IsClosed="False" StartPoint="10, 1">
  1383. <LineSegment Point="1,1" />
  1384. <LineSegment Point="1,10" />
  1385. </PathFigure>
  1386. </PathGeometry>
  1387. </Path.Data>
  1388. </Path>
  1389. <Path
  1390. Name="p3"
  1391. Stroke="#aa20FDFA"
  1392. StrokeThickness="3">
  1393. <Path.Data>
  1394. <PathGeometry>
  1395. <PathFigure IsClosed="False" StartPoint="125, 1">
  1396. <LineSegment Point="133,1" />
  1397. <LineSegment Point="133,10" />
  1398. </PathFigure>
  1399. </PathGeometry>
  1400. </Path.Data>
  1401. </Path>
  1402. <Path
  1403. x:Name="p4"
  1404. Stroke="#aa20FDFA"
  1405. StrokeThickness="3">
  1406. <Path.Data>
  1407. <PathGeometry>
  1408. <PathFigure IsClosed="False" StartPoint="125, 38">
  1409. <LineSegment Point="133,38" />
  1410. <LineSegment Point="133,30" />
  1411. </PathFigure>
  1412. </PathGeometry>
  1413. </Path.Data>
  1414. </Path>
  1415. <Path
  1416. x:Name="p5"
  1417. Stroke="#aa20FDFA"
  1418. StrokeThickness="3">
  1419. <Path.Data>
  1420. <PathGeometry>
  1421. <PathFigure IsClosed="False" StartPoint="1, 30">
  1422. <LineSegment Point="1,38" />
  1423. <LineSegment Point="10,38" />
  1424. </PathFigure>
  1425. </PathGeometry>
  1426. </Path.Data>
  1427. </Path>
  1428. </Grid>
  1429. </Border>
  1430. <ControlTemplate.Triggers>
  1431. <Trigger Property="IsEnabled" Value="false">
  1432. <Setter TargetName="Bd" Property="Opacity" Value="0.56" />
  1433. <!--<Setter TargetName="UserTextBlock" Property="Opacity" Value="0.56" />-->
  1434. </Trigger>
  1435. <Trigger Property="IsMouseOver" Value="true">
  1436. <Setter TargetName="Bd" Property="BorderBrush" Value="#aa3ba7f2" />
  1437. <Setter TargetName="p1" Property="Stroke" Value="#aa20FDFA" />
  1438. <Setter TargetName="p2" Property="Stroke" Value="Aqua" />
  1439. <Setter TargetName="p3" Property="Stroke" Value="Aqua" />
  1440. <Setter TargetName="p4" Property="Stroke" Value="Aqua" />
  1441. <Setter TargetName="p5" Property="Stroke" Value="Aqua" />
  1442. <!--<Setter TargetName="UserTextBlock" Property="Foreground" Value="#FF7EB4EA" />-->
  1443. </Trigger>
  1444. <Trigger Property="IsKeyboardFocused" Value="true">
  1445. <Setter TargetName="Bd" Property="BorderBrush" Value="#FFCA51" />
  1446. <Setter TargetName="p1" Property="Stroke" Value="#aaFFCA51" />
  1447. <Setter TargetName="p2" Property="Stroke" Value="#FFCA51" />
  1448. <Setter TargetName="p3" Property="Stroke" Value="#FFCA51" />
  1449. <Setter TargetName="p4" Property="Stroke" Value="#FFCA51" />
  1450. <Setter TargetName="p5" Property="Stroke" Value="#FFCA51" />
  1451. <!--<Setter TargetName="UserTextBlock" Property="Foreground" Value="#FF569DE5" />-->
  1452. </Trigger>
  1453. </ControlTemplate.Triggers>
  1454. </ControlTemplate>
  1455. </Setter.Value>
  1456. </Setter>
  1457. <Style.Triggers>
  1458. <MultiTrigger>
  1459. <MultiTrigger.Conditions>
  1460. <Condition Property="IsInactiveSelectionHighlightEnabled" Value="true" />
  1461. <Condition Property="IsSelectionActive" Value="false" />
  1462. </MultiTrigger.Conditions>
  1463. <Setter Property="SelectionBrush" Value="{DynamicResource {x:Static SystemColors.InactiveSelectionHighlightBrushKey}}" />
  1464. </MultiTrigger>
  1465. </Style.Triggers>
  1466. </Style>
  1467. <!--#endregion-->
  1468. <!--#region TextBlock-->
  1469. <Style TargetType="TextBlock">
  1470. <Style.Setters>
  1471. <Setter Property="Foreground" Value="#a2c2e8" />
  1472. <Setter Property="HorizontalAlignment" Value="Left" />
  1473. <Setter Property="VerticalAlignment" Value="Center" />
  1474. <Setter Property="FontSize" Value="20" />
  1475. </Style.Setters>
  1476. </Style>
  1477. <Style x:Key="Title" TargetType="TextBlock">
  1478. <Setter Property="FontSize" Value="18" />
  1479. <Setter Property="Foreground" Value="#FF58C7EE" />
  1480. <Setter Property="VerticalAlignment" Value="Center" />
  1481. <Setter Property="HorizontalAlignment" Value="Center" />
  1482. </Style>
  1483. <!--#endregion-->
  1484. <!--#region GroupBox-->
  1485. <BorderGapMaskConverter x:Key="BorderGapMaskConverter" />
  1486. <Style TargetType="{x:Type GroupBox}">
  1487. <Setter Property="BorderThickness" Value="0" />
  1488. <Setter Property="Background" Value="Transparent" />
  1489. <Setter Property="Foreground" Value="#FF68D8FE" />
  1490. <Setter Property="Template">
  1491. <Setter.Value>
  1492. <ControlTemplate TargetType="{x:Type GroupBox}">
  1493. <Grid SnapsToDevicePixels="true">
  1494. <Grid.ColumnDefinitions>
  1495. <ColumnDefinition Width="6" />
  1496. <ColumnDefinition Width="Auto" />
  1497. <ColumnDefinition Width="*" />
  1498. <ColumnDefinition Width="6" />
  1499. </Grid.ColumnDefinitions>
  1500. <Grid.RowDefinitions>
  1501. <RowDefinition Height="Auto" />
  1502. <RowDefinition Height="Auto" />
  1503. <RowDefinition Height="*" />
  1504. <RowDefinition Height="6" />
  1505. </Grid.RowDefinitions>
  1506. <Rectangle Grid.RowSpan="2" Grid.ColumnSpan="4" />
  1507. <Border
  1508. Grid.Row="2"
  1509. Grid.RowSpan="2"
  1510. Grid.ColumnSpan="4"
  1511. Margin="0,0,0,0"
  1512. BorderThickness="0"
  1513. CornerRadius="0" />
  1514. <Image
  1515. Grid.Row="0"
  1516. Grid.RowSpan="2"
  1517. Grid.Column="1"
  1518. Height="4"
  1519. Margin="0,5,0,0"
  1520. HorizontalAlignment="Left"
  1521. Source="/BPASmartClient.CustomResource;component/Image/表格/矩形2609.png" />
  1522. <Border
  1523. x:Name="Header"
  1524. Grid.Row="0"
  1525. Grid.RowSpan="2"
  1526. Grid.Column="1"
  1527. Height="30"
  1528. Margin="30,0,0,0"
  1529. Padding="3,1,3,0">
  1530. <ContentPresenter
  1531. VerticalAlignment="Center"
  1532. ContentSource="Header"
  1533. RecognizesAccessKey="True"
  1534. SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
  1535. </Border>
  1536. <ContentPresenter
  1537. Grid.Row="2"
  1538. Grid.Column="1"
  1539. Grid.ColumnSpan="2"
  1540. Margin="{TemplateBinding Padding}"
  1541. SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
  1542. </Grid>
  1543. </ControlTemplate>
  1544. </Setter.Value>
  1545. </Setter>
  1546. </Style>
  1547. <!--#endregion-->
  1548. <!-- 空MenuHeader -->
  1549. <Style x:Key="MenuItem_NonStyle" TargetType="{x:Type MenuItem}">
  1550. <Setter Property="Height" Value="Auto" />
  1551. <Setter Property="Template">
  1552. <Setter.Value>
  1553. <ControlTemplate TargetType="{x:Type MenuItem}">
  1554. <Grid Margin="1">
  1555. <ContentPresenter
  1556. x:Name="Presenter"
  1557. Margin="{TemplateBinding Padding}"
  1558. ContentSource="Header" />
  1559. </Grid>
  1560. </ControlTemplate>
  1561. </Setter.Value>
  1562. </Setter>
  1563. </Style>
  1564. </ResourceDictionary>