Click here to Skip to main content
15,925,309 members
Home / Discussions / C#
   

C#

 
Questionobject initialization Pin
bidisha_tina11-Jan-06 0:06
bidisha_tina11-Jan-06 0:06 
AnswerRe: object initialization Pin
Colin Angus Mackay11-Jan-06 0:13
Colin Angus Mackay11-Jan-06 0:13 
GeneralRe: object initialization Pin
bidisha_tina11-Jan-06 0:29
bidisha_tina11-Jan-06 0:29 
GeneralRe: object initialization Pin
Colin Angus Mackay11-Jan-06 0:40
Colin Angus Mackay11-Jan-06 0:40 
GeneralRe: object initialization Pin
bidisha_tina11-Jan-06 0:51
bidisha_tina11-Jan-06 0:51 
QuestionEventHandling for Controls inserted(OLE way) in a RichTextBox Pin
Linda Thomas10-Jan-06 23:36
Linda Thomas10-Jan-06 23:36 
QuestionFlicker Free Drawing in C# Pin
AB777110-Jan-06 23:11
AB777110-Jan-06 23:11 
AnswerRe: Flicker Free Drawing in C# Pin
[Marc]11-Jan-06 1:44
[Marc]11-Jan-06 1:44 
In your constructor (of the control that is drawn upon):
base.Setstyle(ControlStyles.DoubleBuffer | ControlStyles.AllPaintingInWmPaint | ControlStyles.UserPaint);

Did this from the top of my head, so maybe the enums are not spelled correctly, but it should point you in the right direction.

Also make sure you do the painting in OnPaint, not GreateGraphics.

HTH! Smile | :)


"..Commit yourself to quality from day one..it's better to do nothing at all than to do something badly.."
-- Mark McCormick

|| Fold With Us! || Pensieve || VG.Net ||

GeneralRe: Flicker Free Drawing in C# Pin
AB777111-Jan-06 2:00
AB777111-Jan-06 2:00 
GeneralRe: Flicker Free Drawing in C# Pin
J4amieC11-Jan-06 2:29
J4amieC11-Jan-06 2:29 
GeneralRe: Flicker Free Drawing in C# Pin
[Marc]11-Jan-06 16:55
[Marc]11-Jan-06 16:55 
GeneralRe: Flicker Free Drawing in C# Pin
AB777111-Jan-06 17:23
AB777111-Jan-06 17:23 
GeneralRe: Flicker Free Drawing in C# Pin
AB777111-Jan-06 17:24
AB777111-Jan-06 17:24 
GeneralRe: Flicker Free Drawing in C# Pin
AB777111-Jan-06 18:20
AB777111-Jan-06 18:20 
GeneralRe: Flicker Free Drawing in C# Pin
[Marc]11-Jan-06 22:24
[Marc]11-Jan-06 22:24 
GeneralRe: Flicker Free Drawing in C# Pin
AB777111-Jan-06 23:50
AB777111-Jan-06 23:50 
GeneralRe: Flicker Free Drawing in C# Pin
SwitcherSoft30-Mar-11 23:40
SwitcherSoft30-Mar-11 23:40 
QuestionAnother fax question... Pin
Petrus_Alex10-Jan-06 22:40
Petrus_Alex10-Jan-06 22:40 
QuestionSetup and deployment in visual studio.Net Pin
deep710-Jan-06 22:02
deep710-Jan-06 22:02 
AnswerRe: Setup and deployment in visual studio.Net Pin
mitooki11-Jan-06 0:55
mitooki11-Jan-06 0:55 
AnswerRe: Setup and deployment in visual studio.Net Pin
mav.northwind11-Jan-06 6:33
mav.northwind11-Jan-06 6:33 
QuestionFormat drive Pin
oddstar10-Jan-06 21:59
oddstar10-Jan-06 21:59 
AnswerRe: Format drive Pin
Corinna John10-Jan-06 22:28
Corinna John10-Jan-06 22:28 
Question[Message Deleted] Pin
MicroCenter10-Jan-06 20:02
MicroCenter10-Jan-06 20:02 
AnswerRe: SMART CLIENT DEPLOYMENT Pin
mikailcetinkaya11-Jan-06 9:15
mikailcetinkaya11-Jan-06 9:15 

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.