private void ShowHotelIntroVideo() { _hotelVideoControl = new HotelVideoControl(); _hotelVideoControl.SetVideo(ConfigurationManager.AppSettings["IntroVideoPath"]); _hotelVideoControl.Load(FrameworkManager, 200, (Height / 2) - 400); _hotelVideoControl.Closed += HotelVideoControlCloseClick; }
private void HotelVideoControlCloseClick(object sender, EventArgs e) { _hotelVideoControl = null; HotelExplorer.GetInstance().ClearChoices(); }