Click here to Skip to main content
15,914,481 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: Override Text property in GroupBox Pin
dybs13-Sep-09 14:04
dybs13-Sep-09 14:04 
GeneralRe: Override Text property in GroupBox Pin
Henry Minute13-Sep-09 14:17
Henry Minute13-Sep-09 14:17 
GeneralRe: Override Text property in GroupBox Pin
dybs13-Sep-09 16:00
dybs13-Sep-09 16:00 
GeneralRe: Override Text property in GroupBox Pin
dybs18-Sep-09 6:44
dybs18-Sep-09 6:44 
GeneralRe: Override Text property in GroupBox Pin
Henry Minute18-Sep-09 6:48
Henry Minute18-Sep-09 6:48 
QuestionMyNeoReports Pin
CWogksch11-Sep-09 4:31
CWogksch11-Sep-09 4:31 
AnswerRe: MyNeoReports Pin
Henry Minute12-Sep-09 5:49
Henry Minute12-Sep-09 5:49 
QuestionFlickering Problem [modified] Pin
geali_dor10-Sep-09 22:21
geali_dor10-Sep-09 22:21 
Hey there,

i am programming a charting Libary for my Financial Suit. Therefore my idea was to have a Panel that has Lists of all my shapes (Line, Pie, Bar etc.)

Wenn i resize my Panel the whole shapes are flickering very much.

i googled and codeprojected a few days but i got no satisfying answer.

Control.SetStyle(ControlStyles.OptimizedDoubleBuffer, true)

...does unfortunately not work, because, when i set this style, the shapes only appeare frequently on resizing, but when the resizing is finished (MouseUp) the Panel is empty (white; and if i override the OnPaintBackgound and comment the base.OnPaintBackgound out it is black)

Does anyone know about this problems or had the same?
Do i need some more Styles etc?
Do i have to override some methods or properties?

[Edit]
Hey there,

i finally figured it out:
the problem is, if i use Control.SetStyle(ControlStyles.OptimizedDoubleBuffer, true) and an object uses Control.CreateGraphics() it will only be painted while resizing and not when resizing is finished! Now i'm using public void Draw(Graphics g) instead of public void Draw(ChartingSketch sketch) and now it works!!
[/Edit]

hack the planet

modified on Sunday, September 13, 2009 4:28 AM

AnswerRe: Flickering Problem Pin
Henry Minute12-Sep-09 5:51
Henry Minute12-Sep-09 5:51 
AnswerRe: Flickering Problem Pin
April Fans21-Sep-09 21:46
April Fans21-Sep-09 21:46 
QuestionChange Background image of form runtime Pin
swapnil_bhanagle10-Sep-09 6:15
swapnil_bhanagle10-Sep-09 6:15 
AnswerRe: Change Background image of form runtime Pin
dan!sh 11-Sep-09 6:33
professional dan!sh 11-Sep-09 6:33 
AnswerRe: Change Background image of form runtime Pin
April Fans21-Sep-09 21:44
April Fans21-Sep-09 21:44 
Questionlogical expression editor Pin
r.ps9-Sep-09 19:00
r.ps9-Sep-09 19:00 
QuestionDifferent Icon on the title bar than on the application tab Pin
andy4009-Sep-09 10:50
andy4009-Sep-09 10:50 
AnswerRe: Different Icon on the title bar than on the application tab Pin
Luc Pattyn9-Sep-09 10:57
sitebuilderLuc Pattyn9-Sep-09 10:57 
GeneralRe: Different Icon on the title bar than on the application tab Pin
andy4009-Sep-09 11:24
andy4009-Sep-09 11:24 
GeneralRe: Different Icon on the title bar than on the application tab Pin
Luc Pattyn9-Sep-09 11:32
sitebuilderLuc Pattyn9-Sep-09 11:32 
AnswerRe: Different Icon on the title bar than on the application tab Pin
April Fans21-Sep-09 21:45
April Fans21-Sep-09 21:45 
QuestionA problem with Generics [modified] Pin
Henry Minute9-Sep-09 8:03
Henry Minute9-Sep-09 8:03 
QuestionRegions with in a function Pin
εїзεїзεїз8-Sep-09 15:37
εїзεїзεїз8-Sep-09 15:37 
AnswerRe: Regions with in a function Pin
dan!sh 8-Sep-09 22:52
professional dan!sh 8-Sep-09 22:52 
QuestionForm Resizing and Docked Controls Pin
farzadmf8-Sep-09 12:48
farzadmf8-Sep-09 12:48 
AnswerRe: Form Resizing and Docked Controls Pin
Henry Minute8-Sep-09 13:04
Henry Minute8-Sep-09 13:04 
GeneralRe: Form Resizing and Docked Controls Pin
farzadmf8-Sep-09 20:05
farzadmf8-Sep-09 20:05 

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.