public void FormAnaEkran_Load(object sender, EventArgs e) { Kitap.KitapListele(dataGridViewKitapListesi); Uyeler.UyeListele(dataGridViewUyeListesi); KitapListesindeAra = "KitapAdi"; UyelerListesindeAra = "AdiSoyadi"; }
private void buttonYeniUyeKaydet_Click(object sender, EventArgs e) { Uyeler Uyeler = new Uyeler(); Uyeler.YeniUyeKaydet(textBoxTcKimlikNo.Text.ToString(), textBoxAdiSoyadi.Text.ToString(), dateTimePickerDogumTarihi.Text.ToString(), comboBoxDogumYeri.Text.ToString(), comboBoxCinsiyet.Text.ToString(), dateTimePickerUyelikTarihi.Text.ToString(), textBoxTelefon.Text.ToString(), textBoxEposta.Text.ToString(), textBoxAdres.Text.ToString()); FormAnaEkran FormanaEkran = (FormAnaEkran)Application.OpenForms["FormAnaEkran"]; Uyeler.UyeListele(FormanaEkran.dataGridViewUyeListesi); }
private void FormUyeListele_Load(object sender, EventArgs e) { Uyeler.UyeListele(dataGridViewUyeListesi); UyelerListesindeAra = "AdiSoyadi"; }