This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc47f09
commit 2ea859e
Showing
6 changed files
with
145 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
131 changes: 131 additions & 0 deletions
131
src/Main/Base/Project/Src/Gui/Dialogs/OptionPanels/ProjectOptions/DebugOptions.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<optionpanels:ProjectOptionPanel | ||
x:Class="ICSharpCode.SharpDevelop.Gui.OptionPanels.DebugOptions" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:optionpanels="clr-namespace:ICSharpCode.SharpDevelop.Gui.OptionPanels" | ||
xmlns:local="clr-namespace:ICSharpCode.SharpDevelop.Gui.OptionPanels"> | ||
|
||
<optionpanels:ProjectOptionPanel.Resources> | ||
<local:StorageLocationConverter x:Key="converter"/> | ||
</optionpanels:ProjectOptionPanel.Resources> | ||
|
||
<Grid ShowGridLines="True"> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="130"></RowDefinition> | ||
<RowDefinition Height="130"></RowDefinition> | ||
|
||
</Grid.RowDefinitions> | ||
|
||
<GroupBox Height="120" | ||
Margin="0,15,0,0" | ||
Header="Start Action" | ||
VerticalAlignment="Top" | ||
Grid.Column="0" | ||
Grid.Row="0" | ||
Grid.ColumnSpan="3" | ||
HorizontalAlignment="Stretch"> | ||
<Grid ShowGridLines="True" Background="AliceBlue"> | ||
<Grid.RowDefinitions> | ||
<RowDefinition></RowDefinition> | ||
<RowDefinition></RowDefinition> | ||
<RowDefinition></RowDefinition> | ||
</Grid.RowDefinitions> | ||
|
||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="50"></ColumnDefinition> | ||
<ColumnDefinition Width="150"></ColumnDefinition> | ||
<ColumnDefinition></ColumnDefinition> | ||
<ColumnDefinition Width="40"></ColumnDefinition> | ||
</Grid.ColumnDefinitions> | ||
|
||
|
||
<optionpanels:StorageLocationPicker Grid.Row="1" | ||
VerticalAlignment="Center"> | ||
<optionpanels:StorageLocationPicker.Location> | ||
<MultiBinding Converter="{StaticResource converter}"> | ||
<Binding Path="StartProgram.Location"/> | ||
<Binding Path="StartURL.Location"/> | ||
</MultiBinding> | ||
</optionpanels:StorageLocationPicker.Location> | ||
</optionpanels:StorageLocationPicker> | ||
|
||
<RadioButton Grid.Column="1" VerticalAlignment="Center" Margin="4,0,0,0" Content="Start Project"></RadioButton> | ||
|
||
<RadioButton | ||
Grid.Row="1" VerticalAlignment="Center" Grid.Column="1" Margin="4,0,0,0" | ||
Content="Start external program:"> | ||
</RadioButton> | ||
|
||
<RadioButton | ||
Grid.Row="2" VerticalAlignment="Center" Grid.Column="1" Margin="4,0,0,0" | ||
Content="Start browser in URL:"> | ||
</RadioButton> | ||
|
||
<TextBox Grid.Row="1" Grid.Column="2" Margin="5" | ||
IsEnabled="{Binding ElementName=startexternal, Path=IsChecked}" | ||
Text="{Binding StartProgram.Value, UpdateSourceTrigger=PropertyChanged}"> | ||
</TextBox> | ||
|
||
<Button Grid.Row="1" Grid.Column="3" Margin="5" Content="..." | ||
IsEnabled="{Binding ElementName=startexternal, Path=IsChecked}" | ||
Click="ExternalProgramButton_Click"> | ||
</Button> | ||
|
||
<TextBox Grid.Row="2" Grid.Column="2" Grid.ColumnSpan="2" Margin="5" | ||
IsEnabled="{Binding ElementName=startUrl, Path=IsChecked}" | ||
Text="{Binding StartURL.Value, UpdateSourceTrigger=PropertyChanged}" > | ||
</TextBox> | ||
|
||
</Grid> | ||
</GroupBox> | ||
|
||
<GroupBox Height="80" | ||
Header="Start Options" | ||
VerticalAlignment="Top" | ||
Grid.Column="0" | ||
Grid.Row="1" | ||
Grid.ColumnSpan="3" | ||
Margin="0,15,0,0" | ||
HorizontalAlignment="Stretch"> | ||
<Grid ShowGridLines="True" Background="AliceBlue"> | ||
<Grid.RowDefinitions> | ||
<RowDefinition></RowDefinition> | ||
<RowDefinition></RowDefinition> | ||
</Grid.RowDefinitions> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="50"></ColumnDefinition> | ||
<ColumnDefinition Width="150"></ColumnDefinition> | ||
<ColumnDefinition></ColumnDefinition> | ||
<ColumnDefinition Width="40"></ColumnDefinition> | ||
</Grid.ColumnDefinitions> | ||
|
||
|
||
<optionpanels:StorageLocationPicker | ||
Grid.Row="1" Grid.RowSpan="2" VerticalAlignment="Center"> | ||
<optionpanels:StorageLocationPicker.Location> | ||
<MultiBinding Converter="{StaticResource converter}"> | ||
<Binding Path="StartArguments.Location"/> | ||
<Binding Path="StartWorkingDirectory.Location"/> | ||
</MultiBinding> | ||
</optionpanels:StorageLocationPicker.Location> | ||
</optionpanels:StorageLocationPicker> | ||
|
||
|
||
<Label Content="Command line" Grid.Column="1" VerticalAlignment="Center" Margin="4,0,0,0" ></Label> | ||
<Label Content="Working directory:" Grid.Row="1" Grid.Column="1" VerticalAlignment="Center" Margin="4,0,0,0"></Label> | ||
|
||
<TextBox Grid.Column="2" Grid.ColumnSpan="2" Margin="5" | ||
Text="{Binding StartArguments.Value, UpdateSourceTrigger=PropertyChanged}"> | ||
</TextBox> | ||
|
||
<TextBox Grid.Row="1" Grid.Column="2" Margin="5" | ||
Text="{Binding StartWorkingDirectory.Value, UpdateSourceTrigger=PropertyChanged}"> | ||
</TextBox> | ||
|
||
<Button Grid.Row="1" Grid.Column="3" Margin="5" Content="..."></Button> | ||
|
||
</Grid> | ||
</GroupBox> | ||
</Grid> | ||
</optionpanels:ProjectOptionPanel> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters