public PictureWithLabel(ScreenCaptureSource src) { this.Width = 160; this.Height = 140; label.Text = src.title; pictureBox.Image = src.snapshot; pictureBox.SetBounds(0, 0, 160, 120); label.SetBounds(0, 120, 160, 20); Controls.Add(label); Controls.Add(pictureBox); }