public void SetSelectionBackColor(Color color) { if (control.InvokeRequired) { SetSelectionBackColorDelegate del = new SetSelectionBackColorDelegate(SetSelectionBackColor); control.Invoke(del, new object[] { color }); } else control.SelectionBackColor = color; }
public void SetSelectionBackColor(Color color) { if (control.InvokeRequired) { SetSelectionBackColorDelegate del = new SetSelectionBackColorDelegate(SetSelectionBackColor); control.Invoke(del, new object[] { color }); } else { control.SelectionBackColor = color; } }