button click method doesn't work as it's visibility changes
<p>I have a picturebox(called pic_Image) and 2 buttons(called btn_AddImage &amp; btn_RemoveImage). I want to make the buttons visible as user moves the mouse on the pic_Image and make them invisibe as mouse leaves the pic_Image.
this is the code for making visible:</p>

<pre><code>private void pic_Image_MouseMove(object sender, MouseEventArgs e)
    {
        btn_AddImage.Visible = true;
        btn_RemoveImage.Visible = true;
    }
</code></pre>

<p>and this is the code for making invisible:</p>

<pre><code>private void pic_Image_MouseLeave(object sender, EventArgs e)
    {
        btn_AddImage.Visible = false;
        btn_RemoveImage.Visible = false;
    }
</code></pre>

<p>The problem is that after I use the pic_Image_MouseMove method the Onbutton click method doesn't work.</p>

<p>thanks in advance</p>
