Click here to Skip to main content
15,896,912 members
Home / Discussions / C#
   

C#

 
GeneralRe: Resize problem for drawn rectangle on the picture box? Pin
Nivas8223-Aug-10 2:12
Nivas8223-Aug-10 2:12 
AnswerRe: Resize problem for drawn rectangle on the picture box? Pin
Luc Pattyn23-Aug-10 2:16
sitebuilderLuc Pattyn23-Aug-10 2:16 
GeneralRe: Resize problem for drawn rectangle on the picture box? Pin
Nivas8223-Aug-10 23:09
Nivas8223-Aug-10 23:09 
GeneralRe: Resize problem for drawn rectangle on the picture box? Pin
Nivas8220-Oct-10 21:30
Nivas8220-Oct-10 21:30 
QuestionHow to load a referenced dll from specified location not GAC? Pin
Jack2009512-Aug-10 16:57
Jack2009512-Aug-10 16:57 
AnswerRe: How to load a referenced dll from specified location not GAC? Pin
PIEBALDconsult12-Aug-10 17:46
mvePIEBALDconsult12-Aug-10 17:46 
GeneralRe: How to load a referenced dll from specified location not GAC? Pin
Luc Pattyn12-Aug-10 18:07
sitebuilderLuc Pattyn12-Aug-10 18:07 
GeneralRe: How to load a referenced dll from specified location not GAC? Pin
PIEBALDconsult12-Aug-10 18:14
mvePIEBALDconsult12-Aug-10 18:14 
GeneralRe: How to load a referenced dll from specified location not GAC? Pin
Luc Pattyn12-Aug-10 18:17
sitebuilderLuc Pattyn12-Aug-10 18:17 
GeneralRe: How to load a referenced dll from specified location not GAC? Pin
Jack2009512-Aug-10 18:37
Jack2009512-Aug-10 18:37 
GeneralRe: How to load a referenced dll from specified location not GAC? Pin
PIEBALDconsult12-Aug-10 19:11
mvePIEBALDconsult12-Aug-10 19:11 
GeneralRe: How to load a referenced dll from specified location not GAC? Pin
Jack2009512-Aug-10 22:57
Jack2009512-Aug-10 22:57 
GeneralRe: How to load a referenced dll from specified location not GAC? [modified] Pin
PIEBALDconsult13-Aug-10 3:10
mvePIEBALDconsult13-Aug-10 3:10 
QuestionArrays and Classes Pin
dluurs12-Aug-10 15:22
dluurs12-Aug-10 15:22 
AnswerRe: Arrays and Classes Pin
Luc Pattyn12-Aug-10 15:33
sitebuilderLuc Pattyn12-Aug-10 15:33 
GeneralRe: Arrays and Classes Pin
PIEBALDconsult12-Aug-10 17:48
mvePIEBALDconsult12-Aug-10 17:48 
AnswerRe: Arrays and Classes Pin
Richard MacCutchan12-Aug-10 22:43
mveRichard MacCutchan12-Aug-10 22:43 
QuestionListBox SelectedValueChanged firing twice Pin
Pete Burkindine12-Aug-10 11:56
Pete Burkindine12-Aug-10 11:56 
AnswerRe: ListBox SelectedValueChanged firing twice Pin
Luc Pattyn12-Aug-10 12:37
sitebuilderLuc Pattyn12-Aug-10 12:37 
GeneralRe: ListBox SelectedValueChanged firing twice Pin
Pete Burkindine13-Aug-10 4:56
Pete Burkindine13-Aug-10 4:56 
GeneralRe: ListBox SelectedValueChanged firing twice Pin
Luc Pattyn13-Aug-10 5:08
sitebuilderLuc Pattyn13-Aug-10 5:08 
QuestionStreamWriter disposed before call to Close() in destructor Pin
dene9997012-Aug-10 10:55
dene9997012-Aug-10 10:55 
AnswerRe: StreamWriter disposed before call to Close() in destructor Pin
Ennis Ray Lynch, Jr.12-Aug-10 11:06
Ennis Ray Lynch, Jr.12-Aug-10 11:06 
Move your stream reader close call into your dispose method. Call the dispose method from your destructor like:

private bool mIsDiposed = false;
~MyClass(){
    Dispose(false);
}

public void Dispose(){
    Dispose(true);
}

public void Dispose(bool disposing){
   if(!mIsDisposed){
     //dispose of stuff here
     if(disposing){
        GC.SuppressFinalize(this);
     }
     mIsDisposed = true;
   }
}


Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS.

"And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

AnswerRe: StreamWriter disposed before call to Close() in destructor Pin
Luc Pattyn12-Aug-10 11:27
sitebuilderLuc Pattyn12-Aug-10 11:27 
AnswerRe: StreamWriter disposed before call to Close() in destructor Pin
DaveyM6912-Aug-10 21:25
professionalDaveyM6912-Aug-10 21:25 

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.