When it happens at any time without any exact reason and without exact steps to be taken then it is really hard to tell. Nevertheless I managed to get one error description.
While trying to open thrid SalesOrder form with Dominik Brožek to look at some details bellow exception came out.
Except this form there were AddressBook, Expedition terms, Bonus points and maybe two more SalesOrder forms opened.
========================================
Exception
Cíl vyvolání způsobil výjimku.
Cíl vyvolání způsobil výjimku.
Načtení seznamu ImageList se nezdařilo.
========================================
Stack trace
v System.Windows.Forms.ImageListStreamer…ctor(SerializationInfo info, StreamingContext context) v System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
v System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context)
v System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
v System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
v System.Runtime.Serialization.ObjectManager.DoFixups()
v System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
v System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
v System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
v System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
v System.Resources.ResourceReader.LoadObject(Int32 pos, ResourceTypeCode& typeCode)
v System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase, Boolean isString)
v System.Resources.RuntimeResourceSet.GetObject(String key, Boolean ignoreCase)
v System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
v System.Resources.ResourceManager.GetObject(String name)
v CZ.Advantages.Asap.UI.ASMessageBoxForm.InitializeComponent()
v CZ.Advantages.Asap.UI.ASMessageBoxForm…ctor()
v CZ.Advantages.Asap.UI.ASMessageBoxForm…ctor(String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, Exception exception, IDebugInfoProvider debugInfoProvider)
v CZ.Advantages.Asap.UI.AsMessageBox.ShowError(IWin32Window owner, String text, String caption, Exception exception)
v AsapArchitect.MainClass.HandleUnhandledException(Object o)
v AsapArchitect.MainClass.Application_ThreadException(Object sender, ThreadExceptionEventArgs e)
v System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
v System.Windows.Forms.Control.WndProcException(Exception e)
v System.Windows.Forms.Control.ControlNativeWindow.OnThreadException(Exception e)
v System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
v System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
v System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
v System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
v System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
v System.Windows.Forms.Application.Run(Form mainForm)
v AsapArchitect.MainClass.Main(String[] args)