Click here to Skip to main content
15,887,444 members
Home / Discussions / C#
   

C#

 
QuestionCase for .net remoting Pin
faheemnadeem7-Sep-10 15:45
faheemnadeem7-Sep-10 15:45 
AnswerRe: Case for .net remoting Pin
brunoseixas9-Sep-10 9:40
brunoseixas9-Sep-10 9:40 
QuestionDoEvents() and System.Threading.Timer Pin
Keith Vitali7-Sep-10 13:16
Keith Vitali7-Sep-10 13:16 
AnswerRe: DoEvents() and System.Threading.Timer Pin
Keith Vitali7-Sep-10 13:45
Keith Vitali7-Sep-10 13:45 
AnswerRe: DoEvents() and System.Threading.Timer Pin
Luc Pattyn7-Sep-10 14:20
sitebuilderLuc Pattyn7-Sep-10 14:20 
GeneralRe: DoEvents() and System.Threading.Timer Pin
Keith Vitali8-Sep-10 0:34
Keith Vitali8-Sep-10 0:34 
GeneralRe: DoEvents() and System.Threading.Timer Pin
Luc Pattyn8-Sep-10 0:45
sitebuilderLuc Pattyn8-Sep-10 0:45 
QuestionWould like a blank string as default vaule for a combo box that is bound Pin
BraveKnightFSJ7-Sep-10 9:44
BraveKnightFSJ7-Sep-10 9:44 
Hello,

I have a combo box that is bound to a dictionary item.

dictonary"<"Guid, string">" m_test = new dictonary"<"Guid, string">"();

then on my windows form I have a combo box cboUser

cboUser.DisplayMember = "Value";
cboUser.ValueMember = "Key";
cboUser.DataSource = new BindingSource(m_test, null);

In m_test I do not have any blank entries and if possible I would like to keep blanks out.

The combo boxes are filling in as expected. But it is filling in the text with the first entry. This is causing the modified flag to be set to true. If it were blank the flag would not get set so if the user tries to close and no changes were made then it would close without prompting for save.

Thanks
AnswerRe: Would like a blank string as default vaule for a combo box that is bound Pin
Pete O'Hanlon7-Sep-10 12:23
mvePete O'Hanlon7-Sep-10 12:23 
GeneralRe: Would like a blank string as default vaule for a combo box that is bound Pin
BraveKnightFSJ7-Sep-10 12:41
BraveKnightFSJ7-Sep-10 12:41 
GeneralRe: Would like a blank string as default vaule for a combo box that is bound Pin
Pete O'Hanlon7-Sep-10 12:45
mvePete O'Hanlon7-Sep-10 12:45 
QuestionSorting a somewhat unknown list of properties Pin
MollyTheCoder7-Sep-10 4:25
MollyTheCoder7-Sep-10 4:25 
AnswerRe: Sorting a somewhat unknown list of properties Pin
Ian Shlasko7-Sep-10 5:50
Ian Shlasko7-Sep-10 5:50 
GeneralRe: Sorting a somewhat unknown list of properties Pin
MollyTheCoder7-Sep-10 6:43
MollyTheCoder7-Sep-10 6:43 
GeneralRe: Sorting a somewhat unknown list of properties Pin
Ian Shlasko7-Sep-10 7:36
Ian Shlasko7-Sep-10 7:36 
GeneralRe: Sorting a somewhat unknown list of properties Pin
MollyTheCoder7-Sep-10 11:15
MollyTheCoder7-Sep-10 11:15 
GeneralRe: Sorting a somewhat unknown list of properties Pin
Ian Shlasko7-Sep-10 11:45
Ian Shlasko7-Sep-10 11:45 
GeneralRe: Sorting a somewhat unknown list of properties Pin
AspDotNetDev7-Sep-10 13:12
protectorAspDotNetDev7-Sep-10 13:12 
QuestionHow to print in Windows CE Pin
Medo-I7-Sep-10 3:55
Medo-I7-Sep-10 3:55 
AnswerRe: How to print in Windows CE Pin
OriginalGriff7-Sep-10 5:29
mveOriginalGriff7-Sep-10 5:29 
QuestionCreate a virtual Directory in IIS.. Pin
Gourav Vishnoi7-Sep-10 2:54
Gourav Vishnoi7-Sep-10 2:54 
AnswerRe: Create a virtual Directory in IIS.. Pin
Blue_Boy7-Sep-10 2:57
Blue_Boy7-Sep-10 2:57 
QuestionImage corruption in picturebox Pin
Sauce!7-Sep-10 0:47
Sauce!7-Sep-10 0:47 
AnswerRe: Image corruption in picturebox Pin
OriginalGriff7-Sep-10 1:16
mveOriginalGriff7-Sep-10 1:16 
GeneralRe: Image corruption in picturebox Pin
Sauce!7-Sep-10 2:10
Sauce!7-Sep-10 2:10 

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.