12345678910111213141516171819202122232425 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using System.Windows.Forms;
- using System.IO;
- using System.Drawing;
- using System.Drawing.Drawing2D;
- using System.ComponentModel;
- namespace LYFZ.ComponentLibrary
- {
- public class LabelEx : System.Windows.Forms.Label
- {
- public LabelEx()
- {
- this.ForeColor = LYFZ.ComponentLibrary.GetUIResources.DefaultTextColor;
- this.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel, ((byte)(134)));
- // this.Paint += LabelEx_Paint;
- }
- void LabelEx_Paint(object sender, PaintEventArgs e)
- {
- this.ForeColor = LYFZ.ComponentLibrary.GetUIResources.DefaultTextColor;
- }
- }
- }
|