示例#1
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;
        }
示例#2
0
        public void ToIcon()
        {
            if (LynxIcon == null)
            {
                LynxIcon = new LynxIcon(this);
            }
            Panel p = this.Parent as Panel;

            if (p != null)
            {
                ActionAnimationShow aas = new ActionAnimationShow(this);
                aas.HideZoomProjection(2000);
                p.Children.Add(LynxIcon);
                p.Children.Remove(this);
            }
        }
示例#3
0
 private void ArrageButton_Click(object sender, RoutedEventArgs e)
 {
     LynxIcon.ArrageIcon(null);
 }