Click here to Skip to main content
15,881,757 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
In my Program there are repeated results and i tried to draw it on rich text box but i could not because there are No paint method in rich text box so i did create many picture boxes under each others but it is very annoying if you what I mean .
by the way my results are consisted of both lines and letters and sometimes circles please help me to avoid this mass of codes and using unnecessary memory by creating hundreds of picture boxes

thank u for your concern
Posted
Comments
Philippe Mori 20-Jul-11 23:58pm    
Why do you need multiple picture boxes? Would not a single big picture box be enough?
Al-Samman Mahmoud 22-Jul-11 16:48pm    
because i need to deal with every picture's contents alone and it seems like it will be very long picture and exhausting and if i could draw on rich text box it will help with a lot of things like dealing with results as texts selecting them, deleting and inserting and if deal with picture even one picture i will need a method translate what picture contain and update image and this will take along time very time but i saw another programs draw on rich text and i thought that c# has the same ability

 
Share this answer
 
Comments
Al-Samman Mahmoud 21-Jul-11 9:31am    
I don't Want to Draw on Form I want To Draw On RichText Box If Downloaded my Simple Program Here http://www.codeproject.com/KB/cs/DNA_Translation.aspx You Will notice that there is a loop which create a picture box on form so is an draw result on this rich boxes but i want to draw result on rich text box
Try here[^] ... (it's in VB, but hopefully you can translate...)
 
Share this answer
 
v2
Comments
Al-Samman Mahmoud 21-Jul-11 18:57pm    
I don't Know how to translate it really I hope you can give me a small hint
Al-Samman Mahmoud 2-Aug-11 19:54pm    
thank u very much i figured out how to use it and it was very very helpful and i will submit it as article with
Stating your effort
Why couldn't you just put the output into an HTML page?? No, I haven't downloaded the code and looked at it. Can't because it's infected with a virus.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900