Click here to Skip to main content
15,904,877 members
Home / Discussions / C#
   

C#

 
AnswerRe: Reports in c# Pin
HakunaMatada22-Dec-05 17:19
HakunaMatada22-Dec-05 17:19 
GeneralRe: Reports in c# Pin
HolyGrandFather22-Dec-05 23:56
HolyGrandFather22-Dec-05 23:56 
GeneralRe: Reports in c# Pin
HakunaMatada23-Dec-05 0:35
HakunaMatada23-Dec-05 0:35 
AnswerRe: Reports in c# Pin
albCode23-Dec-05 0:46
albCode23-Dec-05 0:46 
Questionwhy I get a weird exception when I call setFocus? The exception is called as "Collection was modified; enumeration operation may not execute." Pin
jerryyag22-Dec-05 8:48
jerryyag22-Dec-05 8:48 
AnswerRe: why I get a weird exception when I call setFocus? The exception is called as "Collection was modified; enumeration operation may not execute." Pin
Stanciu Vlad22-Dec-05 10:12
Stanciu Vlad22-Dec-05 10:12 
AnswerRe: why I get a weird exception when I call setFocus? The exception is called as "Collection was modified; enumeration operation may not execute." Pin
Dave Kreskowiak22-Dec-05 15:40
mveDave Kreskowiak22-Dec-05 15:40 
GeneralRe: why I get a weird exception when I call setFocus? The exception is called as "Collection was modified; enumeration operation may not execute." Pin
jerryyag23-Dec-05 5:37
jerryyag23-Dec-05 5:37 
Thanks a lot. I will try to not use focus() in my code.

In fact, my problem is as this:

if(A.Focused){
B.Focus();
A.Focus(); //get an exception in main()

}

The reason for reset A's focus is that I want to clear A's keyboard input buffer. Otherwise the A's keyboard input will always be put into the next selected item.

I guess it is a bug in .net library and it can not be fixed without the source code.

Thanks again.
Merry Christmas to everybodySmile | :)
GeneralRe: why I get a weird exception when I call setFocus? The exception is called as "Collection was modified; enumeration operation may not execute." Pin
Dave Kreskowiak26-Dec-05 5:56
mveDave Kreskowiak26-Dec-05 5:56 
QuestionMSN Options dynamic groupBox Pin
zopiro22-Dec-05 8:44
zopiro22-Dec-05 8:44 
QuestionBreak long line of code into short lines Pin
devinzhang22-Dec-05 8:17
devinzhang22-Dec-05 8:17 
AnswerRe: Break long line of code into short lines Pin
Stanciu Vlad22-Dec-05 10:22
Stanciu Vlad22-Dec-05 10:22 
GeneralRe: Break long line of code into short lines Pin
devinzhang22-Dec-05 15:36
devinzhang22-Dec-05 15:36 
Questionshows program status Pin
zhujp9822-Dec-05 6:37
zhujp9822-Dec-05 6:37 
AnswerRe: shows program status Pin
Stanciu Vlad22-Dec-05 7:01
Stanciu Vlad22-Dec-05 7:01 
GeneralRe: shows program status Pin
zhujp9822-Dec-05 7:04
zhujp9822-Dec-05 7:04 
GeneralRe: shows program status Pin
Stanciu Vlad22-Dec-05 7:08
Stanciu Vlad22-Dec-05 7:08 
GeneralRe: shows program status Pin
Curtis Schlak.22-Dec-05 7:27
Curtis Schlak.22-Dec-05 7:27 
AnswerRe: shows program status Pin
Dave Kreskowiak22-Dec-05 15:34
mveDave Kreskowiak22-Dec-05 15:34 
QuestionDataGrid updates from a combo box in C# Pin
AuZi200522-Dec-05 6:26
AuZi200522-Dec-05 6:26 
AnswerRe: DataGrid updates from a combo box in C# Pin
Stanciu Vlad22-Dec-05 7:04
Stanciu Vlad22-Dec-05 7:04 
GeneralRe: DataGrid updates from a combo box in C# Pin
AuZi200522-Dec-05 8:15
AuZi200522-Dec-05 8:15 
QuestionWinforms, Datagrids, Hyperlinks and Excel Pin
scotlandc22-Dec-05 6:25
scotlandc22-Dec-05 6:25 
QuestionMenu like functionality Pin
VPMahank22-Dec-05 5:23
VPMahank22-Dec-05 5:23 
Questionopen a excel interface in my c# form Pin
Sasuko22-Dec-05 5:04
Sasuko22-Dec-05 5:04 

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.