private void TipCombo_LostFocus(object sender, RoutedEventArgs e) { foreach (Window w in Application.Current.Windows) { if (w is Tutorial.Tutor) { Tutorial.Tutor tutor = w as Tutorial.Tutor; if (tutor.korak == 4) { w.Activate(); tutor.IzborDatuma(); } } } }
private void TipCombo_KeyUp(object sender, KeyEventArgs e) { if (e.Key == Key.Tab) { foreach (Window w in Application.Current.Windows) { if (w is Tutorial.Tutor) { Tutorial.Tutor tutor = w as Tutorial.Tutor; if (tutor.korak == 4) { w.Activate(); tutor.IzborDatuma(); } } } } }