private void NazivText_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 == 3) { w.Activate(); tutor.IzborTipa(); } } } }
public void NazivTuto() { foreach (Window w in Application.Current.Windows) { if (w is Tutorial.Tutor) { Tutorial.Tutor tutor = w as Tutorial.Tutor; if (tutor.korak == 3) { w.Activate(); tutor.IzborTipa(); } } } }