winform 自定义label

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace TomWinform.CustomerControl
{
    public partial class VistaLabel : Control
    {
        private StringAlignment verticalAlignment = StringAlignment.Center;
        private StringAlignment horizontalAlignment = StringAlignment.Center;
        private Color lineColor = Color.Black;
        private Color leftLineColor = Color.Black;
        private Color RightLineColor = Color.Black;
        private Color TopLineColor = Color.Black;
        private Color BottomLineColor = Color.Black;

        public VistaLabel()
        {
            InitializeComponen

你可能感兴趣的:(C#.net,winform,自定义,控件)