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

C#

 
AnswerRe: How to make a phone call? Pin
Ravenet16-Apr-08 16:12
Ravenet16-Apr-08 16:12 
GeneralRe: How to make a phone call? Pin
tcombs0717-Apr-08 6:18
tcombs0717-Apr-08 6:18 
GeneralRe: How to make a phone call? Pin
Ravenet17-Apr-08 15:32
Ravenet17-Apr-08 15:32 
GeneralListView - Maximum # of rows Pin
flippydeflippydebop16-Apr-08 3:07
flippydeflippydebop16-Apr-08 3:07 
GeneralRe: ListView - Maximum # of rows Pin
flippydeflippydebop16-Apr-08 3:36
flippydeflippydebop16-Apr-08 3:36 
Question[Message Deleted] Pin
invader8216-Apr-08 2:29
invader8216-Apr-08 2:29 
GeneralDispose pattern in class derivation Pin
George_George16-Apr-08 1:29
George_George16-Apr-08 1:29 
GeneralRe: Dispose pattern in class derivation Pin
N a v a n e e t h16-Apr-08 2:07
N a v a n e e t h16-Apr-08 2:07 
George_George wrote:
Implement the dispose design pattern on a base type that commonly has derived types that hold onto resources, even if the base type does not.


You will be implementing the IDisposable on the base class and allowing all child classes to override the Dispose(bool disposing) method.

Assume you are creating a windows form that has extra functionalities than the classical windows form. So you will create a new class which inherits from "Form" class. Here you won't implement IDisposable again because the base class already implemented it. You can override the dispose method in your class and clan up the resources created by your class. Call base classes dispose to release it's resources at last.

All C# applications should call Application.Quit(); in the beginning to avoid any .NET problems.- Unclyclopedia

How to use google | Ask smart questions

GeneralRe: Dispose pattern in class derivation Pin
George_George16-Apr-08 2:20
George_George16-Apr-08 2:20 
GeneralRe: Dispose pattern in class derivation Pin
N a v a n e e t h16-Apr-08 2:57
N a v a n e e t h16-Apr-08 2:57 
GeneralRe: Dispose pattern in class derivation Pin
George_George16-Apr-08 3:14
George_George16-Apr-08 3:14 
GeneralRe: Dispose pattern in class derivation Pin
N a v a n e e t h16-Apr-08 3:39
N a v a n e e t h16-Apr-08 3:39 
GeneralRe: Dispose pattern in class derivation Pin
George_George16-Apr-08 3:47
George_George16-Apr-08 3:47 
GeneralRe: Dispose pattern in class derivation Pin
N a v a n e e t h16-Apr-08 3:59
N a v a n e e t h16-Apr-08 3:59 
GeneralRe: Dispose pattern in class derivation Pin
George_George16-Apr-08 4:08
George_George16-Apr-08 4:08 
GeneralRe: Dispose pattern in class derivation Pin
Scott Dorman19-Apr-08 8:25
professionalScott Dorman19-Apr-08 8:25 
GeneralRe: Dispose pattern in class derivation Pin
George_George19-Apr-08 21:11
George_George19-Apr-08 21:11 
GeneralRe: Dispose pattern in class derivation Pin
Scott Dorman20-Apr-08 5:01
professionalScott Dorman20-Apr-08 5:01 
GeneralRe: Dispose pattern in class derivation Pin
George_George20-Apr-08 19:06
George_George20-Apr-08 19:06 
GeneralRe: Dispose pattern in class derivation Pin
Scott Dorman22-Apr-08 17:02
professionalScott Dorman22-Apr-08 17:02 
GeneralRe: Dispose pattern in class derivation Pin
George_George22-Apr-08 17:15
George_George22-Apr-08 17:15 
Generalwriteprofilestring( ) Pin
Archana New to Dotnet16-Apr-08 0:35
Archana New to Dotnet16-Apr-08 0:35 
GeneralRe: writeprofilestring( ) Pin
Balaji.KJ16-Apr-08 0:58
Balaji.KJ16-Apr-08 0:58 
GeneralRe: writeprofilestring( ) Pin
#realJSOP16-Apr-08 1:39
mve#realJSOP16-Apr-08 1:39 
GeneralRe: writeprofilestring( ) Pin
Archana New to Dotnet16-Apr-08 6:54
Archana New to Dotnet16-Apr-08 6:54 

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.