Click here to Skip to main content
15,867,568 members
Home / Discussions / C#
   

C#

 
GeneralRe: Securing a Named Pipe Pin
Richard Andrew x642-Jan-23 9:08
professionalRichard Andrew x642-Jan-23 9:08 
GeneralRe: Securing a Named Pipe Pin
Randor 2-Jan-23 9:54
professional Randor 2-Jan-23 9:54 
SuggestionRe: Securing a Named Pipe Pin
Eddy Vluggen2-Jan-23 10:45
professionalEddy Vluggen2-Jan-23 10:45 
GeneralRe: Securing a Named Pipe Pin
Richard Andrew x642-Jan-23 12:37
professionalRichard Andrew x642-Jan-23 12:37 
QuestionRe: Securing a Named Pipe Pin
Eddy Vluggen3-Jan-23 1:18
professionalEddy Vluggen3-Jan-23 1:18 
GeneralRe: Securing a Named Pipe Pin
Gerry Schmitz2-Jan-23 17:03
mveGerry Schmitz2-Jan-23 17:03 
GeneralRe: Securing a Named Pipe Pin
lmoelleb2-Jan-23 20:26
lmoelleb2-Jan-23 20:26 
QuestionHow to access a Form1() method from an external class library dll? Pin
Member 460215929-Dec-22 10:17
Member 460215929-Dec-22 10:17 
Hey there,

Hope everyone is well.
I have a method in my Form1()
C#
public void checkCommand(string command)
        {
            this.label1.Text = command;
        }

I've written an external .dll class library with other methods, which I'm also using inside my main Form1(). But I do need to call a method/methods that are in my Form1() from this external .dll class library. However, I can't access it.

public class Commands
    {
private string myCommand;
public void readCommand()
{
checkCommand(myCommand);
}
private void 
}


Please note, I'll be using this external class library in multiple applications. So assigning Form1 inside my external dll is out of question, unfortunatelly.

Does anyone know the best solution to this, please? Confused | :confused:
I'll be very grateful for all your ideas. Thank you!

modified 29-Dec-22 17:20pm.

AnswerRe: How to access a Form1() method from an external class library dll? Pin
jschell29-Dec-22 11:56
jschell29-Dec-22 11:56 
GeneralRe: How to access a Form1() method from an external class library dll? Pin
Member 460215929-Dec-22 12:44
Member 460215929-Dec-22 12:44 
AnswerRe: How to access a Form1() method from an external class library dll? Pin
Dave Kreskowiak29-Dec-22 12:29
mveDave Kreskowiak29-Dec-22 12:29 
AnswerRe: How to access a Form1() method from an external class library dll? Pin
Gerry Schmitz29-Dec-22 16:46
mveGerry Schmitz29-Dec-22 16:46 
AnswerRe: How to access a Form1() method from an external class library dll? Pin
BillWoodruff29-Dec-22 19:13
professionalBillWoodruff29-Dec-22 19:13 
AnswerRe: How to access a Form1() method from an external class library dll? Pin
OriginalGriff29-Dec-22 20:42
mveOriginalGriff29-Dec-22 20:42 
Questionneed to convert drawing demo into a chart control Pin
Southmountain28-Dec-22 2:55
Southmountain28-Dec-22 2:55 
AnswerRe: need to convert drawing demo into a chart control Pin
OriginalGriff28-Dec-22 4:09
mveOriginalGriff28-Dec-22 4:09 
GeneralRe: need to convert drawing demo into a chart control Pin
Southmountain28-Dec-22 19:08
Southmountain28-Dec-22 19:08 
GeneralRe: need to convert drawing demo into a chart control Pin
OriginalGriff28-Dec-22 19:27
mveOriginalGriff28-Dec-22 19:27 
QuestionHas anyone used CutePDF SDK with C# to prefill forms Pin
Member 1587725927-Dec-22 9:01
Member 1587725927-Dec-22 9:01 
AnswerRe: Has anyone used CutePDF SDK with C# to prefill forms Pin
OriginalGriff27-Dec-22 9:08
mveOriginalGriff27-Dec-22 9:08 
AnswerRe: Has anyone used CutePDF SDK with C# to prefill forms Pin
BillWoodruff27-Dec-22 18:37
professionalBillWoodruff27-Dec-22 18:37 
QuestionC# Thread Pin
Basel Shikh Osman26-Dec-22 0:11
Basel Shikh Osman26-Dec-22 0:11 
AnswerRe: C# Thread Pin
OriginalGriff26-Dec-22 1:02
mveOriginalGriff26-Dec-22 1:02 
GeneralRe: C# Thread Pin
Basel Shikh Osman26-Dec-22 1:06
Basel Shikh Osman26-Dec-22 1:06 
GeneralRe: C# Thread Pin
OriginalGriff26-Dec-22 1:14
mveOriginalGriff26-Dec-22 1:14 

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.