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

C#

 
GeneralRe: Code Generator Project. Help deciding if I should publish it. Pin
Armando de la Torre28-Sep-11 10:11
Armando de la Torre28-Sep-11 10:11 
AnswerRe: Code Generator Project. Help deciding if I should publish it. Pin
PIEBALDconsult27-Sep-11 2:50
mvePIEBALDconsult27-Sep-11 2:50 
QuestionLiinking two web pages Pin
Jomon T Jose26-Sep-11 16:50
Jomon T Jose26-Sep-11 16:50 
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 
Hi,

I am having a problem with the Graphics Object in the Paint Event.

when I use Graphics g=e.Graphics in the Paint Event handler and then
I go and and use g.DrawImage, etc

textboxes on the same form work properly, but when I add the statement, this.Invalidate(); in the Paint event

the draws will auto update, but the textbox's cursor dissapears
I can still enter text

but it seems the textbox's event and the Paint event are causing troubles.

I am trying to create a 2d racing game for an academic project and require gdi+ or xna , I chose to start in GDI+ and I am drawing all my menus with DrawString method, but when I want input say player name, I choose to add a textbox and get it from there, since my drawing canvas is the whole form, I solved the problem using a panel to draw in, had double buffering issues which I solved but then I have these conflicts with the windows form controls.


Any assistance is highly recommended

Jase
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 
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 

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.