Click here to Skip to main content
15,921,697 members
Home / Discussions / C#
   

C#

 
AnswerRe: System.Drawing.Bitmap byte[] Pin
.armin3-Mar-07 11:16
.armin3-Mar-07 11:16 
GeneralRe: System.Drawing.Bitmap byte[] Pin
KainPlan3-Mar-07 14:33
KainPlan3-Mar-07 14:33 
GeneralRe: System.Drawing.Bitmap byte[] Pin
KainPlan3-Mar-07 19:37
KainPlan3-Mar-07 19:37 
Question How to force an IE window to be opened on link click from axWebBrowser Pin
vedmack3-Mar-07 6:21
vedmack3-Mar-07 6:21 
QuestionManaged & Unmanaged objects classification... Pin
Shy Agam3-Mar-07 5:36
Shy Agam3-Mar-07 5:36 
AnswerRe: Managed & Unmanaged objects classification... Pin
Guffa3-Mar-07 6:00
Guffa3-Mar-07 6:00 
GeneralRe: Managed & Unmanaged objects classification... Pin
Shy Agam3-Mar-07 6:03
Shy Agam3-Mar-07 6:03 
GeneralRe: Managed & Unmanaged objects classification... Pin
S. Senthil Kumar3-Mar-07 7:32
S. Senthil Kumar3-Mar-07 7:32 
If an object implements IDisposable, then it most probably implements a finalizer too. In that case, you cannot call Dispose outside the if (disposing) {...} block. The unmanaged resource cleanup is only for unmanaged resources that don't have a Dispose/Finalizer (things like handles you opened yourself).
protected void Dispose(bool disposing)
{
   if (disposing)
   {
      // Call Dispose/Close on all disposable objects
   }

   // Call Stuff like CloseHandle on handles you directly obtained via P/Invoke.
}


Regards
Senthil [MVP - Visual C#]
_____________________________
My Blog | My Articles | My Flickr | WinMacro

GeneralRe: Managed & Unmanaged objects classification... Pin
Guffa3-Mar-07 7:52
Guffa3-Mar-07 7:52 
QuestionStatistics on C# (.net) usage Pin
asm1233-Mar-07 4:02
asm1233-Mar-07 4:02 
QuestionPorting C++ to C#: Types Pin
Ri Qen-Sin3-Mar-07 3:24
Ri Qen-Sin3-Mar-07 3:24 
AnswerRe: Porting C++ to C#: Types Pin
Parwej Ahamad3-Mar-07 3:45
professionalParwej Ahamad3-Mar-07 3:45 
GeneralRe: Porting C++ to C#: Types Pin
Ri Qen-Sin3-Mar-07 3:57
Ri Qen-Sin3-Mar-07 3:57 
GeneralRe: Porting C++ to C#: Types Pin
Parwej Ahamad3-Mar-07 7:58
professionalParwej Ahamad3-Mar-07 7:58 
AnswerRe: Porting C++ to C#: Types Pin
Guffa3-Mar-07 4:50
Guffa3-Mar-07 4:50 
GeneralRe: Porting C++ to C#: Types Pin
Luc Pattyn3-Mar-07 12:18
sitebuilderLuc Pattyn3-Mar-07 12:18 
QuestionCircular Control Reference -- A control cannot be parented to iteself. Pin
new_phoenix3-Mar-07 2:37
new_phoenix3-Mar-07 2:37 
QuestionAsynchronous Vs Multithreaded Client-Server ? [modified] Pin
zinc_z3-Mar-07 2:31
zinc_z3-Mar-07 2:31 
AnswerRe: Asynchronous Vs Multithreaded Client-Server ? Pin
Parwej Ahamad3-Mar-07 3:49
professionalParwej Ahamad3-Mar-07 3:49 
GeneralRe: Asynchronous Vs Multithreaded Client-Server ? Pin
zinc_z3-Mar-07 5:59
zinc_z3-Mar-07 5:59 
GeneralRe: Asynchronous Vs Multithreaded Client-Server ? Pin
Parwej Ahamad3-Mar-07 7:34
professionalParwej Ahamad3-Mar-07 7:34 
AnswerRe: Asynchronous Vs Multithreaded Client-Server ? Pin
pbraun3-Mar-07 13:09
pbraun3-Mar-07 13:09 
QuestionDataGrid Pin
md_refay3-Mar-07 2:30
md_refay3-Mar-07 2:30 
QuestionDatabase connection... Pin
kalyan_24163-Mar-07 1:32
kalyan_24163-Mar-07 1:32 
QuestionHow to call VC++ dll in C# windows application? Pin
salon2-Mar-07 23:31
salon2-Mar-07 23:31 

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.