Example #1
0
        private void btnEkle_Click(object sender, EventArgs e)
        {
            FrmKitapIslem form = new FrmKitapIslem(new Entities.Kitap());

            form.ShowDialog();
            if (form.Kaydedildi)
            {
                Listele();
            }
        }
Example #2
0
        private void btnDuzenle_Click(object sender, EventArgs e)
        {
            int           kitapId = Convert.ToInt32(gridKitap.GetFocusedRowCellValue(colId));
            FrmKitapIslem form    = new FrmKitapIslem(kitapService.Getir(c => c.Id == kitapId));

            form.ShowDialog();
            if (form.Kaydedildi)
            {
                Listele();
            }
        }