Click here to Skip to main content
15,913,090 members
Home / Discussions / C#
   

C#

 
GeneralRe: Showing Main Form Quickly? Pin
OriginalGriff10-Jul-10 20:30
mveOriginalGriff10-Jul-10 20:30 
GeneralRe: Showing Main Form Quickly? Pin
PIEBALDconsult11-Jul-10 3:15
mvePIEBALDconsult11-Jul-10 3:15 
GeneralRe: Showing Main Form Quickly? Pin
OriginalGriff11-Jul-10 3:46
mveOriginalGriff11-Jul-10 3:46 
AnswerRe: Showing Main Form Quickly? Pin
Pete O'Hanlon10-Jul-10 21:46
mvePete O'Hanlon10-Jul-10 21:46 
QuestionMessage Removed Pin
10-Jul-10 4:31
isprog110-Jul-10 4:31 
AnswerRe: Graphics Object Using text box for x & y axis. Pin
OriginalGriff10-Jul-10 4:44
mveOriginalGriff10-Jul-10 4:44 
GeneralMessage Removed Pin
10-Jul-10 6:12
isprog110-Jul-10 6:12 
GeneralRe: Graphics Object Using text box for x & y axis. Pin
OriginalGriff10-Jul-10 10:22
mveOriginalGriff10-Jul-10 10:22 
So? It's not exactly difficult.

At present you are drawing a house - lets just draw a box:
Draw line (x1, y1) to (x2, y1)
Draw line (x2, y1) to (x2, y2)
Draw line (x2, y2) to (x1, y2)
Draw line (x1, y2) to (x1, y1)
What happens if you add the numbers you read from the text boxes to each xN and yN coordinate appropriately? Would the box stay in the same place? Or would it move?

That is the basics; now it's up to you to see what happens.

Two little hints:

1) You house is to big to move much - draw it about half the size before you start playing with your code.

2) The drawing coordinates start at the top left of the window, rather than the bottom left as you probably expected - but you have probably realised that while drawing the house in the first place.
Did you know:
That by counting the rings on a tree trunk, you can tell how many other trees it has slept with.

GeneralMessage Removed Pin
10-Jul-10 21:02
isprog110-Jul-10 21:02 
GeneralRe: Graphics Object Using text box for x & y axis. [modified] Pin
OriginalGriff10-Jul-10 21:26
mveOriginalGriff10-Jul-10 21:26 
GeneralRe: Graphics Object Using text box for x & y axis. Pin
isprog110-Jul-10 21:40
isprog110-Jul-10 21:40 
GeneralRe: Graphics Object Using text box for x & y axis. Pin
OriginalGriff10-Jul-10 21:59
mveOriginalGriff10-Jul-10 21:59 
GeneralRe: Graphics Object Using text box for x & y axis. Pin
OriginalGriff10-Jul-10 23:35
mveOriginalGriff10-Jul-10 23:35 
GeneralRe: Graphics Object Using text box for x & y axis. Pin
Luc Pattyn11-Jul-10 6:04
sitebuilderLuc Pattyn11-Jul-10 6:04 
AnswerRe: Graphics Object Using text box for x & y axis. Pin
Roger Wright10-Jul-10 4:59
professionalRoger Wright10-Jul-10 4:59 
AnswerRe: Graphics Object Using text box for x & y axis. Pin
Luc Pattyn10-Jul-10 8:40
sitebuilderLuc Pattyn10-Jul-10 8:40 
Questionconcatenation of multiple value [modified] Pin
varsh1210-Jul-10 1:18
varsh1210-Jul-10 1:18 
AnswerRe: concatenation of multiple value Pin
Luc Pattyn10-Jul-10 1:24
sitebuilderLuc Pattyn10-Jul-10 1:24 
AnswerRe: concatenation of multiple value Pin
OriginalGriff10-Jul-10 1:56
mveOriginalGriff10-Jul-10 1:56 
GeneralRe: concatenation of multiple value Pin
DaveyM6910-Jul-10 2:04
professionalDaveyM6910-Jul-10 2:04 
GeneralRe: concatenation of multiple value Pin
OriginalGriff10-Jul-10 2:07
mveOriginalGriff10-Jul-10 2:07 
AnswerRe: concatenation of multiple value Pin
DaveyM6910-Jul-10 2:03
professionalDaveyM6910-Jul-10 2:03 
AnswerRe: concatenation of multiple value Pin
PIEBALDconsult10-Jul-10 3:56
mvePIEBALDconsult10-Jul-10 3:56 
AnswerRe: concatenation of multiple value Pin
Abhinav S10-Jul-10 5:17
Abhinav S10-Jul-10 5:17 
QuestionHow to mearge 2 column in dagagridview in C# application?? [modified] Pin
Sunil G9-Jul-10 20:53
Sunil G9-Jul-10 20: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.