Merge pull request #897 from HandyOrg/t/bot/fix-codeformatting
[Bot] Automated PR to fix formatting errors
This commit is contained in:
1 file changed
+2
-2
@@ -19,7 +19,7 @@ namespace HandyControlDemo.UserControl
|
|||||||
|
|
||||||
private void ButtonLangs_OnClick(object sender, RoutedEventArgs e)
|
private void ButtonLangs_OnClick(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (e.OriginalSource is Button {Tag: string langName})
|
if (e.OriginalSource is Button { Tag: string langName })
|
||||||
{
|
{
|
||||||
PopupConfig.IsOpen = false;
|
PopupConfig.IsOpen = false;
|
||||||
if (langName.Equals(GlobalData.Config.Lang))
|
if (langName.Equals(GlobalData.Config.Lang))
|
||||||
@@ -40,7 +40,7 @@ namespace HandyControlDemo.UserControl
|
|||||||
|
|
||||||
private void ButtonSkins_OnClick(object sender, RoutedEventArgs e)
|
private void ButtonSkins_OnClick(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (e.OriginalSource is Button {Tag: SkinType skinType})
|
if (e.OriginalSource is Button { Tag: SkinType skinType })
|
||||||
{
|
{
|
||||||
PopupConfig.IsOpen = false;
|
PopupConfig.IsOpen = false;
|
||||||
if (skinType.Equals(GlobalData.Config.Skin))
|
if (skinType.Equals(GlobalData.Config.Skin))
|
||||||
|
|||||||
Reference in new issue
Block a user