コード例 #1
0
        private void btnEkle_Click(object sender, EventArgs e)
        {
            frmKasaIslem form = new frmKasaIslem(new Entities.Tables.Kasa());

            form.ShowDialog();
            if (form.Kaydedildi)
            {
                Guncelle();
            }
        }
コード例 #2
0
        private void btnDuzenle_Click(object sender, EventArgs e)
        {
            secilen = Convert.ToInt32(layoutView1.GetFocusedRowCellValue(colId));
            frmKasaIslem form = new frmKasaIslem(kasaDal.GetByFilter(context, c => c.Id == secilen));

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