<Window x:Class="DispatcherExamples.PassParams"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Pass Params to BeginInvoke" Height="300" Width="300"
    >
    <Grid>
      <StackPanel>
        <Button x:Name="useBeginInvokeButton" Content="Pass BeginInvoke Parameters" />
      </StackPanel>
    </Grid>
</Window>
