





namespace HolidayManager
{
    using System.Data;
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.IO;
    using System.Diagnostics;
    using System.Configuration;
    using System.Runtime.InteropServices;
    using System.ComponentModel;
    using System.Runtime.CompilerServices;
    
    public partial class MainPage
    			: INotifyPropertyChanged
    					
    {
    	public class Properties
    	{
    		public const string SelectedDate = " SelectedDate";
    		public const string EnableFullButton = " EnableFullButton";
    		public const string EnableHalfButton = " EnableHalfButton";
    		public const string EnableRemoveButton = " EnableRemoveButton";
    		public const string MyHolidays = " MyHolidays";
    		public const string TotalHolidays = " TotalHolidays";
    		public const string EmptyMessage = " EmptyMessage";
    		public const string ShowYear = " ShowYear";
    		public const string SelectedListDate = " SelectedListDate";
    		public const string EnableListRemoveButton = " EnableListRemoveButton";
    	}
    	
    	DateTime _selectedDate;
    	/// <exclude />
    	public DateTime SelectedDate
    	{
    		get { return this._selectedDate; }
    		
    		set
    		{
    			if (this._selectedDate == value)
    			{
    				return;
    			}
    			
    			this._selectedDate = value;
    			OnPropertyChanged("SelectedDate"); EnableDisableButtons();
    		}
    	}
    	
    	bool _enableFullButton;
    	/// <exclude />
    	public bool EnableFullButton
    	{
    		get { return this._enableFullButton; }
    		
    		set
    		{
    			if (this._enableFullButton == value)
    			{
    				return;
    			}
    			
    			this._enableFullButton = value;
    			OnPropertyChanged("EnableFullButton"); 
    		}
    	}
    	
    	bool _enableHalfButton;
    	/// <exclude />
    	public bool EnableHalfButton
    	{
    		get { return this._enableHalfButton; }
    		
    		set
    		{
    			if (this._enableHalfButton == value)
    			{
    				return;
    			}
    			
    			this._enableHalfButton = value;
    			OnPropertyChanged("EnableHalfButton"); 
    		}
    	}
    	
    	bool _enableRemoveButton;
    	/// <exclude />
    	public bool EnableRemoveButton
    	{
    		get { return this._enableRemoveButton; }
    		
    		set
    		{
    			if (this._enableRemoveButton == value)
    			{
    				return;
    			}
    			
    			this._enableRemoveButton = value;
    			OnPropertyChanged("EnableRemoveButton"); 
    		}
    	}
    	
    	List<HolidayManager.Db.MyHoliday> _myHolidays;
    	/// <exclude />
    	public List<HolidayManager.Db.MyHoliday> MyHolidays
    	{
    		get { return this._myHolidays; }
    		
    		set
    		{
    			if (this._myHolidays == value)
    			{
    				return;
    			}
    			
    			this._myHolidays = value;
    			OnPropertyChanged("MyHolidays"); 
    		}
    	}
    	
    	string _totalHolidays;
    	/// <exclude />
    	public string TotalHolidays
    	{
    		get { return this._totalHolidays; }
    		
    		set
    		{
    			if (this._totalHolidays == value)
    			{
    				return;
    			}
    			
    			this._totalHolidays = value;
    			OnPropertyChanged("TotalHolidays"); 
    		}
    	}
    	
    	string _emptyMessage;
    	/// <exclude />
    	public string EmptyMessage
    	{
    		get { return this._emptyMessage; }
    		
    		set
    		{
    			if (this._emptyMessage == value)
    			{
    				return;
    			}
    			
    			this._emptyMessage = value;
    			OnPropertyChanged("EmptyMessage"); 
    		}
    	}
    	
    	int _showYear;
    	/// <exclude />
    	public int ShowYear
    	{
    		get { return this._showYear; }
    		
    		set
    		{
    			if (this._showYear == value)
    			{
    				return;
    			}
    			
    			this._showYear = value;
    			OnPropertyChanged("ShowYear"); 
    		}
    	}
    	
    	HolidayManager.Db.MyHoliday _selectedListDate;
    	/// <exclude />
    	public HolidayManager.Db.MyHoliday SelectedListDate
    	{
    		get { return this._selectedListDate; }
    		
    		set
    		{
    			if (this._selectedListDate == value)
    			{
    				return;
    			}
    			
    			this._selectedListDate = value;
    			OnPropertyChanged("SelectedListDate"); 
    		}
    	}
    	
    	bool _enableListRemoveButton;
    	/// <exclude />
    	public bool EnableListRemoveButton
    	{
    		get { return this._enableListRemoveButton; }
    		
    		set
    		{
    			if (this._enableListRemoveButton == value)
    			{
    				return;
    			}
    			
    			this._enableListRemoveButton = value;
    			OnPropertyChanged("EnableListRemoveButton"); 
    		}
    	}
    	
    	
    	public event PropertyChangedEventHandler PropertyChanged;
    	protected virtual void OnPropertyChanged(string propertyName)
    	{
    		if (PropertyChanged == null)
    		{
    			return;
    		}
    
    		PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    	}    
    }

}

