title: PictureBox doesn't show up in C# WinForm
body: <p>I am trying to create a custom error dialog, that has a red x on the left hand side. Below is my code;</p>
  
  <pre><code>using JohnsonControls.FieldBusFDD.Properties;
  using System;
  using System.Collections.Generic;
  using System.Drawing;
  using System.IO;
  using System.Linq;
  using System.Text;
  using System.Windows.Forms;
  
  namespace JohnsonControls.FieldBusFDD
  {
      public class ErrorDialog : Dialog
      {
          public static bool ShowDialog(string text, string title)
          {
              Form prompt = new Form();
              prompt.Width = 435;
              prompt.Height = 122;
              prompt.FormBorderStyle = FormBorderStyle.FixedDialog;
              prompt.Text = title;
              prompt.StartPosition = FormStartPosition.CenterScreen;
  
              PictureBox image = new PictureBox();
              image.Image = Resources.red_x;
              image.Location = new Point(10, 10);
              image.Size = new Size(50, 50);
  
              Label textLabel = new Label() { Left = 60, Top = 10, Width = 350, Text = text };
  
              Button confirmation = new Button() { Text = "Ok", Left = 300, Width = 100, Top = 52 };
              confirmation.Click += (sender, e) =&gt; { prompt.Close(); };
              confirmation.DialogResult = DialogResult.OK;
  
              prompt.Controls.Add(image);
              prompt.Controls.Add(confirmation);
              prompt.Controls.Add(textLabel);
              prompt.AcceptButton = confirmation;
  
              return prompt.ShowDialog() == DialogResult.OK ? true : false;
          }
      }
  }
  </code></pre>
  
  <p>The file is stored in the project resources, and compiles just fine but the image is not displayed.</p>