Exemplo n.º 1
0
        private void dodajAkcija(object sender, RoutedEventArgs e)
        {
            WindowTip wtip = new WindowTip();

            wtip.Show();
            this.Close();
        }
Exemplo n.º 2
0
        private void demo_Begin(object sender, RoutedEventArgs e)
        {
            demoMode = true;
            Point p = dodajTipDugme.PointToScreen(new Point(0d, 0d));

            p.X += 20;
            p.Y += 10;

            LinearSmoothMove(p, 100);

            WindowTip w2 = new WindowTip(this);

            w2.Show();
            Thread.Sleep(500);
            Application.Current.Dispatcher?.BeginInvoke(new Action(() => {
                w2.beginDemo();
            }));
        }