예제 #1
0
파일: UI.cs 프로젝트: shameshame/.Net
        private void loadJourneyPanel()
        {
            DealDetails panelToDisplay = new DealDetails();
            ProgramMenu programMenu    = new ProgramMenu();

            programMenu.SpecialOffer();
            clearAndLoad(panelToDisplay);
        }
예제 #2
0
 public void SpecialOffer()
 {
     m_Operator.LoadDiscount();
     if (m_Operator.BirthdayDiscount > 0)
     {
         MessageBox.Show(string.Format(@"CONGRATS!!! You won {0} % discount for our travel", m_Operator.BirthdayDiscount * 100));
     }
     m_Offer = new DealDetails();
 }