Beispiel #1
0
        private void BtnEkle_Click(object sender, EventArgs e)
        {
            FrmOdemeTuruIslem form = new FrmOdemeTuruIslem(new OdemeTuru());

            form.ShowDialog();
            if (form.saved)
            {
                Listele();
            }
        }
Beispiel #2
0
        private void BtnDuzenle_Click(object sender, EventArgs e)
        {
            string            secilen = gridOdmeTuru.GetFocusedRowCellValue(colOdemeTuruKodu).ToString();
            FrmOdemeTuruIslem form    = new FrmOdemeTuruIslem(odemeTuruDal.GetByFilter(Context, c => c.OdemeTuruKodu == secilen));

            form.ShowDialog();
            if (form.saved)
            {
                Listele();
            }
        }