Skip to content

Commit

Permalink
注释更改
Browse files Browse the repository at this point in the history
  • Loading branch information
MiyamizuSu committed Nov 6, 2024
1 parent 799362e commit 3dab5d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,15 @@

'#4902 可以不用再切换到别的预设图标才能再次切换自定义图标'
Private Sub ItemDisplayLogoCustom_PreviewMouseLeftButtonDown(sender As Object, e As MouseButtonEventArgs) Handles ItemDisplayLogoCustom.PreviewMouseLeftButtonDown

Try
If ComboDisplayLogo.SelectedItem Is ItemDisplayLogoCustom
ComboDisplayLogo.SelectedItem = ItemDisplayLogoCustom
Dim comboBoxItemsList =New List(Of ComboBoxItem)()
comboBoxItemsList.Add(ComboDisplayLogo.SelectedItem)
Dim removedItems As IList = New List(Of Object)()
Dim args As New SelectionChangedEventArgs(ComboBox.SelectionChangedEvent, removedItems, comboBoxItemsList)
ComboDisplayLogo_SelectionChanged(ComboDisplayLogo, args) ' 触发事件2
'事件触发器'
ComboDisplayLogo_SelectionChanged(ComboDisplayLogo, args)
End If
Catch ex As Exception
Log(ex, "更改自定义版本图标失败(" & PageVersionLeft.Version.Name & ")", LogLevel.Feedback)
Expand Down

0 comments on commit 3dab5d6

Please sign in to comment.