| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 | // hardcodet.net NotifyIcon for WPF// Copyright (c) 2009 - 2013 Philipp Sumi// Contact and Information: http://www.hardcodet.net//// This library is free software; you can redistribute it and/or// modify it under the terms of the Code Project Open License (CPOL);// either version 1.0 of the License, or (at your option) any later// version.// // The above copyright notice and this permission notice shall be// included in all copies or substantial portions of the Software.// // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES// OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,// WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR// OTHER DEALINGS IN THE SOFTWARE.//// THIS COPYRIGHT NOTICE MAY NOT BE REMOVED FROM THIS FILEnamespace Hardcodet.Wpf.TaskbarNotification{    /// <summary>    /// Defines flags that define when a popup    /// is being displyed.    /// </summary>    public enum PopupActivationMode    {        /// <summary>        /// The item is displayed if the user clicks the        /// tray icon with the left mouse button.        /// </summary>        LeftClick,        /// <summary>        /// The item is displayed if the user clicks the        /// tray icon with the right mouse button.        /// </summary>        RightClick,        /// <summary>        /// The item is displayed if the user double-clicks the        /// tray icon.        /// </summary>        DoubleClick,        /// <summary>        /// The item is displayed if the user clicks the        /// tray icon with the left or the right mouse button.        /// </summary>        LeftOrRightClick,        /// <summary>        /// The item is displayed if the user clicks the        /// tray icon with the left mouse button or if a        /// double-click is being performed.        /// </summary>        LeftOrDoubleClick,        /// <summary>        /// The item is displayed if the user clicks the        /// tray icon with the middle mouse button.        /// </summary>        MiddleClick,        /// <summary>        /// The item is displayed whenever a click occurs.        /// </summary>        All    }}
 |