private void Form1_Load(object sender, EventArgs e) { application = new BlackMagic(processes[0].Id); functionManager = new FunctionManager(application); string appPath = Path.GetDirectoryName(Application.ExecutablePath); IniFile ini = new IniFile(appPath + @"\config.ini"); functionManager.LuaDoString("print(\"|cffff6060<|r|cFF00FFFFiKick|cffff6060>|r Ready !\")"); }
public Form1() { InitializeComponent(); BlackMagic application; FunctionManager functionManager; application = new BlackMagic(processes[0].Id); functionManager = new FunctionManager(application); hook.KeyPressed += new EventHandler<KeyPressedEventArgs>(hook_KeyPressed); hook.RegisterHotKey(HotKeysHandler.ModifierKeys.Alt, Keys.X); }
public Form1() { InitializeComponent(); BlackMagic application; FunctionManager functionManager; application = new BlackMagic(processes[0].Id); functionManager = new FunctionManager(application); hook.KeyPressed += new EventHandler <KeyPressedEventArgs>(hook_KeyPressed); hook.RegisterHotKey(HotKeysHandler.ModifierKeys.Alt, Keys.X); }