Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: I do not understand why the error ! :S Pin
ismail201-Jun-11 3:44
ismail201-Jun-11 3:44 
GeneralRe: I do not understand why the error ! :S PinPopular
Pete O'Hanlon1-Jun-11 3:54
mvePete O'Hanlon1-Jun-11 3:54 
QuestionLogical issue with a recursive function call Pin
John-ph1-Jun-11 2:23
John-ph1-Jun-11 2:23 
AnswerRe: Logical issue with a recursive function call Pin
dasblinkenlight1-Jun-11 5:37
dasblinkenlight1-Jun-11 5:37 
QuestionMemory expensive rubber band selection? Pin
Chesnokov Yuriy31-May-11 23:10
professionalChesnokov Yuriy31-May-11 23:10 
AnswerRe: Memory expensive rubber band selection? Pin
BobJanova31-May-11 23:36
BobJanova31-May-11 23:36 
AnswerRe: Memory expensive rubber band selection? Pin
Chesnokov Yuriy1-Jun-11 0:42
professionalChesnokov Yuriy1-Jun-11 0:42 
AnswerRe: Memory expensive rubber band selection? Pin
Luc Pattyn1-Jun-11 0:42
sitebuilderLuc Pattyn1-Jun-11 0:42 
Graphics objects are expensive, and you should dispose them. Why not use a using statement, just like you did for the region Bitmap?

And why would you need two Graphics instances, and a DrawImage()? Couldn't you just use the Bitmap(Image) constructor, and have its Graphics, just the one?

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Please use <PRE> tags for code snippets, they improve readability.
CP Vanity has been updated to V2.3

GeneralRe: Memory expensive rubber band selection? Pin
Chesnokov Yuriy1-Jun-11 0:56
professionalChesnokov Yuriy1-Jun-11 0:56 
AnswerRe: Memory expensive rubber band selection? Pin
Eddy Vluggen1-Jun-11 1:00
professionalEddy Vluggen1-Jun-11 1:00 
GeneralRe: Memory expensive rubber band selection? Pin
BobJanova1-Jun-11 1:24
BobJanova1-Jun-11 1:24 
GeneralRe: Memory expensive rubber band selection? Pin
Pete O'Hanlon1-Jun-11 1:41
mvePete O'Hanlon1-Jun-11 1:41 
AnswerRe: Memory expensive rubber band selection? Pin
Luc Pattyn1-Jun-11 1:41
sitebuilderLuc Pattyn1-Jun-11 1:41 
QuestionRe: Memory expensive rubber band selection? Pin
Chesnokov Yuriy1-Jun-11 1:56
professionalChesnokov Yuriy1-Jun-11 1:56 
AnswerRe: Memory expensive rubber band selection? Pin
_Erik_1-Jun-11 3:47
_Erik_1-Jun-11 3:47 
GeneralRe: Memory expensive rubber band selection? Pin
Chesnokov Yuriy1-Jun-11 7:18
professionalChesnokov Yuriy1-Jun-11 7:18 
GeneralRe: Memory expensive rubber band selection? Pin
_Erik_2-Jun-11 1:51
_Erik_2-Jun-11 1:51 
QuestionWork with Geotiff in C# Pin
Reza Shojaee31-May-11 22:04
Reza Shojaee31-May-11 22:04 
AnswerRe: Work with Geotiff in C# Pin
Pete O'Hanlon31-May-11 22:32
mvePete O'Hanlon31-May-11 22:32 
Questionabstarct class basic question [modified] Pin
PozzaVecia31-May-11 20:57
PozzaVecia31-May-11 20:57 
AnswerRe: abstarct class basic question Pin
RobCroll31-May-11 21:19
RobCroll31-May-11 21:19 
GeneralRe: abstarct class basic question Pin
PozzaVecia31-May-11 21:33
PozzaVecia31-May-11 21:33 
GeneralRe: abstarct class basic question Pin
BobJanova31-May-11 23:03
BobJanova31-May-11 23:03 
GeneralRe: abstarct class basic question Pin
PozzaVecia31-May-11 23:28
PozzaVecia31-May-11 23:28 
GeneralRe: abstarct class basic question Pin
BobJanova31-May-11 23:33
BobJanova31-May-11 23:33 

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.