|
|
|
@ -7,11 +7,10 @@ |
|
|
|
xmlns:local="clr-namespace:ICSharpCode.SharpDevelop.Gui.OptionPanels" |
|
|
|
xmlns:local="clr-namespace:ICSharpCode.SharpDevelop.Gui.OptionPanels" |
|
|
|
xmlns:projects="clr-namespace:ICSharpCode.SharpDevelop.Project" |
|
|
|
xmlns:projects="clr-namespace:ICSharpCode.SharpDevelop.Project" |
|
|
|
xmlns:core="http://icsharpcode.net/sharpdevelop/core"> |
|
|
|
xmlns:core="http://icsharpcode.net/sharpdevelop/core"> |
|
|
|
|
|
|
|
|
|
|
|
<optionpanels:ProjectOptionPanel.Resources> |
|
|
|
<optionpanels:ProjectOptionPanel.Resources> |
|
|
|
<local:StorageLocationConverter |
|
|
|
<local:StorageLocationConverter x:Key="converter" /> |
|
|
|
x:Key="converter" /> |
|
|
|
<local:StartActionToBooleanConverter x:Key="startActionToBool" /> |
|
|
|
<local:StartActionToBooleanConverter |
|
|
|
|
|
|
|
x:Key="startActionToBool" /> |
|
|
|
|
|
|
|
</optionpanels:ProjectOptionPanel.Resources> |
|
|
|
</optionpanels:ProjectOptionPanel.Resources> |
|
|
|
|
|
|
|
|
|
|
|
<ScrollViewer> |
|
|
|
<ScrollViewer> |
|
|
|
@ -38,21 +37,20 @@ |
|
|
|
<ColumnDefinition></ColumnDefinition> |
|
|
|
<ColumnDefinition></ColumnDefinition> |
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition> |
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
|
|
|
|
<optionpanels:StorageLocationPicker |
|
|
|
<optionpanels:StorageLocationPicker |
|
|
|
Grid.Row="1" |
|
|
|
Grid.Row="1" |
|
|
|
VerticalAlignment="Center"> |
|
|
|
VerticalAlignment="Center"> |
|
|
|
<optionpanels:StorageLocationPicker.Location> |
|
|
|
<optionpanels:StorageLocationPicker.Location> |
|
|
|
<MultiBinding |
|
|
|
<MultiBinding |
|
|
|
Converter="{StaticResource converter}"> |
|
|
|
Converter="{StaticResource converter}"> |
|
|
|
<Binding |
|
|
|
<Binding Path="StartAction.Location" /> |
|
|
|
Path="StartAction.Location" /> |
|
|
|
<Binding Path="StartProgram.Location" /> |
|
|
|
<Binding |
|
|
|
<Binding Path="StartURL.Location" /> |
|
|
|
Path="StartProgram.Location" /> |
|
|
|
|
|
|
|
<Binding |
|
|
|
|
|
|
|
Path="StartURL.Location" /> |
|
|
|
|
|
|
|
</MultiBinding> |
|
|
|
</MultiBinding> |
|
|
|
</optionpanels:StorageLocationPicker.Location> |
|
|
|
</optionpanels:StorageLocationPicker.Location> |
|
|
|
</optionpanels:StorageLocationPicker> |
|
|
|
</optionpanels:StorageLocationPicker> |
|
|
|
|
|
|
|
|
|
|
|
<RadioButton Grid.Column="1" VerticalAlignment="Center" Margin="4,0,0,0" |
|
|
|
<RadioButton Grid.Column="1" VerticalAlignment="Center" Margin="4,0,0,0" |
|
|
|
IsChecked="{Binding StartAction.Value, |
|
|
|
IsChecked="{Binding StartAction.Value, |
|
|
|
Converter={StaticResource startActionToBool}, |
|
|
|
Converter={StaticResource startActionToBool}, |
|
|
|
@ -60,8 +58,8 @@ |
|
|
|
Content="{core:Localize Dialog.ProjectOptions.DebugOptions.StartProject}"> |
|
|
|
Content="{core:Localize Dialog.ProjectOptions.DebugOptions.StartProject}"> |
|
|
|
</RadioButton> |
|
|
|
</RadioButton> |
|
|
|
|
|
|
|
|
|
|
|
<!--x:Name="startexternal"--> |
|
|
|
|
|
|
|
<RadioButton Grid.Row="1" Grid.Column="1" Margin="4,0,0,0" VerticalAlignment="Center" |
|
|
|
<RadioButton x:Name="startexternal" Grid.Row="1" Grid.Column="1" Margin="4,0,0,0" VerticalAlignment="Center" |
|
|
|
IsChecked="{Binding StartAction.Value, |
|
|
|
IsChecked="{Binding StartAction.Value, |
|
|
|
Converter={StaticResource startActionToBool}, |
|
|
|
Converter={StaticResource startActionToBool}, |
|
|
|
ConverterParameter={x:Static projects:StartAction.Program}}" |
|
|
|
ConverterParameter={x:Static projects:StartAction.Program}}" |
|
|
|
@ -89,6 +87,7 @@ |
|
|
|
Text="{Binding StartURL.Value, UpdateSourceTrigger=PropertyChanged}"></TextBox> |
|
|
|
Text="{Binding StartURL.Value, UpdateSourceTrigger=PropertyChanged}"></TextBox> |
|
|
|
</Grid> |
|
|
|
</Grid> |
|
|
|
</GroupBox> |
|
|
|
</GroupBox> |
|
|
|
|
|
|
|
|
|
|
|
<GroupBox Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" |
|
|
|
<GroupBox Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="3" |
|
|
|
Height="90" VerticalAlignment="Top" Margin="0,5,0,0" |
|
|
|
Height="90" VerticalAlignment="Top" Margin="0,5,0,0" |
|
|
|
Header="{core:Localize Dialog.ProjectOptions.DebugOptions.StartOptions}" |
|
|
|
Header="{core:Localize Dialog.ProjectOptions.DebugOptions.StartOptions}" |
|
|
|
@ -104,17 +103,17 @@ |
|
|
|
<ColumnDefinition></ColumnDefinition> |
|
|
|
<ColumnDefinition></ColumnDefinition> |
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition> |
|
|
|
<ColumnDefinition Width="Auto"></ColumnDefinition> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
</Grid.ColumnDefinitions> |
|
|
|
|
|
|
|
|
|
|
|
<optionpanels:StorageLocationPicker Grid.Row="1" Grid.RowSpan="2" VerticalAlignment="Center"> |
|
|
|
<optionpanels:StorageLocationPicker Grid.Row="1" Grid.RowSpan="2" VerticalAlignment="Center"> |
|
|
|
<optionpanels:StorageLocationPicker.Location> |
|
|
|
<optionpanels:StorageLocationPicker.Location> |
|
|
|
<MultiBinding |
|
|
|
<MultiBinding |
|
|
|
Converter="{StaticResource converter}"> |
|
|
|
Converter="{StaticResource converter}"> |
|
|
|
<Binding |
|
|
|
<Binding Path="StartArguments.Location" /> |
|
|
|
Path="StartArguments.Location" /> |
|
|
|
<Binding Path="StartWorkingDirectory.Location" /> |
|
|
|
<Binding |
|
|
|
|
|
|
|
Path="StartWorkingDirectory.Location" /> |
|
|
|
|
|
|
|
</MultiBinding> |
|
|
|
</MultiBinding> |
|
|
|
</optionpanels:StorageLocationPicker.Location> |
|
|
|
</optionpanels:StorageLocationPicker.Location> |
|
|
|
</optionpanels:StorageLocationPicker> |
|
|
|
</optionpanels:StorageLocationPicker> |
|
|
|
|
|
|
|
|
|
|
|
<Label Grid.Column="1" Margin="4,0,0,0" VerticalAlignment="Center" |
|
|
|
<Label Grid.Column="1" Margin="4,0,0,0" VerticalAlignment="Center" |
|
|
|
Content="{core:Localize Dialog.ProjectOptions.DebugOptions.Arguments}"></Label> |
|
|
|
Content="{core:Localize Dialog.ProjectOptions.DebugOptions.Arguments}"></Label> |
|
|
|
|
|
|
|
|
|
|
|
|