Can I access the My.Forms object in the VB.NET class library?

Is it possible to access an object My.Formsin a class library VB.NET?

Link: http://msdn.microsoft.com/en-us/library/87y2hdsf(v=vs.80).aspx

A similar question here: http://vbcity.com/forums/t/146962.aspx

+4
source share
1 answer

According to MSDN, it My.Forms is only available if your project type is a Windows application. It is not available for other types of projects, including a class library.

Also note that

the My.Forms object provides only the forms associated with the current project.

, Windows Application, , .

+3

Source: https://habr.com/ru/post/1531472/


All Articles