private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { if (SysCaller.IsHooking()) { SysCaller.UnHook(); } }
private void UnBind_Click(object s, EventArgs e) { if (!SysCaller.IsHooking()) { return; } StatusLabel.Text = @"フック ( 未 )"; SysCaller.UnHook(); }