Exemplo n.º 1
0
        public static LynxWindow getWindow(FrameworkElement fe)
        {
            LynxWindow lw = new LynxWindow();

            lw.setContent(fe);
            //ActionAnimationShow.ShowZoomProjection(lw, 2000);
            return(lw);
        }
Exemplo n.º 2
0
        public static void ShowAsIcon(FrameworkElement fe, FrameworkElement wfe)
        {
            LynxWindow lw = new LynxWindow();

            lw.setContent(wfe);
            LynxIcon li = new LynxIcon(lw);

            li.IconMain.Children.Clear();
            li.IconMain.Children.Add(fe);
            li.Width  = fe.Width;
            li.Height = li.Height;
        }
Exemplo n.º 3
0
        public static void ShowWindow(FrameworkElement fe, Panel p, Point SP, Point EP)
        {
            LynxWindow lw = new LynxWindow();

            lw.ParentPanel = p;
            //lw.LynxForm.Children.Add(fe);
            lw.setContent(fe);
            p.Children.Add(lw);
            Canvas.SetLeft(lw, SP.X);
            Canvas.SetTop(lw, SP.Y);
            ActionAnimationShow aas = new ActionAnimationShow(lw);

            aas.AnimationComplete += new AnimationCompleteEventHandler(aas_AnimationComplete);
            aas.ShowZoom(2000, SP, EP);


            //return lw;
        }