Hello,
i have attached a sample Application with a TaskBarAssistent and two ThumbnailButtons (Screenshot).
If you click on thumbnarilButton1 or 2 the application crashes.
C#System.InvalidCastException wurde nicht behandelt.
HResult=-2147467262
Message=Das Objekt des Typs "System.EventHandler`1[DevExpress.Utils.Taskbar.ThumbButtonClickEventArgs]" kann nicht in Typ "System.EventHandler" umgewandelt werden.
Source=DevExpress.Utils.v16.2
StackTrace:
bei DevExpress.Utils.Taskbar.ThumbnailButton.RaiseThumbButtonClick(IntPtr handle)
bei DevExpress.Utils.Taskbar.Core.FilterWindow.DispatchThumbnailButtonMessage(Message& m, ThumbnailButtonCollection collection, IntPtr handle)
bei DevExpress.Utils.Taskbar.Core.FilterWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
bei System.Windows.Forms.Application.Run(Form mainForm)
bei DXApplication1.Program.Main() in C:\Users\dro\Documents\Visual Studio 2015\Projects\DXApplication1\DXApplication1\Program.cs:Zeile 23.
bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()
InnerException:
Please provide a quick solution because we shipped a version with DevExpress 16.2.3 to your customers.
Regards
Daniel
Hi Daniel,
I have reproduced the issue and passed this ticket to our developers. We will inform you of our progress once we make any. Please bear with us.