//--------------------------------------END OF BUTTON METHODS---------------------------------------------
        //
        //
        //
        //
        //-------------------------------------FORM METHODS------------------------------------------------------


        //Opens Form Tour
        private void editTour(ClsTour prTour)
        {
            if (prTour != null && prTour.VeiwEdit())
            {
                updateDisplay();
            }
        }
Exemplo n.º 2
0
        //-------------------------------------END OF LOADING METHODS----------------------------------------------
        //
        //
        //
        //
        //-------------------------------------BUTTON METHODS----------------------------------------------------

        //Adds New Tour
        private void btnAdd_Click(object sender, EventArgs e)
        {
            _Tour = new ClsTour();
            if (_Tour != null && _Tour.VeiwEdit())
            {
                ClsCompany.TourList.Add(_Tour.TravelID, _Tour);
                updateDisplay();
            }
        }