예제 #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            Close();
            Musteriler mus = new Musteriler();

            mus.Show();
        }
예제 #2
0
        private void btn_mus_ekle_Click(object sender, EventArgs e)
        {
            VeriTabani veri = new VeriTabani();

            veri.MusteriEkleGuncelle(0, txt_ad.Text, txt_soyad.Text, txt_telefon.Text, txt_mail.Text);
            MessageBox.Show("İlan eklendi");
            this.Close();
            Musteriler mus = new Musteriler();

            mus.Show();
        }
예제 #3
0
        private void button1_Click_1(object sender, EventArgs e)
        {
            VeriTabani veri = new VeriTabani();

            veri.MusteriIptal(Musteri_Id);
            MessageBox.Show("Müşteri silindi");
            this.Close();
            Musteriler mus = new Musteriler();

            mus.Show();
        }
예제 #4
0
        private void button1_Click(object sender, EventArgs e)
        {
            VeriTabani veri = new VeriTabani();
            DataTable  dr   = veri.tabloCagir("Musteriler where Musteri_Id =" + Musteri_Id);

            veri.MusteriEkleGuncelle(Convert.ToInt32(dr.Rows[0]["Musteri_Id"]), txt_ad.Text, txt_soyad.Text, txt_telefon.Text, txt_mail.Text);
            MessageBox.Show("Müşteri güncellendi");
            this.Close();
            Musteriler mus = new Musteriler();

            mus.Show();
        }
예제 #5
0
        private void button2_Click(object sender, EventArgs e)
        {
            Musteriler musteri = new Musteriler();

            musteri.Show();
        }