private static void CreateSecondScreen() { foodObjects = InitFoodObject(); // Create an array of food objects and set it equal to the function initFood cashierScreen = BuildSelectionOptions(foodObjects); // Start to build the GUI using the foodObjects array cashierScreen.InitializeComponent(); cashierScreen.Show(); //Application.Run(cashierScreen); // Run the cashier screen }