AboutControl.xaml 5.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <UserControl x:Class="GeekDesk.Control.UserControls.Config.AboutControl"
  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:cvt="clr-namespace:GeekDesk.Converts"
  7. xmlns:xf="clr-namespace:XamlFlair;assembly=XamlFlair.WPF"
  8. xmlns:local="clr-namespace:GeekDesk.Control.UserControls.PannelCard"
  9. xmlns:hc="https://handyorg.github.io/handycontrol"
  10. mc:Ignorable="d"
  11. Background="Transparent"
  12. d:DesignHeight="400" d:DesignWidth="500">
  13. <UserControl.Resources>
  14. <cvt:UpdateTypeConvert x:Key="UpdateTypeConvert"/>
  15. </UserControl.Resources>
  16. <Grid MouseDown="DragMove">
  17. <hc:SimplePanel Margin="20,50,20,20" >
  18. <StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Top">
  19. <Image Source="/Resource/Image/About.png"
  20. Width="400"
  21. Height="100"
  22. xf:Animations.Primary="{xf:Animate BasedOn={StaticResource FadeInAndContract}, Delay=250}"
  23. />
  24. <TextBlock x:Name="AppInfo" TextAlignment="Center" Text="Copyright © 2021 GeekDesk V"/>
  25. <hc:UniformSpacingPanel Spacing="5" HorizontalAlignment="Center" Margin="10,10,0,0" VerticalAlignment="Center">
  26. <hc:Shield Subject=".net" Status=">=4.72" Margin="0,0,10,0" Color="#1182c3"/>
  27. <hc:Shield Subject="IDE" Status="VS2019" Margin="0,0,10,0" Color="#1182c3"/>
  28. <hc:Shield Subject="GitHub" Visibility="Visible" Status="Star"
  29. MouseEnter="SC_MouseEnter"
  30. MouseLeave="SC_MouseLeave"
  31. Command="hc:ControlCommands.OpenLink"
  32. CommandParameter="https://github.com/BookerLiu/GeekDesk"
  33. Margin="0,0,10,0" Color="#24292F"
  34. />
  35. <hc:Shield Subject="Gitee" Visibility="Visible" Status="Star"
  36. MouseEnter="SC_MouseEnter"
  37. MouseLeave="SC_MouseLeave"
  38. Command="hc:ControlCommands.OpenLink"
  39. CommandParameter="https://gitee.com/BookerLiu/GeekDesk"
  40. Margin="0,0,10,0" Color="#C71D23"
  41. />
  42. </hc:UniformSpacingPanel>
  43. <hc:UniformSpacingPanel Spacing="10" HorizontalAlignment="Center" Margin="0,5,0,0">
  44. <hc:Shield x:Name="PublicWeChatPanel" Subject="公众号" Visibility="Visible" Status="抓几个娃" Margin="0,0,5,0" Color="#04913B">
  45. <hc:Poptip.Instance>
  46. <hc:Poptip PlacementType="Top" >
  47. <hc:Poptip.Content>
  48. <Image x:Name="PublicWeChat" Width="150" Height="150" />
  49. </hc:Poptip.Content>
  50. </hc:Poptip>
  51. </hc:Poptip.Instance>
  52. </hc:Shield>
  53. <hc:Shield Subject="赞赏" Status="支付宝" Margin="0,0,10,0" Color="#1577FE">
  54. <hc:Poptip.Instance>
  55. <hc:Poptip PlacementType="Top">
  56. <hc:Poptip.Content>
  57. <Image x:Name="ZFBCode" Width="150" Height="150" />
  58. </hc:Poptip.Content>
  59. </hc:Poptip>
  60. </hc:Poptip.Instance>
  61. </hc:Shield>
  62. <hc:Shield Subject="赞赏" Status="微信" Margin="0,0,10,0" Color="#04913B">
  63. <hc:Poptip.Instance>
  64. <hc:Poptip PlacementType="Top">
  65. <hc:Poptip.Content>
  66. <Image x:Name="WeChatCode" Width="150" Height="150" />
  67. </hc:Poptip.Content>
  68. </hc:Poptip>
  69. </hc:Poptip.Instance>
  70. </hc:Shield>
  71. </hc:UniformSpacingPanel>
  72. <TextBlock Margin="0,20,0,0" FontSize="13" Width="200" TextAlignment="Center" Text="这是个人开发的程序,所有人可任意修改和免费使用(商用请联系作者)" TextWrapping="Wrap"/>
  73. <!--<hc:UniformSpacingPanel Spacing="10" Visibility="Visible" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,10,0,0">
  74. <TextBlock Text="更新源:" TextAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  75. <RadioButton Margin="10,0,0,0" Background="{DynamicResource SecondaryRegionBrush}"
  76. Style="{StaticResource MyRadioBtnStyle}" Content="Gitee"
  77. IsChecked="{Binding UpdateType, Mode=TwoWay, Converter={StaticResource UpdateTypeConvert}, ConverterParameter=1}"/>
  78. <RadioButton Margin="10,0,0,0" Background="{DynamicResource SecondaryRegionBrush}"
  79. Style="{StaticResource MyRadioBtnStyle}" Content="GitHub"
  80. IsChecked="{Binding UpdateType, Mode=TwoWay, Converter={StaticResource UpdateTypeConvert}, ConverterParameter=2}"/>
  81. </hc:UniformSpacingPanel>-->
  82. </StackPanel>
  83. </hc:SimplePanel>
  84. </Grid>
  85. </UserControl>