diff --git a/doc/.gitignore b/doc/.gitignore
index 063b0e4c..7cb111d8 100644
--- a/doc/.gitignore
+++ b/doc/.gitignore
@@ -4,4 +4,5 @@ db.json
*.log
node_modules/
public/
-.deploy*/
\ No newline at end of file
+.deploy*/
+.vs
\ No newline at end of file
diff --git a/doc/source/handycontrol/tnx/index.md b/doc/source/handycontrol/tnx/index.md
index 4a7f298c..56d2b7a1 100644
--- a/doc/source/handycontrol/tnx/index.md
+++ b/doc/source/handycontrol/tnx/index.md
@@ -4,7 +4,7 @@ title: 鸣谢
# 感谢以下Coder提供代码贡献
-




+




# 感谢以下User提供使用建议
@@ -16,4 +16,5 @@ title: 鸣谢
# 感谢以下捐赠者
-
\ No newline at end of file
+

+QQ:1942142462
\ No newline at end of file
diff --git a/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs b/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs
index 80aa3224..06623095 100644
--- a/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs
+++ b/src/Shared/HandyControl_Shared/Controls/Window/MessageBox.cs
@@ -1,5 +1,6 @@
using System;
using System.ComponentModel;
+using System.Media;
using System.Text;
using System.Windows;
using System.Windows.Input;
@@ -156,6 +157,7 @@ namespace HandyControl.Controls
messageBox.ShowImage = true;
messageBox.Image = ResourceHelper.GetResource(ResourceToken.SuccessGeometry);
messageBox.ImageBrush = ResourceHelper.GetResource(ResourceToken.SuccessBrush);
+ SystemSounds.Asterisk.Play();
messageBox.ShowDialog();
});
#endif
@@ -185,6 +187,7 @@ namespace HandyControl.Controls
messageBox = CreateMessageBox(null, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.Information, MessageBoxResult.OK);
SetButtonStatus(messageBox, MessageBoxButton.OK);
SetImage(messageBox, MessageBoxImage.Information);
+ SystemSounds.Asterisk.Play();
messageBox.ShowDialog();
});
#endif
@@ -214,6 +217,7 @@ namespace HandyControl.Controls
messageBox = CreateMessageBox(null, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.Warning, MessageBoxResult.OK);
SetButtonStatus(messageBox, MessageBoxButton.OK);
SetImage(messageBox, MessageBoxImage.Warning);
+ SystemSounds.Asterisk.Play();
messageBox.ShowDialog();
});
#endif
@@ -243,6 +247,7 @@ namespace HandyControl.Controls
messageBox = CreateMessageBox(null, messageBoxText, caption, MessageBoxButton.OK, MessageBoxImage.Error, MessageBoxResult.OK);
SetButtonStatus(messageBox, MessageBoxButton.OK);
SetImage(messageBox, MessageBoxImage.Error);
+ SystemSounds.Asterisk.Play();
messageBox.ShowDialog();
});
#endif
@@ -276,6 +281,7 @@ namespace HandyControl.Controls
messageBox.ShowImage = true;
messageBox.Image = ResourceHelper.GetResource(ResourceToken.FatalGeometry);
messageBox.ImageBrush = ResourceHelper.GetResource(ResourceToken.PrimaryTextBrush);
+ SystemSounds.Asterisk.Play();
messageBox.ShowDialog();
});
#endif
@@ -305,6 +311,7 @@ namespace HandyControl.Controls
messageBox = CreateMessageBox(null, messageBoxText, caption, MessageBoxButton.OKCancel, MessageBoxImage.Question, MessageBoxResult.Cancel);
SetButtonStatus(messageBox, MessageBoxButton.OKCancel);
SetImage(messageBox, MessageBoxImage.Question);
+ SystemSounds.Asterisk.Play();
messageBox.ShowDialog();
});
#endif
@@ -350,6 +357,7 @@ namespace HandyControl.Controls
}
messageBox.Style = info.Style;
+ SystemSounds.Asterisk.Play();
messageBox.ShowDialog();
});
#endif
@@ -398,6 +406,7 @@ namespace HandyControl.Controls
messageBox = CreateMessageBox(owner, messageBoxText, caption, button, icon, defaultResult);
SetButtonStatus(messageBox, button);
SetImage(messageBox, icon);
+ SystemSounds.Asterisk.Play();
messageBox.ShowDialog();
});
#endif