Exemplo n.º 1
0
        /// <summary>
        /// 手动选择人员信息
        /// </summary>
        /// <param name="athModel"></param>
        /// <returns></returns>
        private Model.TB_AthleteInfo FindAthInfoHM(Model.TB_AthleteInfo athModel)
        {
            Model.TB_AthleteInfo ath = null;

            CheckAthWindow checkAthWindow = new CheckAthWindow();

            checkAthWindow.SelectedTestItem = SelectedTestItem;
            checkAthWindow.CurrentAthInfo   = athModel;
            checkAthWindow.Owner            = Application.Current.MainWindow;

            if (checkAthWindow.ShowDialog() == true)
            {
                ath = checkAthWindow.CheckedAth;
            }

            return(ath);
        }
Exemplo n.º 2
0
        /// <summary>
        /// 手动选择人员信息
        /// </summary>
        /// <param name="athModel"></param>
        /// <returns></returns>
        private Model.TB_AthleteInfo FindAthInfoHM(Model.TB_AthleteInfo athModel)
        {
            Model.TB_AthleteInfo ath = null;

            CheckAthWindow checkAthWindow = new CheckAthWindow();
            checkAthWindow.SelectedTestItem = SelectedTestItem;
            checkAthWindow.CurrentAthInfo = athModel;
            checkAthWindow.Owner = Application.Current.MainWindow;

            if (checkAthWindow.ShowDialog() == true) {
                ath = checkAthWindow.CheckedAth;
            }

            return ath;
        }