private void simpleButton2_Click(object sender, EventArgs e)
 {
     hesap.HesapNo = txt_hesapno.Text;
     try
     {
         hesapislem.HesapSil(hesap);
         MessageBox.Show("Hesap Başarı İle Silindi", "Bilgi", MessageBoxButtons.OK, MessageBoxIcon.Information);
         grd_hesaplar.DataSource = hesapislem.HesapGetir();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
 }
Esempio n. 2
0
 public void HesapSil(Hesaplar hesap)
 {
     hesapislem.HesapSil(hesap);
 }