윈폼(Winform)
C# Round Border Label
라운드된 외곽선이 있는 커스텀 라벨 컨트롤 네 귀퉁이 별로 각각 라운드 여부를 지정 가능 라운드 너비, 배경 색상, 외곽선 색상/두께 변경 가능 RoundLabel.cs using System.ComponentModel; using System.Drawing; using System.Drawing.Drawing2D; using System.Windows.Forms; namespace RoundBorderLabel { public class RoundLabel :Label { public int cornerRadius = 15; //라운드 너비 public Color borderColor = Color.DarkGray;//외곽선 색상 public int borderWidth = 1;//외곽선 두께 publ..
2021. 11. 17. 23:28
최근댓글