Esempio n. 1
0
        private void OznakaText_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 == 2)
                    {
                        w.Activate();
                        tutor.UnosNaziva();
                    }
                }
            }
        }
Esempio n. 2
0
        public void oznakaTuto()
        {
            foreach (Window w in Application.Current.Windows)
            {
                if (w is Tutorial.Tutor)
                {
                    Tutorial.Tutor tutor = w as Tutorial.Tutor;

                    if (tutor.korak == 2)
                    {
                        w.Activate();
                        tutor.UnosNaziva();
                    }
                }
            }
        }