瀏覽代碼

添加赞赏吗码

liufei 4 年之前
父節點
當前提交
dce52aa9ca
共有 4 個文件被更改,包括 33 次插入1 次删除
  1. 27 1
      Control/UserControls/Config/AboutControl.xaml
  2. 6 0
      GeekDesk.csproj
  3. 二進制
      Resource/Image/WeChatCode.jpg
  4. 二進制
      Resource/Image/ZFBCode.jpg

+ 27 - 1
Control/UserControls/Config/AboutControl.xaml

@@ -19,7 +19,7 @@
             <WrapPanel Margin="0,10,0,0" VerticalAlignment="Center" HorizontalAlignment="Center">
                 <hc:Shield Subject=".net" Status=">=4.72" Margin="0,0,10,0" Color="#1182c3"/>
                 <hc:Shield Subject="IDE" Status="VS2019" Margin="0,0,10,0" Color="#1182c3"/>
-                <hc:Shield Subject="公众号" Status="抓几个娃"  Color="#04913B">
+                <hc:Shield Subject="公众号" Status="抓几个娃" Margin="0,0,10,0"  Color="#04913B">
                     <hc:Poptip.Instance>
                         <hc:Poptip PlacementType="Top">
                             <hc:Poptip.Content>
@@ -28,6 +28,32 @@
                         </hc:Poptip>
                     </hc:Poptip.Instance>
                 </hc:Shield>
+                <hc:Shield Subject="GitHub" Status="Demo-liu"
+                           Command="hc:ControlCommands.OpenLink" 
+                           CommandParameter="https://github.com/Demo-Liu/GeekDesk"
+                           Margin="0,0,10,0" Color="#24292F"/>
+                <hc:Shield Subject="码云" Status="Demo-liu" 
+                           Command="hc:ControlCommands.OpenLink" 
+                           CommandParameter="" 
+                           Margin="0,5,10,0" Color="#C71D23"/>
+                <hc:Shield Subject="赞赏" Status="支付宝" Margin="0,5,10,0" Color="#1577FE">
+                    <hc:Poptip.Instance>
+                        <hc:Poptip PlacementType="Top">
+                            <hc:Poptip.Content>
+                                <Image Source="/Resource/Image/ZFBCode.jpg" Width="150" Height="150" />
+                            </hc:Poptip.Content>
+                        </hc:Poptip>
+                    </hc:Poptip.Instance>
+                </hc:Shield>
+                <hc:Shield Subject="赞赏" Status="微信" Margin="0,5,10,0" Color="#07C160">
+                    <hc:Poptip.Instance>
+                        <hc:Poptip PlacementType="Top">
+                            <hc:Poptip.Content>
+                                <Image Source="/Resource/Image/WeChatCode.jpg" Width="150" Height="150" />
+                            </hc:Poptip.Content>
+                        </hc:Poptip>
+                    </hc:Poptip.Instance>
+                </hc:Shield>
             </WrapPanel>
             <TextBlock Margin="0,20,0,0" FontSize="13" Width="200" TextAlignment="Center" Text="这是个人开发的程序,所有人可任意修改和免费使用(商用请联系作者)" TextWrapping="Wrap"/>
         </StackPanel>

+ 6 - 0
GeekDesk.csproj

@@ -320,5 +320,11 @@
   <ItemGroup>
     <Resource Include="Taskbar.ico" />
   </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Resource\Image\WeChatCode.jpg" />
+  </ItemGroup>
+  <ItemGroup>
+    <Resource Include="Resource\Image\ZFBCode.jpg" />
+  </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
 </Project>

二進制
Resource/Image/WeChatCode.jpg


二進制
Resource/Image/ZFBCode.jpg