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

            frm.ShowDialog();
            if (frm.saved)
            {
                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, c => c.YetkiliKodu == secilen));

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