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 Lskj.Main.Control { public partial class SimpleControl : UserControl { public SimpleControl() { InitializeComponent(); this.circleButton.SizeChanged += CircleButton_SizeChanged; } public PictureBox PicBox { get { return this.picBox; } } public Label Label { get { return this.label; } } public Lskj.Control.CircleButton CornerLab { get { return this.circleButton; } } public bool IsNextLine { get; set; } private void CircleButton_SizeChanged(object sender, EventArgs e) { circleButton.Width = circleButton.Height; } } }