Savarese_Glenn_CreateClassesObjs.docx - IT 230 Coding...

This preview shows page 1 - 3 out of 7 pages.

IT 230 Coding Activity Submission Template Name: Glenn Savarese Date: 12/1/20 Class: IT 230 Module: 6-2 Final Project Part II, Milestone One Coding Activity: Create Classes for Final Project 1 . Insert a copy of your ZIP file of all of your Visual Studio project files here so that it can be loaded and run in another Visual Studio: IT230_CodingActivity6_2_CreateClassesObjs.zip Insert here a copy of your *.cs source code text you used here (copy and paste source code here, do not simply insert *.cs files): MainWindow.xaml.cs code – using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Navigation; using System.Windows.Shapes; namespace CreateClassesObjs { /// <summary> /// Interaction logic for MainWindow.xaml /// </summary>
public partial class MainWindow : Window { Course choice; // Creates new variable called choice and gives it access to Course class in Course.cs public MainWindow () // Creates foundation of GUI. { InitializeComponent(); } private void Window_Loaded( object sender, RoutedEventArgs e) // Method that creates objects that hold course values, then sets them inside box elements in GUI. { // Creates objects that hold course values dependent on Course class in Course.cs Course course1 = new Course(); Course course2 = new Course(); Course course3 = new Course(); Course course4 = new Course(); Course course5 = new Course(); Course course6 = new Course(); Course course7 = new Course(); // Sets course objects to specific values in ComboBox application element (with drop down menu).

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture