source: 2014/tet/FileWatcher/FileWatcher/ProgramSelection.xaml @ 5261

Revision 4833, 2.2 KB checked in by anlakane, 7 years ago (diff)
Line 
1<Window x:Class="FileWatcher.ProgramSelection"
2        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4        Title="Select a program..." Height="275" Width="400" MinHeight="275" MinWidth="400" MaxHeight="275" MaxWidth="400">
5    <Grid Background="#80000000">
6        <TextBox Height="23" HorizontalAlignment="Left" Margin="90,12,0,0" Name="programPath" VerticalAlignment="Top" Width="195" Text="C:\MyFolder\MyProgram.exe" Foreground="#80000000" TextChanged="programPath_TextChanged" GotFocus="programPath_GotFocus" LostFocus="programPath_LostFocus" Opacity="1" KeyDown="programPath_KeyDown" />
7        <Label Content="Program:" Height="28" HorizontalAlignment="Left" Margin="12,12,0,0" Name="programLabel" VerticalAlignment="Top" />
8        <Button Content="Browse..." Height="23" HorizontalAlignment="Left" Margin="291,11,0,0" Name="browsePath" VerticalAlignment="Top" Width="75" Click="browsePath_Click" />
9        <Label Content="Arguments:" Height="28" HorizontalAlignment="Left" Margin="12,46,0,0" Name="argumentLabel" VerticalAlignment="Top" />
10        <TextBox Height="100" HorizontalAlignment="Left" Margin="90,51,0,0" Name="argumentsBox" VerticalAlignment="Top" Width="195" TextWrapping="Wrap" TextChanged="argumentsBox_TextChanged" Text="-f %1 -nogui" Foreground="Silver" GotFocus="argumentsBox_GotFocus" LostFocus="argumentsBox_LostFocus" />
11        <Button Content="Done" Height="23" HorizontalAlignment="Right" Margin="0,202,12,0" Name="doneButton" VerticalAlignment="Top" Width="75" IsEnabled="False" IsCancel="False" Click="doneButton_Click" />
12        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="210,202,0,0" Name="cancelButton" VerticalAlignment="Top" Width="75" IsCancel="False" Click="cancelButton_Click" />
13        <RadioButton Content="Use file's path as first parameter" Height="16" HorizontalAlignment="Left" Margin="12,157,0,0" Name="radioButton1" VerticalAlignment="Top" IsChecked="True" Checked="radioButton1_Checked" />
14        <RadioButton Content="Define path's place with %1" Height="16" HorizontalAlignment="Left" Margin="12,179,0,0" Name="radioButton2" VerticalAlignment="Top" Checked="radioButton2_Checked" />
15    </Grid>
16</Window>
Note: See TracBrowser for help on using the repository browser.