Add working folder and minimized launch options
This commit is contained in:
@@ -182,6 +182,7 @@
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="Auto"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<TextBlock Text="Title" VerticalAlignment="Center" Margin="0,0,8,8"/>
|
||||
@@ -203,27 +204,42 @@
|
||||
<TextBlock Text="Arguments" Grid.Row="3" VerticalAlignment="Center" Margin="0,0,8,8"/>
|
||||
<TextBox x:Name="ArgumentsBox" Grid.Row="3" Grid.Column="1" Grid.ColumnSpan="2" Margin="0,0,0,8"/>
|
||||
|
||||
<TextBlock Text="Icon Path" Grid.Row="4" VerticalAlignment="Center" Margin="0,0,8,0"/>
|
||||
<TextBox x:Name="IconPathBox" Grid.Row="4" Grid.Column="1" Margin="0,0,8,8"
|
||||
<TextBlock Text="Working Folder" Grid.Row="4" VerticalAlignment="Center" Margin="0,0,8,8"/>
|
||||
<TextBox x:Name="WorkingFolderBox" Grid.Row="4" Grid.Column="1" Margin="0,0,8,8"/>
|
||||
<Button x:Name="WorkingFolderBrowseButton"
|
||||
Grid.Row="4" Grid.Column="2"
|
||||
Content="Folder"
|
||||
Click="BrowseWorkingFolder_Click"
|
||||
Padding="8,4"
|
||||
Margin="0,0,0,8"/>
|
||||
|
||||
<TextBlock Text="Icon Path" Grid.Row="5" VerticalAlignment="Center" Margin="0,0,8,0"/>
|
||||
<TextBox x:Name="IconPathBox" Grid.Row="5" Grid.Column="1" Margin="0,0,8,8"
|
||||
TextChanged="PreviewField_Changed"/>
|
||||
<StackPanel Grid.Row="4" Grid.Column="2" Orientation="Horizontal" Margin="0,0,0,8">
|
||||
<StackPanel Grid.Row="5" Grid.Column="2" Orientation="Horizontal" Margin="0,0,0,8">
|
||||
<Button Content="Icon" Click="BrowseIcon_Click" Padding="8,4" Margin="0,0,6,0"/>
|
||||
<Button Content="Reset" Click="ResetIcon_Click" Padding="8,4"/>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Text="Selected Item Display" Grid.Row="5" VerticalAlignment="Center" Margin="0,0,8,8"/>
|
||||
<ComboBox x:Name="ItemDisplayModeBox" Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="2"
|
||||
<TextBlock Text="Selected Item Display" Grid.Row="6" VerticalAlignment="Center" Margin="0,0,8,8"/>
|
||||
<ComboBox x:Name="ItemDisplayModeBox" Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2"
|
||||
Margin="0,0,0,8" SelectionChanged="ItemDisplayModeBox_SelectionChanged"/>
|
||||
|
||||
<TextBlock Text="Launch Options" Grid.Row="6" VerticalAlignment="Center" Margin="0,0,8,8"/>
|
||||
<CheckBox x:Name="RunAsAdminBox" Grid.Row="6" Grid.Column="1" Grid.ColumnSpan="2"
|
||||
Content="Run as administrator"
|
||||
Margin="0,0,0,8"
|
||||
Checked="RunAsAdminBox_Changed"
|
||||
Unchecked="RunAsAdminBox_Changed"/>
|
||||
<TextBlock Text="Launch Options" Grid.Row="7" VerticalAlignment="Top" Margin="0,2,8,8"/>
|
||||
<StackPanel Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="2" Margin="0,0,0,8">
|
||||
<CheckBox x:Name="RunAsAdminBox"
|
||||
Content="Run as administrator"
|
||||
Margin="0,0,0,6"
|
||||
Checked="LaunchOptionBox_Changed"
|
||||
Unchecked="LaunchOptionBox_Changed"/>
|
||||
<CheckBox x:Name="StartMinimizedBox"
|
||||
Content="Start minimized"
|
||||
Checked="LaunchOptionBox_Changed"
|
||||
Unchecked="LaunchOptionBox_Changed"/>
|
||||
</StackPanel>
|
||||
|
||||
<TextBlock Text="Preview" Grid.Row="7" VerticalAlignment="Top" Margin="0,4,8,0"/>
|
||||
<Border Grid.Row="7" Grid.Column="1" Grid.ColumnSpan="2"
|
||||
<TextBlock Text="Preview" Grid.Row="8" VerticalAlignment="Top" Margin="0,4,8,0"/>
|
||||
<Border Grid.Row="8" Grid.Column="1" Grid.ColumnSpan="2"
|
||||
BorderThickness="1"
|
||||
BorderBrush="{DynamicResource AppBorderBrush}"
|
||||
Background="{DynamicResource AppSurfaceBrush}"
|
||||
|
||||
Reference in New Issue
Block a user