Click here to Skip to main content
15,895,777 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerRe: how to simulate the image layer , like the one in Photoshop Pin
Ray Cassick7-Nov-08 4:43
Ray Cassick7-Nov-08 4:43 
GeneralRe: how to simulate the image layer , like the one in Photoshop Pin
Member 415175810-Nov-08 0:15
Member 415175810-Nov-08 0:15 
GeneralRe: how to simulate the image layer , like the one in Photoshop Pin
Thomas Stockwell10-Nov-08 1:16
professionalThomas Stockwell10-Nov-08 1:16 
GeneralRe: how to simulate the image layer , like the one in Photoshop Pin
Dave Kreskowiak10-Nov-08 3:12
mveDave Kreskowiak10-Nov-08 3:12 
QuestionHow to stop installation in Setup Project 2008? Pin
praful_udade6-Nov-08 20:44
praful_udade6-Nov-08 20:44 
QuestionAny way to purge a Dictionary of items meeting some criterion? Pin
supercat96-Nov-08 9:36
supercat96-Nov-08 9:36 
AnswerRe: Any way to purge a Dictionary of items meeting some criterion? Pin
PIEBALDconsult6-Nov-08 10:19
mvePIEBALDconsult6-Nov-08 10:19 
GeneralRe: Any way to purge a Dictionary of items meeting some criterion? Pin
supercat96-Nov-08 11:31
supercat96-Nov-08 11:31 
That could be done, but it would seem rather wasteful.

In nearly all common practical algorithms for storing collections, support for DeleteAndMoveNext could be added relatively simply. In many cases, it would add no extra work to the iterator's normal operation; in others, it would add a small amount of work (e.g. a singly linked list would need to keep a pointer to the item before the current one). Given the number of tasks that require striking from a collection objects which meet a particular criterion, and given that an iterator will often have information that would facilitate the deletion of an object from a collection, having an extended iEnumerator interface would seem useful.

BTW, for some types of collection, where the enumerator contains all the information about an object (e.g. a KeyValuePair) it may be useful to have general-purpose Add and Delete functions within the enumerator itself. Such functions would invalidate any other enumerators to the root object, but would do whatever was necessary to maintain their own validity. Not sure that would have much added utility beyond DeleteAndMoveNext, though.
AnswerRe: Any way to purge a Dictionary of items meeting some criterion? Pin
Dave Kreskowiak6-Nov-08 10:23
mveDave Kreskowiak6-Nov-08 10:23 
GeneralRe: Any way to purge a Dictionary of items meeting some criterion? Pin
supercat96-Nov-08 11:14
supercat96-Nov-08 11:14 
GeneralRe: Any way to purge a Dictionary of items meeting some criterion? Pin
Luc Pattyn6-Nov-08 11:39
sitebuilderLuc Pattyn6-Nov-08 11:39 
GeneralRe: Any way to purge a Dictionary of items meeting some criterion? Pin
supercat96-Nov-08 12:14
supercat96-Nov-08 12:14 
QuestionHow to pass arrays as paramter to typed dataset Pin
Member 20986146-Nov-08 1:57
Member 20986146-Nov-08 1:57 
QuestionwebBrowser and transparent background Pin
mdzieg5-Nov-08 7:14
mdzieg5-Nov-08 7:14 
AnswerRe: webBrowser and transparent background Pin
Dave Kreskowiak5-Nov-08 14:00
mveDave Kreskowiak5-Nov-08 14:00 
GeneralRe: webBrowser and transparent background Pin
mdzieg6-Nov-08 1:13
mdzieg6-Nov-08 1:13 
Questionsome problems,help me! Thank you! Pin
bozin5-Nov-08 5:50
bozin5-Nov-08 5:50 
GeneralRe: some problems,help me! Thank you! Pin
Luc Pattyn5-Nov-08 13:52
sitebuilderLuc Pattyn5-Nov-08 13:52 
Questionproblems about datagridview in C# winforms Pin
bozin4-Nov-08 6:03
bozin4-Nov-08 6:03 
QuestionRe: problems about datagridview in C# winforms Pin
led mike4-Nov-08 6:37
led mike4-Nov-08 6:37 
AnswerRe: problems about datagridview in C# winforms Pin
bozin4-Nov-08 6:54
bozin4-Nov-08 6:54 
GeneralRe: problems about datagridview in C# winforms Pin
led mike4-Nov-08 7:31
led mike4-Nov-08 7:31 
AnswerRe: problems about datagridview in C# winforms Pin
nelsonpaixao7-Nov-08 14:37
nelsonpaixao7-Nov-08 14:37 
QuestionVSTO Application Deployment Pin
tozy3-Nov-08 19:15
tozy3-Nov-08 19:15 
Questionhow to disable paste event for a textbox Pin
lakshmichawala3-Nov-08 19:07
lakshmichawala3-Nov-08 19:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.