Click here to Skip to main content
15,891,976 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to detect arrows key in key press event handler? Pin
Pedram Behroozi4-Nov-08 22:35
Pedram Behroozi4-Nov-08 22:35 
GeneralRe: How to detect arrows key in key press event handler? Pin
cocoonwls4-Nov-08 23:12
cocoonwls4-Nov-08 23:12 
AnswerRe: How to detect arrows key in key press event handler? Pin
dan!sh 4-Nov-08 22:03
professional dan!sh 4-Nov-08 22:03 
GeneralRe: How to detect arrows key in key press event handler? Pin
cocoonwls4-Nov-08 23:15
cocoonwls4-Nov-08 23:15 
GeneralRe: How to detect arrows key in key press event handler? Pin
dan!sh 5-Nov-08 0:16
professional dan!sh 5-Nov-08 0:16 
GeneralRe: How to detect arrows key in key press event handler? Pin
cocoonwls6-Nov-08 15:15
cocoonwls6-Nov-08 15:15 
AnswerRe: How to detect arrows key in key press event handler? Pin
vaynenick18-Jun-14 22:19
vaynenick18-Jun-14 22:19 
QuestionPictureBox and ThumbNail code causing Application to NOT close. Pin
swjam4-Nov-08 19:02
swjam4-Nov-08 19:02 
I've got the following code that attaches a thumbnail image coming from an ImageList to a PictureBox. However, it is causing my application to not close once the code block gets executed. I suspect this has got to do with the resource(the photo file) not being released properly, I may be wrong though. Any experts advice would be greatly appreciated. All the best!

<br />
      Image.GetThumbnailImageAbort myCallback =<br />
                                       new Image.GetThumbnailImageAbort(ThumbnailCallback);<br />
      Image myThumbnail = this.imageList1.Images[0].GetThumbnailImage(this.pictureBox1.Size.Width-5, this.pictureBox1.Size.Height-5, myCallback, IntPtr.Zero);<br />
//      e.Graphics.DrawImage(myThumbnail, 150, 75);<br />
 <br />
      this.pictureBox1.Image = myThumbnail;<br />
      this.pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage;


----------------------------------------------------------
"unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep" - my daily unix command list

AnswerRe: PictureBox and ThumbNail code causing Application to NOT close. Pin
Simon P Stevens4-Nov-08 22:34
Simon P Stevens4-Nov-08 22:34 
Questionhow to remove whitespace(<p>&lt;\p&gt; )using stringbuilder in c#</p> Pin
raj2313624-Nov-08 18:49
raj2313624-Nov-08 18:49 
AnswerRe: how to remove whitespace(&lt;\p&gt; )using stringbuilder in c# Pin
leppie4-Nov-08 20:58
leppie4-Nov-08 20:58 
GeneralRe: how to remove whitespace(&lt;\p&gt; )using stringbuilder in c# Pin
raj2313624-Nov-08 21:49
raj2313624-Nov-08 21:49 
Questionhow To Add Product key Setup Pin
Piyush Vardhan Singh4-Nov-08 18:39
Piyush Vardhan Singh4-Nov-08 18:39 
AnswerRe: how To Add Product key Setup Pin
leppie4-Nov-08 20:58
leppie4-Nov-08 20:58 
QuestionRegisterHotKey help Pin
MeekLogic4-Nov-08 18:30
MeekLogic4-Nov-08 18:30 
QuestionSet a license screen in deployment of Window based project. Pin
sumit70344-Nov-08 17:36
sumit70344-Nov-08 17:36 
AnswerRe: Set a license screen in deployment of Window based project. Pin
cyber-drugs5-Nov-08 0:29
cyber-drugs5-Nov-08 0:29 
QuestionReading Message from MSMQ and DIsplaying Pin
honeyss4-Nov-08 17:31
honeyss4-Nov-08 17:31 
AnswerRe: Reading Message from MSMQ and DIsplaying Pin
Jimmanuel5-Nov-08 1:06
Jimmanuel5-Nov-08 1:06 
QuestionPrint screen including the cursor image working except for IBeam cursor Pin
xax4-Nov-08 15:59
xax4-Nov-08 15:59 
AnswerRe: Print screen including the cursor image working except for IBeam cursor Pin
xax8-Nov-08 14:32
xax8-Nov-08 14:32 
QuestionDouble Pin
dec824-Nov-08 14:48
dec824-Nov-08 14:48 
AnswerRe: Double Pin
DaveyM694-Nov-08 15:13
professionalDaveyM694-Nov-08 15:13 
QuestionMessage Closed Pin
4-Nov-08 10:22
razikang4-Nov-08 10:22 
AnswerCP Ignore - spamming the site Pin
Dave Kreskowiak4-Nov-08 10:36
mveDave Kreskowiak4-Nov-08 10:36 

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.