Exemplo n.º 1
0
        private void btnEkle_Click(object sender, EventArgs e)
        {
            FormKasaIslemleri form = new FormKasaIslemleri(new SarpTicariOtomasyon_Entities.Tables.Kasa());

            form.ShowDialog();
            if (form.Kaydedildi)
            {
                Guncelle();
            }
        }
Exemplo n.º 2
0
 private void btnDuzenle_Click(object sender, EventArgs e)
 {
     try
     {
         secilen = layoutView1.GetFocusedRowCellValue(colKasaKodu).ToString();
         FormKasaIslemleri form = new FormKasaIslemleri(kasaDal.GetByFilter(context, c => c.KasaKodu == secilen));
         form.ShowDialog();
         if (form.Kaydedildi)
         {
             Guncelle();
         }
     }
     catch (Exception)
     {
     }
 }