<Window x:Class="HostingActiveX.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Osadzanie kontrolki usług terminalowych ActiveX">
      <DockPanel Name="panel" Margin="10">
        <StackPanel Margin="0,0,0,10" DockPanel.Dock="Top" Orientation="Horizontal">
          <TextBox x:Name="serverBox" Width="200" Margin="0,0,10,0"/>
          <Button x:Name="connectButton" Click="connectButton_Click">Połącz</Button>
        </StackPanel>
      </DockPanel>
</Window>
