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

C#

 
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 
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 
GeneralRe: inelegance Pin
TuringTest18-Jan-04 6:26
TuringTest18-Jan-04 6:26 
GeneralRe: inelegance Pin
leppie8-Jan-04 6:56
leppie8-Jan-04 6:56 
GeneralRe: inelegance Pin
TuringTest18-Jan-04 7:34
TuringTest18-Jan-04 7:34 
i agree in principle with what you're saying, that's why i wrote the post. the problem is that there isn't any good local "scope" for the image, once the pictureBox gets it it should belong to the pictureBox. perhaps i should write PictureBoxEx.. (yecch!!)

btw the snippet provided by Philip Fitzsimons "looks" kinda wierd but works great! if we could get EricGu to rename the keyword "using" to "noLongerUsing" the snippet would read:

Image tmp;
noLongerUsing (tmp = pictureBox.Image)
{pictureBox.Image = aBrandNewImage;}
Smile | :)

________________________________________

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!
GeneralAbstract, Interface, and Attribute Pin
TuringTest17-Jan-04 20:40
TuringTest17-Jan-04 20:40 
GeneralRe: Abstract, Interface, and Attribute Pin
Mazdak7-Jan-04 20:56
Mazdak7-Jan-04 20:56 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest17-Jan-04 21:32
TuringTest17-Jan-04 21:32 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 5:32
protectorHeath Stewart8-Jan-04 5:32 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 5:51
TuringTest18-Jan-04 5:51 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 5:53
protectorHeath Stewart8-Jan-04 5:53 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 6:01
TuringTest18-Jan-04 6:01 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 6:12
protectorHeath Stewart8-Jan-04 6:12 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 6:39
TuringTest18-Jan-04 6:39 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 7:13
protectorHeath Stewart8-Jan-04 7:13 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 7:50
TuringTest18-Jan-04 7:50 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 7:52
protectorHeath Stewart8-Jan-04 7:52 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 11:39
TuringTest18-Jan-04 11:39 
GeneralRe: Abstract, Interface, and Attribute Pin
Heath Stewart8-Jan-04 12:11
protectorHeath Stewart8-Jan-04 12:11 
GeneralRe: Abstract, Interface, and Attribute Pin
bnieland8-Jan-04 6:50
bnieland8-Jan-04 6:50 
GeneralRe: Abstract, Interface, and Attribute Pin
TuringTest18-Jan-04 7:46
TuringTest18-Jan-04 7:46 
GeneralQuoted-Printable Decoder Pin
7-Jan-04 18:33
suss7-Jan-04 18:33 

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.