public void SetDROText(System.Windows.Forms.RibbonTextBox control, string text) { try { if (this.ribbon1.InvokeRequired) { SetDROTextCallback d = new SetDROTextCallback(SetDROText); Invoke(d, new object[] { control, text }); } else { control.TextBoxText = text; } } catch { } }