Click here to Skip to main content
15,914,500 members
Home / Discussions / C#
   

C#

 
GeneralRe: Handle Click on MenuItems with sub menu Pin
leppie4-Jun-04 19:47
leppie4-Jun-04 19:47 
GeneralRe: Handle Click on MenuItems with sub menu Pin
Heath Stewart5-Jun-04 7:46
protectorHeath Stewart5-Jun-04 7:46 
Generalc#-configuration file Pin
Member 11509014-Jun-04 11:20
Member 11509014-Jun-04 11:20 
GeneralRe: c#-configuration file Pin
Heath Stewart5-Jun-04 7:44
protectorHeath Stewart5-Jun-04 7:44 
GeneralC# Transparency issues Pin
Adam Durity4-Jun-04 10:24
Adam Durity4-Jun-04 10:24 
GeneralRe: C# Transparency issues Pin
Heath Stewart4-Jun-04 10:43
protectorHeath Stewart4-Jun-04 10:43 
GeneralRe: C# Transparency issues Pin
Adam Durity4-Jun-04 10:44
Adam Durity4-Jun-04 10:44 
GeneralRe: C# Transparency issues Pin
Heath Stewart4-Jun-04 10:48
protectorHeath Stewart4-Jun-04 10:48 
Right now your loop doesn't take any time into account and depends upon the speed of your machine. You need to control the opacity. Right now, the loop would probably run so fast that it would appear to jump from 0.0 to 0.5 (or whatever it was) immediately. You need to control the duration. When you're talking about 10 ms or so, the naked eye typically won't catch it. Just think of movies you watch. In the use, it's only 29.97 fps (NTSC) where in other parts of the world it's like 30 fps (PAL) or something. Do you notice each individual frame? if you need 10 iterations and use Thread.Sleep(50) to sleep for 50 ms between each iteration, your fade effect will take only 500 ms like you mentioned a desire for in your first post.

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: C# Transparency issues Pin
leppie4-Jun-04 10:53
leppie4-Jun-04 10:53 
GeneralRe: C# Transparency issues Pin
Heath Stewart4-Jun-04 11:01
protectorHeath Stewart4-Jun-04 11:01 
GeneralRe: C# Transparency issues Pin
leppie4-Jun-04 11:06
leppie4-Jun-04 11:06 
GeneralRe: C# Transparency issues Pin
leppie4-Jun-04 10:49
leppie4-Jun-04 10:49 
GeneralRe: C# Transparency issues Pin
bneacetp4-Jun-04 17:11
bneacetp4-Jun-04 17:11 
GeneralSide TabControl Pin
kaleid4-Jun-04 9:38
kaleid4-Jun-04 9:38 
GeneralRe: Side TabControl Pin
Carlos H. Perez4-Jun-04 10:37
Carlos H. Perez4-Jun-04 10:37 
GeneralRe: Side TabControl Pin
leppie4-Jun-04 11:02
leppie4-Jun-04 11:02 
GeneralRe: Side TabControl Pin
Carlos H. Perez4-Jun-04 11:12
Carlos H. Perez4-Jun-04 11:12 
GeneralDropDown ComboBox in CompactFramework Pin
renatogostoli4-Jun-04 7:29
renatogostoli4-Jun-04 7:29 
Generalsmtp Pin
kendao4-Jun-04 7:25
kendao4-Jun-04 7:25 
GeneralRe: smtp Pin
Heath Stewart4-Jun-04 9:28
protectorHeath Stewart4-Jun-04 9:28 
GeneralRe: smtp Pin
Vasudevan Deepak Kumar4-Jun-04 23:01
Vasudevan Deepak Kumar4-Jun-04 23:01 
GeneralCatching event when a listview control columnheader is resized.. Pin
Sudhakar Pasupunuri4-Jun-04 6:20
Sudhakar Pasupunuri4-Jun-04 6:20 
GeneralRe: Catching event when a listview control columnheader is resized.. Pin
Heath Stewart4-Jun-04 6:54
protectorHeath Stewart4-Jun-04 6:54 
GeneralOffice Automation - problem with Find object Pin
Matt Casto4-Jun-04 6:05
Matt Casto4-Jun-04 6:05 
GeneralRe: Office Automation - problem with Find object Pin
Dave Kreskowiak4-Jun-04 11:01
mveDave Kreskowiak4-Jun-04 11:01 

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.