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

C#

 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
arnold_w10-Jan-23 4:06
arnold_w10-Jan-23 4:06 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
Ralf Meier10-Jan-23 4:55
professionalRalf Meier10-Jan-23 4:55 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
arnold_w10-Jan-23 5:21
arnold_w10-Jan-23 5:21 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
Ralf Meier10-Jan-23 6:14
professionalRalf Meier10-Jan-23 6:14 
AnswerRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
Pete O'Hanlon12-Jan-23 0:03
subeditorPete O'Hanlon12-Jan-23 0:03 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
arnold_w12-Jan-23 2:29
arnold_w12-Jan-23 2:29 
GeneralRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
Pete O'Hanlon12-Jan-23 2:55
subeditorPete O'Hanlon12-Jan-23 2:55 
Questionproblem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
BillWoodruff8-Jan-23 21:30
professionalBillWoodruff8-Jan-23 21:30 
The terse descriptions here apply to WinForms "classic," not WinForms "Core," which I have found unusable, so far.

It's easy to write a Windows Class Library that compiles into a .Dll. I can put a static Class in that code, and declare methods with void or return types, or even Extension methods.

Using that .DLL in a new WinForms app project is easy:

// assuming thew Dll is named ",,, / TestDLL1

// in the WinForms project which has a reference to TestDLL1

// where the static class in TestDLL1 is named: TestDLLExtension

using static TestDLL1.TestDLLExtension;

Now: what I can't achieve.

1) I write another Class library, named 'ExtensionsLibrary,' that has a reference to TestDLL1

2) I now add a reference to the ExtensionsLibrary DLL tto the WinForms project.

3) the WinForms project has the refrencee to TestDLL1 removed.

I can't find any way to use 'using that allows me to access/use the static methods in TestDll1 referemced by ExtensionsLibrary.

In other words, I cannot achieve an "outer" DLL that has referrences to other, "inner," DLL's.

Perhaps my error is in thinking this is possible ?
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch

AnswerRe: problem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
Richard Deeming8-Jan-23 22:09
mveRichard Deeming8-Jan-23 22:09 
GeneralRe: problem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
BillWoodruff9-Jan-23 0:31
professionalBillWoodruff9-Jan-23 0:31 
GeneralRe: problem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
Richard Deeming9-Jan-23 0:45
mveRichard Deeming9-Jan-23 0:45 
GeneralRe: problem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
BillWoodruff9-Jan-23 2:10
professionalBillWoodruff9-Jan-23 2:10 
GeneralRe: problem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
Richard Deeming9-Jan-23 2:26
mveRichard Deeming9-Jan-23 2:26 
GeneralRe: problem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
BillWoodruff9-Jan-23 2:42
professionalBillWoodruff9-Jan-23 2:42 
AnswerRe: problem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
OriginalGriff8-Jan-23 22:19
mveOriginalGriff8-Jan-23 22:19 
GeneralRe: problem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
BillWoodruff9-Jan-23 0:38
professionalBillWoodruff9-Jan-23 0:38 
AnswerRe: problem using ... "nested" DLL's ... a DLL referenced inside another DLL ? Pin
BillWoodruff9-Jan-23 2:55
professionalBillWoodruff9-Jan-23 2:55 
QuestionInsert data on dynamic textbox windows form C# Pin
Hoang Luc2-Jan-23 17:48
Hoang Luc2-Jan-23 17:48 
AnswerRe: Insert data on dynamic textbox windows form C# Pin
OriginalGriff2-Jan-23 18:50
mveOriginalGriff2-Jan-23 18:50 
SuggestionRe: Insert data on dynamic textbox windows form C# Pin
Richard Deeming4-Jan-23 23:50
mveRichard Deeming4-Jan-23 23:50 
QuestionSecuring a Named Pipe Pin
Richard Andrew x641-Jan-23 6:13
professionalRichard Andrew x641-Jan-23 6:13 
AnswerRe: Securing a Named Pipe Pin
BillWoodruff2-Jan-23 0:46
professionalBillWoodruff2-Jan-23 0:46 
GeneralRe: Securing a Named Pipe Pin
Richard Andrew x642-Jan-23 0:54
professionalRichard Andrew x642-Jan-23 0:54 
GeneralMessage Closed Pin
2-Jan-23 1:20
professionalBillWoodruff2-Jan-23 1:20 
GeneralRe: Securing a Named Pipe Pin
Richard Andrew x642-Jan-23 1:56
professionalRichard Andrew x642-Jan-23 1:56 

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.