示例#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)
        {
            secilen = gridPersonel.GetFocusedRowCellValue(colPersonelKodu).ToString();
            FrmPersonelIslem frm = new FrmPersonelIslem(personelDAL.GetByFilter(context, s => s.PersonelKodu == secilen));

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