Click here to Skip to main content
15,905,563 members
Home / Discussions / C#
   

C#

 
AnswerRe: passing bitmap data between managed and unmanaged code Pin
Hristo-Bojilov15-May-10 7:48
Hristo-Bojilov15-May-10 7:48 
GeneralRe: passing bitmap data between managed and unmanaged code Pin
Luc Pattyn15-May-10 9:26
sitebuilderLuc Pattyn15-May-10 9:26 
Questionmodifying the bitmap image Pin
sursangeetha14-May-10 22:38
sursangeetha14-May-10 22:38 
AnswerRe: modifying the bitmap image Pin
OriginalGriff15-May-10 0:47
mveOriginalGriff15-May-10 0:47 
AnswerRe: modifying the bitmap image Pin
MafiaMoe15-May-10 22:08
MafiaMoe15-May-10 22:08 
QuestionSetting folder access rights for specific user Pin
Chesnokov Yuriy14-May-10 21:27
professionalChesnokov Yuriy14-May-10 21:27 
AnswerRe: Setting folder access rights for specific user Pin
DaveyM6914-May-10 23:24
professionalDaveyM6914-May-10 23:24 
QuestionRe: Setting folder access rights for specific user Pin
Chesnokov Yuriy15-May-10 4:27
professionalChesnokov Yuriy15-May-10 4:27 
AnswerRe: Setting folder access rights for specific user Pin
DaveyM6915-May-10 4:45
professionalDaveyM6915-May-10 4:45 
Questionremoving the changes done to an image Pin
sursangeetha14-May-10 21:16
sursangeetha14-May-10 21:16 
AnswerRe: removing the changes done to an image Pin
Richard MacCutchan14-May-10 21:34
mveRichard MacCutchan14-May-10 21:34 
AnswerRe: removing the changes done to an image Pin
riced15-May-10 0:43
riced15-May-10 0:43 
AnswerRe: removing the changes done to an image Pin
Sandeep Mewara15-May-10 19:27
mveSandeep Mewara15-May-10 19:27 
Questionproblem with attaching an existing project to another project Pin
prasadbuddhika14-May-10 20:42
prasadbuddhika14-May-10 20:42 
AnswerRe: problem with attaching an existing project to another project Pin
#realJSOP14-May-10 23:21
professional#realJSOP14-May-10 23:21 
AnswerRe: problem with attaching an existing project to another project Pin
PIEBALDconsult15-May-10 5:23
mvePIEBALDconsult15-May-10 5:23 
AnswerRe: problem with attaching an existing project to another project Pin
Luc Pattyn15-May-10 7:04
sitebuilderLuc Pattyn15-May-10 7:04 
AnswerRe: problem with attaching an existing project to another project Pin
prasadbuddhika16-May-10 22:02
prasadbuddhika16-May-10 22:02 
QuestionSo I Tried Graphics Tonight For The First Time Pin
Roger Wright14-May-10 19:42
professionalRoger Wright14-May-10 19:42 
AnswerRe: So I Tried Graphics Tonight For The First Time Pin
AspDotNetDev14-May-10 20:09
protectorAspDotNetDev14-May-10 20:09 
AnswerRe: So I Tried Graphics Tonight For The First Time Pin
AspDotNetDev14-May-10 20:14
protectorAspDotNetDev14-May-10 20:14 
AnswerRe: So I Tried Graphics Tonight For The First Time Pin
Som Shekhar14-May-10 20:30
Som Shekhar14-May-10 20:30 
Your code is fine. However the size of the rectangle is too small. It might be possible that the circle is made below the button. My suggestion would be to increase the rectangle size.

Apart from that, there is one good habit you should start right away. Dispose the graphics object after you are done with it. This is a major source of memory leak.
GeneralRe: So I Tried Graphics Tonight For The First Time Pin
AspDotNetDev14-May-10 21:01
protectorAspDotNetDev14-May-10 21:01 
GeneralRe: So I Tried Graphics Tonight For The First Time Pin
Pete O'Hanlon14-May-10 22:00
mvePete O'Hanlon14-May-10 22:00 
GeneralRe: So I Tried Graphics Tonight For The First Time Pin
OriginalGriff14-May-10 22:22
mveOriginalGriff14-May-10 22:22 

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.