Click here to Skip to main content
15,913,287 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to hightlight a treenode if tree lose focus Pin
Saksida Bojan26-Nov-09 5:17
Saksida Bojan26-Nov-09 5:17 
AnswerRe: how to hightlight a treenode if tree lose focus Pin
Shameel26-Nov-09 6:14
professionalShameel26-Nov-09 6:14 
GeneralRe: how to hightlight a treenode if tree lose focus Pin
jsjwql12326-Nov-09 20:13
jsjwql12326-Nov-09 20:13 
GeneralRe: how to hightlight a treenode if tree lose focus Pin
Shameel26-Nov-09 22:27
professionalShameel26-Nov-09 22:27 
QuestionDataGrid date sorting [modified] Pin
W1SHM4ST3R26-Nov-09 0:26
W1SHM4ST3R26-Nov-09 0:26 
AnswerRe: DataGrid date sorting Pin
Natza Mitzi26-Nov-09 7:12
Natza Mitzi26-Nov-09 7:12 
GeneralRe: DataGrid date sorting Pin
W1SHM4ST3R26-Nov-09 20:16
W1SHM4ST3R26-Nov-09 20:16 
GeneralRe: DataGrid date sorting Pin
Natza Mitzi28-Nov-09 22:06
Natza Mitzi28-Nov-09 22:06 
Hi,
As you can see in other responses, Application.DoEvents consumes all kinds of events such as user clicking buttons and can cause unexpected application states. It can also be a very heavy call to make in a loop, since you do not really know what or how much code will be executed. I am not saying never use it but use with extra caution (try not to use it).

I asked for the number of records since you can use a list view in which sorting is very simple. Sorting list view C#


GeneralRe: DataGrid date sorting Pin
W1SHM4ST3R29-Nov-09 23:50
W1SHM4ST3R29-Nov-09 23:50 
AnswerRe: DataGrid date sorting Pin
Yuri Vital26-Nov-09 12:02
Yuri Vital26-Nov-09 12:02 
GeneralRe: DataGrid date sorting Pin
W1SHM4ST3R26-Nov-09 20:18
W1SHM4ST3R26-Nov-09 20:18 
GeneralRe: DataGrid date sorting Pin
Yuri Vital26-Nov-09 21:02
Yuri Vital26-Nov-09 21:02 
QuestionNamespaces, aliases and Visual Studio Forms Designer Pin
Agent2526-Nov-09 0:13
Agent2526-Nov-09 0:13 
AnswerRe: Namespaces, aliases and Visual Studio Forms Designer Pin
freakyit26-Nov-09 1:52
freakyit26-Nov-09 1:52 
AnswerRe: Namespaces, aliases and Visual Studio Forms Designer Pin
Dave Kreskowiak26-Nov-09 4:48
mveDave Kreskowiak26-Nov-09 4:48 
AnswerRe: Namespaces, aliases and Visual Studio Forms Designer Pin
Member 218499726-Nov-09 7:02
Member 218499726-Nov-09 7:02 
QuestionSending XML Pin
rakeshs31225-Nov-09 22:51
rakeshs31225-Nov-09 22:51 
AnswerRe: Sending XML Pin
freakyit26-Nov-09 1:40
freakyit26-Nov-09 1:40 
GeneralRe: Sending XML Pin
rakeshs31226-Nov-09 2:54
rakeshs31226-Nov-09 2:54 
GeneralRe: Sending XML Pin
freakyit26-Nov-09 3:29
freakyit26-Nov-09 3:29 
QuestionPROBLEM AFTER VIEW A REPORT Pin
saldanha2225-Nov-09 22:31
saldanha2225-Nov-09 22:31 
AnswerRe: PROBLEM AFTER VIEW A REPORT Pin
Richard MacCutchan25-Nov-09 22:44
mveRichard MacCutchan25-Nov-09 22:44 
GeneralRe: PROBLEM AFTER VIEW A REPORT Pin
saldanha2225-Nov-09 22:56
saldanha2225-Nov-09 22:56 
GeneralRe: PROBLEM AFTER VIEW A REPORT Pin
Richard MacCutchan25-Nov-09 23:53
mveRichard MacCutchan25-Nov-09 23:53 
GeneralRe: PROBLEM AFTER VIEW A REPORT Pin
saldanha2226-Nov-09 0:24
saldanha2226-Nov-09 0:24 

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.