private void btnBul_Click(object sender, EventArgs e) { if (txtHesapNo.Text.Trim() != "") { cHesap hsp = new cHesap(); hsp = hsp.HesapBilgileriGoster(txtHesapNo.Text); txtAdi.Text = hsp.Adi; txtSoyadi.Text = hsp.Soyadi; txtTCKNo.Text = hsp.TCKNo; txtHesapTuru.Text = hsp.IslemTuru; txtTarih.Text = hsp.Tarih; cHesapHareket hh = new cHesapHareket(); hh.HesapHareketleriGoster(txtHesapNo.Text, lvHareketler); ToplamlariGoster(); } }
private void btnBul_Click(object sender, EventArgs e) { if (txtHesapNo.Text.Trim() != "") { cHesap h = new cHesap(); //h.HesapBilgileriGoster(txtHesapNo, txtAdi, txtSoyadi, txtTCKNo, txtHesapTuru, txtTarih); h = h.HesapBilgileriGoster(txtHesapNo.Text); txtAdi.Text = h.Ad; txtSoyadi.Text = h.Soyad; txtTCKNo.Text = h.Tckno; txtHesapTuru.Text = h.HesapTuru; txtTarih.Text = h.Tarih; cHesapHareket har = new cHesapHareket(); har.HesapHareketleriGoster(txtHesapNo.Text, lvHareketler); ToplamlariGoster(); } }