Can I draw a rectangle with mouseClick? My code is not working so far. Can you help me?
private void panel1_MouseClick(object sender, MouseEventArgs e) {
You should draw it in "Paint" event of the control (panel1 in this case).