Is that AddForm really exist in your application, Check this code and find what the error is
Type tp=Type.GetType(formname, true);
This are the syntaxes used to get type
Type GetType(string typeName);
Type GetType(string typeName, bool throwOnError);
Type GetType(string typeName, bool throwOnError, bool ignoreCase);