private void Form1_Load(object sender, EventArgs e) { PictureBox pb = new PictureBox(); pb.Size = new Size(200, 200); pb.BackColor = Color.Aqua; pb.Location = pb.FromCartesian(new Point(20, 20)); Controls.Add(pb); }
private void Form1_Load(object sender, EventArgs e) { PictureBox pb = new PictureBox(); pb.Size = new Size(200, 200); pb.BackColor = Color.Aqua; pb.Location = pb.FromCartesian(new Point(20, 20)); Controls.Add(pb); }