code clean up
This commit is contained in:
parent
1816bd721c
commit
28625029cd
21 changed files with 44 additions and 202 deletions
|
|
@ -19,7 +19,7 @@ namespace LibationWinForms
|
|||
|
||||
protected override void OnListChanged(ListChangedEventArgs e)
|
||||
{
|
||||
if (syncContext != null)
|
||||
if (syncContext is not null)
|
||||
syncContext.Send(_ => base.OnListChanged(e), null);
|
||||
else
|
||||
base.OnListChanged(e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue