Click here to Skip to main content
14,422,431 members
   

C#

 
QuestionDispose a Tooltip Pin
ConnerMcLoud15-Nov-19 1:32
MemberConnerMcLoud15-Nov-19 1:32 
AnswerRe: Dispose a Tooltip Pin
OriginalGriff15-Nov-19 3:25
communityengineerOriginalGriff15-Nov-19 3:25 
AnswerRe: Dispose a Tooltip Pin
Gerry Schmitz15-Nov-19 6:41
mveGerry Schmitz15-Nov-19 6:41 
AnswerRe: Dispose a Tooltip Pin
Luc Pattyn15-Nov-19 7:22
sitebuilderLuc Pattyn15-Nov-19 7:22 
QuestionType Overflow... Pin
Bernhard Hiller15-Nov-19 1:02
MemberBernhard Hiller15-Nov-19 1:02 
AnswerRe: Type Overflow... Pin
phil.o15-Nov-19 1:46
mvephil.o15-Nov-19 1:46 
GeneralRe: Type Overflow... Pin
Bernhard Hiller15-Nov-19 1:49
MemberBernhard Hiller15-Nov-19 1:49 
AnswerRe: Type Overflow... Pin
Richard Deeming15-Nov-19 2:20
communityengineerRichard Deeming15-Nov-19 2:20 
As Phil explained, you've got the IsAssignableFrom the wrong way round:
m_IsValueWithUnit = typeof(IValueWithUnit).IsAssignableFrom(t); // true

But rest assured you're not alone in being confused by that method. Smile | :)
Nick Craver on Twitter: "Anyone else pretty reliably get .IsAssignableFrom() backwards?"[^]



"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer

GeneralRe: Type Overflow... Pin
Bernhard Hiller15-Nov-19 5:55
MemberBernhard Hiller15-Nov-19 5:55 
QuestionAdding panels dynamically through user input Pin
jacko112313-Nov-19 2:34
Memberjacko112313-Nov-19 2:34 
AnswerRe: Adding panels dynamically through user input Pin
OriginalGriff13-Nov-19 2:45
communityengineerOriginalGriff13-Nov-19 2:45 
GeneralRe: Adding panels dynamically through user input Pin
jacko112313-Nov-19 3:20
Memberjacko112313-Nov-19 3:20 
SuggestionRe: Adding panels dynamically through user input Pin
Richard Deeming13-Nov-19 2:58
communityengineerRichard Deeming13-Nov-19 2:58 
GeneralRe: Adding panels dynamically through user input Pin
jacko112313-Nov-19 3:19
Memberjacko112313-Nov-19 3:19 
AnswerRe: Adding panels dynamically through user input Pin
Luc Pattyn13-Nov-19 4:12
sitebuilderLuc Pattyn13-Nov-19 4:12 
QuestionHow to Import database.mdf file in Visual Studio 2010 Project Pin
Member 1464246912-Nov-19 0:59
MemberMember 1464246912-Nov-19 0:59 
AnswerRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
OriginalGriff12-Nov-19 1:07
communityengineerOriginalGriff12-Nov-19 1:07 
GeneralRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
Member 1464246912-Nov-19 1:29
MemberMember 1464246912-Nov-19 1:29 
GeneralRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
OriginalGriff12-Nov-19 1:46
communityengineerOriginalGriff12-Nov-19 1:46 
GeneralRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
Member 1464246912-Nov-19 19:28
MemberMember 1464246912-Nov-19 19:28 
GeneralRe: How to Import database.mdf file in Visual Studio 2010 Project Pin
OriginalGriff12-Nov-19 21:44
communityengineerOriginalGriff12-Nov-19 21:44 
Questionc++ DLL import in c# Pin
Member 1465244911-Nov-19 20:49
MemberMember 1465244911-Nov-19 20:49 
AnswerRe: c++ DLL import in c# Pin
Richard MacCutchan11-Nov-19 22:12
communityengineerRichard MacCutchan11-Nov-19 22:12 
GeneralRe: c++ DLL import in c# Pin
Member 1465244912-Nov-19 20:44
MemberMember 1465244912-Nov-19 20:44 
GeneralRe: c++ DLL import in c# Pin
Richard MacCutchan12-Nov-19 23:09
communityengineerRichard MacCutchan12-Nov-19 23: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.