From b7145d59fed127de8c7b46115db9d362f088442d Mon Sep 17 00:00:00 2001 From: TautCony Date: Tue, 29 Mar 2022 16:44:48 +0800 Subject: [PATCH 1/2] fix: add invoker --- Time_Shift/Forms/Form1.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/Time_Shift/Forms/Form1.cs b/Time_Shift/Forms/Form1.cs index 3eb231e..b483ceb 100644 --- a/Time_Shift/Forms/Form1.cs +++ b/Time_Shift/Forms/Form1.cs @@ -1111,14 +1111,9 @@ private void dataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs default: break; } - try - { - UpdateGridView(fpsIndex); - } - catch (InvalidOperationException ex) - { - Log(ex.Message); - } + + BeginInvoke(new MethodInvoker(() => + UpdateGridView(fpsIndex))); void UpdateTime(TimeSpan time) { From 5982ec4e959809c6c360ca0bb1863c1d50dcf105 Mon Sep 17 00:00:00 2001 From: TautCony Date: Tue, 27 Sep 2022 21:27:25 +0800 Subject: [PATCH 2/2] Bumped version to 2.33.33.333 --- Time_Shift/Properties/AssemblyInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Time_Shift/Properties/AssemblyInfo.cs b/Time_Shift/Properties/AssemblyInfo.cs index 24cf2f1..54ca3e9 100644 --- a/Time_Shift/Properties/AssemblyInfo.cs +++ b/Time_Shift/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ // 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值, // 方法是按如下所示使用“*”: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.33.33.332")] -[assembly: AssemblyFileVersion("2.33.33.332")] +[assembly: AssemblyVersion("2.33.33.333")] +[assembly: AssemblyFileVersion("2.33.33.333")]