public void Alici() { if (ComAlici.Text == "Müşteri") { comTeslimAlan.DataSource = _musteriService.GetAll(); comTeslimAlan.DisplayMember = "Ad"; comTeslimAlan.ValueMember = "MusteriId"; } else if (ComAlici.Text == "Firma") { comTeslimAlan.DataSource = _firmaService.GetAll(); comTeslimAlan.DisplayMember = "FirmaAd"; comTeslimAlan.ValueMember = "FirmaId"; } }
public void ComboFirmaListele() { comFirma.DataSource = _firmaService.GetAll(); comFirma.DisplayMember = "FirmaAd"; comFirma.ValueMember = "FirmaId"; }
public void Fihrist() { gridControl4.DataSource = _firmaService.GetAll(); }
public void listele() { gridControl1.DataSource = _firmaService.GetAll(); }
public void FirmaIletisimListele() { gridControlFirma.DataSource = _firmaService.GetAll(); }