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

C#

 
GeneralSending mails Pin
alok_2k326-Feb-08 4:13
alok_2k326-Feb-08 4:13 
GeneralRe: Sending mails Pin
Judah Gabriel Himango26-Feb-08 4:39
sponsorJudah Gabriel Himango26-Feb-08 4:39 
GeneralRe: Sending mails Pin
alok_2k326-Feb-08 6:05
alok_2k326-Feb-08 6:05 
GeneralRe: Sending mails Pin
Judah Gabriel Himango26-Feb-08 6:26
sponsorJudah Gabriel Himango26-Feb-08 6:26 
GeneralRe: Sending mails Pin
alok_2k326-Feb-08 18:43
alok_2k326-Feb-08 18:43 
GeneralRe: Sending mails Pin
Judah Gabriel Himango27-Feb-08 4:08
sponsorJudah Gabriel Himango27-Feb-08 4:08 
GeneralLinq expressions instead of reflection Pin
Roger Alsing26-Feb-08 4:11
Roger Alsing26-Feb-08 4:11 
QuestionMemory leak? Pin
Harvey Saayman26-Feb-08 3:55
Harvey Saayman26-Feb-08 3:55 
AnswerRe: Memory leak? Pin
J4amieC26-Feb-08 4:31
J4amieC26-Feb-08 4:31 
AnswerRe: Memory leak? Pin
Judah Gabriel Himango26-Feb-08 4:31
sponsorJudah Gabriel Himango26-Feb-08 4:31 
Generalmarshalling a complex structure Pin
cruppstahl26-Feb-08 3:41
cruppstahl26-Feb-08 3:41 
GeneralRe: marshalling a complex structure Pin
J a a n s26-Feb-08 5:33
professionalJ a a n s26-Feb-08 5:33 
GeneralRe: marshalling a complex structure Pin
cruppstahl26-Feb-08 5:50
cruppstahl26-Feb-08 5:50 
GeneralRunning Single Instance For C# Pin
tr_thorn26-Feb-08 3:09
tr_thorn26-Feb-08 3:09 
GeneralRe: Running Single Instance For C# Pin
Bekjong26-Feb-08 3:27
Bekjong26-Feb-08 3:27 
GeneralRe: Running Single Instance For C# Pin
DaveyM6926-Feb-08 4:36
professionalDaveyM6926-Feb-08 4:36 
QuestionHow to remove a runtime created object? Pin
Cuelight26-Feb-08 2:42
Cuelight26-Feb-08 2:42 
AnswerRe: How to remove a runtime created object? Pin
Martin#26-Feb-08 3:38
Martin#26-Feb-08 3:38 
Hello,

Have you debugged it?

The problem is, that you handle the MouseDown of the Button, and then try to cast the sender (which is the Button) to a PictureBox.
I would say, that "PictureBox x" (in your "cxt_btn_transfoVerwijder_MouseDown") is "null".

Apart from that, you should also Dispose the Instance of the PictureBox and remove all other references.

P.S.: Naming an PictureBox "x" doesn't make it easy for us to help you!

All the best,

Martin

QuestionExtract Image from Excel Files Pin
Member 425417926-Feb-08 2:39
Member 425417926-Feb-08 2:39 
GeneralRe: Extract Image from Excel Files Pin
buchstaben26-Feb-08 4:10
buchstaben26-Feb-08 4:10 
QuestionRe: Extract Image from Excel Files Pin
Member 425417926-Feb-08 5:02
Member 425417926-Feb-08 5:02 
GeneralOutlook plugin programmer needed Pin
Spinnerdog26-Feb-08 2:18
Spinnerdog26-Feb-08 2:18 
Generaltreeview afterselect problem Pin
Rick van Woudenberg26-Feb-08 1:42
Rick van Woudenberg26-Feb-08 1:42 
GeneralRe: treeview afterselect problem Pin
Bekjong26-Feb-08 2:11
Bekjong26-Feb-08 2:11 
GeneralRe: treeview afterselect problem Pin
John_Adams26-Feb-08 3:03
John_Adams26-Feb-08 3:03 

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.