private void DepolariGetir() { DepoBll depoBLL = new DepoBll(); gridControl1.DataSource = depoBLL.DepolariGetir().ToList(); txtDepoKodu.Focus(); }
private void DepoDuzenle() { bllDepo = new DepoBll(); dtoDepo.DepoAdi = txtDepoAdi.Text; dtoDepo.DepoKodu = txtDepoKodu.Text; CudEnums enums = bllDepo.DepoDuzenle(dtoDepo); FormHelpers.ShowMessage(enums); DepolariGetir(); FormHelpers.ClearTextboxes(this.Controls); }
public void DepoKaydet() { bllDepo = new DepoBll(); DepoDto depoDto = new DepoDto() { DepoAdi = txtDepoAdi.Text, DepoKodu = txtDepoKodu.Text, AktifMi = true }; CudEnums enums = bllDepo.DepoEkle(depoDto); FormHelpers.ShowMessage(enums); DepolariGetir(); FormHelpers.ClearTextboxes(this.Controls); }
public frmStokEkleDuzenle(int _kullaniciId, StokKartiDto _stokKarti = null) { InitializeComponent(); kullaniciId = _kullaniciId; txtStokKodu.Focus(); bllDepo = new DepoBll(); bllStokKarti = new StokKartlariBll(); dtpKayitTarihi.DateTime = DateTime.Now; cmbKdv.SelectedIndex = 0; if (_stokKarti != null) { dtoStokKarti = _stokKarti; InitilizeStokKarti(); this.Text = "Stok Düzenleme Ekranı"; btnKaydet.Text = "Düzenle"; btnKaydet.Hide(); btnDuzenle.Show(); } }
public frmDepo() { InitializeComponent(); DepolariGetir(); bllDepo = new DepoBll(); }