Example #1
0
        public void Manicure(Manicurist manicurist)
        {
            Console.WriteLine("Manikurzystka " + manicurist.name + " rozpoczyna manicure klienta " + this.name);
            // manicure = new Thread(() => manicurist.RunThread());

            // manicure = new Thread(new ThreadStart(manicurist.RunThread));
            // manicure.Start();

            Console.WriteLine("Manicure trwa 15 minut.");
            manicure_in_progress = true;
            Thread.Sleep(1500);
            Console.WriteLine("Manikurzystka " + this.name + "koniec manicure.");
            manicure_done = true;
        }
Example #2
0
        public void Manicure(Manicurist manicurist)
        {
            Console.WriteLine("Manikurzystka " + manicurist.name + " rozpoczyna manicure klienta " + this.name);
               // manicure = new Thread(() => manicurist.RunThread());

               // manicure = new Thread(new ThreadStart(manicurist.RunThread));
               // manicure.Start();

            Console.WriteLine("Manicure trwa 15 minut.");
            manicure_in_progress = true;
            Thread.Sleep(1500);
            Console.WriteLine("Manikurzystka " + this.name + "koniec manicure.");
            manicure_done = true;
        }