|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Graphics.Clear() in Terminal Servicesin Terminal Services. For more info: http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=235193 and http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=96873 We are periodically seeing this issue in our own software and I have removed all the Graphics.Clear() calls, but in delving through the framework, there are a number of places where it's called. For example, ImageList.Images.Add() eventually results in a Graphics.Clear() call. The problem is I can't reliably reproduce the issue and what I'd like to do is find out if anyone out there knows how to reliably reproduce the problem. ImageLists are used directly, and indirectly (via S.W.F controls) and I basically need to establish whether or not this problem is fixable by us. By that, I mean, currently, the exception has shown up only when we directly call Graphics.Clear(). But if there are situations where it's going to happen when adding images to an ImageList, there's no point in us fixing all the possible places in our code where Graphics.Clear() is called directly or indirectly. Anyone have any ideas on this one? |
|||||||||||||||||||||||