using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Data; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace PaintingPC { public partial class UC : UserControl { public UC() { InitializeComponent(); } private string type ; private string color ; private string count ; public string typeInfo { get { return type; } set { lbType.Text = value; } } public string colorInfo { get { return color; } set { lbColor.Text = value; } } public string countInfo { get { return count; } set { lbCount.Text = value; } } } }