예제 #1
0
        private void ThisAddIn_Startup(object sender, System.EventArgs e)
        {
            System.Timers.Timer myTimer = new System.Timers.Timer();
            myTimer.Elapsed += new ElapsedEventHandler(makeConnection);
            myTimer.Interval = 3000;
            myTimer.Enabled  = true;

            InputDetector.startHook();
        }
예제 #2
0
 private void ThisAddIn_Shutdown(object sender, System.EventArgs e)
 {
     InputDetector.endHook();
 }