优化关于界面

This commit is contained in:
liufei
2022-05-10 16:14:51 +08:00
parent e578fbbb9b
commit 718a7f48d2
2 changed files with 21 additions and 8 deletions

View File

@@ -22,14 +22,18 @@
<hc:Shield Subject=".net" Status=">=4.72" Margin="0,0,10,0" Color="#1182c3"/> <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="IDE" Status="VS2019" Margin="0,0,10,0" Color="#1182c3"/>
<hc:Shield Subject="GitHub" Visibility="Visible" Status="Demo-liu" <hc:Shield Subject="GitHub" Visibility="Visible" Status="Star"
Command="hc:ControlCommands.OpenLink" MouseEnter="SC_MouseEnter"
CommandParameter="https://github.com/Demo-Liu/GeekDesk" MouseLeave="SC_MouseLeave"
Margin="0,0,10,0" Color="#24292F"/> Command="hc:ControlCommands.OpenLink"
<hc:Shield Subject="Gitee" Visibility="Visible" Status="Demo-liu" CommandParameter="https://github.com/Demo-Liu/GeekDesk"
Command="hc:ControlCommands.OpenLink" Margin="0,0,10,0" Color="#24292F"/>
CommandParameter="https://gitee.com/demo_liu/GeekDesk" <hc:Shield Subject="Gitee" Visibility="Visible" Status="Star"
Margin="0,0,10,0" Color="#C71D23"/> MouseEnter="SC_MouseEnter"
MouseLeave="SC_MouseLeave"
Command="hc:ControlCommands.OpenLink"
CommandParameter="https://gitee.com/demo_liu/GeekDesk"
Margin="0,0,10,0" Color="#C71D23"/>
</hc:UniformSpacingPanel> </hc:UniformSpacingPanel>

View File

@@ -45,5 +45,14 @@ namespace GeekDesk.Control.UserControls.Config
Window.GetWindow(this).DragMove(); Window.GetWindow(this).DragMove();
} }
} }
private void SC_MouseEnter(object sender, MouseEventArgs e)
{
this.Cursor = Cursors.Hand;
}
private void SC_MouseLeave(object sender, MouseEventArgs e)
{
this.Cursor = Cursors.Arrow;
}
} }
} }