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.