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

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

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

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

            visitTypes.ShowDialog();
        }