Exemplo n.º 1
0
        private void btnEkle_Click(object sender, EventArgs e)
        {
            FrmKasaIslem frm = new FrmKasaIslem(new Entities.Tables.Kasa());

            frm.ShowDialog();
            if (frm.kaydedildi)
            {
                Guncelle();
            }
        }
Exemplo n.º 2
0
        private void btnDuzenle_Click(object sender, EventArgs e)
        {
            string       secilen = layoutView1.GetFocusedRowCellValue(colKasaKodu).ToString();
            FrmKasaIslem frm     = new FrmKasaIslem(kasaDAL.GetByFilter(context, s => s.KasaKodu == secilen));

            frm.ShowDialog();
            if (frm.kaydedildi)
            {
                Guncelle();
            }
        }