private void SalesTour_Load(object sender, EventArgs e)
        {
            cmbTour.DataSource    = tourController.GetTours();
            cmbTour.DisplayMember = "TourName";
            cmbTour.ValueMember   = "TourId";

            cmbGuideChoose.DataSource    = guideController.GetGuids();
            cmbGuideChoose.DisplayMember = "FirstName";
            cmbGuideChoose.ValueMember   = "GuideId";

            cmboxTuristDil.DataSource    = languagesController.Getlanguages();
            cmboxTuristDil.DisplayMember = "LanguageName";
            cmboxTuristDil.ValueMember   = "LanguageId";
        }
Esempio n. 2
0
 private void TourEditForm_Load(object sender, EventArgs e)
 {
     dataGridTourList.DataSource = tourController.GetTours();
 }