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

C#

 
QuestionC# version of C++ code Pin
gordon305616-Jul-10 10:02
gordon305616-Jul-10 10:02 
GeneralRe: C# version of C++ code [modified] Pin
harold aptroot16-Jul-10 10:31
harold aptroot16-Jul-10 10:31 
AnswerRe: C# version of C++ code Pin
Dave Doknjas16-Jul-10 10:52
Dave Doknjas16-Jul-10 10:52 
QuestionDisable Checkboxes for Treeview Node Pin
Cracked-Down16-Jul-10 4:00
Cracked-Down16-Jul-10 4:00 
AnswerRe: Disable Checkboxes for Treeview Node Pin
Peace ON16-Jul-10 19:02
Peace ON16-Jul-10 19:02 
QuestionName of a derived Form Pin
Flo123416-Jul-10 3:32
Flo123416-Jul-10 3:32 
AnswerRe: Name of a derived Form Pin
Peace ON16-Jul-10 3:47
Peace ON16-Jul-10 3:47 
GeneralRe: Name of a derived Form - OTish Pin
DaveyM6916-Jul-10 12:03
professionalDaveyM6916-Jul-10 12:03 
As the OP described it, this is not a parent/child issue but a polymorphic one. If it were a parent/child one, what you have suggested is a quick and easy, but nasty and bad solution. It's almost never a good idea for a child to be aware of (never mind explicitly bound to) it's parent.

If this is the way you normally handle things I suggest you learn about events/delegates so you can in future write proper OOP code. Just because the way you suggest works, doesn't mean it's good and should be recommended. Thumbs Up | :thumbsup:
Dave

If this helped, please vote & accept answer!


Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.(Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)

GeneralRe: Name of a derived Form - OTish Pin
Peace ON16-Jul-10 19:05
Peace ON16-Jul-10 19:05 
AnswerRe: Name of a derived Form Pin
Luc Pattyn16-Jul-10 3:51
sitebuilderLuc Pattyn16-Jul-10 3:51 
AnswerRe: Name of a derived Form Pin
PIEBALDconsult16-Jul-10 5:01
mvePIEBALDconsult16-Jul-10 5:01 
AnswerRe: Name of a derived Form Pin
T M Gray16-Jul-10 6:23
T M Gray16-Jul-10 6:23 
GeneralRe: Name of a derived Form Pin
Flo123422-Jul-10 23:57
Flo123422-Jul-10 23:57 
QuestionChangelog tools for Visual C# Pin
grmihel216-Jul-10 3:18
grmihel216-Jul-10 3:18 
AnswerRe: Changelog tools for Visual C# Pin
Peace ON16-Jul-10 3:25
Peace ON16-Jul-10 3:25 
QuestionMail Extract App Pin
NDBUK16-Jul-10 3:16
NDBUK16-Jul-10 3:16 
AnswerRe: Mail Extract App Pin
Bernhard Hiller16-Jul-10 5:39
Bernhard Hiller16-Jul-10 5:39 
QuestionSkype multiple user auto login Pin
Etienne_12316-Jul-10 2:25
Etienne_12316-Jul-10 2:25 
AnswerRe: Skype multiple user auto login Pin
Peace ON16-Jul-10 2:35
Peace ON16-Jul-10 2:35 
QuestionSingle sign on with access token Pin
Etienne_12316-Jul-10 1:21
Etienne_12316-Jul-10 1:21 
QuestionDatetime Picker and Datagridview Pin
ronaldrahme16-Jul-10 0:36
ronaldrahme16-Jul-10 0:36 
AnswerRe: Datetime Picker and Datagridview Pin
Peace ON16-Jul-10 1:38
Peace ON16-Jul-10 1:38 
QuestionFacebook session key question Pin
Etienne_12316-Jul-10 0:04
Etienne_12316-Jul-10 0:04 
AnswerRe: Facebook session key question Pin
Eddy Vluggen16-Jul-10 0:47
professionalEddy Vluggen16-Jul-10 0:47 
GeneralRe: Facebook session key question Pin
Etienne_12316-Jul-10 0:50
Etienne_12316-Jul-10 0:50 

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.