Пример #1
0
        private void btnEkle_Click(object sender, EventArgs e)
        {
            FrmPersonelIslem frm = new FrmPersonelIslem(new Entities.Tables.Personel());

            frm.ShowDialog();
            if (frm.saved)
            {
                Listele();
            }
        }
Пример #2
0
        private void btnDuzenle_Click(object sender, EventArgs e)
        {
            string           secilen = gridView1.GetFocusedRowCellValue(colPersonelKodu).ToString();
            FrmPersonelIslem frm     = new FrmPersonelIslem(personeldal.GetByFilter(context, c => c.PersonelKodu == secilen));

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