Beispiel #1
0
        private void cbSiniflar_SelectedIndexChanged(object sender, EventArgs e)
        {
            txtSinifAd.Text = cbSiniflar.SelectedItem.ToString();
            Sinif s = new Sinif();

            txtSinifID.Text = s.SinifIDGetir(txtSinifAd.Text).ToString();
        }
Beispiel #2
0
        private void AracMarka_Load(object sender, EventArgs e)
        {
            this.Top  = 0;
            this.Left = 0;
            Marka m = new Marka();

            m.MarkalariGetir(lvMarkalar);
            txtMarkaAd.Focus();
            Sinif s = new Sinif();

            s.SiniflariGetir(cbSiniflar);
        }
Beispiel #3
0
        private void cbSiniflar_SelectedIndexChanged(object sender, EventArgs e)
        {
            Sinif s = new Sinif();

            txtSinifAdi.Text = cbSiniflar.SelectedItem.ToString();
            txtSinifID.Text  = s.SinifIDGetir(txtSinifAdi.Text).ToString();
            txtMarkaID.Clear();
            txtMarkaAd.Clear();
            cbMarkalar.Items.Clear();
            Marka m = new Marka();

            m.MarkalariGetir(cbMarkalar, Convert.ToInt32(txtSinifID.Text));
        }
Beispiel #4
0
        private void AracModel_Load(object sender, EventArgs e)
        {
            this.Top  = 0;
            this.Left = 0;
            Sinif s = new Sinif();

            s.SiniflariGetir(cbSiniflar);

            Modeller md = new Modeller();

            md.ModelleriGetir(lvModeller);
            txtModel.Focus();
        }
Beispiel #5
0
        private void btnSinifaGoreArama_Click(object sender, EventArgs e)
        {
            Sinif s = new Sinif();

            s.SinifaGoreArama(lvMarkalar, Convert.ToInt32(txtSinifID.Text));
        }