Click here to Skip to main content
15,921,793 members
Home / Discussions / C#
   

C#

 
GeneralRe: Why I can not implement a managed C++ interface with C#? Pin
tiancaidao9-Feb-06 1:14
tiancaidao9-Feb-06 1:14 
GeneralRe: Why I can not implement a managed C++ interface with C#? Pin
leppie9-Feb-06 1:31
leppie9-Feb-06 1:31 
GeneralRe: Why I can not implement a managed C++ interface with C#? Pin
tiancaidao9-Feb-06 2:55
tiancaidao9-Feb-06 2:55 
GeneralRe: Why I can not implement a managed C++ interface with C#? Pin
leppie9-Feb-06 3:02
leppie9-Feb-06 3:02 
QuestionHelp! I can't get it to work!!!! Pin
JstDaNuGuy8-Feb-06 16:04
JstDaNuGuy8-Feb-06 16:04 
GeneralRe: Help! I can't get it to work!!!! Pin
LighthouseJ8-Feb-06 17:28
LighthouseJ8-Feb-06 17:28 
AnswerRe: Help! I can't get it to work!!!! Pin
Ingo8-Feb-06 23:48
Ingo8-Feb-06 23:48 
GeneralRe: Help! I can't get it to work!!!! Pin
JstDaNuGuy9-Feb-06 5:31
JstDaNuGuy9-Feb-06 5:31 
Questionfloating toolbars Pin
edel_ong8-Feb-06 14:46
edel_ong8-Feb-06 14:46 
AnswerRe: floating toolbars Pin
DigitalKing8-Feb-06 18:44
DigitalKing8-Feb-06 18:44 
AnswerRe: floating toolbars Pin
Robert Rohde8-Feb-06 18:59
Robert Rohde8-Feb-06 18:59 
AnswerRe: floating toolbars Pin
Suelinda_W14-Feb-06 11:12
Suelinda_W14-Feb-06 11:12 
QuestionHow to change property of controls in main form frim other forms ? Pin
hdv2128-Feb-06 12:55
hdv2128-Feb-06 12:55 
AnswerRe: How to change property of controls in main form frim other forms ? Pin
Dave Kreskowiak8-Feb-06 16:46
mveDave Kreskowiak8-Feb-06 16:46 
You really should not be doing that. Form1's controls should only be modified by code on Form1. Since you're trying to get code on Form2 to modify Form1, Form2 can now never exist without an instance of Form1 being present and known to Form2. This is just plain bad practice.

You can expose a Public Event on Form2 to trigger a subscriber to do something. The event would be fired by Form2 based on some condition. It doesn't case about what type the subscribers are, nor care if there are any subscribers. Using this model, it's up to Form1 to decide if it wants to subscribe to this event and do anything when it fires.


RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

AnswerRe: How to change property of controls in main form frim other forms ? Pin
tiancaidao8-Feb-06 17:19
tiancaidao8-Feb-06 17:19 
QuestionA good 128-bit signed integer impl? Pin
Gywox8-Feb-06 12:55
Gywox8-Feb-06 12:55 
AnswerRe: A good 128-bit signed integer impl? Pin
Dave Kreskowiak8-Feb-06 16:39
mveDave Kreskowiak8-Feb-06 16:39 
QuestionRegEx - Allowing Spaces Pin
Expert Coming8-Feb-06 11:37
Expert Coming8-Feb-06 11:37 
GeneralRe: RegEx - Allowing Spaces Pin
Guffa8-Feb-06 12:42
Guffa8-Feb-06 12:42 
AnswerRe: RegEx - Allowing Spaces Pin
DigitalKing8-Feb-06 13:10
DigitalKing8-Feb-06 13:10 
GeneralRe: RegEx - Allowing Spaces Pin
Expert Coming8-Feb-06 13:32
Expert Coming8-Feb-06 13:32 
GeneralRe: RegEx - Allowing Spaces Pin
Dave Kreskowiak8-Feb-06 16:36
mveDave Kreskowiak8-Feb-06 16:36 
GeneralRe: RegEx - Allowing Spaces Pin
Expert Coming8-Feb-06 19:19
Expert Coming8-Feb-06 19:19 
QuestionRich Text Box and Hyperlinks Pin
DELETEUSER8-Feb-06 11:32
DELETEUSER8-Feb-06 11:32 
AnswerRe: Rich Text Box and Hyperlinks Pin
DigitalKing8-Feb-06 13:07
DigitalKing8-Feb-06 13:07 

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.