123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- 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 LeftLabels : UserControl
- {
- public LeftLabels()
- {
- InitializeComponent();
- }
- private void LeftLabels_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; }
- }
- }
- }
|