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