Click here to Skip to main content
15,899,825 members
Home / Discussions / C#
   

C#

 
GeneralRe: Custom Controls using collections Pin
Heroz16-Jul-04 6:20
Heroz16-Jul-04 6:20 
GeneralRe: Custom Controls using collections Pin
Nick Parker16-Jul-04 8:15
protectorNick Parker16-Jul-04 8:15 
GeneralListBox SelectedItem Pin
Andy H14-Jul-04 22:29
Andy H14-Jul-04 22:29 
GeneralRe: ListBox SelectedItem Pin
thamils614-Jul-04 23:02
thamils614-Jul-04 23:02 
GeneralRe: ListBox SelectedItem Pin
Andy H14-Jul-04 23:08
Andy H14-Jul-04 23:08 
GeneralRe: ListBox SelectedItem Pin
Syed Abdul Khader14-Jul-04 23:38
Syed Abdul Khader14-Jul-04 23:38 
GeneralRe: ListBox SelectedItem Pin
Andy H15-Jul-04 0:54
Andy H15-Jul-04 0:54 
GeneralRe: ListBox SelectedItem Pin
Syed Abdul Khader15-Jul-04 1:36
Syed Abdul Khader15-Jul-04 1:36 
Yeah,

For me also happening the same thing. I dont know why. But this workaround will solve your problem. You have to add an EventHandler for Form's Activated event and you have to add the following code in that EventHandler method.

private void Form1_Activated(object sender, System.EventArgs e)<br />
{<br />
      this.listBox1.SelectedIndex = -1;<br />
      this.listBox1.Invalidate();<br />
}

Questionhow to clear only few rows from a datagrid Pin
samithas14-Jul-04 21:34
samithas14-Jul-04 21:34 
AnswerRe: how to clear only few rows from a datagrid Pin
exhaulted14-Jul-04 22:28
exhaulted14-Jul-04 22:28 
Generalreverse Pin
sreejith ss nair14-Jul-04 21:14
sreejith ss nair14-Jul-04 21:14 
GeneralRe: reverse Pin
Syed Abdul Khader14-Jul-04 23:40
Syed Abdul Khader14-Jul-04 23:40 
Generalreverse-engineered Pin
sreejith ss nair14-Jul-04 21:13
sreejith ss nair14-Jul-04 21:13 
GeneralRe: reverse-engineered Pin
Alexandru Savescu14-Jul-04 21:56
Alexandru Savescu14-Jul-04 21:56 
Generalactive directory user password Pin
vcorn14-Jul-04 21:10
vcorn14-Jul-04 21:10 
GeneralFile Transfer using .NET Remoting Pin
joelwu14-Jul-04 19:34
joelwu14-Jul-04 19:34 
GeneralMethodology for Switch based on an object Pin
Shayne Husson14-Jul-04 18:14
Shayne Husson14-Jul-04 18:14 
GeneralRe: Methodology for Switch based on an object Pin
exhaulted14-Jul-04 22:17
exhaulted14-Jul-04 22:17 
GeneralRe: Methodology for Switch based on an object Pin
Werdna16-Jul-04 5:54
Werdna16-Jul-04 5:54 
QuestionHow to decide Page Break insertion criteria in RTF doc? Pin
sachinkalse14-Jul-04 16:38
sachinkalse14-Jul-04 16:38 
AnswerRe: How to decide Page Break insertion criteria in RTF doc? Pin
Nick Parker14-Jul-04 17:07
protectorNick Parker14-Jul-04 17:07 
GeneralRe: How to decide Page Break insertion criteria in RTF doc? Pin
sachinkalse14-Jul-04 20:32
sachinkalse14-Jul-04 20:32 
GeneralGENERIC SINGLETON (using... err... generics.) Pin
Anonymous14-Jul-04 16:01
Anonymous14-Jul-04 16:01 
GeneralRe: GENERIC SINGLETON (using... err... generics.) Pin
Nick Parker14-Jul-04 16:53
protectorNick Parker14-Jul-04 16:53 
Generalubiquitous error Pin
Anonymous14-Jul-04 15:23
Anonymous14-Jul-04 15:23 

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.