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

C#

 
AnswerRe: The type or namespace name 'Excel' could not be found Pin
Luc Pattyn8-Feb-12 6:42
sitebuilderLuc Pattyn8-Feb-12 6:42 
AnswerRe: The type or namespace name 'Excel' could not be found Pin
Dinesh928-Feb-12 20:31
professionalDinesh928-Feb-12 20:31 
GeneralRe: The type or namespace name 'Excel' could not be found Pin
pmcm8-Feb-12 21:46
pmcm8-Feb-12 21:46 
GeneralRe: The type or namespace name 'Excel' could not be found Pin
Richard MacCutchan9-Feb-12 6:28
mveRichard MacCutchan9-Feb-12 6:28 
GeneralRe: The type or namespace name 'Excel' could not be found Pin
pmcm10-Feb-12 4:13
pmcm10-Feb-12 4:13 
GeneralRe: The type or namespace name 'Excel' could not be found Pin
Richard MacCutchan10-Feb-12 6:28
mveRichard MacCutchan10-Feb-12 6:28 
Questioncreate and moving a polygan on the form c# code Pin
Member 86251607-Feb-12 23:00
Member 86251607-Feb-12 23:00 
AnswerRe: create and moving a polygan on the form c# code Pin
Pete O'Hanlon7-Feb-12 23:23
mvePete O'Hanlon7-Feb-12 23:23 
Just updating the points in your timer won't actually redraw your polygon. You actually need to trigger a paint message to redraw the polygon (the crudest method being to refresh the form). You really need to move the paint functionality into the form Paint event handler so you can just get the Graphics object there rather than creating your own (which you haven't disposed).

The other big problem is that you create your polygon and then you don't use it to draw with. I would fix that if I were you.

*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

"Mind bleach! Send me mind bleach!" - Nagy Vilmos


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


AnswerRe: create and moving a polygan on the form c# code Pin
Luc Pattyn7-Feb-12 23:34
sitebuilderLuc Pattyn7-Feb-12 23:34 
AnswerRe: create and moving a polygan on the form c# code Pin
Abhinav S8-Feb-12 0:55
Abhinav S8-Feb-12 0:55 
GeneralRe: create and moving a polygan on the form c# code Pin
BillWoodruff8-Feb-12 3:39
professionalBillWoodruff8-Feb-12 3:39 
GeneralRe: create and moving a polygan on the form c# code Pin
Abhinav S8-Feb-12 6:45
Abhinav S8-Feb-12 6:45 
AnswerRe: create and moving a polygan on the form c# code Pin
BobJanova8-Feb-12 4:16
BobJanova8-Feb-12 4:16 
Questionname & count of tables in a MS Access database Pin
phowarso7-Feb-12 21:30
phowarso7-Feb-12 21:30 
AnswerRe: name & count of tables in a MS Access database Pin
Keith Barrow7-Feb-12 22:01
professionalKeith Barrow7-Feb-12 22:01 
AnswerRe: name & count of tables in a MS Access database Pin
Luc Pattyn7-Feb-12 23:04
sitebuilderLuc Pattyn7-Feb-12 23:04 
AnswerRe: name & count of tables in a MS Access database Pin
PIEBALDconsult8-Feb-12 2:29
mvePIEBALDconsult8-Feb-12 2:29 
AnswerRe: name & count of tables in a MS Access database Pin
Dave Kreskowiak8-Feb-12 2:31
mveDave Kreskowiak8-Feb-12 2:31 
QuestionHow to enum the ms exchange queue info and mail details of a server Pin
Stephen T. Charlie7-Feb-12 20:11
Stephen T. Charlie7-Feb-12 20:11 
AnswerRe: How to enum the ms exchange queue info and mail details of a server Pin
Eddy Vluggen8-Feb-12 6:42
professionalEddy Vluggen8-Feb-12 6:42 
QuestionEKRN.EXE Pin
candogu7-Feb-12 20:03
candogu7-Feb-12 20:03 
AnswerRe: EKRN.EXE Pin
Abhinav S7-Feb-12 21:07
Abhinav S7-Feb-12 21:07 
GeneralRe: EKRN.EXE Pin
candogu7-Feb-12 23:17
candogu7-Feb-12 23:17 
AnswerRe: EKRN.EXE Pin
Eddy Vluggen8-Feb-12 0:20
professionalEddy Vluggen8-Feb-12 0:20 
GeneralRe: EKRN.EXE Pin
Pete O'Hanlon8-Feb-12 0:24
mvePete O'Hanlon8-Feb-12 0:24 

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.