private void DashBoard_Load(object sender, EventArgs e)
        {
            DatabaseOps databaseOps = new DatabaseOps();

            roles = databaseOps.getRoles();
            if (roles.Contains(Role))
            {
                AdminHomeControl homeControl = new AdminHomeControl(ID);
                ControlClass.ShowControl(homeControl, Content);
                //buttonDoctor.Image = (new Bitmap(Image.FromFile(@"C:\Users\User\OneDrive\Desktop\Icons\stethoscope.png"), new Size(32, 32)));
                buttonDoctor.BackgroundImageLayout = ImageLayout.Stretch;
                buttonSettings.Hide();
                buttonPatient.Hide();
                buttonBed.Hide();
            }
            else
            {
                DoctorHomeUserControl doctorHomeUserControl = new DoctorHomeUserControl(ID, Departmental_ID);
                ControlClass.ShowControl(doctorHomeUserControl, Content);
                buttonBed.Visible = false;
                //buttonDoctor.Visible = false;
                //buttonDoctor.Image = (new Bitmap(Image.FromFile(@"C:\Users\User\OneDrive\Desktop\Icons\appointment1.png"), new Size(32, 32)));
                buttonDoctor.BackgroundImageLayout = ImageLayout.Stretch;
            }
        }
        private void buttonHome_Click(object sender, EventArgs e)
        {
            if (roles.Contains(Role))
            {
                AdminHomeControl homeControl = new AdminHomeControl(ID);
                ControlClass.ShowControl(homeControl, Content);

                //DoctorHomeUserControl doctorHomeUserControl = new DoctorHomeUserControl(ID, Departmental_ID);
                //ControlClass.ShowControl(doctorHomeUserControl, Content);
            }
            else
            {
                DoctorHomeUserControl doctorHomeUserControl = new DoctorHomeUserControl(ID, Departmental_ID);
                ControlClass.ShowControl(doctorHomeUserControl, Content);
            }
        }