tune
This commit is contained in:
@@ -301,7 +301,7 @@ namespace HiNC_2025_win_desktop.Geom
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageKit.AddError(string.Format(Application.Current.FindResource("Vec3d_Update_Error").ToString(), ex.Message));
|
||||
MessageHost.AddError(string.Format(Application.Current.FindResource("Vec3d_Update_Error").ToString(), ex.Message));
|
||||
ex.ShowException(this);
|
||||
}
|
||||
finally
|
||||
@@ -392,7 +392,7 @@ namespace HiNC_2025_win_desktop.Geom
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageKit.AddError(string.Format(Application.Current.FindResource("Vec3d_Update_Error").ToString(), ex.Message));
|
||||
MessageHost.AddError(string.Format(Application.Current.FindResource("Vec3d_Update_Error").ToString(), ex.Message));
|
||||
ex.ShowException(this);
|
||||
}
|
||||
finally
|
||||
@@ -549,7 +549,7 @@ namespace HiNC_2025_win_desktop.Geom
|
||||
catch (Exception ex)
|
||||
{
|
||||
// 记录异常但不中断用户操作
|
||||
MessageKit.AddError(string.Format(Application.Current.FindResource("Vec3d_Update_Error").ToString(), ex.Message));
|
||||
MessageHost.AddError(string.Format(Application.Current.FindResource("Vec3d_Update_Error").ToString(), ex.Message));
|
||||
ex.ShowException(this);
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user