Example #1
0
        private void btnKaydet_Click(object sender, EventArgs e)
        {
            stokdal.AddOrUpdate(context, _entity);

            stokdal.save(context);
            this.Close();
        }
Example #2
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            FrmStokSec sec = new FrmStokSec();

            sec.ShowDialog();
            if (sec.secildi)
            {
                foreach (var itemStok in sec.secilen)
                {
                    stokdal.AddOrUpdate(context, itemStok);
                }
            }
        }