title: How to Bring the Border of a Picturebox to Front?
body: <p>I am making a border around a picture box by simply drawing a rectangle around it. However since there is a panel behind the picturebox, I cannot see the border around the picturebox (despite the fact that I have drawn the border around the picture. Here's the code:</p>
  
  <pre><code>private void Form1_Load(object sender, EventArgs e)
      {
          this.WindowState = FormWindowState.Maximized;
          Graphics objGraphics = null;
          objGraphics = this.CreateGraphics();
          objGraphics.Clear(SystemColors.Control);
          objGraphics.DrawRectangle(Pens.Blue,
               ileriresmi.Left - 1, ileriresmi.Top - 1,
                ileriresmi.Width + 1, ileriresmi.Height + 1);
          objGraphics.Dispose();
      }
  </code></pre>