Click here to Skip to main content
14,452,858 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi everyone,
I m trying to develop application just like MS Paint i want to fill the color in the shapes i am drawing suppose i have a rectangle and i want to fill it with color i m able to do that by adding the shapes to region anf filling the color to the region but the problem is this if i have three shapes on the form all three a getting filled just by a single click anywhere on the form i want them to be filled seperately can anyone help in this.
Manish Kumar Sharma
Posted
Rate this:
Please Sign up or sign in to vote.

Solution 1

OK - given that you asked this once before and I linked you to an article that does exactly what you want, why would anyone bother trying to help you if you ignore replies and then just ask the same question again ?
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

The article in question was explaining how to do flood fill, which means it will fill only one shape. If it's filling more,then your shapes are not closed. No flood fill method will work in this instance. You should edit your question, both when you want to reply, and when you want to add to your question. If there's a fundamental difference between this question and the last one, it's well hidden, and you certainly don't state in your question that you've tried anything previously, I see nothing to suggest you'd done anything apart from rewording the question.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

well you seems to be really angry but let me tell you that i have not ignored your answer and i read that link too,and that time the question was not same,i was not able to color the shapes that time now i can but all the shapes on screens are getting colored at once instead of coloring them seperately may be i m not able to state it clearly but sir so do not get so angry it is not good for health,be happy
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100