AboutControl.xaml 5.3 KB

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