Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
QuestionSorting using generic classes + c# Pin
abcurl29-Dec-09 5:17
abcurl29-Dec-09 5:17 
AnswerRe: Sorting using generic classes + c# Pin
Eddy Vluggen29-Dec-09 6:20
professionalEddy Vluggen29-Dec-09 6:20 
Questionc# multiple forms communication Pin
ikurtz29-Dec-09 4:31
ikurtz29-Dec-09 4:31 
AnswerRe: c# multiple forms communication Pin
Saksida Bojan29-Dec-09 4:48
Saksida Bojan29-Dec-09 4:48 
AnswerRe: c# multiple forms communication Pin
dan!sh 29-Dec-09 5:03
professional dan!sh 29-Dec-09 5:03 
AnswerRe: c# multiple forms communication Pin
coolestCoder29-Dec-09 22:23
coolestCoder29-Dec-09 22:23 
QuestionI have a few questions :) Pin
Raztor029-Dec-09 4:30
Raztor029-Dec-09 4:30 
AnswerRe: I have a few questions :) Pin
Saksida Bojan29-Dec-09 4:41
Saksida Bojan29-Dec-09 4:41 
I assume you are using GDI+ to draw. try using double buffer.

this.SetStyle(ControlStyles.DoubleBuffer, true);

Instead to draw every command to screen, it draws to memory and when all completed, it draws already completed drawing from memory. Always use .Flush to clean graphic controls after usage.

also you can use this.Invalidate(Rectange) to force update of specific region.

Here are some articles about tetris:
A .Net Tetris game in c# using GDI+[^]
Falling Blocks Game[^]
AnswerRe: I have a few questions :) Pin
DiscoJimmy29-Dec-09 5:01
DiscoJimmy29-Dec-09 5:01 
AnswerRe: I have a few questions :) Pin
Raztor029-Dec-09 7:37
Raztor029-Dec-09 7:37 
GeneralRe: I have a few questions :) Pin
Saksida Bojan29-Dec-09 8:12
Saksida Bojan29-Dec-09 8:12 
QuestionWindows automation with C# Pin
DiscoJimmy29-Dec-09 4:26
DiscoJimmy29-Dec-09 4:26 
QuestionResize of Custom Control And Excluding control Pin
Saksida Bojan29-Dec-09 4:02
Saksida Bojan29-Dec-09 4:02 
AnswerRe: Resize of Custom Control And Excluding control Pin
Eddy Vluggen29-Dec-09 6:34
professionalEddy Vluggen29-Dec-09 6:34 
GeneralRe: Resize of Custom Control And Excluding control Pin
Saksida Bojan29-Dec-09 10:30
Saksida Bojan29-Dec-09 10:30 
GeneralRe: Resize of Custom Control And Excluding control Pin
Eddy Vluggen30-Dec-09 5:45
professionalEddy Vluggen30-Dec-09 5:45 
GeneralRe: Resize of Custom Control And Excluding control Pin
Saksida Bojan5-Jan-10 1:49
Saksida Bojan5-Jan-10 1:49 
GeneralRe: Resize of Custom Control And Excluding control Pin
Saksida Bojan12-Feb-10 19:03
Saksida Bojan12-Feb-10 19:03 
GeneralRe: Resize of Custom Control And Excluding control Pin
Eddy Vluggen13-Feb-10 1:10
professionalEddy Vluggen13-Feb-10 1:10 
Newsi have a problem of using an ICMP class at SharpPcap-2.1.1 Pin
3bood.ghzawi29-Dec-09 2:29
3bood.ghzawi29-Dec-09 2:29 
GeneralRe: i have a problem of using an ICMP class at SharpPcap-2.1.1 Pin
Calla29-Dec-09 3:33
Calla29-Dec-09 3:33 
GeneralRe: i have a problem of using an ICMP class at SharpPcap-2.1.1 Pin
dan!sh 29-Dec-09 3:45
professional dan!sh 29-Dec-09 3:45 
JokeRe: i have a problem of using an ICMP class at SharpPcap-2.1.1 Pin
Abhinav S29-Dec-09 3:48
Abhinav S29-Dec-09 3:48 
GeneralRe: i have a problem of using an ICMP class at SharpPcap-2.1.1 Pin
Keith Barrow29-Dec-09 4:00
professionalKeith Barrow29-Dec-09 4:00 
QuestionTabControl Pin
farokhian29-Dec-09 0:25
farokhian29-Dec-09 0:25 

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.