public void Show(IDesktopElement instance, Point position)
        {
            Logger.Debug("Mostrar un nuevo elemento en el escritorio virtual activo ({0})", instance.GetType());

            this.VerifyActiveDesktop();

            this.ActiveDesktop.Show(instance, position);
        }
示例#2
0
        public void Show(IDesktopElement element)
        {
            this.InvokeAsynchronously(
                () =>
            {
                DesktopElement desktopElement = element as DesktopElement;

                this.desktop.AddElement(desktopElement);
            });
        }
示例#3
0
        public void Show(IDesktopElement element, Point position)
        {
            this.InvokeAsynchronously(
                () =>
            {
                DesktopElement desktopElement = element as DesktopElement;

                desktopElement.StartupLocation = StartupPosition.Manual;

                this.desktop.AddElement(desktopElement, position);
            });
        }