forked from SciSharp/Numpy.NET
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
17 lines (16 loc) · 1.07 KB
/
MainWindow.xaml
File metadata and controls
17 lines (16 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Window x:Class="WpfExample.MainWindow"
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:local="clr-namespace:WpfExample"
mc:Ignorable="d"
Title="Numpy WPF Example" Height="450" Width="800">
<DockPanel>
<Button Name="Button1" DockPanel.Dock="Top" HorizontalAlignment="Left" Padding="10,4" Margin="4" Click="OnBlockingClick">Multiply on GUI thread (blocking)</Button>
<Button Name="Button2" DockPanel.Dock="Top" HorizontalAlignment="Left" Padding="10,4" Margin="4" Click="OnNonBlockingClick" IsEnabled="False">Multiply on background thread (non-blocking)</Button>
<TextBox Margin="4" Name="TextBox" VerticalScrollBarVisibility="Visible">
Run the blocking example first, then the non-blocking example will be activated.
</TextBox>
</DockPanel>
</Window>