Esempio n. 1
0
        /// <summary>
        /// Выбираем тип
        /// </summary>
        /// <returns></returns>
        public static VisitTypeBL Choose()
        {
            VisitTypes visits = new VisitTypes();

            visits.btChoose.Visibility = Visibility.Visible;
            visits.ShowDialog();

            return(visits._choose);
        }
Esempio n. 2
0
        private void txtType_GotFocus(object sender, RoutedEventArgs e)
        {
            _ChooseVisitType = VisitTypes.Choose();
            if (_ChooseVisitType != null)
            {
                txtType.Text = _ChooseVisitType.Name;
            }

            txtId.Focusable = true;
        }
Esempio n. 3
0
        private void btVisitType_Click(object sender, RoutedEventArgs e)
        {
            VisitTypes visitTypes = new VisitTypes();

            visitTypes.ShowDialog();
        }