Esempio n. 1
0
        private void BtnEkle_Click(object sender, EventArgs e)
        {
            FrmPersonelIslem form = new FrmPersonelIslem(new SarpTicariOtomasyon_Entities.Tables.Personel());

            form.ShowDialog();
            if (form.saved)
            {
                Listele();
            }
        }
Esempio n. 2
0
        private void BtnDuzenle_Click(object sender, EventArgs e)
        {
            _secilen = gridviewPersonel.GetFocusedRowCellValue(colPersonelKodu).ToString();
            FrmPersonelIslem form = new FrmPersonelIslem(personelDal.GetByFilter(context, c => c.PersonelKodu == _secilen));

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