<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="SqlFilter.MainPage" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:olap="clr-namespace:C1.Silverlight.Olap;assembly=C1.Silverlight.Olap.5">
  <Grid x:Name="LayoutRoot">
    <Grid.RowDefinitions>
      <RowDefinition Height="Auto" />
      <RowDefinition />
      <RowDefinition Height="Auto" />
    </Grid.RowDefinitions>

    <StackPanel Orientation="Horizontal" Grid.ColumnSpan="2">
      <TextBlock Text="C1.Silverlight.Olap: SqlFilter" VerticalAlignment="Center" Margin="10,5" FontSize="18" FontWeight="Bold" />
      <Button Content="Update" Margin="10,5" Width="80" Click="Button_Click" />
    </StackPanel>

    <olap:C1OlapPage x:Name="_c1OlapPage" Grid.Row="1" />
    
    <TextBlock x:Name="_lblLoading" FontSize="24" Opacity=".5" Grid.Row="1" Text="Loading data..." HorizontalAlignment="Center" VerticalAlignment="Center" />

    <TextBlock x:Name="_lblStatus" Text="Ready" HorizontalAlignment="Right" Grid.Row="2" />
  </Grid>
</UserControl>