I am developing a windows form application. At one of my form i place a picture box control. Its working fine for majority of time. But sometime it displays red cross rather than displaying actual picture.
我进一步探讨这一问题,并了解到,这种控制处理内部例外情况。 因此,一去<代码>Debug->Exceptions,并核对相关的<代码>被抛在箱。 然后发现红箱由于以下错误而显示:
A first chance exception of type System.OutOfMemoryException occurred in System.Drawing.dll
Additional information: Out of memory.
是否有任何机构建议我如何处理这一例外?