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 PurchingMistakeNew { public partial class UserControl1 : UserControl { public UserControl1() { InitializeComponent(); } private string part; private string box; private string str; public string Part { get { return part; } set { lbPart.Text = value; } } public string Box { get { return box; } set { lbBox.Text = value; } } public string strIn { get { return str; } set { label1.Text = value; } } } }