Provides data for the VirtualDesktop.DestroyBegin and VirtualDesktop.DestroyFailed, VirtualDesktop.Destroyed event.
Inheritance: System.EventArgs
            void IVirtualDesktopNotification.VirtualDesktopDestroyed(IVirtualDesktop pDesktopDestroyed, IVirtualDesktop pDesktopFallback)
            {
                var args = new VirtualDesktopDestroyEventArgs(FromComObject(pDesktopDestroyed), FromComObject(pDesktopFallback));

                if (Destroyed != null)
                {
                    Destroyed.Invoke(this, args);
                }
            }
コード例 #2
0
            public static void RaiseDestroyed(object sender, VirtualDesktop pDesktopDestroyed, VirtualDesktop pDesktopFallback)
            {
                var args = new VirtualDesktopDestroyEventArgs(pDesktopDestroyed, pDesktopFallback);

                Destroyed?.Invoke(sender, args);
            }
コード例 #3
0
 void IVirtualDesktopNotification.VirtualDesktopDestroyFailed(IVirtualDesktop pDesktopDestroyed, IVirtualDesktop pDesktopFallback)
 {
     var args = new VirtualDesktopDestroyEventArgs(FromComObject(pDesktopDestroyed), FromComObject(pDesktopFallback));
     DestroyFailed?.Invoke(this, args);
 }
コード例 #4
0
            void IVirtualDesktopNotification.VirtualDesktopDestroyBegin(IVirtualDesktop pDesktopDestroyed, IVirtualDesktop pDesktopFallback)
            {
                var args = new VirtualDesktopDestroyEventArgs(FromComObject(pDesktopDestroyed), FromComObject(pDesktopFallback));

                DestroyBegin?.Invoke(this, args);
            }