using DevExpress.XtraEditors; 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 CG.App.UserControl { public partial class MsgUserControl : DevExpress.XtraEditors.XtraUserControl { public MsgUserControl() { InitializeComponent(); this.labelControl1.Text = ""; } public MsgUserControl(string msg) :this() { this.labelControl1.Text = msg; } } }