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

C#

 
GeneralRe: Multiple table data in dataGrid Pin
Mazdak8-Jan-04 3:18
Mazdak8-Jan-04 3:18 
GeneralRe: Multiple table data in dataGrid Pin
Heath Stewart8-Jan-04 6:04
protectorHeath Stewart8-Jan-04 6:04 
GeneralInexplicable errors on forms. Pin
Martin Cross8-Jan-04 0:39
Martin Cross8-Jan-04 0:39 
GeneralRe: Inexplicable errors on forms. Pin
Aryo Handono8-Jan-04 1:14
professionalAryo Handono8-Jan-04 1:14 
GeneralRe: Inexplicable errors on forms. Pin
Heath Stewart8-Jan-04 5:56
protectorHeath Stewart8-Jan-04 5:56 
GeneralRe: Inexplicable errors on forms. Pin
Martin Cross8-Jan-04 22:38
Martin Cross8-Jan-04 22:38 
GeneralRe: Inexplicable errors on forms. Pin
Niels Penneman8-Jan-04 10:50
Niels Penneman8-Jan-04 10:50 
GeneralDisposing Audio after finished playing Pin
thomasa8-Jan-04 0:19
thomasa8-Jan-04 0:19 
GeneralRe: Disposing Audio after finished playing Pin
Heath Stewart8-Jan-04 5:51
protectorHeath Stewart8-Jan-04 5:51 
GeneralDeveloping a Client/Server application Pin
Kingvest7-Jan-04 23:49
Kingvest7-Jan-04 23:49 
GeneralRe: Developing a Client/Server application Pin
Guillermo Rivero8-Jan-04 5:02
Guillermo Rivero8-Jan-04 5:02 
GeneralRe: Developing a Client/Server application Pin
Kingvest8-Jan-04 5:18
Kingvest8-Jan-04 5:18 
GeneralRe: Developing a Client/Server application Pin
Guillermo Rivero8-Jan-04 5:32
Guillermo Rivero8-Jan-04 5:32 
GeneralRe: Developing a Client/Server application Pin
Kingvest8-Jan-04 5:36
Kingvest8-Jan-04 5:36 
GeneralRe: Developing a Client/Server application Pin
Niels Penneman8-Jan-04 6:22
Niels Penneman8-Jan-04 6:22 
GeneralRe: Developing a Client/Server application Pin
Kingvest8-Jan-04 6:26
Kingvest8-Jan-04 6:26 
GeneralRe: Developing a Client/Server application Pin
Niels Penneman8-Jan-04 7:20
Niels Penneman8-Jan-04 7:20 
GeneralRe: Developing a Client/Server application Pin
Guillermo Rivero8-Jan-04 6:28
Guillermo Rivero8-Jan-04 6:28 
GeneralRe: Developing a Client/Server application Pin
Heath Stewart8-Jan-04 5:46
protectorHeath Stewart8-Jan-04 5:46 
GeneralRe: Developing a Client/Server application Pin
Kingvest8-Jan-04 5:51
Kingvest8-Jan-04 5:51 
GeneralRe: Developing a Client/Server application Pin
bnieland8-Jan-04 6:24
bnieland8-Jan-04 6:24 
Generalinelegance Pin
TuringTest17-Jan-04 21:41
TuringTest17-Jan-04 21:41 
The snippet below seems to me to reek of inelegance, yet i have no better solution. i can't manage with using {} because the pictureBox barfs if i dispose the image too soon.

Is there a better way??

Image disposeOfSoon = pictureBox.Image;
pictureBox.Image = newImage;
if (disposeOfSoon != null) disposeOfSoon.Dispose ();


________________________________________

Gosh, it would be awful pleas'n, to reason out the reason, for things I can't explain.
Then perhaps I'd deserve ya, and be even worthy of ya..
if I only had a brain!
GeneralRe: inelegance Pin
Philip Fitzsimons8-Jan-04 3:28
Philip Fitzsimons8-Jan-04 3:28 
GeneralRe: inelegance Pin
leppie8-Jan-04 6:07
leppie8-Jan-04 6:07 
GeneralRe: inelegance Pin
Philip Fitzsimons8-Jan-04 6:16
Philip Fitzsimons8-Jan-04 6:16 

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.