AboutControl.xaml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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="Demo-liu"
  24. Command="hc:ControlCommands.OpenLink"
  25. CommandParameter="https://github.com/Demo-Liu/GeekDesk"
  26. Margin="0,0,10,0" Color="#24292F"/>
  27. <hc:Shield Subject="Gitee" Visibility="Visible" Status="Demo-liu"
  28. Command="hc:ControlCommands.OpenLink"
  29. CommandParameter="https://gitee.com/demo_liu/GeekDesk"
  30. Margin="0,5,10,0" Color="#C71D23"/>
  31. </hc:UniformSpacingPanel>
  32. <hc:UniformSpacingPanel Spacing="10" HorizontalAlignment="Center" Margin="0,5,0,0">
  33. <hc:Shield Subject="公众号" Visibility="Visible" Status="抓几个娃" Margin="0,0,5,0" Color="#04913B">
  34. <hc:Poptip.Instance>
  35. <hc:Poptip PlacementType="Top">
  36. <hc:Poptip.Content>
  37. <Image x:Name="PublicWeChat" Width="150" Height="150" />
  38. </hc:Poptip.Content>
  39. </hc:Poptip>
  40. </hc:Poptip.Instance>
  41. </hc:Shield>
  42. <hc:Shield Subject="赞赏" Status="支付宝" Margin="0,0,10,0" Color="#1577FE">
  43. <hc:Poptip.Instance>
  44. <hc:Poptip PlacementType="Top">
  45. <hc:Poptip.Content>
  46. <Image x:Name="ZFBCode" Width="150" Height="150" />
  47. </hc:Poptip.Content>
  48. </hc:Poptip>
  49. </hc:Poptip.Instance>
  50. </hc:Shield>
  51. <hc:Shield Subject="赞赏" Status="微信" Margin="0,0,10,0" Color="#04913B">
  52. <hc:Poptip.Instance>
  53. <hc:Poptip PlacementType="Top">
  54. <hc:Poptip.Content>
  55. <Image x:Name="WeChatCode" Width="150" Height="150" />
  56. </hc:Poptip.Content>
  57. </hc:Poptip>
  58. </hc:Poptip.Instance>
  59. </hc:Shield>
  60. </hc:UniformSpacingPanel>
  61. <TextBlock Margin="0,20,0,0" FontSize="13" Width="200" TextAlignment="Center" Text="这是个人开发的程序,所有人可任意修改和免费使用(商用请联系作者)" TextWrapping="Wrap"/>
  62. <!--<hc:UniformSpacingPanel Spacing="10" Visibility="Visible" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,10,0,0">
  63. <TextBlock Text="更新源:" TextAlignment="Center" VerticalAlignment="Center" HorizontalAlignment="Center"/>
  64. <RadioButton Margin="10,0,0,0" Background="{DynamicResource SecondaryRegionBrush}"
  65. Style="{StaticResource RadioButtonIcon}" Content="Gitee"
  66. IsChecked="{Binding UpdateType, Mode=TwoWay, Converter={StaticResource UpdateTypeConvert}, ConverterParameter=1}"/>
  67. <RadioButton Margin="10,0,0,0" Background="{DynamicResource SecondaryRegionBrush}"
  68. Style="{StaticResource RadioButtonIcon}" Content="GitHub"
  69. IsChecked="{Binding UpdateType, Mode=TwoWay, Converter={StaticResource UpdateTypeConvert}, ConverterParameter=2}"/>
  70. </hc:UniformSpacingPanel>-->
  71. </StackPanel>
  72. </hc:SimplePanel>
  73. </Grid>
  74. </UserControl>