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

C#

 
QuestionAcess control system for company entrance Pin
7alool3-May-09 4:41
7alool3-May-09 4:41 
AnswerRe: Acess control system for company entrance Pin
PIEBALDconsult3-May-09 5:43
mvePIEBALDconsult3-May-09 5:43 
AnswerRe: Acess control system for company entrance Pin
Dave Kreskowiak3-May-09 6:39
mveDave Kreskowiak3-May-09 6:39 
QuestionPrinter on distributed system Pin
Snappy Wing3-May-09 4:39
Snappy Wing3-May-09 4:39 
AnswerRe: Printer on distributed system Pin
Dave Kreskowiak3-May-09 6:40
mveDave Kreskowiak3-May-09 6:40 
Question2d drawing (visualstudio2005) [modified] Pin
lor3n7o3-May-09 2:11
lor3n7o3-May-09 2:11 
AnswerRe: 2d drawing (visualstudio2005) Pin
Henry Minute3-May-09 2:21
Henry Minute3-May-09 2:21 
GeneralRe: 2d drawing (visualstudio2005) Pin
lor3n7o3-May-09 3:44
lor3n7o3-May-09 3:44 
Henry Minute wrote:
If you want to draw on a child panel, handle the Paint event of the child panel and do the drawing there. That way, your drawing gets done every time the panel paints itself.

Just in case you have not yet discovered how to do this:

1. Select the child panel in the designer
2. Bring the Properties Window into view
3. On the toolbar at the top of Properties Window, click the Lightning Bolt button, this will switch to events view
4. Look down the list, find Paint and double-click it. This will put a Paint event handler stub in your code file
5. Put your code in there.

Good luck!


Thanks for the quick response.
In this way I have to write them all the code for all the geometric shapes that I have to draw, right?
I can not do this because I do not know what I have to draw, but I will have to read from a file.
I want something where the GUI alone remember all that has already designed and I would add only the new figure by the code . This way I can read from the file one figure at the time and add it to the plan to put all figures.
Thank you...
Hello.
Mirko
GeneralRe: 2d drawing (visualstudio2005) Pin
Henry Minute3-May-09 4:00
Henry Minute3-May-09 4:00 
GeneralRe: 2d drawing (visualstudio2005) Pin
lor3n7o3-May-09 4:15
lor3n7o3-May-09 4:15 
GeneralRe: 2d drawing (visualstudio2005) Pin
Henry Minute3-May-09 4:24
Henry Minute3-May-09 4:24 
GeneralRe: 2d drawing (visualstudio2005) Pin
lor3n7o3-May-09 4:34
lor3n7o3-May-09 4:34 
QuestionError related access-" Record(s) cannot be read; no read permission on 'MSysObjects '" Pin
KIDYA3-May-09 2:08
KIDYA3-May-09 2:08 
AnswerRe: Error related access-" Record(s) cannot be read; no read permission on 'MSysObjects '" Pin
MumbleB3-May-09 2:54
MumbleB3-May-09 2:54 
QuestionAre "Master pages" ASP.NET's answer to Template Engine for .NET 2.0? Pin
Member 3653373-May-09 2:00
Member 3653373-May-09 2:00 
AnswerRe: Are "Master pages" ASP.NET's answer to Template Engine for .NET 2.0? Pin
saanj3-May-09 21:21
saanj3-May-09 21:21 
QuestionGenerics return type cannot cast. Pin
NT9863-May-09 0:40
NT9863-May-09 0:40 
AnswerRe: Generics return type cannot cast. [modified] Pin
Thomas Weller3-May-09 5:27
Thomas Weller3-May-09 5:27 
AnswerRe: Generics return type cannot cast. Pin
PIEBALDconsult3-May-09 5:31
mvePIEBALDconsult3-May-09 5:31 
Questionhelp Pin
hotthoughtguy2-May-09 23:09
hotthoughtguy2-May-09 23:09 
AnswerRe: help Pin
Eddy Vluggen2-May-09 23:49
professionalEddy Vluggen2-May-09 23:49 
GeneralRe: help Pin
hotthoughtguy3-May-09 1:07
hotthoughtguy3-May-09 1:07 
GeneralRe: help Pin
Eddy Vluggen3-May-09 1:51
professionalEddy Vluggen3-May-09 1:51 
GeneralRe: help Pin
Dave Kreskowiak3-May-09 4:19
mveDave Kreskowiak3-May-09 4:19 
QuestionI want to control some hardware by internet Pin
rashed.info2-May-09 21:35
rashed.info2-May-09 21:35 

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.