/// <summary> /// Open new movie selection /// </summary> private void openNewApp() { MovieSelection movieSelection = new MovieSelection(); movieSelection.setPurchasedMovies(purchasedMovies); Application.Run(movieSelection); }
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(); }
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(); }
/// <summary> /// Passes movieSelection form into this form to control /// </summary> /// <param name="movieSelection"></param> public void passForm(MovieSelection movieSelection) { this.movieForm = movieSelection; }