Beispiel #1
0
        public SharpTouchApp()
        {
            m_notifyIcon       = new NotifyIcon();
            m_notificationMenu = new ContextMenu(InitializeMenu());

            m_notifyIcon.DoubleClick += IconDoubleClick;
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SharpTouchApp));
            m_notifyIcon.Icon        = (Icon)resources.GetObject("$this.Icon");
            m_notifyIcon.ContextMenu = m_notificationMenu;

            m_touchpad = new Touchpad();
        }
Beispiel #2
0
        public SharpTouchApp()
        {
            m_notifyIcon = new NotifyIcon();
            m_notificationMenu = new ContextMenu(InitializeMenu());

            m_notifyIcon.DoubleClick += IconDoubleClick;
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SharpTouchApp));
            m_notifyIcon.Icon = (Icon)resources.GetObject("$this.Icon");
            m_notifyIcon.ContextMenu = m_notificationMenu;

            m_touchpad = new Touchpad();
        }