private void UseNKH_CB_CheckedChanged(object sender, EventArgs e) { if (!NKHook.DoesNkhExist()) { if (UseNKH_CB.Checked == true) { UseNKH_CB.Checked = false; ConsoleHandler.force_append_Notice("You need to have NKHook installed to do that!"); MessageBox.Show("You need to have NKHook installed to do that!"); NKHook_Message msg = new NKHook_Message(); msg.Show(); } } }
private void Launch_Program_ToolStrip_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e) { if (!NKHook.CanUseNKH()) { return; } if (e.ClickedItem.Text == "With NKHook") { if (NKHook.DoesNkhExist()) { if (CurrentProjectVariables.UseNKHook == false && CurrentProjectVariables.DontAskAboutNKH == false) { AlwaysUseNKH ask = new AlwaysUseNKH(true); ask.Show(); } else { CompileJet("launch nkh"); } } else { ConsoleHandler.force_append_Notice("Unable to locate NKHook5-Injector.exe. Opening Get NKHook message... You need to launch without it until you download NKHook."); NKHook_Message msg = new NKHook_Message(); msg.Show(); } } if (e.ClickedItem.Text == "Without NKHook") { CompileJet("launch"); } if (e.ClickedItem.Text == "NKHook Plugin Manager") { NKHPluginMgr mgr = new NKHPluginMgr(); } }
private void NKHook_Github_Click(object sender, EventArgs e) { NKHook_Message msg = new NKHook_Message(); msg.Show(); }