private void CircleButtonStyleExit_Click(object sender, EventArgs e) { ExitForm.Image = Properties.Resources.Simple_Exit_Form; BloodHoundUI bloodHoundUI = new BloodHoundUI(); bloodHoundUI.ExitForm.Image = Properties.Resources.Simple_Exit_Form; }
private void ExitForm_Click(object sender, EventArgs e) { Hide(); BloodHoundUI bloodHoundUI = new BloodHoundUI(); bloodHoundUI.Show(); }
private void LaunchButton_Click(object sender, EventArgs e) { { try { WebClient webclient = new WebClient(); string InternetCheck = null; InternetCheck = Encoding.ASCII.GetString((webclient.DownloadData("https://www.google.com"))); { Hide(); BloodHoundUI bloodHoundUI = new BloodHoundUI(); bloodHoundUI.Show(); } } catch { DialogResult OfflineDialog = MessageBox.Show("Launch Error! You need internet connection to launch BloodHound! If you think this is false, please DM Moog_#7778 on discord for assistance!", "Invalid Launch!", MessageBoxButtons.OK, MessageBoxIcon.Error); } } }