/// <summary> /// /// </summary> /// <param name="control"></param> /// <param name="text"></param> private void DefineTexto(DevComponents.DotNetBar.LabelX control, string text) { if (control.InvokeRequired) { control.Invoke(new InvokeControle(DefineTexto), new object[] { control, text }); } else { control.Text = text; } }