有时我会从GetLayoutClip()得到一个InvalidOperationException,我会覆盖它。对TransformToAncestor的调用会导致异常。相关的callstack部分:
Wrapped Exception: System.InvalidOperationException: An exception occured while handling
当我调试我的应用程序时,我得到了很多这样的InvalidOperationException和NullReferenceException:A first chance exception of type 'System.InvalidOperationException' occurred' occurred in System.Core.dll
A first chance exceptio
this.ShowDialog(); } catch (InvalidOperationExceptionbackgroundWorker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e) this.Hide(); //Here I get a InvalidOperationException但