title: MessageBox doesn't show in Windows 7 Embedded
body: <p>Consider a MessageBox to prompt the user to answer yes or no. It works in our XP machines and one Windows 7 build machine. </p>
  
  <p>However, it doesn't work on our Windows 7 Embedded machine. There is no error message, no MessageBox shows up. It just assumes the user clicked the Yes button because I can find the debug file created from there and <code>createDatabase();</code> is called without any messageBox ahead of it. </p>
  
  <p>I can find the assembly (System.Windows.Forms.dll) which is required by the MessageBox. It is in the same location as our Windows 7 build machine. do you have any idea why? thanks</p>
  
  <pre><code>DialogResult result = System.Windows.Forms.MessageBox.Show(
      "Do you want to update your database?\nWarning: All your data will be erased if you click Yes !",
  "Update Database",
  MessageBoxButtons.YesNo,
  MessageBoxIcon.Question);
  
  if (result == DialogResult.Yes)
  {
      string[] cmdLines2 = { @"C:\AndeDB\AndeDB.db is here and selected yes" };
      //it will create, open and write or overwrite
      File.WriteAllLines(@"C:\Temp\dbcheck2.txt", cmdLines2);
      createDatabase();
  }
  </code></pre>