Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
GeneralRe: Flickering [modified] Pin
phil.o2-Dec-10 4:46
professionalphil.o2-Dec-10 4:46 
GeneralRe: Flickering Pin
Luc Pattyn2-Dec-10 4:54
sitebuilderLuc Pattyn2-Dec-10 4:54 
GeneralRe: Flickering Pin
phil.o2-Dec-10 5:02
professionalphil.o2-Dec-10 5:02 
GeneralRe: Flickering Pin
musefan2-Dec-10 5:11
musefan2-Dec-10 5:11 
GeneralRe: Flickering Pin
peropata2-Dec-10 5:38
peropata2-Dec-10 5:38 
GeneralRe: Flickering Pin
Luc Pattyn2-Dec-10 6:43
sitebuilderLuc Pattyn2-Dec-10 6:43 
GeneralRe: Flickering Pin
peropata2-Dec-10 7:10
peropata2-Dec-10 7:10 
AnswerRe: Flickering Pin
Luc Pattyn2-Dec-10 4:10
sitebuilderLuc Pattyn2-Dec-10 4:10 
You get more flickering when you have more and/or more complex controls on a WinForm. 40 is quite a lot; are some of them list controls (ListBox, DataGridView, TreeView, ...)? are they databound?

There are some precautions you can take:
- make complex controls double-buffered (works often fine for complex controls);
- make the Form double-buffered (hasn't really ever worked for me);
- make sure you don't create a lot of objects while painting controls (assuming some are user-drawn);
- avoid background images;
- avoid transparency;
- avoid slow data accesses (database, network, ...) to fill your controls.

However the main guide line is: keep your forms simple, the user will appreciate it in many ways.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Flickering Pin
musefan2-Dec-10 4:15
musefan2-Dec-10 4:15 
GeneralRe: Flickering Pin
Luc Pattyn2-Dec-10 4:22
sitebuilderLuc Pattyn2-Dec-10 4:22 
QuestionBeginners help with classes Pin
kruegs352-Dec-10 2:43
kruegs352-Dec-10 2:43 
AnswerRe: Beginners help with classes Pin
Hiren solanki2-Dec-10 2:55
Hiren solanki2-Dec-10 2:55 
AnswerRe: Beginners help with classes Pin
Luc Pattyn2-Dec-10 2:59
sitebuilderLuc Pattyn2-Dec-10 2:59 
AnswerRe: Beginners help with classes Pin
musefan2-Dec-10 3:13
musefan2-Dec-10 3:13 
GeneralRe: Beginners help with classes Pin
kruegs352-Dec-10 3:28
kruegs352-Dec-10 3:28 
GeneralRe: Beginners help with classes Pin
musefan2-Dec-10 3:38
musefan2-Dec-10 3:38 
GeneralRe: Beginners help with classes Pin
PIEBALDconsult2-Dec-10 8:25
mvePIEBALDconsult2-Dec-10 8:25 
AnswerRe: Beginners help with classes Pin
#realJSOP2-Dec-10 3:21
professional#realJSOP2-Dec-10 3:21 
GeneralRe: Beginners help with classes Pin
kruegs352-Dec-10 3:45
kruegs352-Dec-10 3:45 
GeneralRe: Beginners help with classes Pin
Jeff Connelly2-Dec-10 4:53
Jeff Connelly2-Dec-10 4:53 
GeneralRe: Beginners help with classes Pin
DaveyM692-Dec-10 9:30
professionalDaveyM692-Dec-10 9:30 
AnswerRe: Beginners help with classes Pin
V.2-Dec-10 23:31
professionalV.2-Dec-10 23:31 
QuestionExecuteNonQuery Problem Pin
Erdinc272-Dec-10 1:40
Erdinc272-Dec-10 1:40 
AnswerRe: ExecuteNonQuery Problem PinPopular
Hiren solanki2-Dec-10 1:46
Hiren solanki2-Dec-10 1:46 
GeneralRe: ExecuteNonQuery Problem Pin
Eddy Vluggen2-Dec-10 1:53
professionalEddy Vluggen2-Dec-10 1:53 

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.