示例#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();
            }
        }
示例#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)
     {
     }
 }