/// <summary>
		/// スケジュール削除
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void ScheduleDelete_Click(object sender, RoutedEventArgs e)
		{
			int selectScheduleIndex = this.lsvSchedule.SelectedIndex;

			if (0 > selectScheduleIndex
				|| selectScheduleIndex >= this.lsvSchedule.Items.Count)
			{
				return;
			}

			//スケジュール
			LocalDataBaseDataSet.ScheduleInfoRow scheduleRow
				= this.lsvSchedule.Items[selectScheduleIndex]
						as LocalDataBaseDataSet.ScheduleInfoRow;

			var dlg = new ScheduleEntryDialog(scheduleRow, false)
			{
				Owner = this,
				WindowStartupLocation = WindowStartupLocation.CenterOwner,
			};


			bool? result = dlg.ShowDialog();

			if (null != result && true == result)
			{
				this.Dac.ScheduleInfo.AcceptChanges();

				this.ReloadSchedule();
			}
		}
		/// <summary>
		/// スケジュール登録
		/// </summary>
		/// <param name="sender"></param>
		/// <param name="e"></param>
		private void ScheduleEntry_Click(object sender, RoutedEventArgs e)
		{
			var dlg = new ScheduleEntryDialog()
			{
				Owner = this,
				WindowStartupLocation = WindowStartupLocation.CenterOwner,
			};

			
			bool? result = dlg.ShowDialog();

			if (null != result && true == result)
			{
				this.Dac.ScheduleInfo.AcceptChanges();

				this.ReloadSchedule();
			}
		}