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