と のフォームがMenuStripありPictureBoxます。次のコードでPictureBoxのイベントをサブスクライブします。Paint
private void pictureBox1_Paint(object sender, PaintEventArgs e)
{
pictureBox1.Image = new Bitmap(pictureBox1.Width, pictureBox1.Height);
// other code but the above line demonstrates the problem
}
これにより、がまったく重なっていないMenuStripにもかかわらず、何らかの理由で が白くなります。その上にカーソルを置くまでテキストが表示されません。上記の関数の最後にa を置くことはできますが、それは別の問題を引き起こします。PictureBoxMenuStripmenuStrip1.Update()