Click here to Skip to main content
15,914,165 members
Home / Discussions / C#
   

C#

 
GeneralRe: Fast Image Stitching Pin
JBHowl6-May-15 3:21
JBHowl6-May-15 3:21 
GeneralRe: Fast Image Stitching Pin
Gerry Schmitz6-May-15 9:51
mveGerry Schmitz6-May-15 9:51 
AnswerRe: Fast Image Stitching Pin
Pete O'Hanlon23-Feb-15 2:36
mvePete O'Hanlon23-Feb-15 2:36 
Questiongenetic algorithm using C# Pin
Member 1143886118-Feb-15 1:26
Member 1143886118-Feb-15 1:26 
AnswerRe: genetic algorithm using C# Pin
CHill6018-Feb-15 1:40
mveCHill6018-Feb-15 1:40 
QuestionRe: genetic algorithm using C# Pin
ZurdoDev18-Feb-15 1:59
professionalZurdoDev18-Feb-15 1:59 
AnswerRe: genetic algorithm using C# Pin
CHill6018-Feb-15 2:12
mveCHill6018-Feb-15 2:12 
Questionhelp on WebBrowser Controller to select a value on a drop down list Pin
Member 1144865317-Feb-15 18:47
Member 1144865317-Feb-15 18:47 
AnswerRe: help on WebBrowser Controller to select a value on a drop down list Pin
Richard MacCutchan17-Feb-15 22:45
mveRichard MacCutchan17-Feb-15 22:45 
QuestionThreads vs. Tasks Article Pin
Kevin Marois17-Feb-15 18:03
professionalKevin Marois17-Feb-15 18:03 
AnswerRe: Threads vs. Tasks Article Pin
Pete O'Hanlon17-Feb-15 20:22
mvePete O'Hanlon17-Feb-15 20:22 
GeneralRe: Threads vs. Tasks Article Pin
Kevin Marois18-Feb-15 5:30
professionalKevin Marois18-Feb-15 5:30 
QuestionList Box showing Value and Display members? Pin
uniflare17-Feb-15 6:21
uniflare17-Feb-15 6:21 
AnswerRe: List Box showing Value and Display members? Pin
Richard Andrew x6417-Feb-15 6:34
professionalRichard Andrew x6417-Feb-15 6:34 
AnswerRe: List Box showing Value and Display members? Pin
Pete O'Hanlon17-Feb-15 6:54
mvePete O'Hanlon17-Feb-15 6:54 
GeneralRe: List Box showing Value and Display members? Pin
uniflare17-Feb-15 10:21
uniflare17-Feb-15 10:21 
GeneralRe: List Box showing Value and Display members? Pin
Pete O'Hanlon17-Feb-15 10:32
mvePete O'Hanlon17-Feb-15 10:32 
This would seem to indicate that the new BindingSource was resetting the values. While it may not be a bug, it's certainly not a very clever API design (by the designers of WinForms, not you I will hasten to add).

Okay, I've been having more of a think about this and I suspect that the reason that you need to do this is because when you change your BindingSource, the ComboBox has no concept of what it's bound to. You could be binding to something that doesn't use Key and Value here, so it forces you to update these values here.

modified 17-Feb-15 16:58pm.

GeneralRe: List Box showing Value and Display members? Pin
uniflare17-Feb-15 11:29
uniflare17-Feb-15 11:29 
AnswerRe: List Box showing Value and Display members? Pin
seemajoshii17-Feb-15 19:09
seemajoshii17-Feb-15 19:09 
QuestionLogin to asp.net application through a link send via email Pin
User 1098516717-Feb-15 5:01
User 1098516717-Feb-15 5:01 
AnswerRe: Login to asp.net application through a link send via email Pin
Afzaal Ahmad Zeeshan17-Feb-15 5:33
professionalAfzaal Ahmad Zeeshan17-Feb-15 5:33 
QuestionVisual studio 2010 C# identity without hyphen Pin
sdfsdfsdfewrew3feff16-Feb-15 15:55
sdfsdfsdfewrew3feff16-Feb-15 15:55 
AnswerRe: Visual studio 2010 C# identity without hyphen Pin
Dave Kreskowiak16-Feb-15 16:12
mveDave Kreskowiak16-Feb-15 16:12 
GeneralRe: Visual studio 2010 C# identity without hyphen Pin
sdfsdfsdfewrew3feff17-Feb-15 2:54
sdfsdfsdfewrew3feff17-Feb-15 2:54 
GeneralRe: Visual studio 2010 C# identity without hyphen Pin
Dave Kreskowiak17-Feb-15 6:56
mveDave Kreskowiak17-Feb-15 6: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.