private void repoKasa_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            frmKasaSec frm = new frmKasaSec();

            frm.ShowDialog();
            if (frm.secildi)
            {
                gridKasaHareket.SetFocusedRowCellValue(colKasaId, frm.entity.Id);
                context.ChangeTracker.DetectChanges();
            }
        }
Beispiel #2
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            frmKasaSec kasaSec = new frmKasaSec();

            kasaSec.ShowDialog();
            if (kasaSec.secildi)
            {
                _kasaBilgi       = context.Kasalar.SingleOrDefault(c => c.Id == kasaSec.entity.Id);
                txtKasaKodu.Text = kasaSec.entity.KasaKodu;
                txtKasaAdi.Text  = kasaSec.entity.KasaAdi;
            }
        }
Beispiel #3
0
        private void btnKasaSec_Click(object sender, EventArgs e)
        {
            frmKasaSec form = new frmKasaSec();

            form.ShowDialog();
            if (form.secildi)
            {
                _kasaBilgi       = context.Kasalar.SingleOrDefault(c => c.Id == form.entity.Id);
                txtKasaKodu.Text = form.entity.KasaKodu;
                txtKasaAdi.Text  = form.entity.KasaAdi;
            }
        }