private void Geri_Click(object sender, EventArgs e) { IslemSec islemsec = new IslemSec(); this.Close(); islemsec.Show(); }
private void Geri_Click(object sender, EventArgs e) { IslemSec form3 = new IslemSec(); this.Close(); form3.Show(); }
private void GirisYap_Click(object sender, EventArgs e) { komut = new MySqlCommand("Select* From uyeler where Kullanici_Adi = ('" + KAdi.Text + "' ) and Sifre = ('" + Sifre.Text + "')", con); con.Open(); MySqlDataReader dr; dr = komut.ExecuteReader(); if (dr.Read()) { IslemSec Form = new IslemSec(); this.Hide(); Form.Show(); con.Close(); } else { MessageBox.Show("Kullanıcı Adı veya Parola Yanlış!"); con.Close(); } }