Click here to Skip to main content
15,917,177 members
Home / Discussions / C#
   

C#

 
QuestionAnt on a Chessboard Pin
M.omar7-May-07 7:45
M.omar7-May-07 7:45 
AnswerRe: Ant on a Chessboard Pin
Dave Kreskowiak7-May-07 7:55
mveDave Kreskowiak7-May-07 7:55 
AnswerRe: Ant on a Chessboard Pin
mav.northwind7-May-07 7:57
mav.northwind7-May-07 7:57 
GeneralRe: Ant on a Chessboard Pin
Blumen7-May-07 18:47
Blumen7-May-07 18:47 
AnswerRe: Ant on a Chessboard Pin
led mike7-May-07 8:20
led mike7-May-07 8:20 
AnswerRe: Ant on a Chessboard Pin
PIEBALDconsult7-May-07 17:36
mvePIEBALDconsult7-May-07 17:36 
QuestionScrolling background in C# Winform?? Pin
llonden2kx7-May-07 7:14
llonden2kx7-May-07 7:14 
AnswerRe: Scrolling background in C# Winform?? Pin
Dave Kreskowiak7-May-07 7:27
mveDave Kreskowiak7-May-07 7:27 
That's going to be a problem. A scrolling background on a Windows form means that the background will be redrawing every time the image scrolls even one pixel. That will also force a redraw of every control on the form. The more controls you have, the more time it takes to generate a single frame in your game.

The best solution you have is to use DirectX. But, that would require a complete rewrite of your game. You might want to look into Microsoft's XNA Developer's Center[^] first.


Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


AnswerRe: Scrolling background in C# Winform?? Pin
AFSEKI8-May-07 23:31
AFSEKI8-May-07 23:31 
QuestionIBindingListView Filter Property Pin
Skippums7-May-07 7:11
Skippums7-May-07 7:11 
AnswerRe: IBindingListView Filter Property Pin
Dave Kreskowiak7-May-07 7:16
mveDave Kreskowiak7-May-07 7:16 
GeneralRe: IBindingListView Filter Property Pin
Skippums7-May-07 7:47
Skippums7-May-07 7:47 
GeneralRe: IBindingListView Filter Property Pin
Dave Kreskowiak7-May-07 7:51
mveDave Kreskowiak7-May-07 7:51 
Questionhow to get color percentage distribution 4 an image? Pin
icecool_567-May-07 6:52
icecool_567-May-07 6:52 
AnswerRe: how to get color percentage distribution 4 an image? Pin
Dave Kreskowiak7-May-07 7:12
mveDave Kreskowiak7-May-07 7:12 
GeneralRe: how to get color percentage distribution 4 an image? Pin
icecool_567-May-07 7:15
icecool_567-May-07 7:15 
QuestionAdding rows dynamically in a DataGridView Pin
Subrahmanyam K7-May-07 6:52
Subrahmanyam K7-May-07 6:52 
AnswerRe: Adding rows dynamically in a DataGridView Pin
Salogus7-May-07 18:43
Salogus7-May-07 18:43 
AnswerRe: Adding rows dynamically in a DataGridView Pin
AFSEKI7-May-07 21:30
AFSEKI7-May-07 21:30 
AnswerRe: How to Generate a 16 bit Random number? Pin
Dave Kreskowiak7-May-07 7:09
mveDave Kreskowiak7-May-07 7:09 
QuestionHow to determine exe file size from it's process? Pin
Doan Quynh7-May-07 6:26
Doan Quynh7-May-07 6:26 
AnswerRe: How to determine exe file size from it's process? Pin
Dave Kreskowiak7-May-07 6:44
mveDave Kreskowiak7-May-07 6:44 
GeneralRe: How to determine exe file size from it's process? Pin
Doan Quynh7-May-07 14:55
Doan Quynh7-May-07 14:55 
GeneralRe: How to determine exe file size from it's process? Pin
Dave Kreskowiak7-May-07 17:42
mveDave Kreskowiak7-May-07 17:42 
QuestionHow to place write to memory rather than hard-disk? Pin
Khoramdin7-May-07 4:34
Khoramdin7-May-07 4:34 

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.