Browse Source

C# BuildOptions

pull/30/head
PeterForstmeier 13 years ago
parent
commit
064445410e
  1. 10
      src/AddIns/BackendBindings/CSharpBinding/Project/Src/OptionPanels/BuildOptions.xaml.cs

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

@ -37,8 +37,6 @@ namespace CSharpBinding.OptionPanels
private System.Windows.Input.ICommand baseIntermediateOutputPathCommand; private System.Windows.Input.ICommand baseIntermediateOutputPathCommand;
private System.Windows.Input.ICommand intermediateOutputPathCommand; private System.Windows.Input.ICommand intermediateOutputPathCommand;
// private MSBuildBasedProject project;
public BuildOptions() public BuildOptions()
{ {
InitializeComponent(); InitializeComponent();
@ -74,7 +72,8 @@ namespace CSharpBinding.OptionPanels
this.WarnLevel = warnLevel; this.WarnLevel = warnLevel;
} }
private void Initialize()
protected override void Initialize()
{ {
this.UpdateProjectCommand = new RelayCommand(UpdateProjectExecute); this.UpdateProjectCommand = new RelayCommand(UpdateProjectExecute);
this.ChangeOutputPath = new RelayCommand(ChangeOutputPathExecute); this.ChangeOutputPath = new RelayCommand(ChangeOutputPathExecute);
@ -86,7 +85,7 @@ namespace CSharpBinding.OptionPanels
this.BaseIntermediateOutputPathCommand = new RelayCommand(BaseIntermediateOutputPathExecute); this.BaseIntermediateOutputPathCommand = new RelayCommand(BaseIntermediateOutputPathExecute);
this.IntermediateOutputPathCommand = new RelayCommand(IntermediateOutputPathExecute); this.IntermediateOutputPathCommand = new RelayCommand(IntermediateOutputPathExecute);
SetTreatWarningAsErrorRadioButtons(); SetTreatWarningAsErrorRadioButtons();
IsDirty = false;
} }
#region properties #region properties
@ -196,8 +195,7 @@ namespace CSharpBinding.OptionPanels
val = 0x400000; val = 0x400000;
} }
DllBaseAdress = "0x" + val.ToString("x", NumberFormatInfo.InvariantInfo); DllBaseAdress = "0x" + val.ToString("x", NumberFormatInfo.InvariantInfo);
IsDirty = false;
this.Initialize();
} }

Loading…
Cancel
Save