Esempio n. 1
0
        private static void BookAppointmentHandler(object sender, ClinicEventArgs e)
        {
            var color = Console.ForegroundColor;

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine(" \n " + e.Message);
            Console.ForegroundColor = color;
        }
Esempio n. 2
0
        private static void SeePatientHistoryHandler(object senderm, ClinicEventArgs e)
        {
            var color = Console.ForegroundColor;

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine(" \n " + e.Message);
            Console.ForegroundColor = color;
        }
Esempio n. 3
0
        protected internal static void CheckIfDoctorPresentHandler(object sender, ClinicEventArgs e)
        {
            var color = Console.ForegroundColor;

            Console.ForegroundColor = ConsoleColor.Yellow;
            Console.WriteLine(" \n " + e.Message);
            Console.ForegroundColor = color;
        }