private void SatisBiletSecimForm_Load(object sender, EventArgs e)
        {
            FilmORM  filmOrm  = new FilmORM();
            SalonORM salonOrm = new SalonORM();
            SeansORM seansOrm = new SeansORM();

            cmbFilmAdi.DataSource    = filmOrm.Select();
            cmbFilmAdi.DisplayMember = "FilmAdi";
            cmbFilmAdi.ValueMember   = "FilmAdi";

            cmbSalon.DataSource    = salonOrm.Select();
            cmbSalon.DisplayMember = "SalonAdi";
            cmbSalon.ValueMember   = "SalonAdi";

            cmbSeans.DataSource    = seansOrm.Select();
            cmbSeans.DisplayMember = "SeansSaati";
            cmbSeans.ValueMember   = "SeansSaati";
        }
Esempio n. 2
0
 private void SalonDuzenleForm_Load(object sender, EventArgs e)
 {
     cmbSalon.DisplayMember = "SalonAdi";
     cmbSalon.ValueMember   = "Id";
     cmbSalon.DataSource    = sOrm.Select();
 }