Ejemplo n.º 1
0
        static List <NOTIFYITEM> getTrayItemsWin7(TrayNotify instance)
        {
            var notifier = (ITrayNotifyWin7)instance;
            var callback = new NotificationCb();

            notifier.RegisterCallback(callback);
            notifier.RegisterCallback(null);
            return(callback.items);
        }
Ejemplo n.º 2
0
        private static List <NOTIFYITEM> getTrayItemsWin7(TrayNotify instance)
        {
            NotificationCb  callback = new NotificationCb();
            ITrayNotifyWin7 win1     = (ITrayNotifyWin7)instance;

            win1.RegisterCallback(callback);
            win1.RegisterCallback(null);
            return(callback.items);
        }
Ejemplo n.º 3
0
        static List <NOTIFYITEM> getTrayItems(TrayNotify instance)
        {
            var notifier = (ITrayNotify)instance;
            var callback = new NotificationCb();
            var handle   = default(ulong);

            notifier.RegisterCallback(callback, out handle);
            notifier.UnregisterCallback(handle);
            return(callback.items);
        }
Ejemplo n.º 4
0
        private static List <NOTIFYITEM> getTrayItems(TrayNotify instance)
        {
            NotificationCb callback = new NotificationCb();
            ulong          handle   = 0UL;
            ITrayNotify    notify1  = (ITrayNotify)instance;

            notify1.RegisterCallback(callback, out handle);
            notify1.UnregisterCallback(handle);
            return(callback.items);
        }
Ejemplo n.º 5
0
        static List<NOTIFYITEM> getTrayItemsWin7(TrayNotify instance)
        {
            var notifier = (ITrayNotifyWin7)instance;
            var callback = new NotificationCb();

            notifier.RegisterCallback(callback);
            notifier.RegisterCallback(null);
            return callback.items;
        }
Ejemplo n.º 6
0
        static List<NOTIFYITEM> getTrayItems(TrayNotify instance)
        {
            var notifier = (ITrayNotify)instance;
            var callback = new NotificationCb();
            var handle = default(ulong);

            notifier.RegisterCallback(callback, out handle);
            notifier.UnregisterCallback(handle);
            return callback.items;
        }