Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
GeneralRe: display records between a date range [modified] Pin
Luc Pattyn28-Jul-08 8:03
sitebuilderLuc Pattyn28-Jul-08 8:03 
AnswerRe: display records between a date range Pin
User 665828-Jul-08 8:44
User 665828-Jul-08 8:44 
GeneralRe: display records between a date range Pin
Luc Pattyn28-Jul-08 8:55
sitebuilderLuc Pattyn28-Jul-08 8:55 
GeneralRe: display records between a date range Pin
Reality Strikes29-Jul-08 4:03
Reality Strikes29-Jul-08 4:03 
QuestionBest way to use Dispose / IDisposable - no unmanaged code Pin
DaveyM6928-Jul-08 4:56
professionalDaveyM6928-Jul-08 4:56 
AnswerRe: Best way to use Dispose / IDisposable - no unmanaged code Pin
Simon P Stevens28-Jul-08 5:01
Simon P Stevens28-Jul-08 5:01 
GeneralRe: Best way to use Dispose / IDisposable - no unmanaged code Pin
DaveyM6928-Jul-08 5:06
professionalDaveyM6928-Jul-08 5:06 
GeneralRe: Best way to use Dispose / IDisposable - no unmanaged code Pin
Simon P Stevens28-Jul-08 5:13
Simon P Stevens28-Jul-08 5:13 
DaveyM69 wrote:
I had just been on that page but missed the derived class bit!


Considering that the dispose pattern is one of the most used in .net, that page is really rather poorly laid out. It's pretty easy to miss.

DaveyM69 wrote:
So this should be OK?


You don't need the unparamaterised dispose method. That is naturally inherited from the base.

void IDisposable.Dispose()
{
    Dispose(true);
}

protected override void Dispose(bool disposing)
{
    if (disposing)
    {
        m_ErrorProvider.Dispose();
    }
    base.Dispose(disposing);
}


Simon

GeneralRe: Best way to use Dispose / IDisposable - no unmanaged code : Solved Pin
DaveyM6928-Jul-08 5:19
professionalDaveyM6928-Jul-08 5:19 
GeneralRe: Best way to use Dispose / IDisposable - no unmanaged code : Solved Pin
Simon P Stevens28-Jul-08 5:28
Simon P Stevens28-Jul-08 5:28 
AnswerRe: Best way to use Dispose / IDisposable - no unmanaged code Pin
Paul Conrad28-Jul-08 5:37
professionalPaul Conrad28-Jul-08 5:37 
QuestionConnecting to word without ROT. Pin
Green Fuze28-Jul-08 3:54
Green Fuze28-Jul-08 3:54 
AnswerRe: Connecting to word without ROT. Pin
Green Fuze28-Jul-08 5:35
Green Fuze28-Jul-08 5:35 
QuestionLock a file for reading when uploading it to FTP Pin
thoru28-Jul-08 3:31
thoru28-Jul-08 3:31 
AnswerRe: Lock a file for reading when uploading it to FTP Pin
Wendelius28-Jul-08 3:37
mentorWendelius28-Jul-08 3:37 
AnswerRe: Lock a file for reading when uploading it to FTP Pin
Luc Pattyn28-Jul-08 3:45
sitebuilderLuc Pattyn28-Jul-08 3:45 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
thoru28-Jul-08 3:56
thoru28-Jul-08 3:56 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
Luc Pattyn28-Jul-08 4:09
sitebuilderLuc Pattyn28-Jul-08 4:09 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
thoru28-Jul-08 4:16
thoru28-Jul-08 4:16 
GeneralRe: Lock a file for reading when uploading it to FTP Pin
Luc Pattyn28-Jul-08 4:28
sitebuilderLuc Pattyn28-Jul-08 4:28 
QuestionDetermining valid moves for a chess game Pin
Gareth H28-Jul-08 3:00
Gareth H28-Jul-08 3:00 
AnswerRe: Determining valid moves for a chess game Pin
enginço28-Jul-08 3:21
enginço28-Jul-08 3:21 
GeneralRe: Determining valid moves for a chess game Pin
Gareth H28-Jul-08 3:31
Gareth H28-Jul-08 3:31 
AnswerRe: Determining valid moves for a chess game [modified] PinPopular
Luc Pattyn28-Jul-08 4:00
sitebuilderLuc Pattyn28-Jul-08 4:00 
AnswerRe: Determining valid moves for a chess game Pin
GuyThiebaut28-Jul-08 5:11
professionalGuyThiebaut28-Jul-08 5:11 

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.