Exemple #1
0
 protected void InitDebugInfo()
 {
     debugInfoBinding = helper.BindEnum <DebugSymbolType>("debugInfoComboBox", "DebugType");
     debugInfoBinding.CreateLocationButton("debugInfoLabel");
     DebugSymbolsLoaded(null, null);
     helper.Loaded += DebugSymbolsLoaded;
     helper.Saved  += DebugSymbolsSave;
 }
        protected void InitIntermediateOutputPath()
        {
            ConfigurationGuiBinding binding = helper.BindString(
                Get <TextBox>("intermediateOutputPath"),
                "IntermediateOutputPath",
                delegate {
                return(Path.Combine(helper.GetProperty("BaseIntermediateOutputPath", @"obj\", true),
                                    helper.Configuration));
            }
                );

            binding.DefaultLocation = PropertyStorageLocations.ConfigurationSpecific;
            binding.CreateLocationButton("intermediateOutputPathTextBox");
            ConnectBrowseFolder("intermediateOutputPathBrowseButton", "intermediateOutputPathTextBox", "${res:Dialog.Options.PrjOptions.Configuration.FolderBrowserDescription}");
        }
		protected void InitDebugInfo()
		{
			debugInfoBinding = helper.BindEnum<DebugSymbolType>("debugInfoComboBox", "DebugType");
			debugInfoBinding.CreateLocationButton("debugInfoLabel");
			DebugSymbolsLoaded(null, null);
			helper.Loaded += DebugSymbolsLoaded;
			helper.Saved += DebugSymbolsSave;
		}
 /// <summary>
 /// Associates a location button with a control.
 /// </summary>
 protected virtual ChooseStorageLocationButton CreateLocationButton(ConfigurationGuiBinding binding, string controlName)
 {
     return(binding.CreateLocationButton(controlName));
 }
		/// <summary>
		/// Associates a location button with a control.
		/// </summary>
		protected virtual ChooseStorageLocationButton CreateLocationButton(ConfigurationGuiBinding binding, string controlName)
		{
			return binding.CreateLocationButton(controlName);
		}