Click here to Skip to main content
14,382,347 members
   

C#

 
AnswerRe: Dispose a Tooltip Pin
Luc Pattyn15-Nov-19 7:22
professionalLuc 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
mveRichard Deeming15-Nov-19 2:20 
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
protectorOriginalGriff13-Nov-19 2:45 
Use the debugger and find out what value index holds - I'd suspect that IndexFromPoint is returning ListBox.NoMatches, which is -1.
Since that by definition is less than ListBox.Count, that would explain your problem.

Then all you have to do is find out why - and that's probably down to the Location not being where you expect it to.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!

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
mveRichard 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
professionalLuc 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
protectorOriginalGriff12-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
protectorOriginalGriff12-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
protectorOriginalGriff12-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
protectorRichard 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
protectorRichard MacCutchan12-Nov-19 23:09 
QuestionCode not splitting for login form. C# Pin
Member 1465157011-Nov-19 2:10
memberMember 1465157011-Nov-19 2:10 
AnswerRe: Code not splitting for login form. C# Pin
phil.o11-Nov-19 2:19
mvephil.o11-Nov-19 2:19 
AnswerRe: Code not splitting for login form. C# Pin
Richard MacCutchan11-Nov-19 2:32
protectorRichard MacCutchan11-Nov-19 2:32 

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.