Example #1
0
        private void btnduzenle_Click(object sender, EventArgs e)
        {
            string       secilen = gridView1.GetFocusedRowCellValue(colCariKodu).ToString();
            FrmCariİslem form    = new FrmCariİslem(cariDal.GetByFilter(context, c => c.CariKodu == secilen));

            form.ShowDialog();
        }
Example #2
0
        private void btnkopyala_Click(object sender, EventArgs e)
        {
            int secilen = Convert.ToInt32(gridView1.GetFocusedRowCellValue(colId));

            netsatis.tables.Cari carientity = new netsatis.tables.Cari();
            carientity          = cariDal.GetByFilter(context, c => c.Id == secilen);
            carientity.Id       = -1;
            carientity.CariKodu = null;
            FrmCariİslem form = new FrmCariİslem(carientity, true);

            form.ShowDialog();
        }
Example #3
0
        private void btnekle_Click(object sender, EventArgs e)
        {
            FrmCariİslem form = new FrmCariİslem(new tables.Cari());

            form.ShowDialog();
        }