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

C#

 
GeneralRe: move ball in c# form with timer Pin
V.13-Apr-12 3:33
professionalV.13-Apr-12 3:33 
GeneralRe: move ball in c# form with timer Pin
saeedjaafari13-Apr-12 3:45
saeedjaafari13-Apr-12 3:45 
GeneralRe: move ball in c# form with timer Pin
V.13-Apr-12 3:47
professionalV.13-Apr-12 3:47 
GeneralRe: move ball in c# form with timer Pin
saeedjaafari13-Apr-12 3:51
saeedjaafari13-Apr-12 3:51 
GeneralRe: move ball in c# form with timer Pin
V.13-Apr-12 3:57
professionalV.13-Apr-12 3:57 
GeneralRe: move ball in c# form with timer Pin
saeedjaafari13-Apr-12 4:04
saeedjaafari13-Apr-12 4:04 
GeneralRe: move ball in c# form with timer Pin
vishal ch surve13-Apr-12 22:31
vishal ch surve13-Apr-12 22:31 
GeneralRe: move ball in c# form with timer Pin
vishal ch surve13-Apr-12 22:34
vishal ch surve13-Apr-12 22:34 
AnswerRe: move ball in c# form with timer Pin
Luc Pattyn13-Apr-12 6:19
sitebuilderLuc Pattyn13-Apr-12 6:19 
GeneralRe: move ball in c# form with timer Pin
saeedjaafari13-Apr-12 6:54
saeedjaafari13-Apr-12 6:54 
QuestionHelp Pin
Amaan2313-Apr-12 2:43
Amaan2313-Apr-12 2:43 
AnswerRe: Help Pin
TenmanS1413-Apr-12 4:02
TenmanS1413-Apr-12 4:02 
GeneralRe: Help Pin
Amaan2313-Apr-12 4:59
Amaan2313-Apr-12 4:59 
Questionnew learner Pin
lawal olanrewaju Daniel13-Apr-12 2:19
lawal olanrewaju Daniel13-Apr-12 2:19 
AnswerRe: new learner Pin
Not Active13-Apr-12 2:28
mentorNot Active13-Apr-12 2:28 
AnswerRe: new learner Pin
V.13-Apr-12 2:32
professionalV.13-Apr-12 2:32 
AnswerRe: new learner Pin
BobJanova13-Apr-12 2:39
BobJanova13-Apr-12 2:39 
QuestionHow can we delegate an array Pin
Fred 3413-Apr-12 2:06
Fred 3413-Apr-12 2:06 
AnswerRe: How can we delegate an array Pin
V.13-Apr-12 2:31
professionalV.13-Apr-12 2:31 
GeneralRe: How can we delegate an array Pin
Fred 3413-Apr-12 3:44
Fred 3413-Apr-12 3:44 
GeneralRe: How can we delegate an array Pin
V.13-Apr-12 3:46
professionalV.13-Apr-12 3:46 
QuestionCorrectly Disposing of MDI Child Forms. Pin
cjb11013-Apr-12 0:29
cjb11013-Apr-12 0:29 
I've got an issue with my MDI child forms, where the form objects 'contain' data from previous instances.

I'm assuming its relating to the fact that when I open the form from the MDI parent I use the following:
C#
frmDTC frm = new frmDTC(true);
frm.MdiParent = this;
frm.Show();

I think the errors are occurring because I don't dispose of frm. Usually I would use using, but that will close the form instantly.Smile | :)

So should I do something like:
C#
frm.FormClosed += (s, ev) => frm.Dispose();

Or should this be in the form class itself?

Or have I missed something else...and the user closing the form should mean it gets disposed eventually...and I've got something else stopping it.
AnswerRe: Correctly Disposing of MDI Child Forms. Pin
BobJanova13-Apr-12 2:37
BobJanova13-Apr-12 2:37 
GeneralRe: Correctly Disposing of MDI Child Forms. Pin
cjb11015-Apr-12 21:51
cjb11015-Apr-12 21:51 
QuestionPaging in SQL Pin
Billa212-Apr-12 20:41
Billa212-Apr-12 20:41 

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.