示例#1
0
        public TaskbarNotify()
        {
            gthis = this;

            mtimer.Enabled      = false;
            mnotifyicon.Visible = true;
        }
示例#2
0
        public int init()
        {
            initModeIcon();

            mtasknotify = TaskbarNotify.gthis;

            mcommandmode.init();

            startKeyMode();

            return(1);
        }
示例#3
0
        public int init()
        {
            initModeIcon();

            mtasknotify = TaskbarNotify.gthis;

            mcommandmode.init();

            setHookMode(true);

            return(1);
        }
示例#4
0
        public int init()
        {
            mopenitem.Text   = "Open";
            mopenitem.Click += new EventHandler(mopenitem_Click);
            mexititem.Text   = "Exit";

            mexititem.Click   += new EventHandler(mexititem_Click);
            mkeyonitem.Text    = "Key On";
            mkeyonitem.Click  += new EventHandler(mkeyonitem_Click);
            mkeyoffitem.Text   = "Key Off";
            mkeyoffitem.Click += new EventHandler(mkeyoffitem_Click);

            mgestureonitem.Text    = "Gesture On";
            mgestureonitem.Click  += new EventHandler(GestureOnItem_Click);
            mgestureoffitem.Text   = "Gesture Off";
            mgestureoffitem.Click += new EventHandler(GestureOffItem_Click);

            mmouseonitem.Text    = "Mouse On";
            mmouseonitem.Click  += new EventHandler(MouseOnItem_Click);
            mmouseoffitem.Text   = "Mouse Off";
            mmouseoffitem.Click += new EventHandler(MouseOffItem_Click);

            mtestitem.Text   = "Test";
            mtestitem.Click += new EventHandler(TestItem_Click);

            mmenu.Items.Add(mopenitem);

            mmenu.Items.Add(mkeyonitem);
            mmenu.Items.Add(mkeyoffitem);

            mmenu.Items.Add(mgestureonitem);
            mmenu.Items.Add(mgestureoffitem);

            mmenu.Items.Add(mmouseonitem);
            mmenu.Items.Add(mmouseoffitem);

            mmenu.Items.Add(mtestitem); // 2021-02-13,

            mmenu.Items.Add(mexititem);

            mnotify = TaskbarNotify.gthis;

            //mrmbkey = RmbKey.gthis;

            return(0);
        }