private void btnKopyala_Click(object sender, EventArgs e) { secilen = Convert.ToInt32(gridView1.GetFocusedRowCellValue(colId)); Isbasatis.Entities.Tables.Cari carientity = new Isbasatis.Entities.Tables.Cari(); carientity = cariDAL.GetByFilter(context, c => c.Id == secilen); Cari.frmCariIslem form = new Cari.frmCariIslem(carientity, true); form.ShowDialog(); GetAll(); }
private void btnDuzenle_Click(object sender, EventArgs e) { secilen = Convert.ToInt32(gridView1.GetFocusedRowCellValue(colId)); Cari.frmCariIslem form = new Cari.frmCariIslem(cariDAL.GetByFilter(context, c => c.Id == secilen)); form.ShowDialog(); }