TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
bombel
NA
2
0
C# How can I delete things which I drew with GDI+
Aug 18 2004 6:04 PM
HI How can I delete things which I drew with GDI, I mean for instance, a rectangle. It is killing me, I have tried every thing and I've got nothing. I can do it with Graphics.Clear(SomeColor) because it will mess up my background, I want just get rid of things that I drew. I’m using following code to draw rectangle: Graphics gfx = this.tabControlPanel3.CreateGraphics(); Rectangle rc = new Rectangle(10,20,100,200); gfx.SmoothingMode = SmoothingMode.AntiAlias; Pen pen = new Pen(Brushes.Red,3); gfx.DrawRectangle(pen,rc); I want to delete this rectangle from my Form after pressing a button. Please help me, I can’t sleep because of it :)))))
Reply
Answers (
0
)
Form resize not working correctly after upgrading to Framework 1.1
Refrencing Event