Beispiel #1
0
        protected override void BagliKartAc()
        {
            var entity = Tablo.GetRow <Il>();

            if (entity == null)
            {
                return;
            }
            ShowListForms <IlceListForm> .ShowListForm(COMMON.Enums.KartTuru.Ilce, entity.Id, entity.IlAdi);
        }
Beispiel #2
0
        protected override void BagliKartAc()
        {
            var entity = Tablo.GetRow <BankaL>();

            if (entity == null)
            {
                return;
            }
            ShowListForms <BankaSubeListForm> .ShowListForm(KartTuru.Banka, entity.Id, entity.BankaAdi);
        }
Beispiel #3
0
        protected override void BagliKartAc()
        {
            var entity = Tablo.GetRow <Donem>();

            if (entity == null)
            {
                return;
            }
            ShowEditForms <DonemParametreEditForm> .ShowDialogEditForms(null, entity.Id);
        }
Beispiel #4
0
        protected override void ShowEditForm(long id)
        {
            var row = Tablo.GetRow <RaporL>();

            if (row == null)
            {
                return;
            }

            var entity = (Rapor)((RaporBll)bll).Single(x => x.Id == row.Id);
            var result = ShowEditForms <RaporEditForm> .ShowDialogEditForms(KartTuru.Rapor, id, entity.RaporTuru, entity.RaporBolumTuru, entity.Dosya);

            ShowEditFormDefault(result);
        }
Beispiel #5
0
        protected override void Duzelt()
        {
            if (Messages.RaporuTasarimaGonderMesaj() != DialogResult.Yes)
            {
                return;
            }

            Cursor.Current = Cursors.WaitCursor;
            var row = Tablo.GetRow <RaporL>();

            if (row == null)
            {
                return;
            }

            var entity = (Rapor)((RaporBll)bll).Single(x => x.Id == row.Id);
            var result = ShowRibbonForms <RaporTasarim> .ShowDialogForm(KartTuru.RaporTasarim, entity);

            ShowEditFormDefault(result);

            Cursor.Current = DefaultCursor;
        }