Click here to Skip to main content
15,925,602 members
Home / Discussions / C#
   

C#

 
AnswerRe: Virtual Network Adapter Pin
Ed.Poore18-Mar-06 11:03
Ed.Poore18-Mar-06 11:03 
GeneralRe: Virtual Network Adapter Pin
atmearman18-Mar-06 12:18
atmearman18-Mar-06 12:18 
GeneralRe: Virtual Network Adapter Pin
Ed.Poore18-Mar-06 12:43
Ed.Poore18-Mar-06 12:43 
Questionhow to show image in millimeters? Pin
valiovalio18-Mar-06 10:35
valiovalio18-Mar-06 10:35 
QuestionFile Upload using WebClient c# Pin
shamsallana18-Mar-06 10:28
shamsallana18-Mar-06 10:28 
AnswerRe: File Upload using WebClient c# Pin
Ed.Poore18-Mar-06 10:50
Ed.Poore18-Mar-06 10:50 
AnswerRe: File Upload using WebClient c# Pin
shamsallana19-Mar-06 22:23
shamsallana19-Mar-06 22:23 
Questionweb services and proxy Pin
DeathJester_18-Mar-06 10:20
DeathJester_18-Mar-06 10:20 
AnswerRe: web services and proxy Pin
Dave Kreskowiak19-Mar-06 6:40
mveDave Kreskowiak19-Mar-06 6:40 
QuestionConvert DateTine to a Number? Pin
redfish3418-Mar-06 10:03
redfish3418-Mar-06 10:03 
AnswerRe: Convert DateTine to a Number? Pin
Guffa18-Mar-06 10:27
Guffa18-Mar-06 10:27 
AnswerRe: Convert DateTine to a Number? Pin
Ravi Bhavnani18-Mar-06 18:05
professionalRavi Bhavnani18-Mar-06 18:05 
AnswerTHANKS!!! Pin
redfish3418-Mar-06 23:50
redfish3418-Mar-06 23:50 
QuestionDistributing C# Applications? Pin
Matt U.18-Mar-06 8:56
Matt U.18-Mar-06 8:56 
AnswerRe: Distributing C# Applications? Pin
Ed.Poore18-Mar-06 11:00
Ed.Poore18-Mar-06 11:00 
AnswerRe: Distributing C# Applications? Pin
Thomas Stockwell18-Mar-06 13:39
professionalThomas Stockwell18-Mar-06 13:39 
Questionhow to the Cursor Location using C# 2.0 *** Urgent Pin
VenkataRamana.Gali18-Mar-06 8:48
VenkataRamana.Gali18-Mar-06 8:48 
AnswerRe: how to the Cursor Location using C# 2.0 *** Urgent Pin
Thomas Stockwell18-Mar-06 13:41
professionalThomas Stockwell18-Mar-06 13:41 
QuestionNewbie: return const object? Pin
Dominik Reichl18-Mar-06 8:00
Dominik Reichl18-Mar-06 8:00 
AnswerRe: Newbie: return const object? Pin
CWIZO18-Mar-06 8:25
CWIZO18-Mar-06 8:25 
AnswerRe: Newbie: return const object? Pin
Richard Andrew x6418-Mar-06 12:34
professionalRichard Andrew x6418-Mar-06 12:34 
AnswerRe: Newbie: return const object? Pin
S. Senthil Kumar18-Mar-06 20:05
S. Senthil Kumar18-Mar-06 20:05 
QuestionIs there any way ... ? Pin
mostafa_h18-Mar-06 7:54
mostafa_h18-Mar-06 7:54 
AnswerRe: Is there any way ... ? Pin
Ed.Poore18-Mar-06 12:51
Ed.Poore18-Mar-06 12:51 
QuestionThe mysterious Desktop redraw Pin
Pascal Ganaye18-Mar-06 7:46
Pascal Ganaye18-Mar-06 7:46 
I noticed that when I run some Dotnet programs the icons in the background (XP desktop) flicker regularly.

I tried to find out what is happening and I managed to reproduce the problem with five lines of codes.

I hope someone will be kind enough to test that on their machine and tell me if they reproduce it or not.

You just need to
1 - create a new Windows Forms application.
2 - add a numericupdown control in the middle of the form
3 - set the numericupdown1 maximum to 1000
4 - Add the paint event for the form :
private void Form1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
   for (int i =1 ;i< numericUpDown1.Value;i++) {
      e.Graphics.DrawLine(Pens.Red, 10 + i, 10, 10 + i, 10 + i);
   }
}

5 - Add the value changed event on the NumericUpDown1
private void numericUpDown1_ValueChanged(object sender, System.EventArgs e)
{
    this.Invalidate();
}

Then when you click on the NumericDown control and reach 150 (on my machine) the icons on the background are starting to refresh...
Do you reproduce that ?

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.