sraw method
-
I draw rectangle by use mouse but this rectangle drawing many time I mean many rectangle result in one time and if click the button the rectangle disappear I want rectangle stil in panel even click another button to draw another ship ..............how help meeeeeeeee please............. :(( :((
-
I draw rectangle by use mouse but this rectangle drawing many time I mean many rectangle result in one time and if click the button the rectangle disappear I want rectangle stil in panel even click another button to draw another ship ..............how help meeeeeeeee please............. :(( :((
How can we possibly help you? We cannot see the code that causes you these problems. The only thing that I can say is that if you are not drawing the rectangles in the panel's OnPaint event handler they will disappear each time the panel is redrawn.
Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.” I wouldn't let CG touch my Abacus! When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
-
I draw rectangle by use mouse but this rectangle drawing many time I mean many rectangle result in one time and if click the button the rectangle disappear I want rectangle stil in panel even click another button to draw another ship ..............how help meeeeeeeee please............. :(( :((
you did not provide any detail nor code, so all I can do is suggest you read this[^]. :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.
-
I draw rectangle by use mouse but this rectangle drawing many time I mean many rectangle result in one time and if click the button the rectangle disappear I want rectangle stil in panel even click another button to draw another ship ..............how help meeeeeeeee please............. :(( :((
-
I draw rectangle by use mouse but this rectangle drawing many time I mean many rectangle result in one time and if click the button the rectangle disappear I want rectangle stil in panel even click another button to draw another ship ..............how help meeeeeeeee please............. :(( :((
your question is not clear. please be clear while asking question so we can help you :)