Advertisement
Guest User

Delegate test UI XAML

a guest
Apr 28th, 2013
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.16 KB | None | 0 0
  1. <Window x:Class="WpfApplication1.MainWindow"
  2.         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  3.         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="MainOfWindows"
  4.         Title="Delegate Action Handler" Height="300" Width="450">
  5.     <StackPanel Orientation="Vertical">
  6.         <StackPanel Orientation="Horizontal">
  7.             <ListBox Name="listMethods" Height="200" Width="200" />
  8.             <StackPanel Orientation="Vertical">
  9.                 <StackPanel.Resources>
  10.                     <Style TargetType="Button">
  11.                         <Setter Property="Margin" Value="2" />
  12.                     </Style>
  13.                 </StackPanel.Resources>
  14.                 <Button Name="btnAddAction" Content="Add" Click="btnAddAction_Click"/>
  15.                 <Button Name="btnRemoveAction" Content="Remove" Click="btnRemoveAction_Click"/>
  16.                 <Button Name="btnRun" Content="Run" Height="50" Click="btnRun_Click"/>
  17.             </StackPanel>
  18.             <ListBox Name="listActions" Height="200" Width="200" />
  19.         </StackPanel>
  20.         <TextBlock Name="txtResult" Height="75" Width="440"/>
  21.     </StackPanel>
  22. </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement