void IVirtualDesktopNotification.VirtualDesktopDestroyBegin(IVirtualDesktop pDesktopDestroyed, IVirtualDesktop pDesktopFallback)
            {
                var args = new VirtualDesktopDestroyEventArgs(FromComObject(pDesktopDestroyed), FromComObject(pDesktopFallback));

                if (DestroyBegin != null)
                {
                    DestroyBegin.Invoke(this, args);
                }
            }
Exemplo n.º 2
0
            public static void RaiseDestroyBegin(object sender, VirtualDesktop pDesktopDestroyed, VirtualDesktop pDesktopFallback)
            {
                var args = new VirtualDesktopDestroyEventArgs(pDesktopDestroyed, pDesktopFallback);

                DestroyBegin?.Invoke(sender, args);
            }
 public void VirtualDesktopDestroyBegin(IVirtualDesktop pDesktopDestroyed, IVirtualDesktop pDesktopFallback)
 => DestroyBegin?.Invoke(this, new VirtualDesktopDestroyEventArgs(pDesktopDestroyed, pDesktopFallback));