Exemplo n.º 1
0
        private void btnEkle_Click(object sender, EventArgs e)
        {
            frmPersonelIslem form = new frmPersonelIslem(new Entities.Tables.Personel());

            form.ShowDialog();
            if (form.saved)
            {
                Listele();
            }
        }
Exemplo n.º 2
0
        private void btnDuzenle_Click(object sender, EventArgs e)
        {
            _secilen = Convert.ToInt32(gridPersonel.GetFocusedRowCellValue(colId));
            frmPersonelIslem form = new frmPersonelIslem(personelDal.GetByFilter(context, c => c.Id == _secilen));

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