private void btn_Phishing_Click(object sender, EventArgs e) { Form_Phishing form_Phishing = new Form_Phishing(); form_Phishing.Show(); this.Hide(); }
private void btn_Cevapla_Click(object sender, EventArgs e) { if (textbox_Cevap.Text == Class_Phishing_Sorular.Sorular[0].Cevap) { Puan += 15 - Alinan_Harf; Class_Phishing_Sorular.SoruGec(); if (Class_Phishing_Sorular.Sorular.Count == 0) { DialogResult dialogResult = MessageBox.Show("Tebrikler Bitirdiniz \nPuanınız: " + Puan, "TEBRİKLER", MessageBoxButtons.RetryCancel, MessageBoxIcon.Information); if (dialogResult == DialogResult.Cancel) { Form_Giris form_Giris = new Form_Giris(); form_Giris.Show(); this.Hide(); } else if (dialogResult == DialogResult.Retry) { Form_Phishing form_Phishing = new Form_Phishing(); form_Phishing.Show(); this.Hide(); } } else { textbox_Soru.Text = Class_Phishing_Sorular.Sorular[0].Soru; Alinan_Harf = 0; textbox_Cevap.Text = ""; } } else { MessageBox.Show("Yanlış cevap", ":(", MessageBoxButtons.OK, MessageBoxIcon.Warning); } }