private void buttonModify_Click(object sender, RoutedEventArgs e)
        {
            PersonRewardPunishInfoModel model = new PersonRewardPunishInfoModel();

            foreach (PersonRewardPunishInfo tempInfo in infoList)
            {
                if (tempInfo.ISCHECKED == true)
                {
                    PersonRewardPunishInfoDialog dialog = new PlanDatabase.PersonRewardPunishInfoDialog(tempInfo, false);
                    dialog.Closed += Dialog_Closed;
                    dialog.Show();
                }
            }
        }
        public void dataGridTemplate_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            if (e.LeftButton == MouseButtonState.Pressed)
            {
                DataGridRow dgr = DataGridRow.GetRowContainingElement(e.OriginalSource as FrameworkElement);
                if (dgr != null)
                {
                    PersonRewardPunishInfo personBasicInfo = dgr.DataContext as PersonRewardPunishInfo;
                    if (personBasicInfo != null)
                    {
                        PersonRewardPunishInfoDialog dialog = new PlanDatabase.PersonRewardPunishInfoDialog(personBasicInfo, true);

                        dialog.Show();
                    }
                }
            }
        }