Added a missing reference in the control library and fixed an error with InvokeIfRequired in the WinForms sample