Esempio n. 1
0
 private void btnKopyala_Click(object sender, EventArgs e)
 {
     secilen = Convert.ToInt32(gridView1.GetFocusedRowCellValue(colId));
     Isbasatis.Entities.Tables.Stok stokentity = new Isbasatis.Entities.Tables.Stok();
     stokentity          = stokDAL.GetByFilter(context, c => c.Id == secilen);
     stokentity.Id       = -1;
     stokentity.StokKodu = null;
     Stok.frmStokIslem form = new Stok.frmStokIslem(stokentity);
     form.ShowDialog();
 }
Esempio n. 2
0
 private void btnEkle_Click(object sender, EventArgs e)
 {
     Stok.frmStokIslem form = new Stok.frmStokIslem(new Isbasatis.Entities.Tables.Stok());
     form.ShowDialog();
     GetAll();
 }