void KulupListesi()
        {
            //Klüp listesini DataGridView ögesinde göstermek için formumuza tanıtıyoruz.
            List <ENTITIYKULUP> KlpLst = BLLKULUP.LISTELE();

            dataGridView1.DataSource = KlpLst;
        }
Exemplo n.º 2
0
        private void btnKulupKaydet_Click(object sender, EventArgs e)
        {
            EntityKulup ent = new EntityKulup();

            ent.KulupAd = txtKulupAd.Text;
            BLLKULUP.KulupEkle(ent);
            KulupListele();
        }
Exemplo n.º 3
0
        void KULUPLISTESI()
        {
            List <ENTITYKULUP> kuluplist = BLLKULUP.LISTELE();

            cmbkulup.DisplayMember = "KULUPAD";
            cmbkulup.ValueMember   = "KULUPID";
            cmbkulup.DataSource    = kuluplist;
        }
Exemplo n.º 4
0
        private void btnKulupSil_Click(object sender, EventArgs e)
        {
            EntityKulup ent = new EntityKulup();

            ent.KulupId = Convert.ToInt16(txtKulupId.Text);
            BLLKULUP.sil(ent.KulupId);
            KulupListele();
        }
Exemplo n.º 5
0
        private void BtnKulupSil_Click(object sender, EventArgs e)
        {
            ENTITYKULUP ent = new ENTITYKULUP();

            ent.KULUPID = Convert.ToInt32(TxtKulupID.Text);
            BLLKULUP.SIL(ent.KULUPID);
            KulupListesi();
        }
Exemplo n.º 6
0
        void KulupListesi()
        {
            List <EntitKulup> Kuluplist = BLLKULUP.Lıstele();

            CMBKULUP.DisplayMember = "KULUPAD";
            CMBKULUP.ValueMember   = "KULUPID";
            CMBKULUP.DataSource    = Kuluplist;
        }
        private void btnKulüpKaydet_Click(object sender, EventArgs e)
        {
            ENTITYKULUP ent = new ENTITYKULUP();

            ent.KULUPAD = txtkulupAd.Text;
            BLLKULUP.EKLE(ent);
            KulupListesi();
        }
        private void btnKulüpSil_Click(object sender, EventArgs e)
        {
            ENTITYKULUP ent = new ENTITYKULUP();

            ent.KULUPID = Convert.ToInt16(txtkulupId.Text);
            BLLKULUP.SIL(ent.KULUPID);
            KulupListesi();
        }
Exemplo n.º 9
0
        private void BtnKulupGuncelle_Click(object sender, EventArgs e)
        {
            EntityKulup ent = new EntityKulup();

            ent.KulupAd = txtKulupAd.Text;
            ent.KulupId = Convert.ToInt16(txtKulupId.Text);
            BLLKULUP.KulupGuncelle(ent);
        }
Exemplo n.º 10
0
        private void BtnKulupGuncelle_Click(object sender, EventArgs e)
        {
            ENTITYKULUP ent = new ENTITYKULUP();

            ent.KULUPAD = TxtKulupAd.Text;
            ent.KULUPID = Convert.ToInt32(TxtKulupID.Text);
            BLLKULUP.GUNCELLE(ent);
            KulupListesi();
        }
        private void BtnKulupSil_Click(object sender, EventArgs e)
        {
            //ENTITYKULUP sınıfından oluşturduğumuz ent nesnesi, doldurulan ilgili alanlardaki verileri, hafızaya alıp veri tabanına işlenmesi için BLL katmanı üzerinden, gerekli koşulların sağlanması durumunda FACADE katmanına gönderiyor.
            ENTITIYKULUP ent = new ENTITIYKULUP();

            ent.KULUPID = Convert.ToInt16(TxtKulupId.Text);
            BLLKULUP.SIL(ent.KULUPID);
            KulupListesi();
        }
        private void btnKulüpGuncelle_Click(object sender, EventArgs e)
        {
            ENTITYKULUP ent = new ENTITYKULUP();

            ent.KULUPAD = txtkulupAd.Text;
            ent.KULUPID = Convert.ToInt16(txtkulupId.Text);
            BLLKULUP.GUNCELLE(ent);
            KulupListesi();
        }
        void KulupListesi()
        {
            List <ENTITYKULUP> KlpLst = BLLKULUP.LISTELE();

            cbKulüp.DisplayMember    = "KULUPAD";
            cbKulüp.ValueMember      = "KULUPID";
            cbKulüp.DataSource       = KlpLst;
            dataGridView1.DataSource = KlpLst;
            this.Text = "Kulüp Listesi";
        }
Exemplo n.º 14
0
        void KulupListele()
        {
            List <EntityKulup> kulupList = BLLKULUP.Listele();

            comboOgrKulup.DisplayMember = "KULUPAD"; //comboboxta gözükecek değer
            comboOgrKulup.ValueMember   = "KULUPID"; //arkaplanda çalışacak değer
            comboOgrKulup.DataSource    = kulupList;
            dataGridView1.DataSource    = kulupList;
            this.Text = "Kulüp Listesi";
        }
Exemplo n.º 15
0
        private void KulupListesi()
        {
            dataGridView1.DataSource = null;

            List <ENTITYKULUP> kulupList = BLLKULUP.LISTELE();

            dataGridView1.DataSource = kulupList;

            this.Text = ResourcePresentation.KulupListesi;
        }
Exemplo n.º 16
0
        private void OgrenciForm_Load(object sender, EventArgs e)
        {
            //form açıldığında otomatik olarak Notları gösterecektir.
            OgrenciListesi();
            List <ENTITIYKULUP> KlpLst = BLLKULUP.LISTELE();

            cmbkulup.DisplayMember = "KULUPAD";
            cmbkulup.ValueMember   = "KULUPID";
            cmbkulup.DataSource    = KlpLst;
        }
Exemplo n.º 17
0
        private void btnKulupKaydet_Click(object sender, EventArgs e)
        {
            ENTITYKULUP entKulup = new ENTITYKULUP
            {
                KULUPAD = txtKulupAd.Text
            };
            var islemSonucu = BLLKULUP.EKLE(entKulup);

            ShowMessage(ReturnTrueFalse(islemSonucu), ResourcePresentation.KulupKaydetTrue, ResourcePresentation.KulupKaydetFalse);

            KulupListesi();
        }
Exemplo n.º 18
0
        private void btnKulupSil_Click(object sender, EventArgs e)
        {
            var id = 0;

            if (txtKulupId.Text != "")
            {
                id = Convert.ToInt16(txtKulupId.Text);
            }
            var islemSonuc = BLLKULUP.SIL(id);

            ShowMessage(islemSonuc, ResourcePresentation.KulupSilTrue, ResourcePresentation.KulupSilFalse);

            KulupListesi();
        }
Exemplo n.º 19
0
        private void SetKulupListesiToComboBox()
        {
            List <ENTITYKULUP> kulupList = BLLKULUP.LISTELE();

            kulupList.Insert(0, new ENTITYKULUP()
            {
                KULUPID = -1, KULUPAD = ResourcePresentation.cmbKulupDefaultValue
            });
            cmbKulup.DisplayMember = ResourceTblKulup.KULUP_AD;
            cmbKulup.ValueMember   = ResourceTblKulup.KULUP_ID;

            cmbKulup.DataSource    = kulupList;
            cmbKulup.SelectedIndex = 0;
        }
Exemplo n.º 20
0
        private void btnKULUPSIL_Click(object sender, EventArgs e)
        {
            ENTITYOGRENCIKULUP ent = new ENTITYOGRENCIKULUP();

            ent.KULUPID = Convert.ToInt16(txtKULUPID.Text);
            bool sil = BLLKULUP.SIL(ent.KULUPID);

            if (sil)
            {
                MessageBox.Show("Başarıyla silindi");
            }
            else
            {
                MessageBox.Show("Eksik veya hatalı giriş yapıldı");
            }
            KulupListesi();
        }
Exemplo n.º 21
0
        private void btnKULUPKAYDET_Click(object sender, EventArgs e)
        {
            ENTITYOGRENCIKULUP klp = new ENTITYOGRENCIKULUP();

            klp.KULUPAD = txtKULUPAD.Text;
            int kaydet = BLLKULUP.EKLE(klp);

            if (kaydet > 0)
            {
                MessageBox.Show(klp.KULUPAD + " başarıyla eklendi");
            }
            else
            {
                MessageBox.Show("Eksik veya hatalı giriş yapıldı");
            }
            KulupListesi();
        }
Exemplo n.º 22
0
        private void btnKULUPGUNCELLE_Click(object sender, EventArgs e)
        {
            ENTITYOGRENCIKULUP ent = new ENTITYOGRENCIKULUP();

            ent.KULUPAD = txtKULUPAD.Text;
            ent.KULUPID = Convert.ToInt16(txtKULUPID.Text);
            bool guncelle = BLLKULUP.GUNCELLE(ent);

            if (guncelle)
            {
                MessageBox.Show("Başarıyla güncellendi");
            }
            else
            {
                MessageBox.Show("Eksik veya hatalı giriş yapıldı");
            }
            KulupListesi();
        }
Exemplo n.º 23
0
        private void btnKulupGuncelle_Click(object sender, EventArgs e)
        {
            var id = 0;

            if (txtKulupId.Text != "")
            {
                id = Convert.ToInt16(txtKulupId.Text);
            }
            ENTITYKULUP entKulup = new ENTITYKULUP
            {
                KULUPID = id,
                KULUPAD = txtKulupAd.Text,
            };

            var islemSonucu = BLLKULUP.GUNCELLE(entKulup);

            ShowMessage(islemSonucu, ResourcePresentation.KulupGuncelleTrue, ResourcePresentation.KulupGuncelleFalse);

            KulupListesi();
        }