Click here to Skip to main content
15,907,326 members
Home / Discussions / C#
   

C#

 
AnswerRe: Basic question. Pin
Dave Kreskowiak13-Jan-06 8:54
mveDave Kreskowiak13-Jan-06 8:54 
GeneralRe: Basic question. Pin
User 665813-Jan-06 8:58
User 665813-Jan-06 8:58 
GeneralRe: Basic question. Pin
Dave Kreskowiak13-Jan-06 9:52
mveDave Kreskowiak13-Jan-06 9:52 
AnswerRe: Basic question. Pin
Colin Angus Mackay13-Jan-06 9:19
Colin Angus Mackay13-Jan-06 9:19 
AnswerRe: Basic question. Pin
Robert Rohde14-Jan-06 21:53
Robert Rohde14-Jan-06 21:53 
Questionprinting problem Pin
melanieab13-Jan-06 8:03
melanieab13-Jan-06 8:03 
AnswerRe: printing problem Pin
DigitalKing14-Jan-06 17:51
DigitalKing14-Jan-06 17:51 
QuestionDelegate or pointer? Pin
BlackDice13-Jan-06 7:30
BlackDice13-Jan-06 7:30 
I've made an app that has a main screen. When the form loads, it looks for dlls in a subfolder, finds them gets their display names from a class function in them, adds them to the menu and displays the form in the dll for the menu item.

However, there are common functions that will need to be ran by the other forms in the separate dlls. I don't want to create a separate dll, I want them to use the code from the main form.

Should I send in a reference to the main form, and if so, how can I get the dll form to call the function in the main form? Or should I be trying to use a delegate?

As you can tell, I'm pretty new to C#. I know how to do this in C++, but I'm kinda confused in C#. So any help is appreciated. Don't mind dumbing it down for me.

My articles

BlackDice
AnswerRe: Delegate or pointer? Pin
BlackDice13-Jan-06 11:38
BlackDice13-Jan-06 11:38 
QuestionVWD 2005 Pin
fmardani13-Jan-06 7:07
fmardani13-Jan-06 7:07 
AnswerRe: VWD 2005 Pin
minhpc_bk13-Jan-06 15:51
minhpc_bk13-Jan-06 15:51 
Questionworking with MSR device Pin
Manu_8113-Jan-06 6:43
Manu_8113-Jan-06 6:43 
Questionsqldatasource options greyed out Pin
fmardani13-Jan-06 6:29
fmardani13-Jan-06 6:29 
AnswerRe: sqldatasource options greyed out Pin
Dave Kreskowiak13-Jan-06 14:32
mveDave Kreskowiak13-Jan-06 14:32 
AnswerRe: sqldatasource options greyed out Pin
minhpc_bk13-Jan-06 15:48
minhpc_bk13-Jan-06 15:48 
Questiondeleting class objects Pin
Manu_8113-Jan-06 6:23
Manu_8113-Jan-06 6:23 
AnswerRe: deleting class objects Pin
Tom Larsen13-Jan-06 6:34
Tom Larsen13-Jan-06 6:34 
AnswerRe: deleting class objects Pin
Guffa13-Jan-06 6:39
Guffa13-Jan-06 6:39 
QuestionInclude C++ resources in C# code Pin
Erock12313-Jan-06 4:46
Erock12313-Jan-06 4:46 
Questioninserting image in form Pin
usmanali12313-Jan-06 3:53
usmanali12313-Jan-06 3:53 
AnswerRe: inserting image in form Pin
RizwanSharp13-Jan-06 9:45
RizwanSharp13-Jan-06 9:45 
AnswerRe: inserting image in form Pin
Koushik Biswas13-Jan-06 12:35
Koushik Biswas13-Jan-06 12:35 
QuestionEM_SETCHARFORMAT Question Pin
c#guy381113-Jan-06 3:47
c#guy381113-Jan-06 3:47 
AnswerRe: EM_SETCHARFORMAT Question Pin
mav.northwind13-Jan-06 21:48
mav.northwind13-Jan-06 21:48 
GeneralRe: EM_SETCHARFORMAT Question Pin
arow69d14-Jan-06 8:43
arow69d14-Jan-06 8:43 

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.