I have been changing some namespace stuff, but I do not understand why I am getting this error. I can access the CoreClasses just fine, but API is an issue.

Code that gives me the error:
vb Code:
  1. CoreClasses.API.adjustWindowSize(Me, frmStudy)

Error:
Error 8 'API' is not a member of 'CoreClasses'. C:\Users\Jeff\Documents\JeffWorkSpace2\StudyX.NET\frmAskQuestion.vb 132 9 study
Snippets from API:
vb Code:
  1. Imports System.Runtime.InteropServices
  2. Imports System.Windows.Forms
  3.  
  4. Namespace CoreClasses
  5.     Implements IDisposable
  6.  
  7.  
  8.     Public Class API
  9.  
  10. Shared Sub adjustWindowSize(theForm As Form, formToCheck As Form)
  11. End Sub
  12.  
  13.     End Class
  14. End Namespace