answersLogoWhite

0


Best Answer

One way to create animated controls is to have a Thread that repeatedly calls the Invalidate() method on the control.

This thread can be privately managed within the control itself; Start it on the HandleCreated event and stop it on the HandleDestroyed event. Remember to put a Sleep delay in the thread loop to let the processor do other things during the animation.

For custom controls, update the control's appearance in the Paint() method. (Paint will be called by Invalidate).

In the control's constructor, add the line

SetStyle (ControlStyles.OptimizedDoubleBuffer, true);

This will prevent the control from erasing during the paint operation, which will minimize flashing.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you create a moving graph in Csharp?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you create a straight line that slopes up on a position-time graph?

A straight line with a positive slope on a position-time graph is the graph of an object that's moving in a straight line with constant speed.


The distance-time graph for a faster moving object has a smaller slope than the graph for a slower moving object True or false?

The distance time graph for a faster moving object has a smaller slope than the graph for a slower moving object - This is False


The distance time graph for a faster moving object has a smaller slope than the graph for a slower moving object True or false?

The distance time graph for a faster moving object has a smaller slope than the graph for a slower moving object - This is False


The distance-time graph for a faster moving object has a smaller slope than the graph for a slower moving object. true or false?

The distance time graph for a faster moving object has a smaller slope than the graph for a slower moving object - This is False


How do you create an graph?

You can use the 'create graph' tool on Microsft Exel. Hope that helps.


Which program do you create a graph?

You can use MS Excel to create a graph from data in the spreadsheet or from an external source. You also can display a graph with MS Powerpoint. MS Word can display a graph, but usually does not create it.


How do you open control panel using a button in CSharp?

create a shortcut on the desktop thentype in codeSystem.Diagnostics.Process.Start(@"C:\Documents and Settings\\Desktop\Mouse.lnk");


Is overloading supported in csharp?

Yes


Is it true that the distance-time graph for a faster moving object has a smaller slope than the graph for a slower moving object?

False


Is it true that the distance time graph for a faster moving object has a smaller slope than the graph for a slower moving object?

No, just the opposite


How do you walk to create a Shaped graph?

a U shaped graph i mean


What is sin regression.. is it when you change a cos graph into a sin graph by moving it sideways help?

no