两个pictureBox叠放位置发生改变
谢哔哔 2020-01-14 03:09:40 using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Wow
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
pictureBox2.Parent = pictureBox1;
pictureBox1.BackColor = Color.Transparent;
pictureBox2.BackColor = Color.Transparent;
}
}
}