UpdateMainControl - sets MainControl to a new value
Source position: ldocktree.pas line 123
protected procedure TLazDockForm.UpdateMainControl;