public FormStage() { InitializeComponent(); ImageContainer.PrepareImage(); GameSystem.formStage = this; GameSystem.picBoxStage = picBoxStage; picBoxStage.GetType().GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic).SetValue(picBoxStage, true, null); picBoxStage.Size = new Size(3 * GameSystem.screen.Width, 3 * GameSystem.screen.Height); picBoxStage.Location = new Point(-GameSystem.screen.Width, -GameSystem.screen.Height); picBoxEvolveEffect.Parent = picBoxStage; GameSystem.SetSquareControlSize(picBoxEvolveEffect, GameSystem.screen, 0, 0, 0.32); System.Drawing.Drawing2D.GraphicsPath path = new System.Drawing.Drawing2D.GraphicsPath(); path.AddEllipse(0, 0, picBoxEvolveEffect.Width, picBoxEvolveEffect.Height); picBoxEvolveEffect.Region = new Region(path); canEat = true; picBoxTargetInMap.Parent = picBoxMap; }