private void simpleButton2_Click(object sender, EventArgs e) { musteri.MusteriTC = txt_musteritc.Text; try { musteriislem.MusteriSil(musteri); MessageBox.Show("Müşteri Başarı İle Silindi", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information); } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public void MusteriSil(Musteriler musteri) { musteriislem.MusteriSil(musteri); }