/// <summary>
		/// コンストラクタ
		/// </summary>
		/// <param name="memberInfoParam"></param>
		public MemberInfoReferenceDialog(LocalDataBaseDataSet.MemberInfoRow memberInfoParam)
		{
			this.InitializeComponent();

			this._memberID = memberInfoParam.MemberID;

			if ("Jp" == this.JpEnMode)
			{
				this.grpBox.Header = "取得AF一覧";
			}
			else
			{
				this.grpBox.Header = "Got AF Summary";
			}

			this.chkRetireFlg.IsChecked = memberInfoParam.RetireFlg;
			this.txtName.Text = memberInfoParam.Name;
			this.txtNickName.Text = memberInfoParam.NickName;
			this.txtAttendance.Text
				= this.Dac.GetMemberAttendance(memberInfoParam.MemberID).ToString("#回");
			this.txtAttendanceRate.Text
				= this.Dac.GetMemberAttendanceRate(memberInfoParam.MemberID).ToString("#.#%");

			this.lsvSummary.ItemsSource
				= this.Dac.GetGotEquipListByMemberID(memberInfoParam.MemberID);
		}
		private void Application_Startup(object sender, StartupEventArgs e)
		{
			LocalDataBaseDataSet dac = new LocalDataBaseDataSet();

			dac.Load();

			Application.Current.Properties["DAC"] = dac;
			Application.Current.Properties["JpEnMode"] = "Jp";
			Application.Current.Properties["SelectLocationId"] = 0;

			AttendanceManagementWindow main = new AttendanceManagementWindow();
			//ScheduleEntryDialog main = new ScheduleEntryDialog();
			this.MainWindow = main;

			main.Show();
		}
		/// <summary>
		/// コンストラクタ
		/// </summary>
		/// <param name="memberInfoParam"></param>
		/// <param name="scheduleInfoParam"></param>
		public GotEquipDialog(LocalDataBaseDataSet.WorkingMemberRow memberInfoParam,
							  LocalDataBaseDataSet.ScheduleInfoRow scheduleInfoParam)
		{
			this.InitializeComponent();

			this._memberID = memberInfoParam.MemberID;
			this._locationID = scheduleInfoParam.LocationID;
			this._workingNo = scheduleInfoParam.WorkingNo;

			if ("Jp" == this.JpEnMode)
			{
				this.lblBui.Content = "取得部位 :";
			}
			else
			{
				this.lblBui.Content = "Job And Parts :";
			}

			this.SetJobPartsComboBox();
		}
		/// <summary>
		/// コンストラクタ
		/// </summary>
		/// <param name="scheduleInfoRowParam"></param>
		public ScheduleEntryDialog(LocalDataBaseDataSet.ScheduleInfoRow scheduleInfoRowParam,
								   bool isUpdatePram)
		{
			this.InitializeComponent();


			if (null != scheduleInfoRowParam)
			{
				this._targetSchedule = scheduleInfoRowParam;
				this._isUpdateParam = isUpdatePram;
				this._targetYearMonth
					= new DateTime(scheduleInfoRowParam.Date.Year,
								   scheduleInfoRowParam.Date.Month, 1);
			}

			this.ShowCalendar();

			this.cmbLocation.ItemsSource = this.Dac.LocationMaster;

			if (null != scheduleInfoRowParam)
			{
				if (isUpdatePram)
				{
					this.btnOK.Content = "Update";
					this.btnOK.Click += this.btnUpdate_Click;
				}
				else
				{
					this.btnOK.Content = "Delete";
					this.btnOK.Click += this.btnDelete_Click;
				}

				this.cmbLocation.SelectedIndex = scheduleInfoRowParam.LocationID - 1;
				this.cmbLocation.IsEnabled = isUpdatePram;
			}
			else
			{
				this.btnOK.Content = "Entry";
				this.btnOK.Click += this.btnEntry_Click;
			}
		}