MS MultiPoint Window Application Problem

Jan 15 2008 11:52 AM
Hi,

Is anybody know how work with MS MultiPoint Window Application?

My "One Button Click" code, see below,  don't doint nothing

See below my example: 

<Window x:Class="MultiPointApplication2.MultiPointWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:multipointns="clr-namespace:Microsoft.MultiPoint.MultiPointControls;assembly=Microsoft.MultiPoint.MultiPointControls"
    Title="MultiPointApplication" Height="300" Width="300"
    >
  <Grid>
      <Button Name="btn1" Height="50" Width="200" Background="Red" Foreground="White"
          FontFamily="Times New Roman" FontSize="14" Content="Red Button" Click="ButtonClickMethod"/>
  </Grid>
      <x:Code>      
        <![CDATA[                   
        void ButtonClickMethod(object sender, RoutedEventArgs e)
        {    
             btn1.Background = Brushes.Green;
              MessageBox.Show("Red Button clicked");
            }
        ]]>
      </x:Code>
 </Window>

Please help me.

Nikolai