private void btnAeroSpaceMuseum_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _tabPage.Header = "Aero Space Museum"; _ucInfo.txtBlockTitle.Text = "Aero Space Museum"; _ucInfo.txtBlockAddress.Text = "4629 McCall Way NE, Calgary, AB T2E 8A5"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/aero-space-museum.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"Who doesn’t wish they could fly? Discover Canada’s aviation adventure and enjoy seeing aircraft up close while hearing the roar of a modern jet overhead. Everything from Canada’s first powered aircraft to the majestic “Queen of the Sky” Lancaster are on display in a historic Second World War drill hall and outdoor hangar."; _ucInfo.txtBlockHours.Text = @"Mon - 9:00am to 4:00pm Tues - 10:00am to 4:00pm Wed - 10:00am to 4:00pm Thurs - 10:00am to 4:00pm Fri - 10:00am to 4:00pm Sat - 10:00am to 4:00pm Sun - 10:00am to 4:00pm"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnCanadianBrewhouse_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main, newOrigin); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#d4ff80")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#d4ff80")), _tabPage); }; _ucInfo.btnRestaurantsNearby.Visibility = Visibility.Hidden; _tabPage.Header = "Canadian Brewhouse"; _ucInfo.txtBlockTitle.Text = "Canadian Brewhouse"; _ucInfo.txtBlockAddress.Text = "9650 Harvest Hills Boulevard North, Calgary, AB T3K 0B3"; _ucInfo.imgPicture.Source = new BitmapImage(new Uri("Images/canadian-brewhouse.jpg", UriKind.Relative)); _ucInfo.txtDescription.Text = @"Welcome to The Canadian Brewhouse! Let us introduce ourselves and get to know each other! The Canadian Brewhouse started in Alberta in 2002 with one location and has grown to 17 locations, fourteen of them in Alberta, including; the Edmonton area, Grande Prairie, Lloydminster, Red Deer, Camrose, Fort McMurray, Calgary, Okotoks and Airdrie. Plus, we’ve opened locations in Regina and Saskatoon, Saskatchewan and Kelowna, British Columbia. Our one-of-a-kind Canadian themed sports bar & grill has an extensive menu of appetizers, entrees, drinks and amazing specials every night of the week. You’ll note our Canadian decor starts right when you walk up to our huge Inukshuk at our doors and continues throughout the restaurant in a “cheeky” Canadian fashion. We promise, when you come to The Canadian Brewhouse, you’ll instantly feel at home, because our house is your house…only we have way more TVs! You won’t find a better selection of screens anywhere for the sports you love! We even provide tabletop speakers for those nights when multiple sports and teams are playing. We also believe being part of a community means giving back. We’ve been raising funds for various charities through events and fundraisers for over 10 years. Charities like The Stollery Children’s Hospital Foundation, Breast Cancer Research, Prostate Cancer (Movember) and many local initiatives that are important to our neighbours in various communities. Our house is your house, The Canadian Brewhouse"; _ucInfo.txtBlockHours.Text = @"Mon - 11:00am to 2:00am Tues - 11:00am to 2:00am Wed - 11:00am to 2:00am Thurs - 11:00am to 2:00am Fri - 11:00am to 2:00am Sat - 11:00am to 2:00am Sun - 11:00am to 2:00am"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnSaltlik_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _ucInfo.btnRestaurantsNearby.Visibility = Visibility.Hidden; _tabPage.Header = "Saltlik"; _ucInfo.txtBlockTitle.Text = "Saltlik"; _ucInfo.txtBlockAddress.Text = "101 8 Ave SW, Calgary, AB T2G5J2"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/saltlik.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"Welcome to Saltlik, the quintessential modern steakhouse. Our menu of comfortable luxury will please not only the true steak lover, but has enough variety to satisfy any appetite. The quality ingredients we use shine through in every dish. Where will you be joining us?"; _ucInfo.txtBlockHours.Text = @"Mon - 11:00am to 11:00pm Tues - 11:00am to 11:00pm Wed - 11:00am to 11:00pm Thurs - 11:00am to 11:00pm Fri - 11:00am to 11:00pm Sat - 5:00pm to 11:00pm Sun - 5:00pm to 10:00pm"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnRiverCafe_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _ucInfo.btnRestaurantsNearby.Visibility = Visibility.Hidden; _tabPage.Header = "River Cafe"; _ucInfo.txtBlockTitle.Text = "River Cafe"; _ucInfo.txtBlockAddress.Text = "25 Princes Island Park SW, Calgary, AB T2P 0R1"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/hardy4.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"The River Cafe is a world class restaurant on Prince's Island Park, Calgary, Alberta, Canada. An extraordinary dining experience is to embark on a journey. We have created a beautiful place in an extraordinary setting and have tended to the details that make you feel at home: staff who care, chefs who are passionate about quality and the regional seasonal ingredients that bring to your palate a taste of place."; _ucInfo.txtBlockHours.Text = @"Mon - 11:00am to 10:00pm Tues - 11:00am to 10:00pm Wed - 11:00am to 10:00pm Thurs - 11:00am to 10:00pm Fri - 11:00am to 10:00pm Sat - 10:00am to 10:00pm Sun - 10:00am to 10:00pm"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnRawBar_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _ucInfo.btnRestaurantsNearby.Visibility = Visibility.Hidden; _tabPage.Header = "Raw Bar"; _ucInfo.txtBlockTitle.Text = "Raw Bar"; _ucInfo.txtBlockAddress.Text = "119 12 Avenue Southwest, Calgary, AB T2R 0G8"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/picRaw.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"Hotel Arts’ award-winning restaurant, Raw Bar recently received an extensive renovation and reopened with a Vietmodern theme and fresh new look. Raw Bar showcases a menu that celebrates Vietnamese heritage with some contemporary influences which we call Vietmodern. Order our well-liked Short Rib Steamed Buns and enjoy our chef-attended action station where a selection of fresh oysters are prepared. Vietmodern dishes are made to pair perfectly with our innovative cocktails. Save room for dessert prepared by our talented pastry team."; _ucInfo.txtBlockHours.Text = @"Mon - 4:00pm to 11:00pm Tues - 4:00pm to 11:00pm Wed - 4:00pm to 11:00pm Thurs - 4:00pm to 11:00pm Fri - 4:00pm to 12:00am Sat - 4:00pm to 12:00am Sun - Closed"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnNotable_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _ucInfo.btnRestaurantsNearby.Visibility = Visibility.Hidden; _tabPage.Header = "NOTaBLE"; _ucInfo.txtBlockTitle.Text = "NOTaBLE"; _ucInfo.txtBlockAddress.Text = "4611 Bowness Rd NW, Calgary, AB T3B0S4"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/picNotable.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"A new chapter in Calgary dining has begun. Slow down and savor the experience with us. Cozy. Charming. Gourmet Casual. A comfortable “home” to foster a genuine love of great food with a family of passionate culinarians, passionate producers and exceptional service staff. The open kitchen invites you in. The rotisserie turns. Juices drip and sizzle. Sauce on the saucier station bubbles. The menu reflects our passion. A new burger on the menu every month. A selection of wines chosen with care. The Stilton cheesecake, a signature recipe you won’t find anywhere else, completes the experience. Come, relax and enjoy a fresh dining experience at NOtaBLE. We look forward to serving you. As the chef says, “Don’t think fine dining, think great food.”"; _ucInfo.txtBlockHours.Text = @"Mon - Closed Tues - 11:30am to 10:00pm Wed - 11:30am to 10:00pm Thurs - 11:30am to 10:00pm Fri - 11:30am to 11:00pm Sat - 11:00am to 11:00pm Sun - 11:00am to 9:00pm"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnNaina_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _ucInfo.btnRestaurantsNearby.Visibility = Visibility.Hidden; _tabPage.Header = "Naina's Kitchen"; _ucInfo.txtBlockTitle.Text = "Naina's Kitchen"; _ucInfo.txtBlockAddress.Text = "8, 2808 Ogden Road Southeast, Calgary, AB T2G 4R7"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/naina-kitchen.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"Welcome to Naina's Kitchen Think back to the times you visited Grandma's, remember the wonderful aromas that hit you as you came in the door. Your mouth would start to water and you couldn't wait to see what was coming. Comfort was the word. That's exactly what we have created at Naina's - home-made meals using fresh ingredients. In our kitchen, everything is made from scratch - the fries and burgers, the mac'n cheese, the salads, the baked goods, and the list goes on. Comfort food at its best!!"; _ucInfo.txtBlockHours.Text = @"Mon - Closed Tues - 11:00am to 3:00pm Wed - 11:00am to 3:00pm Thurs - 11:00am to 8:00pm Fri - 11:00am to 8:00pm Sat - 11:00am to 8:00pm Sun - Closed"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnBowHabitat_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _tabPage.Header = "Bow Habitat Station"; _ucInfo.txtBlockTitle.Text = "Bow Habitat Station"; _ucInfo.txtBlockAddress.Text = "1440 17a St SE, Calgary, AB T2G 4T9"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/bow-habitat-station.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"Investigate, explore and discover Alberta’s fish, wildlife, water and aquatic ecosystems. Explore hands-on exhibits in our Discovery Centre, feed the fish on a tour of our Fish Hatchery, go fishing in our Trout Pond, and take a stroll along the trails in our Interpretive Wetland. There is fun for the whole family at Bow Habitat Station! Located minutes east of downtown in the vibrant community of Inglewood, Bow Habitat Station offers a unique learning experience that’s sure to be a splash. The facility is for all ages and is completely wheelchair accessible. Free parking is available."; _ucInfo.txtBlockHours.Text = @"Mon - Closed Tues - Closed Wed - 10:00am to 4:00pm Thurs - 10:00am to 4:00pm Fri - 10:00am to 4:00pm Sat - 10:00am to 4:00pm Sun - 10:00am to 4:00pm *Interpretive Wetland open from 5:00am to 11:00pm **10:00am to 8:00pm on third Thursday every month"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnHimalayan_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _ucInfo.btnRestaurantsNearby.Visibility = Visibility.Hidden; _tabPage.Header = "Himalayan"; _ucInfo.txtBlockTitle.Text = "Himalayan"; _ucInfo.txtBlockAddress.Text = "3218 17th Ave SW, Calgary, AB T3E0B3"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/himalayan.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"A popular indian cuisine restaurant located on 17 avenue, with some of the most culturally diverse restaurants in Calgary."; _ucInfo.txtBlockHours.Text = @"Mon - 5:00pm to 9:00pm Tues - 5:00pm to 9:00pm Wed - 5:00pm to 9:00pm Thurs - 5:00pm to 9:00pm Fri - 5:00pm to 10:00pm Sat - 5:00pm to 10:00pm Sun - 5:00pm to 9:00pm"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnGlenbowMuseum_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _tabPage.Header = "Glenbow Museum"; _ucInfo.txtBlockTitle.Text = "Glenbow Museum"; _ucInfo.txtBlockAddress.Text = "130 9 Ave SE, Calgary, AB T2G 0P3"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/glenbow-museum.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; Image newImage = new Image(); Image newImage2 = new Image(); Image newImage3 = new Image(); newImage.Source = new BitmapImage(new Uri("Images/glenbow-museum-staircase.jpg", UriKind.Relative)); newImage2.Source = new BitmapImage(new Uri("Images/glenbow-museum-interior.jpg", UriKind.Relative)); newImage3.Source = new BitmapImage(new Uri("Images/glenbow-museum-art.jpg", UriKind.Relative)); _ucInfo.listBox.Items.Add(original); _ucInfo.listBox.Items.Add(newImage); _ucInfo.listBox.Items.Add(newImage2); _ucInfo.listBox.Items.Add(newImage3); _ucInfo.txtDescription.Text = @"Glenbow's vision is for more people to experience art and culture more often. In February of 2014, Glenbow announced its new direction - to provide visitors with a new kind of art museum experience. Glenbow showcases world-renowned travelling and permanent exhibitions that are meaningful to many diverse groups in our community, boasts the largest art collection in Western Canada and provides access and care to our collections. Glenbow also tells the story of Southern Alberta and the West to thousands of visitors to our city each year through permanent exhibitions on our third floor. Last year, 120,000 guests passed through Glenbow's doors, including more than 63,000 school children who took part in our School Programs and Chevron Museum School. Glenbow's Library and Archives is Canada's largest non-governmental archival repository. It is a major research centre for historians, writers, students, genealogists, filmmakers and media. The Glenbow Shop offers visitors a unique retail experience while providing a viable revenue stream for the institution. Glenbow also serves as a rental facility for many corporate and private functions, offering a 210-seat theatre, meeting rooms and three gallery floors as event space."; _ucInfo.txtBlockHours.Text = @"Mon - Closed Tues - 9:00am to 5:00pm Wed - 9:00am to 5:00pm Thurs - 9:00am to 5:00pm Fri - 9:00am to 5:00pm Sat - 9:00am to 5:00pm Sun - 12:00pm to 5:00pm"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnCanadaSportsHOF_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _tabPage.Header = "Canada's Sports Hall of Fame"; _ucInfo.txtBlockTitle.Text = "Canada's Sports Hall of Fame"; _ucInfo.txtBlockAddress.Text = "169 Canada Olympic Road SW, Calgary, AB T3B 6B7"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/canada-sports-hof.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; Image newImage = new Image(); Image newImage2 = new Image(); Image newImage3 = new Image(); newImage.Source = new BitmapImage(new Uri("Images/canada-sports-hof-gallery.jpg", UriKind.Relative)); newImage2.Source = new BitmapImage(new Uri("Images/canada-sports-hof-event.jpg", UriKind.Relative)); newImage3.Source = new BitmapImage(new Uri("Images/canada-sports-hof-sports-hall.jpg", UriKind.Relative)); _ucInfo.listBox.Items.Add(original); _ucInfo.listBox.Items.Add(newImage); _ucInfo.listBox.Items.Add(newImage2); _ucInfo.listBox.Items.Add(newImage3); _ucInfo.txtDescription.Text = @"Canada’s Sports Hall of Fame is an international award-winning facility with over 40,000 square feet of inspiring experiences. Located at WinSport, Canada’s Sports Hall of Fame features 12 galleries, more than 52 hands-on interactive experiences and a collection of more than 95,000 artefacts. It is a place of honour for the 605 inducted sport legends and the 65 sports they represent. Our mission is to share the stories of the achievements of our inducted Honoured Members so that we can inspire all Canadians to be the best they can be in all aspects of life. Spanning nearly 150 years of Canadian sport history, there is something fun, educational and inspiring for people of all ages."; _ucInfo.txtBlockHours.Text = @"Mon - 10:00am to 5:00pm Tues - 10:00am to 5:00pm Wed - 10:00am to 5:00pm Thurs - 10:00am to 5:00pm Fri - 10:00am to 5:00pm Sat - 10:00am to 5:00pm Sun - 10:00am to 5:00pm"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnCanadaOlympicPark_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _tabPage.Header = "Canada Olympic Park"; _ucInfo.txtBlockTitle.Text = "Canada Olympic Park"; _ucInfo.txtBlockAddress.Text = "88 Canada Olympic Road SW, Calgary, AB T3B 5R5"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/c-o-p.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"Come out and play at WinSport, Calgary’s year-round playground and site of the 1988 Winter Olympic Games. In summer, kids can explore the Activity Centre featuring a 30 foot climbing wall and EuroBungy. The whole gang can hit the greens of our 18-hole mini-golf course while the more adventurous might want to take on the Adrenaline Combo—a Canadian Signature Experience that combines North America’s fastest zipline and Summer Bobsleigh. Winter brings us back to our Olympic roots as we transform into ski and snowboard central with hill tickets starting at $10."; _ucInfo.txtBlockHours.Text = @"Mon - 8:00am to 9:00pm Tues - 8:00am to 9:00pm Wed - 8:00am to 9:00pm Thurs - 8:00am to 9:00pm Fri - 8:00am to 9:00pm Sat - 8:00am to 9:00pm Sun - 8:00am to 9:00pm *Times vary per building"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnCalgaryZoo_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _tabPage.Header = "Calgary Zoo"; _ucInfo.txtBlockTitle.Text = "Calgary Zoo"; _ucInfo.txtBlockAddress.Text = "1300 Zoo Rd NE, Calgary, AB T2E 7V6"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/calgary-zoo.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; Image newImage = new Image(); Image newImage2 = new Image(); newImage.Source = new BitmapImage(new Uri("Images/calgary-zoo-water.jpg", UriKind.Relative)); newImage2.Source = new BitmapImage(new Uri("Images/calgary-zoo-penguins.jpg", UriKind.Relative)); _ucInfo.listBox.Items.Add(original); _ucInfo.listBox.Items.Add(newImage); _ucInfo.listBox.Items.Add(newImage2); _ucInfo.txtDescription.Text = @"Animatronic Dinosaurs are Back! Watch for triceratops grazing among the bushes, then look up to see fearsome T-Rex’s banana-sized teeth ready to tear into his next meal. Don’t run! You haven’t actually travelled back in time – it just feels like it. This March, The Calgary Zoo is bringing back Dinosaurs Alive, the animatronic dinosaur exhibit previously seen in 2010. Following the refurbishment of the Prehistoric Park, the zoo will introduce 17 dinosaur models into the park to add to the current collection. These realistic, fleshy models have special engineering to help them move in a true fashion. All of the creatures vocalize and some can even be controlled through the touch of a button by a curious visitor. Come and see for yourself what Alberta might have looked like when dinosaurs reigned supreme."; _ucInfo.txtBlockHours.Text = @"Mon - 9:00am to 5:00pm Tues - 9:00am to 5:00pm Wed - 9:00am to 5:00pm Thurs - 9:00am to 5:00pm Fri - 9:00am to 5:00pm Sat - 9:00am to 5:00pm Sun - 9:00am to 5:00pm"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnCalgaryTower_Click(object sender, RoutedEventArgs e) { //Call main window's reset tab function to remove excess starting from this tab _main.resetTab(_main.tabControl.SelectedIndex); //Instantiate user control and tab to be displayed UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; //Input all information regarding attraction _tabPage.Header = "Calgary Tower"; _ucInfo.txtBlockTitle.Text = "Calgary Tower"; _ucInfo.txtBlockAddress.Text = "101 9 Ave SW, Calgary, AB T2P 1J9"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/calgary-tower.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; Image newImage = new Image(); Image newImage2 = new Image(); Image newImage3 = new Image(); newImage.Source = new BitmapImage(new Uri("Images/calgary-tower2.jpg", UriKind.Relative)); newImage2.Source = new BitmapImage(new Uri("Images/calgary-tower-restaurant.jpg", UriKind.Relative)); newImage3.Source = new BitmapImage(new Uri("Images/calgary-tower-glass-floor.jpg", UriKind.Relative)); _ucInfo.listBox.Items.Add(original); _ucInfo.listBox.Items.Add(newImage); _ucInfo.listBox.Items.Add(newImage2); _ucInfo.listBox.Items.Add(newImage3); _ucInfo.txtDescription.Text = @"Start your Calgary adventure 525 feet in the air! Rising from the downtown core, the Calgary Tower is a must-see for any visitor. On the observation deck, experience a 360° panoramic view of the bustling city, the foothills and the majestic Rocky Mountains. Stand on the amazing glass floor for a birds-eye view of the streets below. Multimedia tours are provided to each guest who visits the Calgary Tower! This informative and inspiring tour is free with admission and is available in four languages: English, French, Mandarin, and German. This award-winning tour begins at the base of the Tower with an interesting perspective on the elevator ride to the top. Once at the Observation Deck, the guide provides you with a panoramic view of the city which matches the views from our windows. Certain landmarks are highlighted and by touching these buildings on your screen, you will be provided with information and interesting facts."; _ucInfo.txtBlockHours.Text = @"Mon - 9:00am to 9:00pm Tues - 9:00am to 9:00pm Wed - 9:00am to 9:00pm Thurs - 9:00am to 9:00pm Fri - 9:00am to 9:00pm Sat - 9:00am to 9:00pm Sun - 9:00am to 9:00pm *Hours extend to 10:00 p.m. from July to August"; //Project user control onto the new tab's content, and set it as the new selected tab _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnCalawayPark_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _tabPage.Header = "Calaway Park"; _ucInfo.txtBlockTitle.Text = "Calaway Park"; _ucInfo.txtBlockAddress.Text = "245033 Range Rd 33, Calgary, AB T3Z 2E9"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/calaway-park.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"32 Family-friendly rides! High-energy entertainment! Tempting treats! Calaway Park has something for everyone! As Western Canada’s Largest Outdoor Family Amusement Park, Calaway Park has been offering affordable, family- friendly fun and entertainment for over three decades. Ever since our award-winning theme park first opened its doors in 1982, Calaway Park has built on our well-deserved reputation for excellence by offering the best attractions, no less than 32 rides designed for thrill-seekers of all ages and beautifully choreographed, high-energy entertainment. Factor in Calaway Park’s one-pay gate, which include unlimited rides, attractions, must-see Calaway Live shows and unparalleled street performers such as stilt walkers, jugglers and clowns, not to mention lots of free parking – and it’s easy to see why families of all sizes venture out to Calaway Park’s stunning location in the shadow of the Rocky Mountains to enjoy a day full of safe, family fun."; _ucInfo.txtBlockHours.Text = @"Mon - Closed Tues - Closed Wed - Closed Thurs - Closed Fri - Closed Sat - 10:00am to 7:00pm Sun - 10:00am to 7:00pm *Closed Weekdays from May 21 to June 21 **Open from May 2016 to October 2016"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnTelusSpark_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _tabPage.Header = "Telus Spark"; _ucInfo.txtBlockTitle.Text = "Telus Spark"; _ucInfo.txtBlockAddress.Text = "220 St Georges Dr NE, Calgary, AB T2E 5T2"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/telus-spark.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; Image newImage = new Image(); Image newImage2 = new Image(); newImage.Source = new BitmapImage(new Uri("Images/telus-spark-exterior.png", UriKind.Relative)); newImage2.Source = new BitmapImage(new Uri("Images/telus-spark-event.jpg", UriKind.Relative)); _ucInfo.listBox.Items.Add(original); _ucInfo.listBox.Items.Add(newImage); _ucInfo.listBox.Items.Add(newImage2); _ucInfo.txtDescription.Text = @"TELUS Spark is Canada's first new purpose-built Science Centre in over 25 years and a place for people of all ages and abilities to embrace the exploration and discovery of science, technology and art in new and amazing ways. Discover for yourself what makes the world around us so undeniably incredible by exploring over 150 exhibits, programs and demonstrations across Galleries, Calgary's only HD Digital Dome Theatre, travelling exhibitions, an Outdoor Park, and more. Ignite your curiosity in the thrilling overlap of science, art and technology."; _ucInfo.txtBlockHours.Text = @"Mon - 10:00am to 4:00pm Tues - 10:00am to 4:00pm Wed - 10:00am to 4:00pm Thurs - 10:00am to 4:00pm Fri - 10:00am to 4:00pm Sat - 10:00am to 5:00pm Sun - 10:00am to 4:00pm *Adult Night every second Thursday of the month, 6:00pm to 10:00pm"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
void event_Click(object sender, RoutedEventArgs e) { Button button = sender as Button; _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99e699")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99e699")), _tabPage); }; Events temp = (Events)button.Tag; //Input all information regarding attraction _tabPage.Header = temp.getName(); _ucInfo.txtBlockTitle.Text = temp.getName(); _ucInfo.txtBlockAddress.Text = temp.getAddress(); _ucInfo.imgPicture.Source = new BitmapImage(new Uri(temp.getImg(), UriKind.Relative)); _ucInfo.txtDescription.Text = temp.getDescription(); //Project user control onto the new tab's content, and set it as the new selected tab _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }
private void btnHolySmokeBBQ_Click(object sender, RoutedEventArgs e) { _main.resetTab(_main.tabControl.SelectedIndex); UCInfoScreen _ucInfo = new UCInfoScreen(_main); TabItem _tabPage = new TabItem(); //Code for color _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); _tabPage.MouseLeftButtonUp += delegate { _main.screenColor((SolidColorBrush)(new BrushConverter().ConvertFrom("#99ccff")), _tabPage); }; _ucInfo.btnRestaurantsNearby.Visibility = Visibility.Hidden; _tabPage.Header = "Holy Smoke BBQ"; _ucInfo.txtBlockTitle.Text = "Holy Smoke BBQ"; _ucInfo.txtBlockAddress.Text = "4640 Manhattan Rd SE, Calgary, AB T2G 4B5"; Image original = new Image(); original.Source = new BitmapImage(new Uri("Images/holy-smoke-bbq.jpg", UriKind.Relative)); _ucInfo.imgPicture.Source = original.Source; _ucInfo.listBox.Items.Add(original); _ucInfo.txtDescription.Text = @"Brisket, ribs, pulled pork, smoked chicken, homemade sides and sauces. Come on in and feed your soul..."; _ucInfo.txtBlockHours.Text = @"Mon - 10:00am to 8:00pm Tues - 10:00am to 8:00pm Wed - 10:00am to 8:00pm Thurs - 10:00am to 8:00pm Fri - 10:00am to 8:00pm Sat - 11:00am to 4:00pm Sun - Closed"; _tabPage.Content = _ucInfo; _main.tabControl.Items.Add(_tabPage); _main.tabControl.SelectedItem = _tabPage; }