And can you actually use a windows form in the solution list?
And when using the methode mentioned by cicatrix, can I just add event handlers and others in the MyCustomForm class?
Thanks for the help so far
I tried using:
And exported it as a library dll.
' Your corm logic here
' Don't forget to move all your designer code here as well.
Public Function ShowDialog() As DialogResult
Dim f As New MyCustomForm
I made a reference to it in my test application, but now it can't find the subs and functions.
Here is my code:
Anyone knows why it can't find the public subs in this class?
Public Class TextureBrowseDialog
Public Function ShowDialog() As Windows.Forms.DialogResult
Dim f As New Form1
Public Function GetTexturePath() As String
Public Function GetTextureImage() As Drawing.Image
Public Sub SetRoot(ByVal RootPath As String)
TextureBrowserRoot = RootPath
Public Sub SetTexturePath(ByVal SelectedPath As String)
(it did with a previous library...)