private void button1_Click(object sender, EventArgs e)
        {
            baglanti.Open();
            SqlCommand    komut = new SqlCommand("select * from kayit where kullanici_adi='" + textBox1.Text + "' and sifre='" + textBox3.Text + "'", baglanti);
            SqlDataReader dr    = komut.ExecuteReader();

            if (dr.Read())
            {
                Anasayfa frm5 = new Anasayfa();
                this.Visible = false;
                frm5.kuladi  = textBox1.Text;
                frm5.ShowDialog();
                Application.Exit();
            }
            else
            {
                MessageBox.Show("Kullanıcı adi veya sifre yanlis");
            }

            baglanti.Close();
            kullanici_adi = textBox1.Text;
        }