public static LynxWindow getWindow(FrameworkElement fe) { LynxWindow lw = new LynxWindow(); lw.setContent(fe); //ActionAnimationShow.ShowZoomProjection(lw, 2000); return(lw); }
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; }
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; }