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 ProjectBase.Controls { public partial class RightLabels : UserControl { public RightLabels() { InitializeComponent(); } private void RightLabels_FontChanged(object sender, EventArgs e) { foreach (Control control in tableLayoutPanel1.Controls) { control.Font = this.Font; } } [Browsable(true)] public string Com_Name { get { return label1.Text; } set { label1.Text = value; } } [Browsable(true)] public string Torque_Value { get { return label4.Text; } set { label4.Text = value; } } [Browsable(true)] public string Angle_Value { get { return label5.Text; } set { label5.Text = value; } } [Browsable(true)] public string LED_Name { get { return circleLabel1.Text; } set { circleLabel1.Text = value; } } [Browsable(true)] public LedState WorkState { get { return circleLabel1.WorkState; } set { circleLabel1.WorkState = value; } } } }