Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
QuestionC# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx7-Jan-19 12:54
professionaljkirkerx7-Jan-19 12:54 
AnswerRe: C# Winforms, Pass a button click to a user control on the form. Pin
Dave Kreskowiak7-Jan-19 16:43
mveDave Kreskowiak7-Jan-19 16:43 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx8-Jan-19 6:29
professionaljkirkerx8-Jan-19 6:29 
AnswerRe: C# Winforms, Pass a button click to a user control on the form. Pin
OriginalGriff7-Jan-19 20:24
mveOriginalGriff7-Jan-19 20:24 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx8-Jan-19 6:33
professionaljkirkerx8-Jan-19 6:33 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
OriginalGriff8-Jan-19 6:47
mveOriginalGriff8-Jan-19 6:47 
GeneralRe: C# Winforms, Pass a button click to a user control on the form. Pin
jkirkerx8-Jan-19 7:21
professionaljkirkerx8-Jan-19 7:21 
QuestionMEF Question Pin
Kevin Marois7-Jan-19 11:48
professionalKevin Marois7-Jan-19 11:48 
Currently I'm loading plugins like this
private void LoadPlugins()
{
    var pluginPath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().GetName().CodeBase);
    var directoryCatalog = new DirectoryCatalog(pluginPath);
    var container = new CompositionContainer(directoryCatalog);
    // Problem: This syntax required the interface to be compiled into this app
    var plugins = container.GetExportedValues<ISomeInterface>();    
}

As the comment says, the interface is required to be compiled into this app.

Is there a way to load MEF plugins without the host app knowing about the interface?
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.

AnswerRe: MEF Question Pin
Mycroft Holmes7-Jan-19 14:32
professionalMycroft Holmes7-Jan-19 14:32 
AnswerRe: MEF Question Pin
Dave Kreskowiak7-Jan-19 16:40
mveDave Kreskowiak7-Jan-19 16:40 
AnswerRe: MEF Question Pin
Pete O'Hanlon7-Jan-19 19:38
mvePete O'Hanlon7-Jan-19 19:38 
QuestionFailure to recognize Toolbox controls inside the encoding environment in visual 2010 Pin
Member 141105447-Jan-19 4:15
Member 141105447-Jan-19 4:15 
AnswerRe: Failure to recognize Toolbox controls inside the encoding environment in visual 2010 Pin
BillWoodruff7-Jan-19 4:32
professionalBillWoodruff7-Jan-19 4:32 
AnswerRe: Failure to recognize Toolbox controls inside the encoding environment in visual 2010 Pin
OriginalGriff7-Jan-19 4:46
mveOriginalGriff7-Jan-19 4:46 
QuestionIP commands Pin
Member 103699864-Jan-19 12:49
Member 103699864-Jan-19 12:49 
AnswerRe: IP commands Pin
Luc Pattyn4-Jan-19 15:24
sitebuilderLuc Pattyn4-Jan-19 15:24 
QuestionUsing Google Calendar API and email send a invitation to a user Pin
Nitish Prasad Satpathy4-Jan-19 4:02
Nitish Prasad Satpathy4-Jan-19 4:02 
AnswerRe: Using Google Calendar API and email send a invitation to a user Pin
Richard MacCutchan4-Jan-19 4:16
mveRichard MacCutchan4-Jan-19 4:16 
AnswerRe: Using Google Calendar API and email send a invitation to a user Pin
Pete O'Hanlon4-Jan-19 4:54
mvePete O'Hanlon4-Jan-19 4:54 
QuestionVisual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff3-Jan-19 20:47
professionalBillWoodruff3-Jan-19 20:47 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan3-Jan-19 22:17
mveRichard MacCutchan3-Jan-19 22:17 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff3-Jan-19 22:37
professionalBillWoodruff3-Jan-19 22:37 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan3-Jan-19 22:52
mveRichard MacCutchan3-Jan-19 22:52 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
BillWoodruff4-Jan-19 4:31
professionalBillWoodruff4-Jan-19 4:31 
GeneralRe: Visual Studio: detecting Class/Property access during break-mode ? Pin
Richard MacCutchan4-Jan-19 5:09
mveRichard MacCutchan4-Jan-19 5:09 

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.