Click here to Skip to main content
15,887,214 members
Home / Discussions / C#
   

C#

 
AnswerRe: Bitmap Dispose Pin
Richard Andrew x6412-Dec-14 7:20
professionalRichard Andrew x6412-Dec-14 7:20 
GeneralRe: Bitmap Dispose Pin
OriginalGriff12-Dec-14 8:14
mveOriginalGriff12-Dec-14 8:14 
GeneralRe: Bitmap Dispose Pin
Richard Andrew x6412-Dec-14 8:16
professionalRichard Andrew x6412-Dec-14 8:16 
QuestionRe: Bitmap Dispose Pin
Richard Andrew x6412-Dec-14 8:31
professionalRichard Andrew x6412-Dec-14 8:31 
AnswerRe: Bitmap Dispose Pin
OriginalGriff13-Dec-14 0:19
mveOriginalGriff13-Dec-14 0:19 
GeneralRe: Bitmap Dispose Pin
Richard Deeming15-Dec-14 2:15
mveRichard Deeming15-Dec-14 2:15 
GeneralRe: Bitmap Dispose Pin
OriginalGriff15-Dec-14 2:27
mveOriginalGriff15-Dec-14 2:27 
GeneralRe: Bitmap Dispose Pin
Richard Deeming12-Dec-14 8:56
mveRichard Deeming12-Dec-14 8:56 
A bool flag wouldn't be disposed. Plenty of classes in the BCL seem to use this approach - for example:
http://referencesource.microsoft.com/#mscorlib/system/threading/CancellationTokenSource.cs,135[^]

The only problem is, you can't write a class derived from Bitmap, as it's sealed.



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Bitmap Dispose Pin
V.13-Dec-14 6:26
professionalV.13-Dec-14 6:26 
Questionconsle application Pin
Kasi .A12-Dec-14 0:52
Kasi .A12-Dec-14 0:52 
AnswerRe: consle application Pin
RUs12312-Dec-14 0:57
RUs12312-Dec-14 0:57 
Suggestion[REPOST] consle application Pin
Richard Deeming12-Dec-14 1:40
mveRichard Deeming12-Dec-14 1:40 
AnswerRe: consle application Pin
Eddy Vluggen12-Dec-14 7:47
professionalEddy Vluggen12-Dec-14 7:47 
QuestionExtension method for a list Pin
Frank W. Wu11-Dec-14 4:34
Frank W. Wu11-Dec-14 4:34 
SuggestionRe: Extension method for a list Pin
Kornfeld Eliyahu Peter11-Dec-14 4:48
professionalKornfeld Eliyahu Peter11-Dec-14 4:48 
AnswerRe: Extension method for a list Pin
SledgeHammer0111-Dec-14 4:57
SledgeHammer0111-Dec-14 4:57 
GeneralRe: Extension method for a list Pin
Richard Deeming11-Dec-14 5:06
mveRichard Deeming11-Dec-14 5:06 
GeneralRe: Extension method for a list Pin
SledgeHammer0111-Dec-14 5:15
SledgeHammer0111-Dec-14 5:15 
AnswerRe: Extension method for a list Pin
BillWoodruff11-Dec-14 5:14
professionalBillWoodruff11-Dec-14 5:14 
GeneralRe: Extension method for a list Pin
Agent__00711-Dec-14 16:31
professionalAgent__00711-Dec-14 16:31 
GeneralRe: Extension method for a list Pin
BillWoodruff11-Dec-14 18:20
professionalBillWoodruff11-Dec-14 18:20 
QuestionEF Code-First to Existing Database Pin
jasonalien10-Dec-14 22:10
jasonalien10-Dec-14 22:10 
AnswerRe: EF Code-First to Existing Database Pin
Maciej Los11-Dec-14 20:10
mveMaciej Los11-Dec-14 20:10 
Questionsuperimpose two pictureboxes C# Pin
Member 1045669210-Dec-14 19:32
Member 1045669210-Dec-14 19:32 
AnswerRe: superimpose two pictureboxes C# Pin
BillWoodruff10-Dec-14 22:13
professionalBillWoodruff10-Dec-14 22:13 

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.