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