using System.Drawing.Drawing2D;
        private void button1_Click(object sender, EventArgs e)
        {
            GraphicsPath gp = new GraphicsPath();
            gp.AddEllipse(pictureBox1.ClientRectangle);
            Region region = new Region(gp);
            pictureBox1.Region = region;

            pictureBox2.Region=region;

            pictureBox3.Region=region;
            gp.Dispose();
            region.Dispose();
        }

相关文章:

  • 2021-04-20
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2022-02-24
  • 2021-12-04
  • 2021-07-25
  • 2022-03-09
猜你喜欢
  • 2022-12-23
  • 2021-04-24
  • 2022-12-23
  • 2021-10-25
  • 2021-10-18
  • 2022-03-04
  • 2022-12-23
相关资源
相似解决方案