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

C#

 
AnswerRe: No value given for one or more required parameters Pin
dabuskol18-Jul-06 20:35
dabuskol18-Jul-06 20:35 
Questionlist box Pin
Siva Myneni18-Jul-06 19:25
Siva Myneni18-Jul-06 19:25 
AnswerRe: list box Pin
Aslam Bari18-Jul-06 19:59
Aslam Bari18-Jul-06 19:59 
GeneralRe: list box Pin
Siva Myneni18-Jul-06 22:49
Siva Myneni18-Jul-06 22:49 
GeneralRe: list box Pin
Aslam Bari19-Jul-06 19:19
Aslam Bari19-Jul-06 19:19 
Questionrunning vpn Pin
sianatia18-Jul-06 18:56
sianatia18-Jul-06 18:56 
QuestionZip Program Problem Pin
nikhilpai18-Jul-06 17:31
nikhilpai18-Jul-06 17:31 
AnswerRe: Zip Program Problem Pin
Ed.Poore19-Jul-06 22:34
Ed.Poore19-Jul-06 22:34 
Questiongreetings Pin
PatrickDGreat18-Jul-06 16:12
PatrickDGreat18-Jul-06 16:12 
AnswerRe: greetings Pin
Colin Angus Mackay18-Jul-06 20:19
Colin Angus Mackay18-Jul-06 20:19 
Question2.0 How to pass role data via CreateUser Wizard Pin
AlexKiat18-Jul-06 15:29
AlexKiat18-Jul-06 15:29 
QuestionDisplay data from a child table in a textbox Pin
Glen Harvy18-Jul-06 14:30
Glen Harvy18-Jul-06 14:30 
AnswerRe: Display data from a child table in a textbox Pin
led mike18-Jul-06 17:39
led mike18-Jul-06 17:39 
GeneralRe: Display data from a child table in a textbox Pin
Glen Harvy18-Jul-06 20:23
Glen Harvy18-Jul-06 20:23 
GeneralRe: Display data from a child table in a textbox Pin
led mike18-Jul-06 20:56
led mike18-Jul-06 20:56 
QuestionDispose method - release resource Pin
MatejGo18-Jul-06 13:42
MatejGo18-Jul-06 13:42 
AnswerRe: Dispose method - release resource Pin
Robert Rohde18-Jul-06 18:45
Robert Rohde18-Jul-06 18:45 
GeneralRe: Dispose method - release resource Pin
MatejGo19-Jul-06 20:39
MatejGo19-Jul-06 20:39 
Hi,

thank you for the answer. I looked those article and I'm wandering how can be img object set to null after being disposed (destroyed) in the Dispose(bool) method, and where is the code for that dispose?
if (img != null)
{
img.Dispose();
img=null;
}
So if my tought is write this code "img.Dispose();" doesnt destroy the object, just free the resource he occuped? And the code for dispose an Image object in in that Image class and how does it look this piece of code? So you can't dispose an object who have the reference to a variable.
Is it always when you want to dispose an object the "final" call to an System class?



Matej
GeneralRe: Dispose method - release resource Pin
Robert Rohde20-Jul-06 10:49
Robert Rohde20-Jul-06 10:49 
AnswerRe: Dispose method - release resource Pin
Andrei Ungureanu18-Jul-06 19:48
Andrei Ungureanu18-Jul-06 19:48 
QuestionHosting .NET Windows Forms Controls in IE Pin
JuanAlbertoMD18-Jul-06 12:29
JuanAlbertoMD18-Jul-06 12:29 
AnswerRe: Hosting .NET Windows Forms Controls in IE Pin
User 171649218-Jul-06 12:47
professionalUser 171649218-Jul-06 12:47 
QuestionWCL problem Pin
-Yoyosh-18-Jul-06 12:22
-Yoyosh-18-Jul-06 12:22 
QuestionAll pipe instances are busy" when working with IpcChannel Pin
Ilia Blank18-Jul-06 9:53
Ilia Blank18-Jul-06 9:53 
Questionanimation on win form like that of MSN messenger? Pin
sinanju18-Jul-06 9:47
sinanju18-Jul-06 9:47 

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.