VB.Net编写的dll文件,小弟我想在调用方法的时候显示一个窗体,不知道如何写

VB.Net编写的dll文件,我想在调用方法的时候显示一个窗体,不知道怎么写?用VB.Net编写一个dll文件,有一个窗

VB.Net编写的dll文件,我想在调用方法的时候显示一个窗体,不知道怎么写?
用VB.Net编写一个dll文件,有一个窗体Form1.vb
Public Class Class1
  Public Function showForm()
  Form1.显示 这段代码是想在这个方法中显示窗体Form1,现在没办法显示,在VB6。0是可以的,VB.NEt不知道如何来写
  End Function
End Class


[解决办法]

VB code
  Dim frm As New Form1        frm.ShowDialog()