Browse Source

BuildOptionsXaml.xaml

pull/30/head
PeterForstmeier 13 years ago
parent
commit
eac242ffa3
  1. 6
      src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml
  2. 10
      src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml.cs

6
src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml

@ -284,6 +284,7 @@
Grid.Column="1" Grid.Column="1"
HorizontalAlignment="Right" HorizontalAlignment="Right"
Content="{core:Localize Dialog.ProjectOptions.Build.DLLBaseAddress}"></Label> Content="{core:Localize Dialog.ProjectOptions.Build.DLLBaseAddress}"></Label>
<!-- Hex binding --> <!-- Hex binding -->
<TextBox <TextBox
x:Name="dllBaseAddressTextBox" x:Name="dllBaseAddressTextBox"
@ -294,6 +295,9 @@
Grid.Row="6" Grid.Row="6"
Grid.ColumnSpan="2" Grid.ColumnSpan="2"
Content="{core:Localize Dialog.ProjectOptions.Build.BaseIntermediateOutputPath}"></Label> Content="{core:Localize Dialog.ProjectOptions.Build.BaseIntermediateOutputPath}"></Label>
<!-- ok -->
<optionpanels:StorageLocationPicker <optionpanels:StorageLocationPicker
Grid.Row="7" Grid.Row="7"
Location="{Binding BaseIntermediateOutputPath.Location}" Location="{Binding BaseIntermediateOutputPath.Location}"
@ -316,7 +320,7 @@
Content="{core:Localize Dialog.ProjectOptions.Build.IntermediateOutputPath}"></Label> Content="{core:Localize Dialog.ProjectOptions.Build.IntermediateOutputPath}"></Label>
<optionpanels:StorageLocationPicker <optionpanels:StorageLocationPicker
Grid.Row="9" Grid.Row="9"
Location="{Binding AssemblyName.Location}" Location="{Binding IntermediateOutputPath.Location}"
DockPanel.Dock="Left" /> DockPanel.Dock="Left" />
<TextBox <TextBox
x:Name="intermediateOutputPathTextBox" x:Name="intermediateOutputPathTextBox"

10
src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptionsXaml.xaml.cs

@ -287,8 +287,7 @@ namespace CSharpBinding.OptionPanels
} }
} }
#endregion #endregion
//Property DebugType
//void DebugSymbolsLoaded(object sender, EventArgs e)
#region FileAlignment #region FileAlignment
@ -313,7 +312,7 @@ namespace CSharpBinding.OptionPanels
private void BaseIntermediateOutputPathExecute () private void BaseIntermediateOutputPathExecute ()
{ {
BaseIntermediateOutputPath.Value = base.BrowseForFolder("${res:Dialog.Options.PrjOptions.Configuration.FolderBrowserDescription}", BaseIntermediateOutputPath.Value = base.BrowseForFolder("${res:Dialog.Options.PrjOptions.Configuration.FolderBrowserDescription}",
base.BaseDirectory,baseIntermediateOutputPathTextBox.Text); base.BaseDirectory,this.baseIntermediateOutputPathTextBox.Text);
base.RaisePropertyChanged(()=> BaseIntermediateOutputPath); base.RaisePropertyChanged(()=> BaseIntermediateOutputPath);
} }
@ -322,7 +321,7 @@ namespace CSharpBinding.OptionPanels
#region IntermediateOutputPath #region IntermediateOutputPath
public System.Windows.Input.ICommand IntermediateOutputPathCommand { public System.Windows.Input.ICommand IntermediateOutputPathCommand {
get{return this.baseIntermediateOutputPathCommand;} get{return this.intermediateOutputPathCommand;}
set {this.intermediateOutputPathCommand = value; set {this.intermediateOutputPathCommand = value;
base.RaisePropertyChanged(() => IntermediateOutputPathCommand);} base.RaisePropertyChanged(() => IntermediateOutputPathCommand);}
} }
@ -331,7 +330,7 @@ namespace CSharpBinding.OptionPanels
private void IntermediateOutputPathExecute () private void IntermediateOutputPathExecute ()
{ {
IntermediateOutputPath.Value = base.BrowseForFolder("${res:Dialog.Options.PrjOptions.Configuration.FolderBrowserDescription}", IntermediateOutputPath.Value = base.BrowseForFolder("${res:Dialog.Options.PrjOptions.Configuration.FolderBrowserDescription}",
base.BaseDirectory,baseIntermediateOutputPathTextBox.Text); base.BaseDirectory,this.intermediateOutputPathTextBox.Text);
base.RaisePropertyChanged(()=> IntermediateOutputPath); base.RaisePropertyChanged(()=> IntermediateOutputPath);
} }
#endregion #endregion
@ -348,6 +347,7 @@ namespace CSharpBinding.OptionPanels
private void LoadWarningsLevel () private void LoadWarningsLevel ()
{ {
string val = WarningLevel.Value; string val = WarningLevel.Value;
System.Console.WriteLine(val);
var i = WarnLevel.FindIndex( var i = WarnLevel.FindIndex(
delegate(KeyItemPair pair) delegate(KeyItemPair pair)
{ {

Loading…
Cancel
Save