private void btnDoctorDetails_Click(object sender, EventArgs e)
        {
            WarningForm warn = new WarningForm();

            warn.ShowDialog();
        }
        private void btnAppointment_Click(object sender, EventArgs e)
        {
            WarningForm warn = new WarningForm();

            warn.ShowDialog();
        }