Exemplo 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;
        }
Exemplo 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;
        }
Exemplo 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;
        }