Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window x:Class="WpfApplication1.MainWindow"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Name="MainOfWindows"
- Title="Delegate Action Handler" Height="300" Width="450">
- <StackPanel Orientation="Vertical">
- <StackPanel Orientation="Horizontal">
- <ListBox Name="listMethods" Height="200" Width="200" />
- <StackPanel Orientation="Vertical">
- <StackPanel.Resources>
- <Style TargetType="Button">
- <Setter Property="Margin" Value="2" />
- </Style>
- </StackPanel.Resources>
- <Button Name="btnAddAction" Content="Add" Click="btnAddAction_Click"/>
- <Button Name="btnRemoveAction" Content="Remove" Click="btnRemoveAction_Click"/>
- <Button Name="btnRun" Content="Run" Height="50" Click="btnRun_Click"/>
- </StackPanel>
- <ListBox Name="listActions" Height="200" Width="200" />
- </StackPanel>
- <TextBlock Name="txtResult" Height="75" Width="440"/>
- </StackPanel>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement