// ------------------------------------------------------------------------------
//  <autogenerated>
//      This code was generated by a tool.
//      Mono Runtime Version: 2.0.50727.42
// 
//      Changes to this file may cause incorrect behavior and will be lost if 
//      the code is regenerated.
//  </autogenerated>
// ------------------------------------------------------------------------------

using MonoDevelop.Core.Properties;

namespace AspNetAddIn
{	
	public partial class AspNetConfigurationPanelWidget : Gtk.Bin
	{
		AspNetAppProjectConfiguration configuration;
		AspNetAppProject project;
		
		public AspNetConfigurationPanelWidget (IProperties customizationObject)
		{
			this.Build();
			
			configuration = (AspNetAppProjectConfiguration)((IProperties)customizationObject).GetProperty("Config");
			project = (AspNetAppProject)((IProperties)customizationObject).GetProperty("Project");
				
			autoGenerateNonPartialCodeBehind.Active = configuration.GenerateNonPartialCodeBehindMembers;
		}
		
		public void Store ()
		{				
			configuration.GenerateNonPartialCodeBehindMembers = autoGenerateNonPartialCodeBehind.Active;
		}
	}
}
