Fix System.InvalidOperationException: Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on. in Form1.RemoveTrack () (D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:551) #3
Version 1.0.0.2(1.0.0.2)
Stacktrace
SilverAudioPlayer.Form1.RemoveTrack() in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 551;SilverAudioPlayer
SilverAudioPlayer.Form1.HandleSongChanging(Song NextSong, Boolean resetsal) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 608;SilverAudioPlayer
SilverAudioPlayer.Form1.MusicStatusInterface_Next(Object sender, EventArgs e) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.Winforms\Form1.cs:line 104;SilverAudioPlayer
SilverAudioPlayer.CAD.CADMusicStatusInterface.CallbackMsgs(IntPtr wHwnd, Int32 wMsg, IntPtr wParam, IntPtr lParam) in D:\Users\USER\source\repos\SilverAudioPlayer\SilverAudioPlayer.CAD\Class1.cs:line 224;SilverAudioPlayer.CAD
Reason
System.InvalidOperationException: Cross-thread operation not valid: Control 'Form1' accessed from a thread other than the thread it was created on.
Link to App Center