private void addClassRoomClick(object sender, RoutedEventArgs e)
 {
     if (classRoom.addClass(classRoomtxt.Text.ToString()))
     {
         ClassRoomUC classRoom = new ClassRoomUC();
         addpanel.Children.Clear();
         addpanel.Children.Add(classRoom);
     }
     else
     {
         statuslb.Content = "Cannot add classroom.";
     }
 }
        private void getClassRoom()
        {
            ClassRoomUC classRoomUC = new ClassRoomUC();

            controlArea.Children.Add(classRoomUC);
        }