-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSpawnWindow.xaml
18 lines (17 loc) · 1.21 KB
/
SpawnWindow.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<Window x:Class="HookAMal.SpawnWindow"
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:HookAMal"
mc:Ignorable="d"
ResizeMode="CanMinimize"
Title="SpawnWindow" Height="200" Width="400">
<Grid>
<Label Content="Program" HorizontalAlignment="Left" Margin="28,33,0,0" VerticalAlignment="Top"/>
<Label Content="Args" HorizontalAlignment="Left" Margin="28,64,0,0" VerticalAlignment="Top"/>
<TextBox x:Name="txtBoxProgram" HorizontalAlignment="Left" Margin="89,33,0,0" TextWrapping="Wrap" Text="C:\Windows\notepad.exe" VerticalAlignment="Top" Width="270" Height="26"/>
<TextBox x:Name="txtBoxArgs" HorizontalAlignment="Left" Margin="89,64,0,0" TextWrapping="Wrap" Text="C:\document.txt" VerticalAlignment="Top" Width="270" Height="26"/>
<Button x:Name="btnSpawnProg" Content="Spawn" HorizontalAlignment="Center" Margin="0,110,0,0" VerticalAlignment="Top" Click="btnSpawnProg_Click"/>
</Grid>
</Window>