Ejemplo n.º 1
0
        void OnIdleNotification(
            string guid,
            string since,
            string duration,
            UInt64 started,
            string description)
        {
            if (this.TryBeginInvoke(this.OnIdleNotification, guid, since, duration, started, description))
            {
                return;
            }

            idleNotificationWindowController.ShowWindow();
        }
Ejemplo n.º 2
0
        void OnIdleNotification(
            string guid,
            string since,
            string duration,
            UInt64 started,
            string description)
        {
            if (InvokeRequired)
            {
                Invoke((MethodInvoker) delegate { OnIdleNotification(guid, since, duration, started, description); });
                return;
            }

            idleNotificationWindowController.ShowWindow();
        }