/// <summary> /// Выбираем тип /// </summary> /// <returns></returns> public static VisitTypeBL Choose() { VisitTypes visits = new VisitTypes(); visits.btChoose.Visibility = Visibility.Visible; visits.ShowDialog(); return(visits._choose); }
private void txtType_GotFocus(object sender, RoutedEventArgs e) { _ChooseVisitType = VisitTypes.Choose(); if (_ChooseVisitType != null) { txtType.Text = _ChooseVisitType.Name; } txtId.Focusable = true; }
private void btVisitType_Click(object sender, RoutedEventArgs e) { VisitTypes visitTypes = new VisitTypes(); visitTypes.ShowDialog(); }