private void ContextImagesSizeModeClicked(object sender, EventArgs e)
{
var toolStripMenuItem = sender as ToolStripMenuItem;
if (toolStripMenuItem == null) return;
int num = Convert.ToInt32(toolStripMenuItem.Tag);
var mode = (PictureBoxSizeMode)num;
var pictureBox = this.contextMenuImages.SourceControl as PictureBox;
if (pictureBox != null)
pictureBox.SizeMode = mode;
}