WinForms too many handles
问题 I our production, my application caused two different exceptions: System.ArgumentException: Invalid Parameter. at System.Drawing.Image.get_RawFormat() at System.Windows.Forms.ToolStripItem.set_Image(Image value) at Zeiss.IMT.IME.CmmUI.Tools.ToolControl.updateControls() There is another exception that i suppose to have the same cause: System.ComponentModel.Win32Exception: The operation completed successfully at System.Drawing.BufferedGraphicsContext.CreateCompatibleDIB(IntPtr hdc, IntPtr hpal,