Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: "the horror:" why does C# let me get away with this ? Pin
jschell22-Jan-23 8:30
jschell22-Jan-23 8:30 
QuestionImageAnnotationDemo Pin
Rahmo14-Jan-23 22:50
Rahmo14-Jan-23 22:50 
AnswerRe: ImageAnnotationDemo Pin
Richard MacCutchan15-Jan-23 1:34
mveRichard MacCutchan15-Jan-23 1:34 
AnswerRe: ImageAnnotationDemo Pin
OriginalGriff15-Jan-23 1:41
mveOriginalGriff15-Jan-23 1:41 
Questionthe new Math.Generics ? Pin
BillWoodruff13-Jan-23 1:04
professionalBillWoodruff13-Jan-23 1:04 
GeneralRe: the new Math.Generics ? Pin
harold aptroot13-Jan-23 17:46
harold aptroot13-Jan-23 17:46 
AnswerRe: the new Math.Generics ? Pin
jschell15-Jan-23 8:09
jschell15-Jan-23 8:09 
QuestionVirtual USB Com port makes my C# control application freeze and crash when I single-step the microcontroller with the USB-device Pin
arnold_w13-Jan-23 1:04
arnold_w13-Jan-23 1:04 
AnswerRe: Virtual USB Com port makes my C# control application freeze and crash when I single-step the microcontroller with the USB-device Pin
Gerry Schmitz14-Jan-23 5:37
mveGerry Schmitz14-Jan-23 5:37 
SuggestionC# web page interaction Pin
Samar Shehzad12-Jan-23 18:48
Samar Shehzad12-Jan-23 18:48 
GeneralRe: C# web page interaction Pin
OriginalGriff12-Jan-23 18:56
mveOriginalGriff12-Jan-23 18:56 
GeneralRe: C# web page interaction Pin
Samar Shehzad12-Jan-23 18:58
Samar Shehzad12-Jan-23 18:58 
GeneralRe: C# web page interaction Pin
OriginalGriff12-Jan-23 19:26
mveOriginalGriff12-Jan-23 19:26 
GeneralRe: C# web page interaction Pin
Graeme_Grant12-Jan-23 19:59
mvaGraeme_Grant12-Jan-23 19:59 
AnswerRe: C# web page interaction Pin
Richard Deeming12-Jan-23 22:11
mveRichard Deeming12-Jan-23 22:11 
QuestionWhy isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
arnold_w10-Jan-23 2:25
arnold_w10-Jan-23 2:25 
AnswerRe: Why isn't my semi-editable ComboBox drawing the text in gray when the dropdown list isn't showing? Pin
OriginalGriff10-Jan-23 3:46
mveOriginalGriff10-Jan-23 3:46 
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
mveRalf 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
mveRalf 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
mvePete 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
mvePete 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

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.