public static bool startMenu() { Console.WriteLine("\n 1. Offer packages \n 2. Organize orders \n 3. Exit"); switch (Console.ReadLine()) { case "1": Console.WriteLine("you'll offer some packages."); ArtPackage newPackage = new ArtPackage(); newPackage.CreateNewPackage(); return(false); case "2": Console.WriteLine("you'll organize your orders."); Console.WriteLine("this feature is not available yet!"); return(true); case "3": Console.WriteLine("are you sure you want to exit?"); bool input = Consolefunctions.Confirm(" "); if (input == true) { Console.WriteLine("Goodbye!"); return(false); } else { return(true); } default: return(true); } }
static void Main(string[] args) { Console.WriteLine("Welcome to the Art Commissioner!"); Console.WriteLine("\nThis console application simulates the process of offering and ordering an artwork from an artist."); Console.WriteLine("in this version, we are only helping the artist's side of business. As an organizer, of sorts."); Console.WriteLine("Artists are unorganized creatures after all, particularly THIS artist (the creator of this app)."); Console.WriteLine("So anyway,"); Console.WriteLine("How shall you start conducting your business?"); bool showMenu = true; while (showMenu) { showMenu = Consolefunctions.startMenu(); } }
public void newFullbody() { bool input = Consolefunctions.Confirm("So it will be a character full-body commission. Will you accept drawing the background also ? "); if (input == true) { isBackground = true; } input = Consolefunctions.Confirm("What about detailed clothing, accessories, and the other extras? "); if (input == true) { isExtra = true; } price = CalculatePrice(isBackground, isExtra); duration = CalculateDuration(isBackground, isExtra); ShowPriceInformation(); ShowDurationInformation(); }