Exemple #1
0
        /// <summary>
        /// Open new movie selection
        /// </summary>
        private void openNewApp()
        {
            MovieSelection movieSelection = new MovieSelection();

            movieSelection.setPurchasedMovies(purchasedMovies);
            Application.Run(movieSelection);
        }
Exemple #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     splash_screen splashScreen = new splash_screen(); // Create the splashscreen
     OrderForm orderForm = new OrderForm(); // create the order form
     MovieSelection movieSelection = new MovieSelection(splashScreen,orderForm); // create the movie selection screen
     splashScreen.Show();
     Application.Run();
 }
Exemple #3
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            splash_screen  splashScreen   = new splash_screen();                         // Create the splashscreen
            OrderForm      orderForm      = new OrderForm();                             // create the order form
            MovieSelection movieSelection = new MovieSelection(splashScreen, orderForm); // create the movie selection screen

            splashScreen.Show();
            Application.Run();
        }
Exemple #4
0
 /// <summary>
 /// Passes movieSelection form into this form to control
 /// </summary>
 /// <param name="movieSelection"></param>
 public void passForm(MovieSelection movieSelection)
 {
     this.movieForm = movieSelection;
 }
Exemple #5
0
 /// <summary>
 /// Passes movieSelection form into this form to control
 /// </summary>
 /// <param name="movieSelection"></param>
 public void passForm(MovieSelection movieSelection)
 {
     this.movieForm = movieSelection;
 }
Exemple #6
0
 /// <summary>
 /// Open new movie selection
 /// </summary>
 private void openNewApp()
 {
     MovieSelection movieSelection = new MovieSelection();
     movieSelection.setPurchasedMovies(purchasedMovies);
     Application.Run(movieSelection);
 }