improve:改进了日志输出

This commit is contained in:
CJK_mkp
2025-06-10 16:48:45 +08:00
parent 9b1d9c117e
commit 85d98c0b70
7 changed files with 44 additions and 21 deletions
+1 -1
View File
@@ -106,7 +106,7 @@
<Viewbox Margin="0,10">
<ui:SymbolIcon Symbol="Globe" Foreground="White"/>
</Viewbox>
<TextBlock Text="调用外部点名" Foreground="White" FontSize="22" Margin="-1,-1,4,0" VerticalAlignment="Center"/>
<TextBlock Text="ClassIsland点名" Foreground="White" FontSize="18" Margin="-1,-1,4,0" VerticalAlignment="Center"/>
</ui:SimpleStackPanel>
</Border>
</ui:SimpleStackPanel>
+12
View File
@@ -207,8 +207,20 @@ namespace Ink_Canvas {
Close();
}
private bool isIslandCallerFirstClick = true;
private void BorderBtnIslandCaller_MouseUp(object sender, MouseButtonEventArgs e)
{
if (isIslandCallerFirstClick)
{
MessageBox.Show(
"首次使用ClassIsland点名功能,请确保已安装ClassIsland和Island caller插件。\n" +
"如未安装,请前往官网下载并安装后再使用。",
"提示", MessageBoxButton.OK, MessageBoxImage.Information);
isIslandCallerFirstClick = false;
return;
}
try
{
System.Diagnostics.Process.Start(new System.Diagnostics.ProcessStartInfo