Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
8
Answers
Drawing to the screen
Dmitrij Solov
8y
344
1
Reply
Hello,
I Want to draw a geometric object to the screen and then fill it. I can draw it, but don't come any further.
I have a button1_Click-Event:
private
void
button1_Click(
object
sender, EventArgs e)
{
this
.pictureBox1.Paint +=
new
System.Windows.Forms.PaintEventHandler(
this
.FillEllipseRectangle);
}
And then the FillEllipseRectangle-Event:
private
void
FillEllipseRectangle(
object
sender, PaintEventArgs e)
{
MessageBox.Show(
"well done"
);
...
}
I don't recieve the "well done"-message and nothing else in this method is being compiled.
I hope somebody can help me.
Post
Reset
Cancel
Answers (
8
)
Next Recommended Forum
Split and sum array element like below.
how to add checkboxes dynamicalin treeview control using WPF