Ejemplo n.º 1
0
        private void btnHesapla_Click(object sender, EventArgs e)
        {
            FaturaTipi faturatip = (FaturaTipi)cmbFaturaTip.SelectedItem;


            FaturaKes service = new FaturaKes(faturatip);

            ana = service.FaturaSec();

            Ihesapla hesap = (Ihesapla)ana;

            lblTutarC.Text = hesap.hesapla().ToString() + "  TL";
        }
Ejemplo n.º 2
0
        private void cmbFaturaTip_SelectedIndexChanged_1(object sender, EventArgs e)
        {
            FaturaTipi faturatip = (FaturaTipi)cmbFaturaTip.SelectedItem;
            FaturaKes  service   = new FaturaKes(faturatip);

            ana = service.FaturaSec();

            lblEndeks1.Text = ana.ilkendeks.ToString() + "  m3 kw";
            lblEndeks2.Text = ana.sonendeks.ToString() + "  m3 kw";
            lblMiktar.Text  = ana.kullanimMiktari.ToString() + "  m3 kw";
            lblTarihC.Text  = ana.tarih.ToString();
            lblAdsoyad.Text = ana.isim + " " + ana.Soyisim;
            lblTutarC.Text  = "0";
        }