Exemplo n.º 1
0
        public virtual void hazirla()
        {
            Console.WriteLine("Pizza hazırlanıyor.");
            Console.ForegroundColor = ConsoleColor.Green;
            ConsoleProgress progress = new ConsoleProgress();

            progress.ProgressBar(60);
            for (int i = 0; i < 101; i++)
            {
                progress.Update(i);
                System.Threading.Thread.Sleep(50);
            }
        }
Exemplo n.º 2
0
        public virtual void pisir()
        {
            Console.ForegroundColor = ConsoleColor.Cyan;
            Console.WriteLine("\nPizza pisiriliyor.");
            Console.ForegroundColor = ConsoleColor.Green;
            ConsoleProgress progress = new ConsoleProgress();

            progress.ProgressBar(60);
            for (int i = 0; i < 101; i++)
            {
                progress.Update(i);
                System.Threading.Thread.Sleep(50);
            }
        }
Exemplo n.º 3
0
        public virtual void paketle()
        {
            Console.ForegroundColor = ConsoleColor.Cyan;
            Console.WriteLine("\nPizza paketleniyor.");
            Console.ForegroundColor = ConsoleColor.Green;
            ConsoleProgress progress = new ConsoleProgress();

            progress.ProgressBar(60);
            for (int i = 0; i < 101; i++)
            {
                progress.Update(i);
                System.Threading.Thread.Sleep(50);
            }
            Console.Clear();
            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine("\nPizza hazır. Afiyet olsun.");
        }