Click here to Skip to main content
15,885,875 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to enable Browser Helper Object (BHO) and Toolbar in Internet Explorer using c# Pin
Ravi Bhavnani14-Sep-12 2:26
professionalRavi Bhavnani14-Sep-12 2:26 
GeneralRe: How to enable Browser Helper Object (BHO) and Toolbar in Internet Explorer using c# Pin
abhinish14-Sep-12 21:53
abhinish14-Sep-12 21:53 
QuestionKimono mirror iphone 4 4s case Pin
nancywoof13-Sep-12 20:18
nancywoof13-Sep-12 20:18 
Questionplease clear this doubt Pin
arul mozhi13-Sep-12 19:53
arul mozhi13-Sep-12 19:53 
AnswerRe: please clear this doubt Pin
Calla13-Sep-12 20:00
Calla13-Sep-12 20:00 
GeneralRe: please clear this doubt Pin
arul mozhi13-Sep-12 21:34
arul mozhi13-Sep-12 21:34 
GeneralRe: please clear this doubt Pin
Calla13-Sep-12 21:42
Calla13-Sep-12 21:42 
GeneralRe: please clear this doubt Pin
lukeer13-Sep-12 22:09
lukeer13-Sep-12 22:09 
Drop the loop. Use a Button instead. Label it "Add". On a user's click on your AddButton, copy the current values of your input fields to the ListBox. Then clear the input fields and set focus on the first one.

That way, users can type in names and click on the AddButton as often as they want.

If you want to restrict the number of rows added to the ListBox, then you can implement that in your AddButton_Click method, too.

Ciao,


luker

GeneralRe: please clear this doubt Pin
BobJanova14-Sep-12 0:51
BobJanova14-Sep-12 0:51 
AnswerRe: please clear this doubt Pin
OriginalGriff13-Sep-12 21:43
mveOriginalGriff13-Sep-12 21:43 
AnswerRe: please clear this doubt Pin
Emmanuel Medina17-Sep-12 7:49
professionalEmmanuel Medina17-Sep-12 7:49 
QuestionHow to use Response.AddHeader Method Pin
ASPnoob13-Sep-12 18:59
ASPnoob13-Sep-12 18:59 
AnswerRe: How to use Response.AddHeader Method Pin
s_magus14-Sep-12 2:53
s_magus14-Sep-12 2:53 
GeneralRe: How to use Response.AddHeader Method Pin
ASPnoob14-Sep-12 3:00
ASPnoob14-Sep-12 3:00 
AnswerRe: How to use Response.AddHeader Method Pin
Pete O'Hanlon14-Sep-12 3:07
mvePete O'Hanlon14-Sep-12 3:07 
GeneralRe: How to use Response.AddHeader Method Pin
ASPnoob14-Sep-12 3:11
ASPnoob14-Sep-12 3:11 
GeneralRe: How to use Response.AddHeader Method Pin
Pete O'Hanlon14-Sep-12 3:14
mvePete O'Hanlon14-Sep-12 3:14 
QuestionWPF Datagrid Pin
abollmeyer13-Sep-12 18:02
abollmeyer13-Sep-12 18:02 
AnswerRe: WPF Datagrid Pin
abollmeyer13-Sep-12 18:15
abollmeyer13-Sep-12 18:15 
QuestionC# process question Pin
rachel_m13-Sep-12 8:13
rachel_m13-Sep-12 8:13 
AnswerRe: C# process question Pin
Wes Aday13-Sep-12 8:19
professionalWes Aday13-Sep-12 8:19 
AnswerRe: C# process question Pin
wizardzz13-Sep-12 10:03
wizardzz13-Sep-12 10:03 
GeneralRe: C# process question Pin
rachel_m13-Sep-12 10:24
rachel_m13-Sep-12 10:24 
GeneralRe: C# process question Pin
wizardzz13-Sep-12 10:28
wizardzz13-Sep-12 10:28 
GeneralRe: C# process question Pin
rachel_m13-Sep-12 11:02
rachel_m13-Sep-12 11:02 

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.