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
Dmitrij Solov
NA
43
6.5k
Drawing to the screen
Nov 6 2016 12:42 PM
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.
Reply
Answers (
8
)
Split and sum array element like below.
how to add checkboxes dynamicalin treeview control using WPF