录制_2024_05_06_17_11_45_141

项目场景:
c#绘制渐变色的button
using System;
using System.ComponentModel;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;
using static System.Windows.Forms.AxHost;
namespace WindowsFormsApp2
{
public class GradientCircle : UserControl
{
public GradientCircle()
{
this.Size = new Size(circleSize