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

C#

 
AnswerRe: Liinking two web pages Pin
Mycroft Holmes26-Sep-11 17:22
professionalMycroft Holmes26-Sep-11 17:22 
GeneralRe: Liinking two web pages Pin
Jomon T Jose26-Sep-11 17:24
Jomon T Jose26-Sep-11 17:24 
AnswerRe: Liinking two web pages Pin
ScottM126-Sep-11 20:34
ScottM126-Sep-11 20:34 
AnswerRe: Liinking two web pages Pin
Armando de la Torre26-Sep-11 21:28
Armando de la Torre26-Sep-11 21:28 
QuestionGDI+ with Graphics Object and text boxes, etc in c# 4.0 Pin
AU Jase26-Sep-11 2:40
AU Jase26-Sep-11 2:40 
AnswerRe: GDI+ with Graphics Object and text boxes, etc in c# 4.0 Pin
Dave Kreskowiak26-Sep-11 3:56
mveDave Kreskowiak26-Sep-11 3:56 
AnswerRe: GDI+ with Graphics Object and text boxes, etc in c# 4.0 Pin
Luc Pattyn26-Sep-11 4:15
sitebuilderLuc Pattyn26-Sep-11 4:15 
GeneralRe: GDI+ with Graphics Object and text boxes, etc in c# 4.0 Pin
AU Jase26-Sep-11 16:20
AU Jase26-Sep-11 16:20 
Luc,

I noticed this anomaly with the doublebuffered control:

1. I use a different namespace from your animation, say PanelForm (or class):

and when I try to add controls on my form with the panel, in the Windows Form Designer,
it will add the following extra syntax in bold:

(in bold)
this.panel1 = new PanelForm.PanelForm.DoubleBufferedPanel();

and during a compile I get an error so the following is correct:
this.panel1 = new Menu.DoubleBufferedPanel(); (Removing the extra PanelForm. fixes the problem)
How come everytime I resize the panel or add something on the same form, it adds the Panel. extra in between PanelForm.Double Buffered -> PanelForm.PanelForm.DoubleBuffered in Windows Form Designer?

I can easily delete it everytime but after say 10 times it becomes frustrating.

2.I understand how you are saying do not use Invalidate in the Paint Event handler,

eventually when we put a car image on the form and use Vectors to move it, Invalidate will need to be done else the car will not move by itself ? or should I use a timer to achieve the same result !

I am just wanting to know, having GDI+ Graphics like Drawstring, DrawRectangle coupled with textboxes and labels is bad form ? and bad design ?

I can send some code over if you cannot understand what I am trying to achieve ? Would that be better?
I am a novice c# programmer, Object Orientation is new to me, so I am still learning the fundamentals after so much time on procedural old style programming !

Thanks also Dave for your feedback !

Regards,

Jase
AnswerRe: GDI+ with Graphics Object and text boxes, etc in c# 4.0 Pin
Luc Pattyn26-Sep-11 16:43
sitebuilderLuc Pattyn26-Sep-11 16:43 
QuestionChanges in already excisted excel file Pin
Member 387988126-Sep-11 1:54
Member 387988126-Sep-11 1:54 
AnswerRe: Changes in already excisted excel file Pin
Dave Kreskowiak26-Sep-11 3:53
mveDave Kreskowiak26-Sep-11 3:53 
AnswerRe: Changes in already excisted excel file Pin
Alan Balkany26-Sep-11 5:23
Alan Balkany26-Sep-11 5:23 
QuestionCouldn't able to set the environment variables Pin
NarVish26-Sep-11 1:18
NarVish26-Sep-11 1:18 
AnswerRe: Couldn't able to set the environment variables Pin
Daniel.Grondal26-Sep-11 1:47
Daniel.Grondal26-Sep-11 1:47 
GeneralRe: Couldn't able to set the environment variables Pin
NarVish26-Sep-11 2:46
NarVish26-Sep-11 2:46 
GeneralRe: Couldn't able to set the environment variables Pin
Daniel.Grondal26-Sep-11 10:08
Daniel.Grondal26-Sep-11 10:08 
GeneralRe: Couldn't able to set the environment variables Pin
NarVish26-Sep-11 18:19
NarVish26-Sep-11 18:19 
AnswerRe: Couldn't able to set the environment variables Pin
Ravi Bhavnani26-Sep-11 1:47
professionalRavi Bhavnani26-Sep-11 1:47 
GeneralRe: Couldn't able to set the environment variables Pin
NarVish26-Sep-11 2:46
NarVish26-Sep-11 2:46 
AnswerRe: Couldn't able to set the environment variables PinPopular
PIEBALDconsult26-Sep-11 2:47
mvePIEBALDconsult26-Sep-11 2:47 
AnswerRe: Couldn't able to set the environment variables Pin
Ravi Bhavnani26-Sep-11 3:49
professionalRavi Bhavnani26-Sep-11 3:49 
Questionproject ideas Pin
angel 225-Sep-11 21:37
angel 225-Sep-11 21:37 
AnswerRe: project ideas Pin
Dalek Dave25-Sep-11 21:43
professionalDalek Dave25-Sep-11 21:43 
AnswerRe: project ideas Pin
Bernhard Hiller26-Sep-11 0:43
Bernhard Hiller26-Sep-11 0:43 
AnswerRe: project ideas Pin
Rob Philpott26-Sep-11 1:55
Rob Philpott26-Sep-11 1:55 

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.