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); }
public void Show(IDesktopElement element) { this.InvokeAsynchronously( () => { DesktopElement desktopElement = element as DesktopElement; this.desktop.AddElement(desktopElement); }); }
public void Show(IDesktopElement element, Point position) { this.InvokeAsynchronously( () => { DesktopElement desktopElement = element as DesktopElement; desktopElement.StartupLocation = StartupPosition.Manual; this.desktop.AddElement(desktopElement, position); }); }